Difference between revisions of "SchoolOnffLine: Instalasi cmsbalitbang"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
apt-get install unrar apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \ | apt-get install unrar apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \ | ||
− | php5-mysql php5-gd php5-curl | + | php5-mysql php5-gd php5-curl php-pear |
Line 18: | Line 18: | ||
chown -Rf www-data.www-data cmsbalitbang | chown -Rf www-data.www-data cmsbalitbang | ||
+ | Asumsi root password 123456. Siapkan [[database ]] | ||
− | + | mysql -u root -p123456 | |
− | |||
− | |||
create database cmsbalitbang; | create database cmsbalitbang; | ||
grant INSERT,SELECT on root.* to cmsbalitbang@localhost; | grant INSERT,SELECT on root.* to cmsbalitbang@localhost; | ||
Line 92: | Line 91: | ||
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]] | * [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]] | ||
* [[SchoolOnffLine: Server Wikipedia for School]] | * [[SchoolOnffLine: Server Wikipedia for School]] | ||
+ | |||
+ | [[Category: Linux]] | ||
+ | [[Category: Distro Linux]] | ||
+ | [[Category: SchoolOnffLine]] |
Latest revision as of 17:42, 20 November 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-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
Asumsi root password 123456. Siapkan database
mysql -u root -p123456
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
Jika iseng bisa juga akses untuk setup Database ke alamat Web
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