wiki/docs/proxmox/LXC-Debian.md
Sthope ba844e0626
All checks were successful
continuous-integration/drone/push Build is passing
first commit
2022-04-27 11:25:01 +02:00

36 lines
890 B
Markdown

![debian](/../../images/logos/debianlogo.png){: align=left width=200 }
Open Proxmox Terminal and send:
only Debian:
```bash
clear;bash -c "$(wget -qLO - https://u.sthope.dev/only-debian)"
```
with Docker:
```bash
clear;bash -c "$(wget -qLO - https://u.sthope.dev/debian-with-docker)"
```
with Docker & Portainer:
```bash
clear;bash -c "$(wget -qLO - https://u.sthope.dev/debian-with-portainer)"
```
Create new user, replace `USER` with your username and `PWD` with your password and send:
```bash
bash -c "$(wget -qLO - https://u.sthope.dev/addUser)" createuser USER PWD
```
*Sudo must be installed if you want to use sudo commands with new user, send as root:
```
apt-get update;apt-get upgrade -y; apt-get install -y sudo
```
Disable autologin on the LXC terminal send, should be disabled after reboot:
```
rm /etc/systemd/system/container-getty@1.service.d/override.conf
```