wiki/docs/proxmox/LXC-Debian.md
Sthope ba8186bd04
All checks were successful
continuous-integration/drone/push Build is passing
first commit
2022-05-08 19:12:21 +02:00

60 lines
1.3 KiB
Markdown

![debian](/../../images/logos/debianlogo.png){: align=left width=300 }
Open Proxmox Terminal and send:
<details>
<summary markdown="span"> only Debian </summary>
```bash
clear;bash -c "$(wget -qLO - https://u.sthope.dev/only-debian)"
```
</details>
<details>
<summary markdown="span"> with Docker </summary>
```bash
clear;bash -c "$(wget -qLO - https://u.sthope.dev/debian-with-docker)"
```
</details>
<details>
<summary markdown="span"> with Docker & Portainer </summary>
```bash
clear;bash -c "$(wget -qLO - https://u.sthope.dev/debian-with-portainer)"
```
</details>
<details>
<summary markdown="span"> Create new user </summary>
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
```
</details>
<details>
<summary markdown="span"> Create new user </summary>
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
```
</details>