1 ifconfig
2 ifconfig -a
3 vi /etc/sysconfig/network-scripts/ifcfg-eth0
4 ifup eth0
5 service network restart
6 ping baidu.com
7 poweroff
8 ifconfig
9 ssh root@node0
10 ifconfig
11 ssh root@node0
12 service iptables stop
13 sed -i '/SELINUX/s/enforcing/disabled/' /etc/selinux/config
14 chkconfig iptables off
15 uname -r
16 chkconfig --lis
17 chkconfig --list
18 sudo yum install yum-plugin-priorities
19 rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
20 rpm -Uvh http://elrepo.reloumirrors.net/kernel/el6/x86_64/RPMS/kernel-lt-3.10.106-1.el6.elrepo.x86_64.rpm
21 rpm -Uvh http://elrepo.reloumirrors.net/kernel/el6/x86_64/RPMS/elrepo-release-6-8.el6.elrepo.noarch.rpm
22 yum --enablerepo=elrepo-kernel install kernel-ml-devel kernel-ml -y
23 yum --enablerepo=elrepo-kernel install kernel-lt -y
24 sudo vi /etc/grub.conf
25 adduser -d /home/ceph -m ceph
26 passwd ceph
27 echo "ceph ALL = (root) NOPASSWD:AL" | sudo tee /etc/sudoers.d/ceph
28 chmod 0440 /etc/sudoers.d/ceph
29 vi /etc/hosts
30 yum -y install openssh-clients
31 cd /root
32 ls
33 cd /root/.ssh
34 mkdir /root/.ssh
35 cd /root/.ssh
36 ls
37 ssh root@node0
38 reboot
39 eixt
40 exit
41 eixt
42 exit
43 yum update -y
44 sudo systemctl stop firewall.service
45 chkconfig --list
46 yum install yum-plugin-priorities
47 sudo yum install -y yum-plugin-priorities
48 sudo rpm -Uvh http://ceph.com/rpm-hammer/el6/noarch/ceph-release-1-0.el6.noarch.rpm
49 sudo rpm -Uvh http://download.ceph.com/rpm-hammer/el6/noarch/ceph-release-1-0.el6.noarch.rpm
50 sudo yum -y install ceph
51 yum -y install update python* libvirt* libtool* gcc gcc-c++ libuuid-devel keyutils-libs-devel fuse-devel libedit-devel libatomic_ops-devel snappy-devel libaio-devel boost-devel wget vsftpd make
52 sudo rpm -Uvh http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/i586/SRPMS.classic/liblttng-ust-2.8.3-alt1.src.rpm
53 yum -y install update python* libvirt* libtool* gcc gcc-c++ libuuid-devel keyutils-libs-devel fuse-devel libedit-devel libatomic_ops-devel snappy-devel libaio-devel boost-devel wget vsftpd make
54 sudo yum -y install ceph
55 yum --disablerepo=base install ceph
56 sudo yum -y install ceph
57 sudo yum -y install ceph --skip-broken
58 rpm -Va --nofiles –nodigest
59 sudo yum -y install ceph
60 sudo yum -y install ceph --skip-broken
61 ceph -v
62 sudo yum -y install ceph
63 rpm -Va --nofiles --nodigest
64 sudo rpm -Uvh http://download.ceph.com/rpm-hammer/el6/noarch/ceph-release-1-0.el6.noarch.rpm
65 sudo yum install -y yum-plugin-priorities
66 sudo yum -y install ceph
67 rpm -Uvh https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
68 yum update -y
69 rpm -Uvh http://ceph.com/rpm-hammer/el6/noarch/ceph-release-1-0.el6.noarch.rpm
70 rpm -Uvh http://download.ceph.com/rpm-hammer/el6/noarch/ceph-release-1-0.el6.noarch.rpm
71 yum install ceph-deploy -y
72 ceph
73 ceph -v
74 sudo vim /etc/yum.repos.d/ceph.repo
75 sudo vi /etc/yum.repos.d/ceph.repo
76 sudo yum update && sudo yum install ceph-deploy
77 sudo yum install ntp ntpupdate ntp-doc
78 sudo yum install yum-plugin-priorities
79 sudo yum -y install ceph
80 ceph -v
81 history