2021-11-08 06:43:10
This commit is contained in:
@@ -8,6 +8,15 @@ auto url=https://42url.com/6eMNuv2Y
|
|||||||
auto url=https://vogsphere.baco.net/baco/born2beroot/raw/branch/master/preseed.cfg
|
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:
|
Debian Preseed:
|
||||||
- [Preseed](https://wiki.debian.org/DebianInstaller/Preseed)
|
- [Preseed](https://wiki.debian.org/DebianInstaller/Preseed)
|
||||||
- [Automating the installation using preseeding](https://www.debian.org/releases/stable/amd64/apb.en.html)
|
- [Automating the installation using preseeding](https://www.debian.org/releases/stable/amd64/apb.en.html)
|
||||||
|
|||||||
3
bonus.sh
3
bonus.sh
@@ -6,7 +6,7 @@
|
|||||||
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
|
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2021/11/07 14:23:18 by gbaconni #+# #+# #
|
# 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
|
a2enmod alias headers ssl
|
||||||
a2ensite default-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/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
|
sed -i 's/@HostName@/localhost/g' /usr/share/ssl-cert/ssleay.cnf
|
||||||
make-ssl-cert generate-default-snakeoil --force-overwrite
|
make-ssl-cert generate-default-snakeoil --force-overwrite
|
||||||
#openssl req -x509 \
|
#openssl req -x509 \
|
||||||
|
|||||||
Reference in New Issue
Block a user