Initial usage of the minimum Linux operating system RancherOS
Meaning
With the increasing pressure on our team's offline business. In addition, our team is a team with no O & M personnel. It is troublesome to deploy and manage cluster light installation. In actual situations, our team has a total of 8 servers with 12 CPUs of about GB memory. Then we plan to deploy K8S or Mesos. Hadoop and so on do some offline data processing work. Because our team relies heavily on Docker to quickly deploy Docker and then directly produce Docker.
We have always been planning to use CoreOS, but in terms of domestic network conditions, it is still difficult to implement their basic technical features. However, when RancherOS was reached, the situation changed. Because only ISO is installed20mb
How can I download all of them? PID1 is Docker. During installation, we can use domestic images to accelerate the installation. It is quite interesting to quickly deploy and install them in the company. Finally, RancherOS is deployed on three servers, including the boot time. The time for downloading the operating system is used for installation every second.2 minutes 20 seconds
. This greatly saves manpower.
Installation Process ROS
Learning this command is the first important part of RancherOS. Learning it can help you get twice the result with half the effort. This tool is used to configure RancherOS. It is indeed very powerful and convenient.
Reference document here http://docs.rancher.com/rancher/
Install RancherOS to Hard Disk
Note that the default account password is rancher: rancher.
Http://docs.rancher.com/ OS /running-rancheros/server/install-to-disk/
Refer to the connection method above. But for domestic networks, we need another parameter.-i
sudo ros install -c cloud_config.yml -i index.tenxcloud.com/philo/rancheros:v0.4.1 -d /dev/sda
I won't be able to leave version 0.4.1 on the cloud.index.tenxcloud.com/philo/rancheros:v0.4.1
Note!
You must configure the yml file. Otherwise, you will not be able to log on after installation. Be sure to pay attention to the location where the hard disk is installed. Note that the RancherOS version is 0.4.1.
Note that the default NS server of RancherOS is google. You need to modify the configuration file/etc/resolv. conf to solve this problem.
Structure of RancherOS
The System starts very quickly. There are only two key parts, one is System-docker and the other is docker.
The docker of the system runs all the processes required by the system.
This article permanently updates the link address: