diff --git a/blog/initial-server-setup.html b/blog/initial-server-setup.html index 32522f1..eb9c424 100644 --- a/blog/initial-server-setup.html +++ b/blog/initial-server-setup.html @@ -160,6 +160,15 @@ alias ipe="curl ifconfig.co"
export PS1="\[\e[01;33m\]\u\[\e[0m\]\[\e[00;37m\]@\[\e[0m\]\[\e[01;36m\]\h\[\e[0m\]\[\e[00;37m\] \t \[\e[0m\]\[\e[01;35m\]\w\[\e[0m\]\[\e[01;37m\] \[\e[0m\]\n$ "

If you want to customise your terminal, you can do so with .bashrc PS1 generator. +

Reads shouldn't write!

+

Another personal opinion, and change is to enable noatime, and nodiratime. Be careful with this change! And ignore if you followed my Debian install guide, as they're already enabled.

+

Basically without these, when a file is opened (read) on your filesystem, a write is invoked to update the time it was opened, which causes unwanted writes, and CPU cycles.

+

Open your fstab file

+
sudo vim /etc/fstab
+

And edit your mounted drive(s) to include these flags

+
UUID=<YOUR-UUID>    /    ext4    noatime,nodiratime    0 1
+

The above uses an example, make your EXISTING lines look kinda like the above. Essentially just adding noatime, nodiratime

+

Server maintance notes

Keep the server up-to date as much as possible

Only install things that you need. If this is a server for learning, half ignore this, but for production servers only install services, and make changes that are required.