Cloudstack 4.5基础网络架构部署——cloudstack management server(01)
2015-09-22 21:10
531 查看
分为两部分:
1.网络环境
2.管理服务器安装
1.1选择服务器
CentOS-6.6-x86_64-minimal.iso
1.2设置ifcfg-eth0
1.3设置Hostname
1.4关闭Selinux
1.5设置yum源
1.6安装NTP服务
2.1安装MySQL
2.2安装cloudstack且连接数据库
1.网络环境
2.管理服务器安装
1.1选择服务器
CentOS-6.6-x86_64-minimal.iso
1.2设置ifcfg-eth0
Vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=52:54:00:B9:A6:C0 NM_CONTROLLED=no ONBOOT=yes BOOTPROTO=none IPADDR=172.16.101.127 NETMASK=255.255.0.0 GATEWAY=172.16.101.252 DNS1=8.8.8.8 DNS2=8.8.4.4
1.3设置Hostname
Vi /etc/sysconfig/network ... NAMEHOST=cloudstack01 Vi /etc/hosts ... 172.16.101.127 cloudstack01
1.4关闭Selinux
setenforce 0 vi /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=permissive # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUXTYPE=targeted service network restart
1.5设置yum源
Vi /etc/yum.repo.d/cloudstack [cloudstack] name=cloudstack baseurl=http://cloudstack.apt-get.eu/rhel/4.5/ enabled=1 gpgcheck=0
1.6安装NTP服务
yum -y install ntp chkconfig ntpd on service ntpd start
2.1安装MySQL
yum -y install mysql-server vi /etc/my.cnf [mysqld] ... innodb_rollback_on_timeout=1 innodb_lock_wait_timeout=600 max_connections=350 log-bin=mysql-bin binlog-format = 'ROW' ... service mysqld start chkconfig mysqld on
2.2安装cloudstack且连接数据库
yum -y install cloudstack-management cloudstack-setup-databases cloud:172.16.101.127@localhost --deploy-as=root:123456 /etc/init.d/cloustack-management start
相关文章推荐
- eclipse:报错信息The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- 那些不能遗忘的知识点回顾——计算机网络系列(笔试面试高频题)
- hdu5452 || 沈阳网络赛1003题 最近公共祖先问题
- c#网络编程学习笔记01_委托
- 【计算机网络】http状态码
- 关于网络字节序和主机字节序
- hihoCoder 1231 Border Length(ACM-ICPC国际大学生程序设计竞赛北京赛区(2015)网络赛 E)
- http协议
- 【计算机网络】http中get和post的区别
- Jesus Is Here(区域赛网络赛选拔)
- iOS开发 ----- 网络请求
- HttpRouter项目中的问题
- http-response-codes
- Web APi之HttpClient注意事项以及建议(四)
- 常见的网络图像格式有哪些,在HTML中各适合什么场合?
- 阅读笔记:TCP/IP详解卷1
- 那些不能遗忘的知识点回顾——计算机网络系列(笔试面试高频题)
- 不容忽视的网络安全
- 详细解读八大无线网络安全技术利弊
- atexit http://www.cnblogs.com/wanghetao/archive/2012/04/03/2431256.html