Month: August 2020

Blog

How to instal L2TP server to connect from routers?

I have some old TP-LINK & D-LINK routers which have L2TP connection features on them. For network speed at my home, I had to buy a VPS in my city. I could easily install Squid proxy on the VPS and connect through it. But, this way I was required to set proxy on all of …

Blog

How to backup whole Linux server?

You can backup a whole VPS using the `rsync` command below. rsync -avP –exclude={“/dev/*”,”/proc/*”,”/sys/*”,”/tmp/*”,”/run/*”,”/media/*”,”/lost+found”} / /mnt/hdd/encrypted/vps-server-backup/ You can also backup to other server. rsync -avP –exclude={“/dev/*”,”/proc/*”,”/sys/*”,”/tmp/*”,”/run/*”,”/media/*”,”/lost+found”} / OTHER_SERVER_HERE:/mnt/hdd/encrypted/vps-server-backup/ You will first need to configure OTHER_SERVER_HERE in your ssh config file. You can check this for more info: https://linuxize.com/post/using-the-ssh-config-file/ You can add as many exclude parameters …

Blog

WordPress Admin was not showing add/deactivate/delete plugin options

A strange thing happened today. I wanted to manage plugins for one of my WordPress websites. But, I could not see any add/deactivate/delete plugin options on the Plugins page. Then I realised that I had WordPress Multi-Sites enabled as I installed it that way earlier. So, only Network Admin can do that. Just go to …

Blog

How did I change logo in Ajaira WordPress Theme?

The Ajaira WordPress theme is a nice and simple theme for blogging. I am using the same for publishing this blog too. It is available for free from WordPress.org here: https://wordpress.org/themes/ajaira/ Adding a logo icon before the site title was tricky though as the title will only accept text. So, here is what I had …

Blog

How to remove mounted volumes from working docker instances?

There may be other ways to unmount a volume from a working docker instance, but using the way below you can unmount any volume right away. On the docker instance itself, try these commands: df -h You will see a list of all the mounts. overlay         310G  160G  151G  52% / …