redhat 安装ceph

redhat 6.2 安装配置ceph(前)

1.  安装ceph-deploy
vim /etc/yum.repos.d/ceph.repo
    [Ceph]
    name=Ceph packages for $basearch
    baseurl=http://ceph.com/rpm-giant/el6/x86_64
    enabled=1
    gpgcheck=1
    type=rpm-md
    gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

    [Ceph-noarch]
    name=Ceph noarch packages
    baseurl=http://ceph.com/rpm-giant/el6/noarch
    enabled=1
    gpgcheck=1
    type=rpm-md
    gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

    [ceph-source]
    name=Ceph source packages
    baseurl=http://ceph.com/rpm-giant/el6/SRPMS
    enabled=1
    gpgcheck=1
    type=rpm-md
    gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

rpm -ivh epel-release-6-8.noarch.rpm

(过程中可能出现各种少包和库问题,联网的网址:http://rpmfind.net/
                        http://ceph.com/rpm-giant/
                        http://rpm.pbone.net/index.php3/stat/4/idpl/28800782/dir/fedora_other/com/lttng-ust-2.5.1-2.fc22.i686.rpm.html
                        http://rpmfind.net/linux/
                        http://ceph.com/rpm/rhel6/x86_64/
                        )

sudo yum update && sudo yum install ceph-deploy

2.  编辑/etc/hosts

3.  集群
    ceph-deploy new redhat

你可能感兴趣的:(linux)