-- Leo's gemini proxy
-- Connecting to the.teabag.ninja:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-NZ
2023-01-02
A couple of things I tend to add to a Debian 11 VPS.
It is like htop (or top), just prettier. So why not. To get it, we have to add the backports repository.
Edit /etc/apt/sources.list as root and add these lines to the bottom:
#bullseye-backports deb http://deb.debian.org/debian bullseye-backports main
then run
apt update
apt install btop
Then to run btop, you just run the following. It can be run as a user.
btop
Easy peasy!
I did note that Swap on my VPS filled and stayed filled - I don't like that as my Akkoma install would lag when that happened. I would rather it emptied as needed and it used memory to a more full capacity first (especially on the smaller VPS).
to check current swappiness, run:
cat /proc/sys/vm/swappiness
which will output something like `60`. Higher numbers mean it will favour swap more.
I want to have near the minimum, so will set it to 1.
We need to edit `/etc/sysctl.conf` and add to the bottom
vm.swappiness = 1
Then run the following to have it apply
sysctl -p
And that is it.
-- Response ended
-- Page fetched on Mon May 20 18:52:33 2024