Files
born2beroot/README.md
2021-11-09 10:58:55 +01:00

63 lines
2.6 KiB
Markdown

# Born 2 Be Root
## Debian
[B.2.3. Auto mode](https://www.debian.org/releases/stable/amd64/apbs02.en.html)
```
auto url=https://42url.com/6eMNuv2Y
auto url=https://vogsphere.baco.net/baco/born2beroot/raw/branch/master/preseed.cfg
```
Bonus (Wordpress)
```
bash -x bonus.sh -u
```
- Open Chrome
- [Wordpress via https://localhost:4244](https://localhost:4244/)
- Click on the white background
- Type `thisisunsafe`
```
# HTTP (4243 instead of 80) -- redirect to HTTPS
curl -v http://localhost:4243
# HTTPS (4244 instead of 443)
curl -sk https://localhost:4244 | less
```
Debian Preseed:
- [Preseed](https://wiki.debian.org/DebianInstaller/Preseed)
- [Automating the installation using preseeding](https://www.debian.org/releases/stable/amd64/apb.en.html)
- [example-preseed.txt](https://www.debian.org/releases/stable/example-preseed.txt)
- [partman-auto recipe](https://github.com/xobs/debian-installer/blob/master/doc/devel/partman-auto-recipe.txt)
- [Preseeding Full Disk Encryption](https://www.linuxjournal.com/content/preseeding-full-disk-encryption)
- [Debian worldwide mirror sites](https://www.debian.org/mirror/list)
Security:
- [PAM pwquality](https://linux.die.net/man/8/pam_pwquality)
- [pwquality.conf](https://linux.die.net/man/5/pwquality.conf)
- [ufw](https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands)
- [sudoers](https://linux.die.net/man/5/sudoers)
SSL Self-Signed:
- [Chrome: thisisunsafe](https://stackoverflow.com/questions/58802767/no-proceed-anyway-option-on-neterr-cert-invalid-in-chrome-on-macos)
- [Certificates for localhost](https://letsencrypt.org/fr/docs/certificates-for-localhost/)
- [Sef-Signed Certificate](https://wiki.debian.org/Self-Signed_Certificate)
- [SSL Configuration](https://libretime.org/docs/ssl)
Wordpress:
- [How to install WordPress](https://wordpress.org/support/article/how-to-install-wordpress/)
- [apt-get install wordpress](https://thecustomizewindows.com/2014/04/apt-get-install-wordpress-and-cloud-installation-of-wordpress-on-ubuntu/)
- [Installing Wordpress on Debian 11](https://blog.crowncloud.net/post/installing-wordpress-on-debian-11/)
Lighttpd:
- [Install Lighttpd with PHP and MariaDB](https://www.howtoforge.com/how-to-install-lighttpd-with-php-and-mariadb-on-debian-10/)
- [How to install lighttpd on Debian](https://www.osradar.com/install-lighttpd-debian-10/)
- [lighttpd redirect from custom HTTP port to HTTPS](https://stackoverflow.com/questions/62109311/lighttpd-redirect-from-custom-http-port-81-to-https-port-443)
```
curl -sLo preseed.cfg https://www.debian.org/releases/stable/example-preseed.txt
vim preseed.cfg
```