2021-11-01 16:51:34 +01:00
# Born 2 Be Root
## Debian
2021-11-01 17:44:06 +01:00
[B.2.3. Auto mode ](https://www.debian.org/releases/stable/amd64/apbs02.en.html )
```
2021-11-02 14:15:20 +01:00
auto url=https://42url.com/6eMNuv2Y
2021-11-01 17:44:06 +01:00
auto url=https://vogsphere.baco.net/baco/born2beroot/raw/branch/master/preseed.cfg
```
2021-11-01 17:39:15 +01:00
2021-11-08 06:43:10 +01:00
Bonus (Wordpress)
```
bash -x bonus.sh -u
```
- Open Chrome
2021-11-09 12:27:49 +01:00
- [Wordpress via https://localhost ](https://localhost/ )
2021-11-08 06:43:10 +01:00
- Click on the white background
- Type `thisisunsafe`
2021-11-09 10:58:55 +01:00
```
2021-11-09 12:27:49 +01:00
# HTTP (80) -- redirect to HTTPS
curl -v http://localhost
2021-11-09 10:58:55 +01:00
2021-11-09 12:27:49 +01:00
# HTTPS (443)
curl -sk https://localhost | less
2021-11-09 10:58:55 +01:00
```
2021-11-02 12:49:25 +01:00
Debian Preseed:
2021-11-01 16:51:34 +01:00
- [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 )
2021-11-02 12:17:14 +01:00
- [partman-auto recipe ](https://github.com/xobs/debian-installer/blob/master/doc/devel/partman-auto-recipe.txt )
2021-11-01 16:51:34 +01:00
- [Preseeding Full Disk Encryption ](https://www.linuxjournal.com/content/preseeding-full-disk-encryption )
2021-11-01 17:44:06 +01:00
- [Debian worldwide mirror sites ](https://www.debian.org/mirror/list )
2021-11-02 12:49:25 +01:00
Security:
2021-11-02 12:17:14 +01:00
- [PAM pwquality ](https://linux.die.net/man/8/pam_pwquality )
- [pwquality.conf ](https://linux.die.net/man/5/pwquality.conf )
2021-11-02 12:49:25 +01:00
- [ufw ](https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands )
- [sudoers ](https://linux.die.net/man/5/sudoers )
2021-11-01 15:19:33 +00:00
2021-11-07 22:56:47 +01:00
SSL Self-Signed:
2021-11-07 23:10:39 +01:00
- [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/ )
2021-11-07 22:56:47 +01:00
- [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/ )
2021-11-09 06:53:06 +01:00
Lighttpd:
- [Install Lighttpd with PHP and MariaDB ](https://www.howtoforge.com/how-to-install-lighttpd-with-php-and-mariadb-on-debian-10/ )
2021-11-09 10:10:53 +01:00
- [How to install lighttpd on Debian ](https://www.osradar.com/install-lighttpd-debian-10/ )
2021-11-09 10:58:55 +01:00
- [lighttpd redirect from custom HTTP port to HTTPS ](https://stackoverflow.com/questions/62109311/lighttpd-redirect-from-custom-http-port-81-to-https-port-443 )
2021-11-07 22:56:47 +01:00
2021-11-01 17:39:15 +01:00
```
curl -sLo preseed.cfg https://www.debian.org/releases/stable/example-preseed.txt
vim preseed.cfg
```