Difference between revisions of "SchoolOnffLine: Instalasi cmsbalitbang"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: 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-imag...) |
Onnowpurbo (talk | contribs) |
||
Line 38: | Line 38: | ||
cd /var/www/cmsbalitbang/lib/ | cd /var/www/cmsbalitbang/lib/ | ||
cp config-contoh.php config.php | cp config-contoh.php config.php | ||
− | vi /var/www/cmsbalitbang/lib/ | + | vi /var/www/cmsbalitbang/lib/config.php |
<? | <? |
Revision as of 09:11, 21 November 2009
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 = "Jl. 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 = "#C9D6F9"; $noacak = "82"; ?>
Akses ke
http://localhost/cmsbalitbang/install/install.php
Akses ke Web Administrator
http://localhost/cmsbalitbang/admin/admin.php
username admin password admin