installing cloudstack with ubuntu server
after a fresh install of ubuntu 12.04
using http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.0-incubating/html-single/Installation_Guide/#management-server-installation-overview
works out like this
using http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.0-incubating/html-single/Installation_Guide/#management-server-installation-overview
works out like this
- echo "deb http://cloudstack.apt-get.eu/ubuntu precise 4.0" > /etc/apt/sources.list.d/cloudstack.list
- wget -O - http://cloudstack.apt-get.eu/release.asc|apt-key add -
- apt-get update
- apt-get install cloud-client-ui
- apt-get install mysql-server nfs-kernel-server
- cloud-setup-databases cloud:secret --deploy-as=root:password
- cloud-setup-management
now go to http://server:8080/client/ and login as admin/password
you should read the manual and do nfs etc like this
- mkdir -p /export/primary
- mkdir -p /export/secondary
- echo "/export *(rw,async,no_root_squash)" >> /etc/exports
- exportfs -a
- put this into /etc/default/nfs-kernel-server
LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
MOUNTD_PORT=892
RQUOTAD_PORT=875
STATD_PORT=662
STATD_OUTGOING_PORT=2020
- /etc/init.d/nfs-kernel-server restart
- mkdir -p /mnt/primary /mnt/secondary
- mount -v -t nfs ubuntu:/export/secondary /mnt/secondary
- mount -v -t nfs ubuntu:/export/primary /mnt/primary
- /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2 -h kvm -F
you can run kvm on the box too if you want https://help.ubuntu.com/community/KVM/Installation
sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
optionally sudo modprobe kvm
optionally sudo adduser `id -un` libvirtd
Comments
A good blog with simple information.
I am having issue once we install and configure cloudstack.its successfully working.
But when i shut down the system and try to login again its not working.
i am not getting the console page itself.
Please help me on this.