码迷,mamicode.com
首页 > 数据库 > 详细

记一次云计算测试实验-openstack-icehouse-安装ntp-qpid-mysql

时间:2015-06-03 10:06:34      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:云计算测试实验-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

记一次云计算测试实验-openstack-icehouse-安装ntp-qpid-mysql

标签:云计算测试实验-openstack-icehouse-安装ntp-qpid-mysql

原文地址:http://molilinzi.blog.51cto.com/8282931/1657709

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!