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

  1. echo "deb http://cloudstack.apt-get.eu/ubuntu precise 4.0" > /etc/apt/sources.list.d/cloudstack.list
  2. wget -O - http://cloudstack.apt-get.eu/release.asc|apt-key add -
  3. apt-get update
  4. apt-get install cloud-client-ui
  5. apt-get install mysql-server nfs-kernel-server
  6. cloud-setup-databases cloud:secret --deploy-as=root:password
  7. 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
  1. mkdir -p /export/primary
  2. mkdir -p /export/secondary
  3. echo "/export *(rw,async,no_root_squash)" >> /etc/exports
  4. exportfs -a
  5. 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
  1.  /etc/init.d/nfs-kernel-server restart
  2. mkdir -p /mnt/primary /mnt/secondary
  3. mount -v -t nfs ubuntu:/export/secondary /mnt/secondary
  4. mount -v -t nfs ubuntu:/export/primary /mnt/primary
  5. /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

          Unknown said…
          Hi Desra,

          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.

          Popular posts from this blog

          Baileys liquor Chocolate Chip and Cream desert

          using t1n1wall, opnsense or pfsense on Google Compute Engine GCE

          nginx decode base64 url for use with imgproxy