Static IP KVM Guest

Copied from Here If you don’t want to do any configuration inside the guest, then the only option is a DHCP server that hands out static IP addresses. If you use bridge mode, that will probably be some external DHCP server. Consult its manual to find out how to serve static leases. But at least […]

Read More

MySQL/MariaDB Not Securing

mysql_secure_installation doesn’t seem to work on the newest Debain After some googling I think I found what works for me. Delete anon user DELETE FROM mysql.user WHERE User=”; delete non local root user DELETE FROM mysql.user WHERE User=’root’ AND Host NOT IN (‘localhost’, ‘127.0.0.1’, ‘::1’); drop test database DROP DATABASE IF EXISTS test; drop all […]

Read More

Mail Server

I finally set up my own mail server using a couple guides. Just putting this here for my memory How to set up the server   When put behind cloudflare you need to add the bellow to /etc/nginx/nginx.conf in the http { location Enable PHP Sockets How to install and set up roundcube Allow roundcube […]

Read More

CloudFlare with nginx and plex

Add the following to the http in /etc/nginx/nginx.conf. This tells nginx where the actually IP is coming from instead of showing as cloudflare. This is the reverse proxy file /etc/nginx/sites-available/plex.domain.com. This is symlinked to /etc/nginx/sites-enabled/plex.domain.com. The contents of the file are below. You have to make sure to set the base URL on programs to […]

Read More

IPTables Fun

I found these scripts years ago and decided to use them. I might as well share them First the ipset and iptables need to be installed Now we need to create the ipset lists script to update files and countries. If you go to the ipdeny site you can find which countries you can add. […]

Read More

Install ZFS on Debian 9.5 (Stretch)

As root echo “deb http://ftp.debian.org/debian stretch main contrib” >> /etc/apt/sources.list apt update apt upgrade -y reboot Now we are going to install the linux headers for the current linux version apt install linux-headers-$(uname -r) Now we are going to install zfs itself. This is going to take a while apt install zfs-dkms

Read More