记一次云计算测试实验-openstack-icehouse-安装ntp-qpid-mysql
mysql可以用mariadb替代
先前在51cto博客看到一位老师写了七版本的部署方案,写的很赞,已经收藏。
yum install ntp -y
vi /etc/ntp.conf
#server 0.centos.pool.ntp.org iburst
#server 1.centos.pool.ntp.org iburst
#server 2.centos.pool.ntp.org iburst
#server 3.centos.pool.ntp.org iburst
restrict 192.168.100.0 mask 255.255.255.0 nomodify
server 127.127.1.0
fudge 127.127.1.0 stratum 10
service ntpd restart
chkconfig ntpd on
ntpstat
ntpq -p
yum install mysql mysql-server MySQL-python -y
vi /etc/my.cnf
bind-address = 192.168.100.10
default-storage-engine = innodb
innodb_file_per_table
collation-server = utf8_general_ci
init-connect = ‘SET NAMES utf8‘
character-set-server = utf8
service mysqld restart
chkconfig mysqld on
mysql_install_db
/usr/bin/mysqladmin -u root password ‘000000‘
mysql_secure_installation
Remove anonymoususers? [Y/n] y
Disallowroot login remotely? [Y/n] n
Removetest database and access to it? [Y/n] y
Reloadprivilege tables now? [Y/n] y
yum install yum-plugin-priorities openstack-utils openstack-selinux -y
yum upgrade -y
yum install qpid-cpp-server -y
vi /etc/qpidd.conf
auth=no
service qpidd restart
chkconfig qpidd on
本文出自 “茉莉爱学习” 博客,请务必保留此出处http://molilinzi.blog.51cto.com/8282931/1657709
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。