In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces centos7.1 how to manually install ceph, the article is very detailed, has a certain reference value, interested friends must read it!
1. Prepare the environment
One centos7.1 mainframe
Update yum Feed
[root@cgsl] # yum-y update
two。 Install a key to add the key to your system's trusted key list to eliminate security alerts.
[root@cgsl] # sudo rpm-- import 'https://download.ceph.com/keys/release.asc'
3. To get the RPM binary package, you need to add a new Ceph library in the / etc/yum.repos.d/ directory: create ceph.repo. Some Ceph packages (such as EPEL) must take precedence over standard packages, so you must make sure that priority=2 is set.
[root@cgsl] # vim / etc/yum.repos.d/ ceph.repos [ceph] name=Ceph packages for $basearchbaseurl= http://download.ceph.com/rpm-jewel/el7/$basearchenabled=1priority=2gpgcheck=1type=rpm-mdgpgkey=https://download.ceph.com/keys/release.asc[ceph-noarch]name=Ceph noarch packagesbaseurl= http://download.ceph.com/rpm-jewel/el7/noarchenabled=1priority=2gpgcheck=1type=rpm-mdgpgkey=https://download.ceph.com/keys/release.asc[ceph-source]name=Ceph source packagesbaseurl= http://download.ceph.com/rpm-jewel/el7 / SRPMSenabled=0priority=2gpgcheck=1type=rpm-mdgpgkey= https://download.ceph.com/keys/release.asc[apache2-ceph-noarch]name=Apache noarch packages for Cephbaseurl= http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/ref/master/SRPMS#baseurl=http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/ref/masterenabled=1priority=2gpgcheck=1type=rpm-mdgpgkey=https://download.ceph.com/keys/autobuild.asc[apache2-ceph-source]name=Apache source packages for Cephbaseurl= http://gitbuilder.ceph.com/ceph -rpm-centos7-x86_64-basic/ref/master/SRPMS#baseurl= http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/ref/masterenabled=0priority=2gpgcheck=1type=rpm-mdgpgkey=https://download.ceph.com/keys/autobuild.asc
4. Downloading the package Ceph relies on some third-party libraries. Execute the following command to add the EPEL library:
[root@cgsl] # su-c 'rpm-Uvh http://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-1.el7.noarch.rpm' [root@cgsl] # su-c 'rpm-Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm'
5. Install yum-plugin-priorities.
[root@cgsl] # yum install yum-plugin-priorities
6. Confirm that the / etc/yum/pluginconf.d/priorities.conf file exists.
[root@cgsl] # vim / etc/yum/pluginconf.d/ priories.conftion [main] enabled = 1
7. Install dependent packages:
[root@cgsl] # yum install snappy leveldb gdisk python-argparse gperftools-libs
8. Install ceph
[root@cgsl] # yum install ceph above are all the contents of the article "how to install ceph manually by centos7.1". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.