<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>DevOps on Midgard Studios</title><link>https://midgardstudios.co.uk/series/devops/</link><description>Recent content in DevOps on Midgard Studios</description><generator>Hugo</generator><language>en</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0&lt;/a></copyright><lastBuildDate>Wed, 16 Feb 2022 06:03:00 +0000</lastBuildDate><atom:link href="https://midgardstudios.co.uk/series/devops/index.xml" rel="self" type="application/rss+xml"/><item><title>fail2ban</title><link>https://midgardstudios.co.uk/posts/2022/02/fail2ban/</link><pubDate>Wed, 16 Feb 2022 06:03:00 +0000</pubDate><guid>https://midgardstudios.co.uk/posts/2022/02/fail2ban/</guid><description>Installation Debian | Ubuntu
sudo apt-get install fail2ban Prepare main configuration file sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local Edit the configuration file jail.local, the following parameters can be adjusted bantime = 720m # How long to block an abusive IP findtime = 120m # Time period to check the connections maxretry = 3 # Within the above time period, block the abusive IP if the number of the abusive IP connections reaches the maxretry banaction = ufw banaction_allports = ufw destemail = example@example.</description></item><item><title>Proxmox Notes: Import qcow2 disk</title><link>https://midgardstudios.co.uk/posts/2020/08/proxmox-notes-import-qcow2-disk/</link><pubDate>Fri, 14 Aug 2020 01:43:00 +0000</pubDate><guid>https://midgardstudios.co.uk/posts/2020/08/proxmox-notes-import-qcow2-disk/</guid><description>Import qcow2 disk Upload the image to a folder on Proxmox. I usually use /var/tmp create a VM in proxmox. Detach and remove the disk it created in the VM and run the following command.
qm importdisk [VM ID] [disk name and location] [Storage] Example qm importdisk 100 zabbix_appliance-5.0.2.qcow2 sas-01-Backup Add the newly created disk in the proxmox interface.
Edit the boot order to add the new disk as the first boot device if not already.</description></item><item><title>Install nginx php7 mariaDb</title><link>https://midgardstudios.co.uk/posts/2020/08/install-nginx-php7-mariadb/</link><pubDate>Mon, 10 Aug 2020 06:02:22 +0000</pubDate><guid>https://midgardstudios.co.uk/posts/2020/08/install-nginx-php7-mariadb/</guid><description>Update Ubuntu apt-get update apt-get upgrade sudo ufw allow ssh comment &amp;#39;Open SSH port 22&amp;#39; Install NginX apt instal nginx To start, stop and enable Nginx
sudo systemctl stop nginx.service sudo systemctl start nginx.service sudo systemctl enable nginx.service Open HTTP and HTTPS ports on firewall sudo ufw allow http comment &amp;#39;Open access Nginx port 80&amp;#39; sudo ufw allow https comment &amp;#39;Open all to access Nginx port 443&amp;#39; Install MariaDB sudo apt-get install mariadb-server mariadb-client To start, stop and enable Nginx</description></item><item><title>List Currently Used Ports on Linux</title><link>https://midgardstudios.co.uk/posts/2020/01/list-currently-used-ports-on-linux/</link><pubDate>Thu, 09 Jan 2020 03:33:00 +0000</pubDate><guid>https://midgardstudios.co.uk/posts/2020/01/list-currently-used-ports-on-linux/</guid><description>199 netstat -pln -l will list listening ports
-p will also display the process
-n will show port numbers instead of names.
-t Add to only show TCP ports.</description></item></channel></rss>