New VPS and Kolab groupware installation (Part 1)

Been a while since i had any computer projects going on, only means i have been busy doing something else or just sleeping.

Well me and my project partner got our self an VPS at an hosting company based in Stockholm Sweden because we have been using an computer at home with VPN tunnel for domain and static IP but was time to move it outside, so we start with blank VPS. Linux Ubuntu 14.04 was the latest we got offered and we wanted to make the whole installation from beginning.

This move to new VPS will also mean i will move my own neverending projects blog there also under new domain.

Things to install?

root domain – techmonkeys.se (DONE) nothing to see there but atleast we have working hostname.
Kolab groupware – https://docs.kolab.org/installation-guide/winterfell/ubuntu-14.04.html
Multi domain support for kolab – https://docs.kolab.org/howtos/multi-domain.html

Kolab is not the easiest server to setup even tho our installation of Winterfell version went without errors after our host fixed reverseDNS issue. Problems started after we added multi domain support, now we cannot log on to roundcubemail (reading all kinds of problems with this setup)

Configuration continues tomorrow.

Populating mySQL with fail2ban information and banhammer

Fail2SQL – An SQL logger for fail2ban can be found at http://fail2sql.sourceforge.net/

But i will do two things at the same time as i also found this http://www.byteme.org.uk/2014/04/21/ban-hammer-fail2ban-geo-ip-on-google-maps/ which will give me statistics on the web with google maps about banned IPS with geo location. So for the next to do this in correct order, Download fail2SQL and then follow RobinC howto along side when activating Fail2SQL. Continue reading →

Time for fail2ban installation

As i see auth.log is filled with brute force attack on all services that are open to the internet its always good to have protection and fail2ban provides good features to be able to minimize those attacks. fail2ban will alter iptables configuration on the fly on predefined number of unsuccessful login attempts. In the beginning i will configure fail2ban to alter iptables locally on my server but will change that so it is my gateway (mikrotik) that will be the firewall that blocks the banned IP’s. But first installation of fail2ban locally only. Continue reading →

Ubuntu Server 14.04 Project

Was time to refresh my server skills so i started project Ubuntu Server 14.04 on new hardware and clean install, everything from scratch. How big the project is going to be i have no idea but so far i have installed the system, configured for my home network.

So far i have installed and configured MySQL, Apache2, PHP and SSH server

Not so much to write about the installation process other than my computer refused to complete installation via USB for some reason, google did not have an solution so i just burned an CD and installed to get it going. After installation was done i installed SSHD and configured it like i normally do, Root login not allowed and only RSA/DSA key logins accepted no password login via SSH at all.

Installation of Apache2, PHP and MySQL and default configs works for now. Just created an database for the server to use for various things as i like to store information in SQL.

It Works! So far so good, Easy. Next post will be soon about Fail2ban with fail2sql and banhammer web statistics.

 

Project site

Here i will gather all my projects about computer mostly Linux Ubuntu and Radio-controlled cars/quadcopters, also some other technical projects. I mostly write here for my self to remember better what i have done for the next time i need to do these things.