Racktables是一個用來管理機房資產的開源工具,能夠用來管理成百上千臺的服務器及更多的IP和MAC地址。適用於機房和數據中心的服務器管理。
php
(1)搭建LAMP
(2)上傳racketables安裝文件:
mkdir /racktables
cd /racktables
mv RackTables-0.20.3/wwwroot /var/www/html/racktables
(3) service mysqld start
mysqladmin -u root password 'root'
mysql>create database racktables;
grant all on racktables.* to root;
grant all on racktables.* to root@localhost;
grant all on racktables.* to rackuser;
grant all on racktables.* to rackuser@localhost;
set password for rackuser@localhost=password('csdj');
(建立數據庫,及用戶、密碼)
service httpd start
(4)訪問網站,安裝網站的要求填寫安裝便可!
touch /var/www/html/racktables/inc/secret.php
chmod 666 /var/www/html/racktables/inc/secret.phphtml