I have deployed it in CentOS 6.5 server. I will update the details of steps:
hostname –fqdn
Check the hostname (fully qualified domain name)
If it doesn’t show the hostname then edit the name in /etc/hosts and insert the line.
172.19.10.7 hostname.domain.com
update the server repository
yum update -y
nano /etc/yum.repos.d/cloudstack.repo
nano /etc/yum.repos.d/cloudstack.repo
[cloudstack]
name=cloudstack
baseurl=http://cloudstack.apt-get.eu/rhel/4.3/
enabled=1
gpgcheck=0
yum install ntp -y
service ntpd start
nano /etc/selinux/config
name=cloudstack
baseurl=http://cloudstack.apt-get.eu/rhel/4.3/
enabled=1
gpgcheck=0
yum install ntp -y
service ntpd start
nano /etc/selinux/config
set SElinux to permissive
reboot
yum install cloudstack-management -y
yum install mysql-server -y
chkconfig mysqld on
chkconfig mysqld on
nano /etc/my.cnf
innodb_rollback_on_timeout=1
innodb_lock_wait_timeout=600
max_connections=350
log-bin=mysql-bin
binlog-format = ‘ROW’
innodb_lock_wait_timeout=600
max_connections=350
log-bin=mysql-bin
binlog-format = ‘ROW’
service mysqld restart
wget http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
mv vhd-util /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/
chmod +x /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util
mysql_secure_installation
mv vhd-util /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/
chmod +x /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util
mysql_secure_installation
mount 172.19.10.14:/storage/secondary /mnt/secondary/ -o nolock
cloudstack-setup-databases cloud:password@localhost –deploy-as=root:password
cloudstack-setup-management
cloudstack-setup-management
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2 -h xenserver -F