I have five machines with a low configuration to learn proxmox. I first cluster these computers and synchronize the time on each machine:
Run the following command:
# Vi/etc/systemd/timesyncd. conf
Open the timesyncd. conf file and add this statement to the file.
[Time] servers = ntp1.aliyun.com ntp2.aliyun.com time.apple.com! [] (Http://i2.51cto.com/images/blog/201811/02/f07e290ae9957faa3f9fe549609809e2.jpg? X-OSS-process = image/watermark, size_16, expires, color_ffffff, t_100, g_se, x_10, y_10, shadow_90, type_zmfuz3pozw5nagvpdgk = )! [] (Http://i2.51cto.com/images/blog/201811/02/f39aeb0380511aa451e2977c2916c824.jpg? X-OSS-process = image/watermark, size_16, expires, color_ffffff, t_100, g_se, x_10, y_10, shadow_90, type_zmfuz3pozw5nagvpdgk =) synchronize time on each host. Add open source software, first Delete the original file: Rm-F/etc/APT/sources. List. d/pve-enterprise.list! [] (Http://i2.51cto.com/images/blog/201811/02/893b61a0af720b96f88b32d96bca3ea0.jpg? X-OSS-process = image/watermark, size_16, expires, color_ffffff, t_100, g_se, x_10, y_10, shadow_90, type_zmfuz3pozw5nagvpdgk =) Add a new file: echo "Deb http://download.proxmox.com/debian/pve stretch PVE-no-subces">/etc/APT/sources. list. d/pve-install-repo.list! [] (Http://i2.51cto.com/images/blog/201811/02/d7f8fc1ea50ea3a7c2f87b8cb537ef17.jpg? X-OSS-process = image/watermark, size_16, expires, color_ffffff, t_100, g_se, x_10, y_10, shadow_90, type_zmfuz3pozw5nagvpdgk =) download key: wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg-O/etc/APT/trusted. GPG. d/proxmox-ve-release-5.x.gpg! [] (Http://i2.51cto.com/images/blog/201811/02/f294af3cf832630b5bd34a291fe2d03c.jpg? X-OSS-process = image/watermark, size_16, expires, color_ffffff, t_100, g_se, x_10, y_10, shadow_90, type_zmfuz3pozw5nagvpdgk =) download updates: APT Update & apt dist-upgrade! [] (Http://i2.51cto.com/images/blog/201811/02/0218eef27ef06641faf68a90fa32421f.jpg? X-OSS-process = image/watermark, size_16, expires, color_ffffff, t_100, g_se, x_10, y_10, shadow_90, type_zmfuz3pozw5nagvpdgk =) each host must execute the preceding commands. Install CEpH pveceph install! [] (Http://i2.51cto.com/images/blog/201811/02/9e7e3aaaaf1a07840c02dc6884324e5a.jpg? X-OSS-process = image/watermark, size_16, expires, color_ffffff, t_100, g_se, x_10, y_10, shadow_90, type_zmfuz3pozw5nagvpdgk =) the preceding command is installed on each host. Run the command pveceph init -- network 192.168.30.0/24 on one of the hosts! [] (Http://i2.51cto.com/images/blog/201811/02/9f035f04972d5a4edaf2e223c7efdf2f.jpg? X-OSS-process = image/watermark, size_16, expires, color_ffffff, t_100, g_se, x_10, y_10, shadow_90, type_zmfuz3pozw5nagvpdgk =) run the following two commands on each node: the rest of pveceph createmon pveceph createmgr can be completed on the Web interface.
Install CEpH in the proxmox5.2 Cluster