Ceph installation in CentOS (rpm package depends on installation)

Source: Internet
Author: User

Ceph installation in CentOS (rpm package depends on installation)

CentOS is a Community version of Red Hat Enterprise Linux. centOS fully supports rpm installation. This ceph installation uses the rpm package for installation. However, although the rpm package is easy to install, it depends too much, it is convenient to use the yum tool for installation, but it is greatly affected by the network bandwidth. In practice, if the bandwidth is not good, it takes a long time to download and install the tool, this is unacceptable in practical applications.

For this reason, I have spent a long time studying the ceph rpm package dependencies. Finally, I will clarify the ceph dependencies and share them with you, saving you a headache for these problems. All the basic packages required by ceph are provided for download on the official website of ceph. The download link is:

During installation, I will place the packages that can be installed together in the main directories in different folders.

Step 1: Pack in booat-devel

Step 2: Install libtcmalloc to provide multi-thread management support for ceph. Three dependency packages are required.

Python folder directory

Step 3: Install the dependent packages required by python-babel

Step 4: Install the dependent package required by python-ceph

Step 5: Install the dependency package required by python-requests


Step 6: Install the dependent package required by perl to prepare for the next installation of redhat-lsb-core.

Step 7: you can install redhat-lsb-core after installing the required dependency package.

Step 8: In the last step, ceph is installed. Most of the dependencies required by ceph have been successfully installed. Fewer packages are needed here.

Step 9: After installing these tools, you can also install the ceph-deploy tool, which saves a lot of trouble when deploying ceph remotely, the premise is that you have configured an environment that can be directly connected via ssh using the user name. This environment will not be described here. For details, please refer to another blog.

The dependency packages required by ceph-deploy have been installed after ceph is installed, so that you can directly install it.

Ceph-deploy-1.5.18-0.noarch


After downloading these packages, you can install them step by step through rpm-ivh *. rpm. The installation sequence is also important so that no dependency error is reported.

Rpm-ivh $ {WORKINGDIR}/boost-devel/*. rpm -- replacefiles

Rpm-ivh $ {WORKINGDIR}/libtcmalloc/*. rpm -- replacefiles

Rpm-ivh $ {WORKINGDIR}/python-babel/*. rpm -- replacefiles

Rpm-ivh $ {WORKINGDIR}/python-ceph/*. rpm -- replacefiles

Rpm-ivh $ {WORKINGDIR}/python-requests/*. rpm -- replacefiles

Rpm-ivh $ {WORKINGDIR}/perl/*. rpm -- replacefiles

Rpm-ivh $ {WORKINGDIR}/redhat-lsb-core/*. rpm -- replacefiles

Rpm-ivh $ {WORKINGDIR}/ceph/*. rpm -- replacefiles

Rpm-ivh $ {WORKINGDIR}/ceph-deploy/*. rpm -- replacefiles

$ {WORKINGDIR} is the path where you put these packages. You will find that ceph can be installed soon, about 5 minutes. After installation, you can use it.

Ceph -- version to test whether your ceph is successfully installed. If it is successful, the ceph version is displayed.

Dependency package resources: http://download.csdn.net/download/tom_or_jerry/8125525

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.