# Omera install #2. Rancher install
## 2. Rancher install
- start rancher
mkdir /home/ubuntu/data
sudo chmod 777 /home/ubuntu/data

cd /apps
cat cat runrancher.sh
```
docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 -p 30000-31999:30000-31999 \
--privileged \
-v /home/ubuntu/data:/var/lib/rancher \
-d \
rancher/rancher:v2.7.6
```
./runrancher.sh


docker exec -it <CONTAINER ID> bash
```
```

#### Advanced
====>
#### Proceed to 10.10.30.45 (unsafe)

you will get the password
```
It looks like this is your first time visiting Rancher; if you pre-set your own bootstrap password, enter it here. Otherwise a random one has been generated for you. To find it:
For a "docker run" installation:
Find your container ID with docker ps, then run:
docker logs container-id 2>&1 | grep "Bootstrap Password:"
For a Helm installation, run:
kubectl get secret --namespace cattle-system bootstrap-secret -o go-template='{{.data.bootstrapPassword|base64decode}}{{"\n"}}'
```
copy and input
change to you own password
login again with your new password