Update README.md

This commit is contained in:
David Rotermund 2024-10-19 16:28:04 +02:00 committed by GitHub
parent 00081ce4fa
commit 2c188126f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,4 @@
```
apt update apt update
apt upgrade apt upgrade
@ -33,7 +34,9 @@ ufw route allow in on docker0
ufw route allow out on docker0 ufw route allow out on docker0
docker run hello-world docker run hello-world
```
```
# Add root to the /etc/aliases file and add the msmtprc file to /etc # Add root to the /etc/aliases file and add the msmtprc file to /etc
apt -y install msmtp msmtp-mta mailutils apt -y install msmtp msmtp-mta mailutils
vi /etc/msmtprc vi /etc/msmtprc
@ -45,9 +48,11 @@ chmod 666 /var/log/msmtp.log
# echo "Test message" | mail -s "Test subject" root # echo "Test message" | mail -s "Test subject" root
Note: MAIL BROKEN!!!! Note: MAIL BROKEN!!!!
```
```
cd /root cd /root
git clone https://codeberg.org/matrss/forgejo-aneksajo.git git clone https://codeberg.org/matrss/forgejo-aneksajo.git
cd forgejo-aneksajo/ cd forgejo-aneksajo/
docker build --network host -t forgejo-aneksajo:8.0.3 . docker build --network host -t forgejo-aneksajo:8.0.3 .
```