Format a disk for Proxmox

Enter the shell by logging into Proxmox web client, select your node then select Shell, run the cfdisk command with the specified drive name, example: cfdisk sdb Write a new partition and select the type (usually Linux Filesystem), select Write then Quit. Format the new disk using the ext3 filesystem mkfs.ext3 /dev/sdb1 Create a folder… read more »

Auto mounting Samba shares

In order to mount a network share, you will need file system helper programs, some useful ones can be installed via: sudo apt install nfs-common sudo apt install cifs-utils You will then need to create directories in the locations you wish to mount the drives to, example: sudo mkdir /mnt/NAS Then update fstab to add… read more »

Set a static IP in the terminal (Ubuntu)

Edit the interfaces file with: ‘sudo nano /etc/network/interfaces’ Update the file from DHCP to static and complete the final lines as per the example below: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface… read more »

Adding WordPress users via MySQL

Login to phpMyAdmin then select the SQL tab and insert the below, username newadmin and pass pass123 should be changed: INSERT INTO `wp_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`) VALUES (‘newadmin’, MD5(‘pass123’), ‘firstname lastname’, ’[email protected]’, ‘0’); INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (Select max(id) FROM wp_users), ‘wp_capabilities’, ‘a:1:{s:13:”administrator”;s:1:”1″;}’); INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`,… read more »

Passthrough existing SATA drives to ESXi VMs

Enable SSH on the ESXi host SSH in (ssh [email protected]) and run command: ls -l /vmfs/devices/disks To identify your hard drive, look for an entry with only rw access and without an additional entry such as :1 attached at the end. Example: -rw——- 1 root root 1000204886016 Nov 16 06:04 t10.ATA_____WDC_WD10EZEX2D60WN4A0_________________________WD2DWCC6Y1ENVDD7 Use the vmkfstools command… read more »

Restore snapshots from Wayback Machine

The tool for this can be found here First install Ruby: sudo apt install ruby Then: gem install wayback_machine_downloader Create a folder/find a location to save the site to. This tool will automatically create a websites folder in your current working folder then a subfolder with the URL name. Website files will go into this… read more »

Changing Plymouth Splash Screen

Download compressed files (example) Extract archive and copy folder to /usr/share/plymouth/themes/ Install the theme by running: sudo update-alternatives –install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/FOLDERNAME/THEMENAME.plymouth 100 Then sudo update-alternatives –config default.plymouth Select the relevant theme on the provided list in terminal Generate the initramfs image by running sudo update-initramfs -u If there are no errors you can reboot… read more »

Cannot manage PPAs in Ubuntu/Mint

When trying to add a PPA in terminal error occurs: Traceback (most recent call last): File “/usr/lib/linuxmint/mintSources/”, line 1455, in <module> codename = config_parser.get(“general”, “base_codename”) File “/usr/lib/python2.7/”, line 330, in get raise NoSectionError(section) ConfigParser.NoSectionError: No section: ‘general’ Or trying to access/manage PPAs via GUI similar errors occur or GUI closes the application window. In terminal,… read more »