Install PureFTPd with virtual users

Categories: Ubuntu; Tags: pureftpd, ftp, daemon, ubuntu;

PureFTPd is a very lightweight daemon which has the ability to store the credentials in a mysql database. Installing it in Ubuntu 9.10 is pretty straight forward:

apt-get install pure-ftpd-mysql

We must also create the ftpuser and group that all the virtual users will be mapped to:

groupadd -g 2001 ftpgroup
useradd -u 2001 -s /bin/false -d /bin/null -c "pureftpd user" -g ftpgroup ftpuser

The next step is to create the actual database in which the virtual users are stored:

Install Webmin on Ubuntu Server 9.10

Categories: Ubuntu; Tags: ubuntu, webmin;

Webmin is a web interface for configuring your linux box, in which you can modify almost everything related to your server. It has been built from the ground up to make server administration as simple as possible for novice to expert Linux/UNIX administrators. Dealing with all the text configuration files can be a time consuming task and that's why Webmin can help a lot.

If you want to install it in your Ubuntu Server, you need to install first some perl-related libraries:

Install Snort and Base

Categories: Ubuntu; Tags: IDS, Snort;

Just like psad in the earlier post, Snort is an intrusion prevention and detection system capable of performing real-time traffic analysis and packet logging on IP networks. It has an increasing database of rules and can be used to detect a variety of attacks and probes, such as buffer overflows, stealth port scans, CGI attacks, SMB probes, OS fingerprinting attempts, and much more. It is though a resource hog, and you should think twice before installing it on a low memory machine.

Increase security with Iptables and PSAD

According to CipherDyne Psad is a lightweight daemon that analyses in real time the iptables log messages, trying to detect suspicious traffic.

In Ubuntu Karmic Koala psad install is as easy as:

apt-get install psad

The configuration file is located at /etc/psad/psad.conf  and it's very explicit. A few things you have to modify though, look for the following fields and modify them accordingly:

Install and secure Apache, MySql, PHP and Postfix

Categories: Ubuntu; Tags: Postfix, PHP, MySql, E-mail, Apache, security;

Installing MySql Server on Ubuntu is a very simple task:

sudo apt-get install mysql-server mysql-client libmysqlclient16-dev

One useful utility is the mysql_secure_installation script, which limits access to the ‘root’ account, removes the test database, and removes anonymous accounts.

Books

NginX HTTP Server

The book includes detailed instructions for each of the processes it describes: downloading and installing the application, configuring and using modules, and much more. It provides a step-by-step tutorial to replace your existing web server with Nginx. With commented configuration sections and in-depth module descriptions, you will be able to make the most of the performance potential offered by Nginx.

Source: Packt Publishing

Google AdSense

Affiliates