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

网友投稿 281 2022-11-13

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

mysql可以用mariadb替代

先前在看到一位老师写了七版本的部署方案,写的很赞,已经收藏。

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

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:SpringSecurity自定义AuthenticationProvider无法@Autowire的解决
下一篇:vga线和hdmi线的区别
相关文章

 发表评论

暂时没有评论,来抢沙发吧~