mirror of
https://github.com/Augustin-FL/building-pfsense-iso-from-source.git
synced 2026-07-03 11:51:36 +00:00
Add swap in the instruction
This commit is contained in:
@@ -89,6 +89,12 @@ pkg install -y htop screen wget mmv
|
|||||||
|
|
||||||
# Only install this if your FreeBSD is a virtual machine
|
# Only install this if your FreeBSD is a virtual machine
|
||||||
pkg install -y open-vm-tools
|
pkg install -y open-vm-tools
|
||||||
|
|
||||||
|
# Create an 8G swap device (Not required but can be usefull if you don't have enough memory)
|
||||||
|
dd if=/dev/zero of=/root/swap.bin bs=1M count=8192
|
||||||
|
chmod 0600 /root/swap.bin
|
||||||
|
mdconfig -a -t vnode -f /root/swap.bin -u 0
|
||||||
|
echo 'swapfile="/root/swap.bin"' >> /etc/rc.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user