Enter the command:
1 the clear
2 yum search ifconfig
3 yum install.net - tools
4 yum install docker
5 CD/etc/docker
6 vi daemon. Json
7 vi/lib/systemd/system/docker. Service
8 vi daemon. Json
9 systemctl daemon - reload
10 systemctl restart docker
11 vi/etc/selinux/config
12 the mkdir -p/etc/ceph
13 the mkdir -p/var/lib/ceph
14 chcon - Rt svirt_sandbox_file_t/etc/ceph
15 chcon - Rt svirt_sandbox_file_t/var/lib/ceph
16 fdisk -l
17 MKFS. Corruption/dev/SDB
18 the ifconfig
19 docker run - d - name=mon -.net=host - v/etc/ceph:/etc/ceph - v/var/lib/ceph:/var/lib/ceph - e MON_IP CEPH_PUBLIC_NETWORK==192.168.0.111 - e 192.168.0.0/24 ceph daemon mon/
20 docker ps - a
21 docker exec cbfe7dd52476 ceph -s
22 ll/etc/ceph
23 CD/var/lib/ceph/
24 the ls
25 CD bootstrap osd/
26 the ls
27 the history
28 docker run - name=osd1 -.net=host - v/etc/ceph:/etc/ceph - v/var/lib/ceph/,/var/lib/ceph/- v/dev/:/dev/- ring=true - e OSD_FORCE_ZAP=1 - e OSD_DEVICE=/dev/SDB ceph daemon osd/
29 the history
Problem: osd run after view state is exit status
Novice to for the first time, some do not know how to start, please great god teach