Network install Windows from CentOS 6.X

Intro Setup description and other stuff: NOTE: 192.168.1.104 is the tftp/samba server in my case RouterOS dhcp config comes here CentOS disable fw update yum install xinetd and syslinux configure syslinux install samba configure samba extract iso and share it via samba Windows Download windows AIK from here. Mount the ISO and run StartCD. The …

Mikrotik monitoring using zabbix

logo_mikrotik

Although Mikrotik has it’s own network monitor, namely the dude, they can be checked upon just as easily with Zabbix using SNMP. Zabbix is in my oppinion a pretty good solution (since it has native agents for both Windows and Linux as well) let’s use that instad. Client setup Log in to your router using winbox: …

Mikrotik automated maintenance

logo_mikrotik

Let’s look a bit at one of Mikrotik routers most powerful capability: scripting. Using scripts we can automate updating and backups, so we can sleep a bit easier. We also can send the backups directly via email, so I will assume that you have a (spare) email address from where to send notifications. Email setup Log in to your router with …

Protecting Apache against DDoS using Fail2Ban

fail2ban-logo

To protect your LAMP server against brute-force attacks you can use Fail2Ban. It’s a daemon that checks log files and does something if it finds a match according to it’s filters. In it’s simplest configuration it just bans (by adding an iptables rule) an IP address for a period of time. Let’s check it out how we can set it …

Deploying a Windows VPS on Proxmox VE

proxmox-favicon

Deploying a (modern) Linux/BSD VPS on a Proxmox VE is easy and requires no extra steps, since they have built in VirtIO support since kernel 2.6.25. For Windows its a bit more tricky, we need to use additional drivers, that can be obtained free of charge and in a neat iso package from here. Upload both your Windows installer and …

MySQL master-master replication on Windows

mysql-logo-square

This post serves as a how to on how to set up MySQL master-master replication. Since I’m doing it on Windows, I wanted to make it as easy as possible, so I will be using a free SQL client, namely SQLyog community edition, that can be downloaded from here. For the MySQL itself the official community edition installer …

Protecting a web directory in Virtualmin

logo-virtualmin

Virtualmin makes it easy to protect websites (or just parts of it) with an email / password combination. The nice thing about it is that you have granular control over which user has access to what. The user doesn’t have to remember a new password, it will simply be his/her old email password. Let’s see how it works! Go to …