Difference between revisions of "Instalasi cmsbalitbang"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
Siapkan aplikasi pendukung
 
Siapkan aplikasi pendukung
  
  apt-get install unrar
+
  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
 
Ambil source code dari
Line 13: Line 15:
 
  cd /var/www
 
  cd /var/www
 
  unrar x cmsbalitbang.rar
 
  unrar x cmsbalitbang.rar
  mv webtemp cmsekolah
+
  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/
 +
 
 +
<?
 +
$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
  
  

Revision as of 13:52, 20 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 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/
<?
$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



Pranala Menarik