How to configure static IP on Debian server
Edit config: Usual default config: Change to: 1.1.1.1 & 8.8.8.8 are Cloudflare and Google’s free public DNS servers, you can add your own dns server beside these. Restart network service for changes to take effect:
Upgrade Immich docker compose
Must be executed in the directory where the docker-compose.yml is located.
Auto-update Plex Server on Linux
I just stole the entire text from Plex’s web site: DEB-based distros (Ubuntu, etc.) The PMS package will automatically do all repository setup for you on Debian 10+/Ubuntu 20.04+ installations, including obtaining the package signing key. To enable use of the repository edit the last line of the file Find the line: To use the … Read moreAuto-update Plex Server on Linux
Find disk model (HSS, SSD)
Prints the model and the size of the disk
Proxmox – Select which disks attached to vm to backup
I have a VM that has a physical hard disk passed through by Proxmox. This is a very large disk with unimportant content, meaning it just occupies a space on my backup drive 🙁 Head to the VM in Proxmox, select hardware, then select the disk you don’t want to be included in the snapshot … Read moreProxmox – Select which disks attached to vm to backup
Enabling SSH Root Login
As root, edit the SSH configuration on target computer: find the line: add this line bellow: Restart SSH:
How to passthrough Physical disks to VM in Proxmox
Login as root on your server (not VM) List all disk physical disks IDs: Add the disk to VM: 101 is the id of VM (usually 100 is the first VM), scsi3 is the first available hard disk ID in your VM (usually scsi0 is the first disk in VM) and ata-WDC_xxxxxxxxxxxxx is the disk … Read moreHow to passthrough Physical disks to VM in Proxmox
Change WordPress password directly in database
If you are stupid enough, as I am, you will need to do this. Yes, my WordPress couldn’t send an email to reset my password and I’ve forgot it. Long story short, I had to change it, without PhpMyAdmin since I’m using a self hosted WP. First, I had to find the name od the … Read moreChange WordPress password directly in database
mkdir (make directory)
-v verbose output -p creates entire path {} creates multiple directories in the same directory -m permissions sets permissions for the created directory