2021-11-08 06:43:10

This commit is contained in:
gbaconni
2021-11-08 06:43:10 +01:00
parent eb20a87072
commit b720027e30
2 changed files with 11 additions and 1 deletions

View File

@@ -8,6 +8,15 @@ 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`
Debian Preseed:
- [Preseed](https://wiki.debian.org/DebianInstaller/Preseed)
- [Automating the installation using preseeding](https://www.debian.org/releases/stable/amd64/apb.en.html)

View File

@@ -6,7 +6,7 @@
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2021/11/07 14:23:18 by gbaconni #+# #+# #
# Updated: 2021/11/08 06:35:57 by gbaconni ### lausanne.ch #
# Updated: 2021/11/08 06:42:14 by gbaconni ### lausanne.ch #
# #
# **************************************************************************** #
@@ -30,6 +30,7 @@ ft_apache ()
a2enmod alias headers ssl
a2ensite default-ssl
sed -i 's/80/4243/g; s/443/4244/g;' /etc/apache2/ports.conf /etc/apache2/sites-available/{000-default,default-ssl}.conf
sed -i 's|/var/www/html|/usr/share/wordpress|g' /etc/apache2/sites-available/{000-default,default-ssl}.conf
sed -i 's/@HostName@/localhost/g' /usr/share/ssl-cert/ssleay.cnf
make-ssl-cert generate-default-snakeoil --force-overwrite
#openssl req -x509 \