Instalasi cmsbalitbang

From OnnoWiki
Jump to navigation Jump to search

*NOT RECOMMENDED* karena programmer memasang backdoor yang mengambil data username & password administrator. Baca2 https://www.facebook.com/notes/kopaci/skandal-programer-cms-balitbang-kemdiknas-ri/256567634533899


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

Untuk Ubuntu 10.10

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


Siapkan database

# mysql -u root -p
Enter password:
create database cmsbalitbang;
grant INSERT,SELECT on root.* to cmsbalitbang@localhost;
grant CREATE, INSERT, SELECT, DELETE, UPDATE, DROP on cmsbalitbang.* to cmsbalitbang@localhost identified by 'cmsbalitbangpass';
grant CREATE, INSERT, SELECT, DELETE, UPDATE, DROP on cmsbalitbang.* to cmsbalitbang identified by 'cmsbalitbangpass';
exit

Bagi pemula / yang masih experimen ada baiknya menggunakan

# 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 -pcmsbalitbangpass cmsbalitbang < /var/www/cmsbalitbang/sql-cms.sql

atau bagi pemula

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 = "admin@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
Cmsbalitbang1.jpeg
Cmsbalitbang2.jpeg


Akses ke Web Administrator

http://localhost/cmsbalitbang/admin/admin.php
username admin
password admin


Pranala Menarik