记一次云计算测试实验-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


你可能感兴趣的:(记一次云计算测试实验-openstack-icehouse-安装ntp-qpid-mysql)