Creating A Portable MySQL On CentOS 6 And Ubuntu 11.10 Linux From Sources

Creating A Portable MySQL On CentOS 6 And Ubuntu 11.10 Linux From SourcesThis tutorial shows how to create a portable MySQL installation on GNU/Linux. It applies to:MySQL 5.5.19CentOS 6.x / Ubuntu 11.10 Oneiric OcelotAt the end of this guide you will obtain a portable MySQL installation on a target directory with its own databases, binaries, logs, pid files, etc.  Consider always the use of a permission preserving packaging (like TAR) for moving the installation between systems or removable storages. RequirementsDownload MySQL 5.5.19 source code (mysql-5.5.19.tar.gz) from MySQL siteA previousl

Read More »

How To Install KVM And libvirt On CentOS 6.2 With Bridged Networking

How To Install KVM And libvirt On CentOS 6.2 With Bridged NetworkingThis tutorial describes how to install the KVM hypervisor and libvirt virtualization library on Linux CentOS 6.2. At the end of this guide you will have a CentOS box (name it host) with the following capabilities:virtualization capacity: chance for multiple guests (Linux/Windows) running and sharing the host’s hardware bridge network configuration: you’ll be able to directly access to the guests as if they were physical machines on the same LAN and viceversa.visual management: using virt-manager (I use Ubuntu 11.10 in this how

Read More »

How To Create A Kickstart File For CentOS/Fedora/RedHat (RHEL)

How To Create A Kickstart File For CentOS/Fedora/RedHat (RHEL)Working for an IT Support company means I am regularly installing CentOS, Fedora & Redhat on servers and desktop computers. Following this guide will explain how to automate the install process and install additional software with post installation scripts, the following CentOS Kickstart tutorial is also available on my blog.First of all if you have never seen a kickstart file before and you have installed a flavour of Redhat Linux on a system go look in the /root dir you should see a file called “anaconda-ks.cfg” open it up and you

Read More »
Installing Apache2 With PHP5 And MySQL Support On CentOS 6.2 (LAMP)

Installing Apache2 With PHP5 And MySQL Support On CentOS 6.2 (LAMP)

Installing Apache2 With PHP5 And MySQL Support On CentOS 6.2 (LAMP)LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a CentOS 6.2 server with PHP5 support (mod_php) and MySQL support.I do not issue any guarantee that this will work for you! 1 Preliminary NoteIn this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate. 2 Installing MySQL 5To install MySQL, we do this:yum install mysql mysql-serverThen we create the system st

Read More »

CentOS 6.2 Samba Standalone Server With tdbsam Backend

CentOS 6.2 Samba Standalone Server With tdbsam BackendThis tutorial explains the installation of a Samba fileserver on CentOS 6.2 and how to configure it to share files over the SMB protocol as well as how to add users. Samba is configured as a standalone server, not as a domain controller. In the resulting setup, every user has his own home directory accessible via the SMB protocol and all users have a shared directory with read-/write access.I do not issue any guarantee that this will work for you! 1 Preliminary NoteI’m using a CentOS 6.2 system here with the hostname server1.example.com and

Read More »
How To Configure PureFTPd To Accept TLS Sessions On CentOS 6.2

How To Configure PureFTPd To Accept TLS Sessions On CentOS 6.2

How To Configure PureFTPd To Accept TLS Sessions On CentOS 6.2FTP is a very insecure protocol because all passwords and all data are transferred in clear text. By using TLS, the whole communication can be encrypted, thus making FTP much more secure. This article explains how to configure PureFTPd to accept TLS sessions on a CentOS 6.2 server. 1 Preliminary NoteYou should have a working PureFTPd setup on your CentOS 6.2 server, e.g. as shown in this tutorial: Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On CentOS 6.2. 2 Installing OpenSSLOpenSSL is needed by TL

Read More »

Running LinOTP On CentOS 6.2

Running LinOTP On CentOS 6.2This howto will show how you can set up LinOTP on CentOS 6.2. LinOTP is a modular and flexible solution for two factor authentication with one time passwords. This howto uses the community packages that are available at the python package index PyPI.yum install mysql-server/etc/init.d/mysqld startCreate a new database:mysql -u rootmysql> create database LinOTP2;Query OK, 1 row affected (0.00 sec)mysql> grant all privileges on LinOTP2.* to linotp@localhost identified by goodSecret;Query OK, 0 rows affected (0.01 sec)mysql> flush privileges;Query OK, 0 rows affected (

Read More »

How To Integrate ClamAV Into PureFTPd For Virus Scanning On CentOS 6.2

How To Integrate ClamAV Into PureFTPd For Virus Scanning On CentOS 6.2This tutorial explains how you can integrate ClamAV into PureFTPd for virus scanning on a CentOS 6.2 system. In the end, whenever a file gets uploaded through PureFTPd, ClamAV will check the file and delete it if it is malware. 1 Preliminary NoteYou should have a working PureFTPd setup on your CentOS 6.2 server, e.g. as shown in this tutorial: Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On CentOS 6.2. 2 Installing ClamAVClamAV is not available in the official CentOS repositories, therefore

Read More »
CentOS 6.2 – Installing mod_spdy With Apache 2 – Level Novice

CentOS 6.2 – Installing mod_spdy With Apache 2 – Level Novice

CentOS 6.2 – Installing mod_spdy With Apache 2 – Level NoviceSPDY (Speedy) is an experiment with protocols for the web. Its goal is to reduce the latency of web pages. mod_spdy is an open-source Apache module which supports the use of SPDY protocol to the Apache HTTPD server. This allows for faster page loading and more efficient bandwidth utilization when loading https URLs in SPDY-enabled browsers.
https://developers.google.com/speed/spdy/mod_spdy/Install Apache webserver, mod_ssl and openssl:yum install httpd mod_ssl opensslGenerate a private key:openssl genrsa -out ca.key 1024Generate a CS

Read More »
iRedMail: Build A Full-Featured Mail Server On CentOS 6 With Postfix, Dovecot, PostgreSQL.

iRedMail: Build A Full-Featured Mail Server On CentOS 6 With Postfix, Dovecot, PostgreSQL.

Build A Full-Featured Mail Server On CentOS 6 With Postfix, Dovecot, PostgreSQLSummaryWe’re going to set up a free, full-featured mail server on CentOS 6.2, all mail service related components are free and open source, and you have control over your own data. The installation process is extremly easy and smooth.By following this tutorial, you will have below major software and services ready for production use:Postfix: SMTP serviceDovecot: POP3/POP3S, IMAP/IMAPS, Managesieve servicePostgreSQL: Storing mail accounts and application dataApache: Web serverAmavisd, SpamAssassin, ClamAV: Anti-spam,

Read More »