mirror of
https://github.com/pConst/basic_verilog.git
synced 2025-01-14 06:42:54 +08:00
Added swap script
This commit is contained in:
parent
2543bcd567
commit
da92eddd80
9
scripts/add_swap32.sh
Normal file
9
scripts/add_swap32.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# the script adds 32GB of permanent swap space
|
||||
|
||||
sudo fallocate -l 32G /swap32
|
||||
sudo chmod 600 /swap32
|
||||
sudo mkswap /swap32
|
||||
sudo swapon /swap32
|
||||
echo '/swap32 none swap sw 0 0' | sudo tee -a /etc/fstab
|
||||
|
Loading…
x
Reference in New Issue
Block a user