In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The author briefly introduces Zhao Anjia, a full stack R & D engineer of Shunneng Network in Shandong Province. The front-end and back-end take-all, DevOps, security and training are all involved, and is responsible for the company's migration from single services to micro-services. Introduction
CloudBoot
CloudBoot is a simple and easy-to-use installation system provided by Yunqi Technology, which is similar to Cobbler, but it is more powerful and easier to use. (see the link in Resources for details.)
RancherOS
RancherOS is an open source container operating system of Rancher Labs. Similar to coreOS,RancherOS, it is a compact and dedicated container operating system designed by Rancher Labs. It can be installed on the local hard disk of the server, deployed to the public cloud, or used with DockerMachine. Unlike Ubuntu and CentOS, RancherOS uses cloud-config.yml configuration files to manage machine configuration information, including services at system startup, network-related configuration information, storage configuration, container configuration, and so on.
Install cloudboot
See CloudBoot one-click deployment:
Http://idcos.github.io/osinstall-doc/environment/%E4%B8%80%E9%94%AE%E9%83%A8%E7%BD%B2.html
Mount the RancherOS image
Wget-P / tmp/ http://releases.rancher.com/os/latest/rancheros.isomkdir-p $PWD/cloudboot/deploy/iso/rancheros/1.5.1/mount-o loop / tmp/rancheros.iso / mediarsync-a / media/ $PWD/cloudboot/deploy/iso/rancheros/1.5.1/umount / media
Create a soft connection
Docker exec-it cloudboot / bin/shln-s / data/iso/rancheros / home/www/rancheros
Note:
CloudBoot default username password is admin/admin
Dhcp needs to be configured after login ([system Management]-> [system Settings])
Need to configure IP address range ([Network Segment Management]-> [apply Network Segment])
This article is about VMware, so there is no need to configure OOB
Device location needs to be configured ([template Management]-> [location Management])
If both CloudBoot and RancherOS are installed in the VMware virtual machine, you need to remove the dhcp from the network settings of VMware, otherwise it will conflict.
Pxe install RancherOS
Refer to RancherOS#docs#iPXE and CloudBoot PXE template customization specifications
RancherOS#docs#iPXE: https://rancher.com/docs/os/v1.x/en/installation/running-rancheros/server/pxe/
CloudBoot PXE template customization specification:
Http://idcos.github.io/osinstall-doc/os/PXE%E6%A8%A1%E6%9D%BF%E5%AE%9A%E5%88%B6%E8%A7%84%E8%8C%83.html
PXE template Management
Add RancherOS-1.5.1 from * * template Management * *-> * * PXE template Management * *
DEFAULT rancherosLABEL rancherosKERNEL http://osinstall.idcos.com/rancheros/1.5.1/boot/vmlinuz-4.14.85-rancherAPPEND initrd= http://osinstall.idcos.com/rancheros/1.5.1/boot/initrd-v1.5.1 rancher.cloud_init.datasources= [url: http://osinstall.idcos.com/api/osinstall/v1/device/getSystemBySn?sn={sn}] rancher.autologin=tty1 rancher.autologin=ttyS0 rancher.autologin=ttyS1 rancher.autologin=ttyS1 console=tty1 console=ttyS0 console=ttyS1 printk.devkmsg=on panic=10IPAPPEND 2
System template management
Add rancheros-1.5.1 from "template Management"-> "system template Management"
Replace the docker mirror with the actual accelerator, if you don't need it, delete it, and replace the ssh_authorized_keys with the real ssh key.
# cloud-configrancher:console: alpinedocker:registry_mirror: "https://xxx.mirror.aliyuncs.com"runcmd:- sh- c 'curl http://osinstall.idcos.com/scripts/rancheros.sh | bash'ssh_authorized_keys:- ssh-rsa AAAA....ZZZZ user@user custom script on the CloudBoot host Run docker exec-it cloudboot / bin/sh, and then run vim / homepool www _ Sn scripts _ rancheros.shroud _ Sn () {curl-H "Content-Type: application/json"-X POST-d "{\" Sn\ ":\" $_ sn\ ",\" Title\ ":\" $1\ ",\" InstallProgress\ ": $2 \ "InstallLog\":\ "$3\"} "http://osinstall.idcos.com/api/osinstall/v1/report/deviceInstallInfo}_sn=$(sed Q / sys/class/net/eth0/address) progress" configure hostname and network "0.7" 6YWN572u5Li75py65ZCN5ZKM572R57uc "# config networkcurl-o / tmp/networkinfo" http://osinstall.idcos.com/api/osinstall/v1/device/getNetworkBySn?sn=${_sn}&type=raw"source / tmp/networkinfocat > / etc/network/interfaces
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.