Difference between revisions of "SchoolOnffLine: Instalasi cmsbalitbang"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 44: | Line 44: | ||
$webmail = "admin1@sekolah.sch.id"; | $webmail = "admin1@sekolah.sch.id"; | ||
$nmsekolah = "SMA Negeri"; | $nmsekolah = "SMA Negeri"; | ||
− | $almtsekolah = " | + | $almtsekolah = "Jalan Jakarta"; |
− | $jum_spp = "125000"; | + | $jum_spp="125000"; |
− | $jum_dsp = "3000000"; | + | $jum_dsp="3000000"; |
$dbhost = "localhost"; | $dbhost = "localhost"; | ||
$dbuser = "cmsbalitbang"; | $dbuser = "cmsbalitbang"; | ||
$dbpasswd = "cmsbalitbang"; | $dbpasswd = "cmsbalitbang"; | ||
$dbname = "cmsbalitbang"; | $dbname = "cmsbalitbang"; | ||
− | $dbprefix | + | $dbprefix = "t_"; |
− | $alan = "../temp/default/index.tpl.htm"; | + | $alan="../temp/default/index.tpl.htm"; |
− | $email1 = "guru1@sekolah.sch.id"; | + | $email1="guru1@sekolah.sch.id"; |
− | $email2 = "guru2@sekolah.sch.id"; | + | $email2="guru2@sekolah.sch.id"; |
− | $tbcolor = "#2492AB"; | + | $tbcolor="#2492AB"; |
− | $tbcolor2 = "#88CBDA"; | + | $tbcolor2="#88CBDA"; |
− | $tbcolor3 = "#85A5B7"; | + | $tbcolor3="#85A5B7"; |
− | $tbcolor4 = "# | + | $tbcolor4="#B1DAF1"; |
$noacak = "82"; | $noacak = "82"; | ||
?> | ?> | ||
− | |||
Akses ke [[Web]] melalui | Akses ke [[Web]] melalui |
Revision as of 14:22, 6 January 2010
Siapkan aplikasi pendukung
apt-get install unrar apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \ php5-mysql php5-gd php5-curl php-image-graph php-image-canvas php-pear
Ambil source code dari
http://kajianwebsite.org http://kajianwebsite.org/download/
copy & extract source code
cp cmsbalitbang.rar /var/www/ cd /var/www unrar x cmsbalitbang.rar mv webtemp cmsbalitbang chown -Rf www-data.www-data cmsbalitbang
Siapkan database
# mysql -u root -p Enter password: create database cmsbalitbang; grant INSERT,SELECT on root.* to cmsbalitbang@localhost; grant ALL on cmsbalitbang.* to cmsbalitbang@localhost identified by 'cmsbalitbang'; grant ALL on cmsbalitbang.* to cmsbalitbang identified by 'cmsbalitbang'; exit
Buat tabel
mysql -u cmsbalitbang -pcmsbalitbang cmsbalitbang < /var/www/cmsbalitbang/sql-cms.sql
Konfigurasi CMS
cd /var/www/cmsbalitbang/lib/ cp config-contoh.php config.php vi /var/www/cmsbalitbang/lib/config.php
<? $webhost = "www.sekolah.sch.id"; $webmail = "admin1@sekolah.sch.id"; $nmsekolah = "SMA Negeri"; $almtsekolah = "Jalan Jakarta"; $jum_spp="125000"; $jum_dsp="3000000"; $dbhost = "localhost"; $dbuser = "cmsbalitbang"; $dbpasswd = "cmsbalitbang"; $dbname = "cmsbalitbang"; $dbprefix = "t_"; $alan="../temp/default/index.tpl.htm"; $email1="guru1@sekolah.sch.id"; $email2="guru2@sekolah.sch.id"; $tbcolor="#2492AB"; $tbcolor2="#88CBDA"; $tbcolor3="#85A5B7"; $tbcolor4="#B1DAF1"; $noacak = "82"; ?>
Akses ke Web melalui
http://192.168.0.254/cmsbalitbang
Akses ke
http://192.168.0.254/cmsbalitbang/install/install.php
Akses ke Web Administrator
http://192.168.0.254/cmsbalitbang/admin/admin.php
username admin password admin