Monday, May 6, 2024

Re-add existing datastore for PBS

 this is how you re-add an existing datastore for Proxmox backup server (PBS)

vim /etc/proxmox-backup/datastore.cfg

add the datastore like so

 datastore: PBS

        path /mnt/datastore/PBS




Saturday, May 4, 2024

Raspbian OS Static IP

 so i haven't used my raspberry pi's in ages and they have changed the way they set static ip's from using /etc/network file to using network manager in raspbian os

so after a bit of googling i found out this is how you should be setting static ips

sudo nmcli c show sudo nmcli c mod 'Wired connection 1' ipv4.addresses ipv4.method manual sudo nmcli con mod 'Wired connection 1' ipv4.gateway sudo nmcli con mod 'Wired connection 1' ipv4.dns "" sudo nmcli c down 'Wired connection 1' && sudo nmcli c up 'Wired connection 1'


Saturday, November 25, 2023


 so i have found this app recently and thought i would share.

XPipe is a new type of shell connection hub and remote file manager that allows you to access your entire server infrastructure from your local machine. It works on top of your installed command-line programs and does not require any setup on your remote systems.

XPipe fully integrates with your tools such as your favourite text/code editors, terminals, shells, command-line tools and more. The platform is designed to be extensible, allowing anyone to add easily support for more tools or to implement custom functionality through a modular extension system.

i have only had a quick look at it but seems like an awesome app so far.

check it out here

Sunday, July 30, 2023


so recently i have been working more with linux and i discovered tmux.

now i have heard of tmux ages ago but never really used it to is full potentioal until the other day.

its so easy to use and the fact all your sessions have their name down the bottom and can use diffrent colors.

you can even use the mouse to switch windows!

i have listed some basic key bindings below and a cheet sheet for you to download.

Enjoy :)


Basic tmux keybindings

Tmux provides several keybindings to execute commands quickly in a tmux session. Here are some of the most useful ones.

First, create a new tmux session if you're not already in one. You can name your session by passing the parameter -s {name} to the tmux new command when creating a new session:

$ tmux new -s Session1
  • Ctrl+B D — Detach from the current session.
  • Ctrl+B % — Split the window into two panes horizontally.
  • Ctrl+B " — Split the window into two panes vertically.
  • Ctrl+B Arrow Key (Left, Right, Up, Down) — Move between panes.
  • Ctrl+B X — Close pane.
  • Ctrl+B C — Create a new window.
  • Ctrl+B N or P — Move to the next or previous window.
  • Ctrl+B 0 (1,2...) — Move to a specific window by number.
  • Ctrl+B : — Enter the command line to type commands. Tab completion is available.
  • Ctrl+B ? — View all keybindings. Press Q to exit.
  • Ctrl+B W — Open a panel to navigate across windows in multiple sessions.

For additional keybindings, consult the tmux man pages.

tmux cheat sheet


Saturday, July 16, 2022

Surfshark VPN

 Hi all, 

i have been using Private internet access for a vpn for a while now with great results but recently i have been recommended to use to switch to Surfshark and now i have made the move i highly recommend it.

it has so many features and its a super fast vpn it also includs a inbuilt antivirus.

check it out

How to Extend a LVM on Ubuntu

 ok so here is how to extend a LVM volume on a ubuntu server/desktop machine ( this was done on a virtual machine)

  1. open the guest in vmware and increase the volume size
  2. ssh into the guest
  3. type fdisk /dev/sda (if you have a diffrent disk you will need to use the appropriate disk name)
  4. press p (to display the partition table)
  5. create a new partiton the same type as the last partition (press n)
  6. keep pressing enter until you get to the partition type and set it the same as the last one
  7. leave the rest as default, keep pressing enter
  8. press w (to write to the partition table)
  9. restart the machine
  10. type vgdisplay (make note of the name of your volume group)
  11. type vgextend ubuntu-vg /dev/sda3 (replace ubuntu-vg with the name of the volume group and 3 with the new partition number u just created)
  12. extend the lvm by typing lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv /dev/sda4 (make sure the lvm name is correct and sda4 is the new partition
  13. extend the volume by typing resize2fs /dev/ubuntu-vg/ubuntu-lv
  14. type df -h and confirm the new volume size

Saturday, November 10, 2018

how to put a docker on the local subnet

 so if you are like me and want to put a docker on your local subnet then all you need to do is: 

docker network create -d macvlan --subnet=<subnet> --gateway=<gateway> -o parent=<ethernet name> <docker network name> 

Example: docker network create -d macvlan --subnet= --gateway= -o parent=ens18 Local_Network

more info can be found here

Re-add existing datastore for PBS

 this is how you re-add an existing datastore for Proxmox backup server (PBS) vim /etc/proxmox-backup/datastore.cfg add the datastore like s...