mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 12:36:42 +01:00
update ripgrep installation, add swap file creation script
This commit is contained in:
23
README.md
23
README.md
@@ -54,3 +54,26 @@ alias lst='exa -l -snew'
|
||||
### server side
|
||||
- radicale `config`
|
||||
- in `~/.conf/radicale/config`
|
||||
|
||||
## swap file
|
||||
```bash
|
||||
# create swap file
|
||||
> dd if=/dev/zero of=./swapfile bs=1GB count=40
|
||||
|
||||
# add permisions
|
||||
> chmod 600 ./swapfile
|
||||
|
||||
# format the swapfile
|
||||
> mkswap ./swapfile
|
||||
|
||||
# enable swap on swapfile
|
||||
> swapon ./swapfile
|
||||
|
||||
# check that it is enabled
|
||||
> swapon --show
|
||||
|
||||
|
||||
# make swap persistent:
|
||||
# add the following line at the end of the /etc/fstab file
|
||||
~/swapfile swap swap defaults 0 0
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user