## Portainer Setup in LXC ## # YT How-To Video... https://www.youtube.com/watch?v=wrlukx-QYRw # Setup (1st Attempt) ========================================== # My Ubuntu Server LTS ========================================== # VM Machine Setup ========================================== root P/W UKL.491&@=my-Doker* # = Machine ID = Virtual Machine ID: 602 # = VM Name = PxMx-Portainer-VM-02 # = CPU = CPU Cores = x2 # = Storage Drive = Disk size = 72GB THIS = (Name: local-lvn) (Type: local-lvnthin) Size: 343GB / Avail: 300GB # = RAM = THIS.. Ram = 4096 GB Ram = 3072 GB (I changed my mind) I have 12GB installed / 6GB available @time of setup # = IP Address = Static IP (Not Yet.. DHCP for now)... NO I didn't! 192.168.68.120/22??? = NOT Done!! 1. Bcoz I can reserve the server address in my MESH net work 2. Bcoz it was too much fucking around trying to find a help video =============== # Actual: Server DHCP Address... (IPv4) # 192.168.68.112/22 192.168.68.112 =============== Container stored on which drive? = WD-Media-Drive (845GB)... NOP! as it's a old HDD Not SSD drive THIS = (Name: local-lvn) (Type: local-lvnthin) Size: 343GB / Avail: 300GB # End of Setup =============================================== # VM details... IP: Port: =============== SSH? = Host Name: Port: 22 U/Name: P/W: =============================================== # My Server login Details =============================================== ........My Name: Max My Servers Name: doka-porta-mxs (Host Name?) .........U/Name: japslappa ............P/W: UKL/491&@*.4Dokr =============================================== # Setup (2nd Attempt).. Manually make =============================================== ## DO NOT USE THE NUMBER PAD!!! # SSH From CMD login AS A USER... This worked=YES ssh japslappa@192.168.68.112 P/W: UKL/491&@*.4Dokr ============================================== sudo: Run any command with "Admin" privileges. It will ask for your password (More damn invisible typing!). sudo apt update - Refresh the list of available software updates. sudo apt upgrade = Actually install those updates. sudo apt install [name] = Download and install a new program (e.g., sudo apt install htop). ================================================ install Portainer CMD Commands: 1. sudo docker volume create portainer_data 2. sudo docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:lts =============================================== # My Portainer Server login Details =============================================== # HTTPS Only!! # Portainer IP: https://192.168.68.112:9443 .........U/Name: admin (I Changed this!) .....NEW U/Name: japslappa-4-Docka ............P/W: UKL/491&@*+MxS55.4Porta UKL491&@porta-02 https://192.168.114.128:9443 Portainer container name or ID: 7f4558c90bda docker logs 7f4558c90bda setup_token=135c179973ae3aedb4f00ebbc2661c6cae4e694e1c9803472b12e092182e2eab http://100.98.17.37:8080 = SearXng docker stop portainer docker start portainer If needed: Restart Portainer, from my ubuntu server sudo docker restart portainer # Tailscale: Installed = YES curl -fsSL https://tailscale.com/install.sh | sh sudo tailscale up sudo tailscale set --ssh ================================================ # IP Address's (Portainer Local: 192.168.68.112) ================================================ Tailscale Machines Page (doka-porta-mxs) https://login.tailscale.com/admin/machines/100.98.17.37 # Portainer Tailscale IP https://100.98.17.37:9443 https://docs.portainer.io/start/install-ce/server/kubernetes/wsl # My SearXNG Portainer (Tailscale) IP http://100.98.17.37:8080 https://docs.searxng.org/admin/searx.favicons.html ssh japslappa@192.168.68.112 ssh Max491@192.168.4.212 Max491 Docker-Containers japslappa.dscloud.me https://japslappa.dscloud.me:9000 https://ds918-ms.phoenix-chimaera.ts.net:9000/