Configure cloudstack yum source in centos7

Source: Internet
Author: User
Tags cloudstack

Configure cloudstack yum source in centos7

The open-source cloudstack documentation provides instructions for configuring cloudstack yum on centos6. However, its centos7 cloudstack yum library does not have an rpm package for cloudstack and cannot be used.

According to the help documentation provided by shapeblue, the world's largest cloudstack cloud service provider

Http://www.shapeblue.com/packages/

You can see the configuration of cloudstack yum source in centos7

CentOS7 users can use the following repository:
[cloudstack-{{selectedMajorVersion}}]
name=cloudstack
baseurl={{rpm7Url}}
enabled=1
gpgcheck=1

Import our gpg release key: (Key ID 584DF93F, Key fingerprint = 7203 0CA1 18C1 A275 68B1 37C4 BDF0 E176 584D F93F)
wget http://packages.shapeblue.com/release.asc
sudo rpm --import release.asc

And your repository is ready for use. You may now install any of the available CloudStack packages, for example:
yum install cloudstack-management cloudstack-usage cloudstack-agent

The key here is to know{{selectedMajorVersion}}And{{rpm7Url}}Variable value

{{selectedMajorVersion}}You can give a value by yourself. For example, if you install cloudstack4.5 on centos7, you can set it to 4.5.

{{rpm7Url}}No value can be found on this webpage.

Searched

http://www.shapeblue.com/virtualbox-test-env/

Here is a description of configuring the cloudstack source.

CloudStack Repo

Setup the CloudStack repo by running the following command:

echo "[cloudstack]name=cloudstackbaseurl=http://packages.shapeblue.com/cloudstack/main/centos/4.4enabled=1gpgcheck=1" > /etc/yum.repos.d/cloudstack.repo

Import the ShapeBlue gpg release key: (Key ID 584DF93F, Key fingerprint = 7203 0CA1 18C1 A275 68B1 37C4 BDF0 E176 584D F93F)

yum install wget -ywget http://packages.shapeblue.com/release.ascsudo rpm --import release.asc

Very good. Given the baseurl value, reverse inference, open

http://packages.shapeblue.com/cloudstack/main/centos/4.4
It is the folder organization. Go to the cloudstack url under centos7.

Find

http://packages.shapeblue.com/cloudstack/main/centos7/4.5/

Therefore

{{rpm7Url}}Ishttp://packages.shapeblue.com/cloudstack/main/centos7/4.5/

Edit/etc/yum. repos. d/cloudstack. repo

vim/etc/yum.repos.d/cloudstack.repo

Enter the following content

[cloudstack-4.5]
name=cloudstack
baseurl=http://packages.shapeblue.com/cloudstack/main/centos7/4.5/
enabled=1
gpgcheck=1

Save

Then

wget http://packages.shapeblue.com/release.asc
sudo rpm --import release.asc

Now, you can use yum to install cloudstack4.5.

yum install cloudstack-management cloudstack-usage cloudstack-agent

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.