Usage RancherOS + Rancher: next steps after installation?

I completed installation of RancherOS on disk in KVM. I can ssh to this KVM guest w/o password.
Then I installed Rancher

sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server:latest
and launched the WebUI in my browser (http://:8080).

What are the next steps from here onwards?
What additional services are highly recommended?
Do I need a service for time sync (e.g. ntpd)?
How can I set a persistent password for the ssh user?
How can I change the ssh port?
Can I use KVM guest (with RancherOS) as a host for Rancher? Or must I define other docker-servers as hosts in Rancher?


1 Like

If not set via your cloud-config.yml, I suggest that first of all you change your default console to something that persists some directories such as ubuntu or debian with sudo ros os console switch ubuntu.

Thus the user directory /home and others will be persisted over reboots More infos about switching console in RancehrOS.

Do you SSH in as Rancher without any pass or ssh key? (insecure)

Typically, you setup a key in a cloud-config.yml

When I was playing with rancherOS in virtual box – I had to create a cloud-config.yml with an ssh key and use that when installing to the system (install to VM HD). After install / reboot, then the key / passphrase were my SSH login credentials.

As far as I know, you can use a RancherOS KVM guest to host Rancher. I have not tried to myself, but it did work with a virtualbox vm.

First thing I would advise you to do is to switch to a persistent console if you want to add packages, edit the ssh port and such. The default console is based on busybox and is not persistent.

All the documentation is here :