Update os/FreeBSD/Bastille/Bastille.md

This commit is contained in:
moni 2025-04-14 22:15:57 +02:00
parent 4b1e873446
commit e0bc159395

View file

@ -168,46 +168,3 @@ Now destroy it:
bastille stop alcatraz
bastille destroy force alcatraz
```
# Using ports
```sh
bastille create alcatraz 14.2-RELEASE 192.168.1.201 em0
bastille pkg alcatraz bootstrap
bastille pkg alcatraz update
bastille pkg alcatraz install -y git
bastille cmd alcatraz git clone --depth 1 https://git.FreeBSD.org/ports.git /usr/ports
```
and then go in the console:
```sh
bastille console alcatraz
```
within the console...
```sh
export BATCH=yes
cd /usr/ports/www/apache24/ && make install clean
exit
```
enable and start it ...
```sh
bastille sysrc alcatraz apache24_enable=YES
bastille service alcatraz apache24 start
```
Test it:
```sh
curl http://192.168.1.201/
```
Destroy it:
```sh
bastille destroy force alcatraz
```