Welcome to The Server Manual

For Internal Use Only

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/Server 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 »

Add Custom Resolution with xrandr

  Run xrandr to view display details Run cvt 1920 1080 to get a modeline such as below: “1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync Then add the above line to the –newmode command, example: sudo xrandr –newmode “1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync… 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 »

Create ISO images in terminal

You can create an ISO image out of files in a folder using the ‘genisoimage‘ command Usage example: genisoimage -o example.iso filedirectory ‘-o’ allows you to set the file output name, in this case ‘example.iso’ ‘filedirectory’ is the name of the folder that will have its contents placed into the iso

Using Corsair Link in Linux

This will be required for devices such as the H100i to set LED and fan settings in Linux. First – Open a terminal in the home directory and enter: git clone http://www.github.com/audiohacked/OpenCorsairLink.git cd OpenCorsairLink make Remember to have the mini USB cable connected from the device to a USB header on your motherboard To check… read more »