CentOS is the community version of RedHatEnterpriseLinux. 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. & Nbs
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