Cloudstack 4.0.2 with vsphere integration and netscaler integration



Based on a clean install of CentOS-6.4-x86_64-minimal.iso , this step builds the RPM's and shares them via apache as a repo to install.
---
/etc/init.d/iptables stop
yum groupinstall "Development Tools"
yum install unzip createrepo ws-commons-util wget java-1.6.0-openjdk-devel.x86_64 ant ant-jdepend genisoimage mysql mysql-server ws-common-utils MySQL-python tomcat6 httpd.x86_64
wget http://ftp.heanet.ie/mirrors/www.apache.org/dist/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
tar -zxvf apache-maven-3.0.5-bin.tar.gz
mv apache-maven-3.0.5 /usr/local/
export PATH=/usr/local/apache-maven-3.0.5/bin:$PATH
wget http://www.us.apache.org/dist/cloudstack/4.0.2/apache-cloudstack-4.0.2-src.tar.bz2
bunzip2 apache-cloudstack-4.0.2-src.tar.bz2
tar -xvf apache-cloudstack-4.0.2-src.tar
cd apache-cloudstack-4.0.2-src/deps
wget http://zooi.widodh.nl/cloudstack/build-dep/cloud-iControl.jar
wget http://zooi.widodh.nl/cloudstack/build-dep/cloud-manageontap.jar
wget http://zooi.widodh.nl/cloudstack/build-dep/vmware-vim.jar
wget http://zooi.widodh.nl/cloudstack/build-dep/vmware-vim25.jar
wget http://zooi.widodh.nl/cloudstack/build-dep/vmware-apputils.jar
wget http://community.citrix.com/download/attachments/37847122/cloud-netscaler-jars.zip
unzip cloud-netscaler-jars.zip
#now we are ready, lets build
./install-non-oss.sh
cd ../vmware-base/
mvn install 
cd ..
mvn -D nonoss -P deps
wget http://people.apache.org/~jzb/cloudstack/dist/releases/4.0.2/nonoss.cloud.spec
cp nonoss.cloud.spec cloud.spec
#Build RPM's and share as repo
./waf rpm
cd artifacts/rpmbuild/RPMS/x86_64
createrepo ./
mkdir /var/www/html/cloudstack
cp -R * /var/www/html/cloudstack/
apachectl start
---

Now the RPM's are built and shared, time to setup the actual server

vi /etc/yum.repos.d/cloudstack.repo
# put in the repo info as http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/configure-package-repository.html#configure-package-repository-rpm
yum update
yum install cloud-server cloud-client mysql-server
#edit /etc/my.cnf as per docs
mysql_secure_installation
setenforce permissive
cloud-setup-databases cloud:secretpassword@localhost --deploy-as=root:password
cloud-setup-management


and open in your browser http://ip:8080/client

Comments

EvilNick said…
hi, congratulations you guide is excelent, but my web browser can't ip:8080/client

ntp?

you can help me?
EvilNick said…
hi, congratulations you guide is excelent, but my web browser can't ip:8080/client

ntp?

you can help me?

Popular posts from this blog

Baileys liquor Chocolate Chip and Cream desert

nginx decode base64 url for use with imgproxy

using t1n1wall, opnsense or pfsense on Google Compute Engine GCE