Linux

How to login and connect to NordVPN on Ubuntu Server

Installing the latest NordVPN by opening the terminal, writing the command below, and following any on-screen instructions:

sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)

Note: If you do not have a curl package, evidenced by the fact that the above does not work, you can alternatively use this command:

sh <(wget -qO - https://downloads.nordcdn.com/apps/linux/install.sh)

Additionally, if you receive the following issue:
Whoops! Permission denied accessing /run/nordvpn/nordvpnd.sock, all you need to do is write the following command:

sudo usermod -aG nordvpn $USER # and then reboot your device.

After installing NordVPN Linux Client you might get the following message when you try to login “nordvpn login”:
Continue in the browser

server@server:~$ nordvpn login
Continue in the browser: https://zwyr157wwiu6eior.com/v1/users……

There is a simple solution:
nordvpn login –legacy

server@server:~$ nordvpn login –legacy
Please enter your login details.
Email:

or even:
nordvpn login –username username –password password

How to disable the automatic ZFS snapshots on Ubuntu 20.04 with ZFS

Disable user snapshots

Disable system snapshots

Re-enable user snapshots

Re-enable system snapshots

2021 Updated! Install WordPress on Ubuntu Server with add-on features as HTTPS support, SSL certificate and HTTP2 supports

If we carefully followed all my steps above , you should have a running wordpress page by now.
You might need to run as the wordpress uses php file extensions.
sudo rm -rf /var/www/html/index.html

Enable HTTPS supports:

Create a ssl-params.conf file and add the following definition below to it, then save it.

Next thing to do is create a backup of the original default-ssl.conf file.

Then modify it accordingly, we are deploying a wordpress site in this particular example we use the following adjustments.

Enable HTTP2 supports:

It is also recommended adding strong ciphers for Apache to increase SSL Security on the server.
Part of my Best Practices to deploy a secure webserver, virtual personal server or database serve is to add the recommended ciphers from SSL Server Test.

How to Enable HTTP2 in Apache 2.4 on Ubuntu

vnStat – a brilliant open source console-based network traffic monitor for Linux

vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s).
Features:
Quick and simple to install and get running.
Gathered statistics persists through system reboots.
Can monitor multiple interfaces at the same time.
Several output options.
Summary, 5 minute, hourly, daily, monthly, weekly, yearly, top days.
Optional png image output (using libgd).
Data retention duration is fully user configurable on the fly.
Months can be configured to follow billing period.
Light, minimal resource usage.
Same low cpu usage regardless of traffic.
Can be used without root permissions.
Online color configuration editor.
humdi.net/vnstat/