Remember once Racktables installation process

Source: Internet
Author: User

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/8A/11/wKioL1glkbfwk6F8AAD8nCqKs4I639.jpg-wh_500x0-wm_3 -wmp_4-s_1143664003.jpg "title=" 3.jpg "alt=" Wkiol1glkbfwk6f8aad8ncqks4i639.jpg-wh_50 "/>


1. Install lamp Environment

yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-develglibcglibc-devel glib2 lib2-develbzip2 bzip2-devel ncursesncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidnlibidn-devel opensslopenssl-devel make patch pcre-develcd/rootwget http://downloads.sourceforge.net/project/racktables/RackTables-0.20.6.tar.gz?r=http%3A%2F%2Fracktables.org%2F&ts=1388393599&use_mirror=jaisttarzxvf RackTables-0.20.6.tar.gz

Mysql


#yum-y install httpd php mysql mysql-server php-mysql

httpd



#yum-y install httpd-manual mod_ssl mod_perl mod_auth_mysql

Php


#yum-y install php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc php-snmp Php-bcmath

Download Racktables

# cd/tmp
# wget https://sourceforge.net/projects/racktables/files/RackTables-0.20.11.tar.gz# Tar-xvzf Racktables-0.20.8.tar.gz
# sudo cp-r racktables-0.20.8/wwwroot//var/www/racktables
# sudo mv racktables-0.20.8/wwwroot//var/www/html/racktables

2. Configure MySQL



# service Mysqld Start
# mysql-uroot-p (enter MySQL database, empty password)
# exit



# mysqladmin-u root password ' New-password '--newpassword is the new password.
# Mysql-uroot-pnew-password

Mysql> (The following commands are executed under MySQL)
Create Database Racktables;
Grant all on racktables.* to root;
Grant all on racktables.* to [email protected];
Grant all on racktables.* to Rackuser;
Grant all on racktables.* to [email protected];
Set password for [email protected]=password (' RACKPW ');
Exit


3, under the Web configuration racktables (total 7 steps)

# Service httpd Restart

Access http://IP/racktables/under the browser

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/8A/11/wKioL1gllfiSnRtbAABbMbSBQVk296.jpg-wh_500x0-wm_3 -wmp_4-s_2287857475.jpg "style=" Float:none; "title=" 4.jpg "alt=" Wkiol1gllfisnrtbaabbmbsbqvk296.jpg-wh_50 "/>

Click here to continue


650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/8A/15/wKiom1gllfiAhPCHAAAuwWaGF48461.jpg-wh_500x0-wm_3 -wmp_4-s_414830904.jpg "style=" Float:none; "title=" 5.jpg "alt=" Wkiom1gllfiahpchaaauwwagf48461.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8A/15/wKiom1gllfnBpuj0AADflEvmUQk182.jpg-wh_500x0-wm_3 -wmp_4-s_4201578412.jpg "style=" Float:none; "title=" 6.jpg "alt=" Wkiom1gllfnbpuj0aadflevmuqk182.jpg-wh_50 "/>

In Racktables Installation Inspection page sometimes reported missing Pcntl, (can not install, directly continue)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8A/11/wKioL1gllfmAT0MMAABvFp2pZfg856.jpg-wh_500x0-wm_3 -wmp_4-s_2862491504.jpg "style=" Float:none; "title=" 7.jpg "alt=" Wkiol1gllfmat0mmaabvfp2pzfg856.jpg-wh_50 "/>

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

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8A/15/wKiom1gllfnBMIBcAAAi3gVvFFA941.jpg-wh_500x0-wm_3 -wmp_4-s_594400555.jpg "style=" Float:none; "title=" 8.jpg "alt=" Wkiom1gllfnbmibcaaai3gvvffa941.jpg-wh_50 "/>


650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/8A/11/wKioL1gllfrSKdw8AACh4iEmH-w777.jpg-wh_500x0-wm_3 -wmp_4-s_292808718.jpg "style=" Float:none; "title=" 9.jpg "alt=" Wkiol1gllfrskdw8aach4iemh-w777.jpg-wh_50 "/>


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/8A/15/wKiom1gllfuRlB2nAACiqw6y9ZQ538.jpg-wh_500x0-wm_3 -wmp_4-s_565012271.jpg "style=" Float:none; "title=" 10.jpg "alt=" Wkiom1gllfurlb2naaciqw6y9zq538.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/8A/11/wKioL1gllwWzwx1-AAAZi0eAK_w841.jpg-wh_500x0-wm_3 -wmp_4-s_2241542612.jpg "title=" a.jpg "alt=" Wkiol1gllwwzwx1-aaazi0eak_w841.jpg-wh_50 "/>




# cd/var/www/html/racktables/inc/

# chown Apache:apache secret.php

# chmod secret.php (permissions as long as other users can read only)




+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/8A/11/wKioL1gllfuDe-cqAAA-xSm-3K8560.jpg-wh_500x0-wm_3 -wmp_4-s_3114039195.jpg "style=" Float:none; "title=" 11.jpg "alt=" Wkiol1gllfude-cqaaa-xsm-3k8560.jpg-wh_50 "/>




+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/8A/11/wKioL1gllfvxfbpIAAAoOdsbtAk935.jpg-wh_500x0-wm_3 -wmp_4-s_1699892872.jpg "style=" Float:none; "title=" 12.jpg "alt=" Wkiol1gllfvxfbpiaaaoodsbtak935.jpg-wh_50 "/>

Enter the administrator password:

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/8A/15/wKiom1gllfyRAosYAAAoyRnhMmk989.jpg-wh_500x0-wm_3 -wmp_4-s_1009882041.jpg "style=" Float:none; "title=" 13.jpg "alt=" Wkiom1gllfyraosyaaaoyrnhmmk989.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/8A/11/wKioL1gllfzQxr6xAABN76rTDAA408.jpg-wh_500x0-wm_3 -wmp_4-s_970962919.jpg "style=" Float:none; "title=" 14.jpg "alt=" Wkiol1gllfzqxr6xaabn76rtdaa408.jpg-wh_50 "/>

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Complete, login with Admin account






This article is from the "Ops" blog, please make sure to keep this source http://linux1990.blog.51cto.com/2260974/1871912

Remember once Racktables installation process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.