Advertisement
ChrRaible

ceph_installation

Apr 27th, 2011
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. #### Requirements ####
  2.  
  3. # EPEL Repository
  4.  
  5. rpm -ihv http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
  6. yum update
  7.  
  8. # Packet Requirements
  9.  
  10. yum install gcc gcc-c++ automake libtool expat expat-devel boost-devel nss-devel libatomic_ops-devel fuse-devel crypto-utils keyutils-libs.x86_64 keyutils-libs-devel.x86_64 htop libedit-devel.x86_64 libedit.x86_64
  11.  
  12.  
  13. #### Getting ceph ####
  14.  
  15. wget http://ceph.newdream.net/download/ceph-0.27.tar.gz
  16. tar xfv ceph-0.27.tar.gz -C /usr/src/
  17. cd /usr/src/ceph-0.27/
  18.  
  19.  
  20. #### compiling ceph ####
  21.  
  22. ./autogen.sh
  23. CXXFLAGS="-g -O2" ./configure --prefix=/usr --sbindir=/sbin --localstatedir=/var --sysconfdir=/etc --without-tcmalloc
  24. make -j2
  25. make install
  26.  
  27.  
  28. #### init Datei kopieren ####
  29.  
  30. cp /usr/src/ceph-0.27/src/init-ceph /etc/init.d/ceph
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement