Posts

Remove Proxmox Subscription Popup

Image
  remove the alert popup message without buying it Promox: No valid subscription message popup Intro Sometimes, the popup message — “No valid subscription” bothers me. Fortunately, the popup window only show up only during the initial login. Today, I got curios if there is a way what brings up the popup? In the javascript, ` /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js `, there is a logic checking the subscription by making API call to Proxmox. If there is no valid subscription, then “No valid subscription” will popup. Here is the logic in the  proxmoxlib.js checked_command : function ( orig_cmd ) { Proxmox . Utils . API2Request ( { url : '/nodes/localhost/subscription' , method : 'GET' , failure : function ( response, opts ) { Ext . Msg . alert ( gettext ( 'Error' ), response. htmlStatus ); }, success : function ( response, o...

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      

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 10.10.30.19/24 ipv4.method manual sudo nmcli con mod 'Wired connection 1' ipv4.gateway 10.10.30.1 sudo nmcli con mod 'Wired connection 1' ipv4.dns "10.10.30.1" sudo nmcli c down 'Wired connection 1' && sudo nmcli c up 'Wired connection 1' Source

xpipe

 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

tmux

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 Ke...

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) open the guest in vmware and increase the volume size ssh into the guest type fdisk /dev/sda (if you have a diffrent disk you will need to use the appropriate disk name) press p (to display the partition table) create a new partiton the same type as the last partition (press n ) keep pressing enter until you get to the partition type and set it the same as the last one leave the rest as default, keep pressing enter press w  (to write to the partition table) restart the machine type vgdisplay (make note of the name of your volume group) 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) 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 extend the volume by ty...