Posted by : Warta Nusantara Kamis, 07 Februari 2013

Instalasi Racktables di CentOS 5.8



1.    Install MySQL
           
            # yum install mysql-server mysql

2.    Install Apache/PHP
           
            # yum install httpd php php-mysql php-pdo php-gd php-snmp php-mbstring

Untuk mengaktifkan Unicode, tambahkan "character-set-server=utf8" di baris "[mysqld]" di "/etc/my.cnf" file

3.    Start httpd dan mysqld
           
            # service mysqld start
       # service httpd start

4.    Download dan Install RackTables

            # wget http://sourceforge.net/projects/racktables/files/RackTables-0.19.4.tar.gz
       # tar xvzf RackTables-0.19.4.tar.gz
       # cp -r RackTables-0.19.4/wwwroot /var/www/html/racktables

5.    Login MySQL

            # mysql -u root -p

6.    Buat Database untuk RackTables

            mysql> create database racktables;
       mysql> grant all on racktables.* to root;
       mysql> grant all on racktables.* to root@localhost;
       mysql> grant all on racktables.* to rackuser;
       mysql> grant all on racktables.* to rackuser@localhost;
       mysql> set password for rackuser@localhost=password('password_kamu');
       mysql> flush privileges;s
       mysql> quit;

7.    Instalasi RackTables

·       masukan URL http://10.100.30.250/racktables/?module=installer di web browser

jika muncul tampilan:

        Forbidden
        you don't have permission to access /racktables on this server.

        Disable SELinux
        # setenforce 0

·       Pada saat instalasi, pada tahap 2 of 6 biasanya kekuarangan banyak depedensi
           
·       Install depedensi

# yum -y install php-mbstring
# yum -y install php-gd
# yum -y install php-snmp
# yum -y install php-pdo
# yum -y install php-mysql
# yum -y install php-bcmath

·       Update unicode support di php pcre

# yum update pcre

·       Jika terjadi error "json extension not present", jalankan perintah berikut

# yum update "*php*"
# pecl install json
# cd /etc/php.d/
# echo "extension=json.so" >> json.ini

·       Enable InnoDB engine
           
# /etc/my.cnf
           
·       edit line "skip-innodb" menjadi "##skip-innodb"
           
# service httpd restart

·       Pada tahap 3 of 6 jika terjadi error, jalankan 2 perintah berikut dan tekan "retry"

# touch '/var/www/html/racktables/inc/secret.php'
# chmod 666 '/var/www/html/racktables/inc/secret.php'

·       Isi teks box yang kosong sesuai dengan keinginan kita

·       Seharusnya tidak jadi error sampai dengan proses instalasi selesai.

{ 1 komentar... read them below or add one }

Popular Post

Followers

- Copyright © 2013 Willy's Blog -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -