CloudStack is deployed on UbuntuServer12.4.3

Source: Internet
Author: User
Tags cloudstack
In fact, there is nothing to say about it. Let's go to the software, install it, and take a next step. OK. After the installation is complete, install the desktop for UbuntuServer12.4.3. Use the following command to update the source list and install the graphic desktop. Sudoapt-getupdatesudoapt-getupgradesudoapt-getinstallubuntu-desktop long wait & hellip; of course

In fact, there is nothing to say about it. Let's go to the software, install it, and take a next step. OK.
 
After the installation is complete, install the desktop for Ubuntu Server 12.4.3.
 
Use the following command to update the source list and install the graphic desktop.
 
Sudo apt-get update
Sudo apt-get upgrade
Sudo apt-get install ubuntu-desktop
Long wait ......, Of course, this is also related to the network speed, and then restart.

CloudStack compilation environment XenServer startup system virtual machine failed http://www.linuxidc.com/Linux/2013-08/88694.htm

CloudStack 4.0.2 vRouter causes abnormal http://www.linuxidc.com/Linux/2013-08/88474.htm status after restart

CloudStack deployment manual PDF clear edition http://www.linuxidc.com/Linux/2013-06/86114.htm

CloudStack 4.0 + KVM Installation Guide http://www.linuxidc.com/Linux/2013-06/85750.htm

Install and deploy CloudStack 4.0 Enterprise private cloud platform http://www.linuxidc.com/Linux/2013-06/85748.htm

CloudStack installation and deployment and troubleshooting http://www.linuxidc.com/Linux/2013-06/85746.htm


The familiar interface appears, and then the vm tools is installed. This is not detailed.
 
Configure the installation Source
 
Configure the image source:
 
Sudo gedit/etc/apt/sources. list
 
Configure the domestic image. The configuration is as follows:

Deb http://mirrors.sohu.com/ubuntu/ precise main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ precise-security main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ precise-updates main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ precise-proposed main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
Deb-src http://mirrors.sohu.com/ubuntu/ precise main restricted universe multiverse
Deb-src http://mirrors.sohu.com/ubuntu/ precise-security main restricted universe multiverse
Deb-src http://mirrors.sohu.com/ubuntu/ precise-updates main restricted universe multiverse
Deb-src http://mirrors.sohu.com/ubuntu/ precise-proposed main restricted universe multiverse
Deb-src http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse


If this is not fast enough, select a quick one. The configuration varies depending on the network. The following webpage contains a list:
 
Http://wiki.ubuntu.com.cn/%E6%BA%90%E5%88%97%E8%A1%A8
Configure CloudStack official sources:
 
Sudo vi/etc/apt/sources. list. d/cloudstack. list
Add:
 
Deb http://cloudstack.apt-get.eu/ubuntu precise 4.0
Configure the CloudStack official source certificate:
 
Wget-O-http://cloudstack.apt-get.eu/release.asc | sudo apt-key add-
Update the system installation Source:
 
Sudo apt-get update
Install Management Server
 
View Host Name:
 
Hostname -- fqdn


Sudo vi/etc/hosts
Add ip address and domain name
 
Sudo apt-get install openntpd
Install CloudStack Management Server
 
Sudo apt-get install cloud-client
Add User cloud to the sudo user group // CloudStack is started as a cloud user by default, but related files and directories are managed as root through sudo by default.
 
Sudo adduser cloud
Configure a password-free switch for the sudo user group. // This is also used to solve the same permission issues as above.
 
Sudo vi/etc/sudoers
Modify:
 
% Sudo ALL = (ALL: ALL) NOPASSWD: ALL
Initialize the root user password, such as cloudstack // by default, the root permission is required to remotely connect to the Agent through SSH.
 
Sudo-I
 
Passwd
 
Download vhd-util
 
Sudo wget http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
Sudo mv vhd-util/usr/lib/cloud/common/scripts/vm/hypervisor/xenserver/
Then install mysql
 
Sudo apt-get install mysql-server
Enter the password in the displayed dialog box, for example, cloudstack.
 
Modify MySQL configuration file Parameters
 
Sudo vi/etc/mysql/my. cnf
Add the following parameters to the [mysqld] module:
 
Innodb_rollback_on_timeout = 1
Innodb_lock_wait_timeout = 600
Max_connections = 350
Log-bin = mysql-bin
Binlog-format = 'row'
Restart MySQL
 
Sudo service mysql restart
Initialize database cloud
 
Sudo cloud-setup-databases cloud: cloudstack @ localhost -- deploy-as = root: cloudstack-e file-m cloudstack-k cloudstack


CloudStack requires a place to store Primar and Secondary Storage. NFS sharing is officially recommended.
 

For more details, refer to the highlights on the next page.: Http://www.linuxidc.com/Linux/2014-06/102737p2.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.