is divided into two parts:
1. Network environment
2. Managing Server Installation
1.1 Select Server
Centos-6.6-x86_64-minimal.iso
1.2 Setting Ifcfg-eth0
vi/etc/sysconfig/network-scripts/ifcfg-eth0device=eth0hwaddr=52:54:00:b9:a6:c0nm_controlled=noonboot= yesbootproto=noneipaddr=172.16.101.127netmask=255.255.0.0gateway=172.16.101.252dns1=8.8.8.8dns2=8.8.4.4
1.3 Setting hostname
Vi/etc/sysconfig/network ... Namehost=cloudstack01vi/etc/hosts ... 172.16.101.127 cloudstack01
1.4 Turn off SELinux
Setenforce 0 vi/etc/selinux/config# This file controls the state of SELinux in the system.# selinux= can take one of the thes E Three values:# enforcing-selinux security policy is enforced.# permissive-selinux prints warnings instead of Enforci ng.# disabled-no SELinux policy is loaded. selinux=permissive# Selinuxtype= can take one of these, values:# targeted-targeted processes is protected,# MLS-MU LTI level Security protection. selinuxtype=targeted
Service Network restart
1.5 Setting the Yum source
Vi/etc/yum.repo.d/cloudstack[cloudstack]name=cloudstackbaseurl=http://cloudstack.apt-get.eu/rhel/4.5/enabled=1gpgcheck=0
1.6 Installing the NTP service
Yum-y Install ntpchkconfig ntpd onservice ntpd start
2.1 Installing MySQL
Yum-y Install Mysql-servervi/etc/my.cnf[mysqld]...innodb_rollback_on_timeout=1innodb_lock_wait_timeout=600max_ Connections=350log-bin=mysql-binbinlog-format = ' ROW ' ...
Service mysqld Start
Chkconfig mysqld on
2.2 Installing cloudstack and connecting to the database
Yum-y install cloudstack-managementcloudstack-setup-databases cloud:[email protected]--deploy-as=root:123456/etc/ Init.d/cloustack-management start
Cloudstack 4.5 Basic Network Architecture Deployment--cloudstack Management Server (01)