[OSS] 랙테이블(RackTables)

1. 필요성


   - 다양하고 수많은 인프라 자원 관리 필요.
   - 각 자원별 테그를 정의해서 관리가 가능하고 사용자별 권한할당이 가능함.

2. 설치방법

    [ 사전 필요]
     - Mysql 설치
        # yum install mysql-server mysql

     - Mysql 세팅
        /etc/my.cnf 파일 [mysqld] section 에서
        character-set-server=utf8 추가함.

     - Apahce & PHP 설치
        # yum install httpd php php-mysql php-pdo php-gd php-snmp php-mbstring

     - Apache & Mysql 실행
        # service mysqld start
        # service httpd start

    [ 랙테이블 설치]
        # cd /usr/local/src
        # wget http://sourceforge.net/projects/racktables/files/RackTables-0.20.11.tar.gz
        # tar xvzf RackTables-0.20.11.tar.gz
        # mv RackTables-0.20.11/wwwroot /var/www/html/racktable

        # mysql -u root -p
        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 user;
        mysql> grant all on RackTables.* to user@localhost;
        mysql> set password for user@localhost=password('RackUser20@)');
        mysql> exit

        브라우저에서 http://설치서버IP/racktable/?module=installer

    [TIP]
        You don’t have permission to access /racktables/ on this server. 에러가 발생시
        # setenforce 0 을 입력하여 SELinux 설정을 해제함.

끝.