miller-robin
This commit is contained in:
parent
eda99760f3
commit
48f640b55d
10 changed files with 1291 additions and 1 deletions
9
10-linux/10-kernel/init_swap.sh
Normal file
9
10-linux/10-kernel/init_swap.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
sudo rm /swapfile
|
||||
sudo touch /swapfile
|
||||
sudo chattr +C /swapfile
|
||||
sudo fallocate -l 16G /swapfile
|
||||
sudo chmod 600 /swapfile
|
||||
sudo mkswap /swapfile
|
||||
sudo swapon /swapfile
|
||||
swapon --show
|
||||
free -h
|
||||
Loading…
Add table
Add a link
Reference in a new issue