CentOS's archive
Posted in July 21st, 2010
Chrooting Apache2 With mod_chroot On CentOS 5.4
This guide explains how to set up mod_chroot
with Apache2 on a CentOS 5.4 system. With mod_chroot, you can run
Apache2 in a secure chroot environment and make your server less
vulnerable to break-in …
read more from this topic.....
Posted in July 13th, 2010
Flexnet License Monitoring With rrdtool
Some of you may know the commercial Flexnet Licencing Application
(©Macrovision). It’s a client-server based solution for managing the
usage of socalled Flexnet-enabled applications. You can hold licenses o…
read more from this topic.....
Posted in July 7th, 2010
iRedOS-0.6.0: Open Source Mail Server With Postfix, Dovecot,
Amavisd, ClamAV, SpamAssassin, RoundCube
iRedMail is a shell script that lets you quickly deploy a Open Source
Mail Server solution in less than 2 minutes. iRedOS is a customized CentOS 5….
read more from this topic.....
Posted in June 16th, 2010
How To Integrate ClamAV Into PureFTPd For Virus Scanning On CentOS
5.4
This tutorial explains how you can integrate ClamAV into PureFTPd for
virus scanning on a CentOS 5.4 system. In the end, whenever a file gets
uploaded through PureFTPd, ClamAV …
read more from this topic.....
Posted in May 27th, 2010
The Perfect Server – CentOS 5.5 x86_64 [ISPConfig 3]
This tutorial shows how to prepare a CentOS 5.5 x86_64 server for the
installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3
is a webhosting control panel that allows you to conf…
read more from this topic.....
Posted in May 25th, 2010
The Perfect Server – CentOS 5.5 x86_64 [ISPConfig 2]
This tutorial shows how to set up a CentOS 5.5
server (x86_64) that offers all services needed by ISPs and web hosters:
Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and
TLS…
read more from this topic.....
Posted in May 19th, 2010
Sphinx As MySQL Storage Engine (SphinxSE)
SphinX is a great full-text search engine for MySQL. Installing the
Sphinx daemon was straightforward as you can compile it from the source
or use a .DEB/.RPM package but SphinxSE was a little bit tricky s…
read more from this topic.....
Posted in April 14th, 2010
Using iRedMail And OpenVPN For Virtual Email Hosting And VPN
Services, With Central Authentication Against OpenLDAP (CentOS 5.4)
iRedMail is a shell script that lets you quickly deploy a
full-featured mail solution in less than 2 minutes. iRedMail supports
both OpenLDAP and MySQL as backends for storing virtual domains and
users. This tutorial shows you how to integrate OpenVPN into iredmail’s ldap
backend on CentOS 5.x, passwords will be stored in ldap and you can
change the password though webmail.
read more from this topic.....
Posted in April 6th, 2010
Striping Across Four Storage Nodes With GlusterFS On CentOS 5.4
This tutorial shows how to do data striping (segmentation of
logically sequential data, such as a single file, so that segments can
be assigned to multiple physical devices in a round-robin fashion and
thus written concurrently) across four single storage servers (running
CentOS 5.4) with GlusterFS.
The client system (CentOS 5.4 as well) will be able to access the
storage as if it was a local filesystem.
GlusterFS is a clustered file-system capable of scaling to several
peta-bytes. It aggregates various storage bricks over Infiniband RDMA or
TCP/IP interconnect into one large parallel network file system.
Storage bricks can be made of any commodity hardware such as x86_64
servers with SATA-II RAID and Infiniband HBA.
read more from this topic.....
Posted in April 1st, 2010
Installing Nictool On CentOS 5
Nictool is a free software for managing DNS, but for download we have
to register at www.nictool.com;
Nictool can export from djbdns, BIND, PowerDNS. All data is stored in
MySQL and can be managed over the web using a browser. This tutorial
shows how to install Nictool on CentOS 5.2.
read more from this topic.....
Posted in March 30th, 2010
Distributed Storage Across Four Storage Nodes With GlusterFS On
CentOS 5.4
This tutorial shows how to combine four single storage servers
(running CentOS 5.4) to one large storage server (distributed storage)
with GlusterFS. The client system (CentOS 5.4 as well) will be able to access the
storage as if it was a local filesystem. GlusterFS is a clustered file-system capable of scaling to several
peta-bytes. It aggregates various storage bricks over Infiniband RDMA or
TCP/IP interconnect into one large parallel network file system.
Storage bricks can be made of any commodity hardware such as x86_64
servers with SATA-II RAID and Infiniband HBA.
read more from this topic.....
Posted in March 30th, 2010
Installing Lighttpd With PHP5 And MySQL On CentOS 5.2
Lighttpd is a webserver designed to be secure, fast,
standards-compliant, and flexible while being optimized for
speed-critical environments. This post shows how to install it with PHP5
and MySQL support on Centos 5.2.
read more from this topic.....
Posted in March 25th, 2010
VBoxHeadless – Running Virtual Machines With VirtualBox 3.1.x On A
Headless CentOS 5.4 Server
This guide explains how you can run virtual machines with Sun VirtualBox 3.1.x
on a headless CentOS 5.4 server. Normally you use the VirtualBox GUI
to manage your virtual machines, but a server does not have a desktop
environment. Fortunately, VirtualBox comes with a tool called
VBoxHeadless that allows you to connect to the virtual machines over a
remote desktop connection, so there’s no need for the VirtualBox GUI.
read more from this topic.....
Posted in March 23rd, 2010
Installing PowerDNS With MySQL On CentOS
PowerDNS is a MySQL-based DNS server, written in C++ and licensed
under the GPL. PowerDNS can be managed through a web interface
(PowerAdmin). This guide shows how to install it on CentOS.
read more from this topic.....
Posted in March 21st, 2010
Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On CentOS 5.4
This tutorial shows how to combine four single storage servers
(running CentOS 5.4) to a distributed replicated storage with GlusterFS. Nodes 1
and 2 (replication1) as well as 3 and 4 (replication2) will mirror each other, and replication1 and replication2
will be combined to one larger storage server (distribution).
Basically, this is RAID10 over network.
If you lose one server from replication1
and one from replication2, the distributed
volume continues to work. The client system (CentOS 5.4 as well) will be
able to access the storage as if it was a local filesystem.
GlusterFS is a clustered file-system capable of scaling to several
peta-bytes. It aggregates various storage bricks over Infiniband RDMA or
TCP/IP interconnect into one large parallel network file system.
Storage bricks can be made of any commodity hardware such as x86_64
servers with SATA-II RAID and Infiniband HBA.
read more from this topic.....
Posted in March 18th, 2010
Installation Of BIND As A Secondary (Slave) DNS Server On CentOS
After we have installed BIND as a master DNS server (NS1), we can now try to set up a secondary
DNS server (NS2) with BIND on CentOS. NS2 acts as a backup if there are
problems with NS1.
read more from this topic.....
Posted in March 17th, 2010
High-Availability Storage With GlusterFS On CentOS 5.4 – Automatic File Replication (Mirror) Across Two Storage Servers
This tutorial shows how to set up a high-availability storage with
two storage servers (CentOS 5.4) that use GlusterFS. Each
storage server will be a mirror of the other storage server, and files
will be replicated automatically across both storage servers. The client
system (CentOS 5.4 as well) will be able to access the storage as if it
was a local filesystem.
GlusterFS is a clustered file-system capable of scaling to several
peta-bytes. It aggregates various storage bricks over Infiniband RDMA or
TCP/IP interconnect into one large parallel network file system.
Storage bricks can be made of any commodity hardware such as x86_64
servers with SATA-II RAID and Infiniband HBA.
read more from this topic.....
Posted in March 16th, 2010
Creating An NFS-Like Standalone Storage Server With GlusterFS On
CentOS 5.4
This tutorial shows how to set up a standalone storage server on
CentOS 5.4. Instead of NFS, I will use GlusterFS here. The client system will be able to
access the storage as if it was a local filesystem.
GlusterFS is a clustered file-system capable of scaling to several
peta-bytes. It aggregates various storage bricks over Infiniband RDMA or
TCP/IP interconnect into one large parallel network file system.
Storage bricks can be made of any commodity hardware such as x86_64
servers with SATA-II RAID and Infiniband HBA.
read more from this topic.....
Posted in March 16th, 2010
BIND Installation On CentOS
BIND is alternative software for translating domain names into IP
addresses. Because domain names are alphabetic, they are easier to
remember. So if we will browse the Internet we don’t need to
remember IP addresses. For example, the domain name www.yourdomain.com
might
translate to 192.168.0.1.
read more from this topic.....
Posted in March 11th, 2010
Installation Of ZendOptimizer And IonCubeLoader Using Lighttpd On CentOS
This tutorial explains how to enable ZendOptimizer and IonCubeLoader in PHP on a Lighttpd web server on CentOS.
read more from this topic.....
Posted in March 10th, 2010
How To Harden PHP5 With Suhosin On CentOS 5.4
This tutorial shows how to harden PHP5 with Suhosin on a CentOS 5.4 server. From the Suhosin project page: “Suhosin
is an advanced protection system for PHP installations that was
designed to protect servers and users from known and unknown flaws in
PHP applications and the PHP core. Suhosin comes in two independent
parts, that can be used separately or in combination. The first part is
a small patch against the PHP core, that implements a few low-level
protections against bufferoverflows or format string vulnerabilities
and the second part is a powerful PHP extension that implements all the
other protections.”
read more from this topic.....
Posted in February 16th, 2010
How To Set Up MySQL Database Replication With SSL Encryption On CentOS 5.4
This tutorial describes how to set up database replication in MySQL
using an SSL connection for encryption (to make it impossible for
hackers to sniff out passwords and data transferred between the master
and slave). MySQL replication allows you to have an exact copy of a
database from a master server on another server (slave), and all
updates to the database on the master server are immediately replicated
to the database on the slave server so that both databases are in sync.
This is not a backup policy because an accidentally issued DELETE
command will also be carried out on the slave; but replication can help
protect against hardware failures though.
read more from this topic.....
Posted in February 15th, 2010
Efficient High-Available LoadBalanced Cluster On CentOS 5.3 (Direct Routing Method)
This article explains how to set up an LVS cluster of load balanced virtual
servers with Heartbeat and Ldirectord On CentOS 5.3.The load balancer sits
between the user and two (or more) backend Apache/IIS web servers that hold the
same content. Not only does the load balancer distribute the requests to the two
backend Apache/IIS servers, it also checks the health of the backend servers. If
one of them is down, all requests will automatically be redirected to the
remaining backend server.
read more from this topic.....
Posted in February 2nd, 2010
How To Configure ISA Proxy/Auth Setting For Yum
I was running CentOS in my LAN for my personal use and there are MS
ISA servers for proxying and each user has to use his/her user name
& password for Internet. So when I used my credentials in my web
browser I had no problem but when I was going to do yum no success.
After some googling I found this solution.
read more from this topic.....
Posted in January 22nd, 2010
Installing Lighttpd With PHP5 And MySQL Support On CentOS 5.4
Lighttpd is a secure, fast, standards-compliant web server designed
for speed-critical environments. This tutorial shows how you can
install Lighttpd on a CentOS 5.4 server with PHP5 support (through
FastCGI) and MySQL support.
read more from this topic.....
Posted in January 7th, 2010
Installing Lighttpd With PHP5 And MySQL Support On CentOS 5.3
Lighttpd is a secure, fast, standards-compliant web server designed
for speed-critical environments. This tutorial shows how you can
install Lighttpd on a CentOS 5.3 server with PHP5 support (through
FastCGI) and MySQL support.
read more from this topic.....
Posted in December 22nd, 2009
How To Build A Low Cost SAN
In today’s world there is a obvious need of information sharing in
every department and network storage can help us to achieve this most
growing challenge.
Here in this article we are focusing our concentration to make a low-cost SAN.
read more from this topic.....
Posted in December 13th, 2009
Paravirtualization With Xen On CentOS 5.4 (x86_64)
This tutorial provides step-by-step instructions on how to install Xen (version 3.0.3) on a CentOS 5.4 (x86_64) system. Xen lets you create guest operating systems (*nix operating systems like Linux and FreeBSD), so called “virtual machines” or domUs, under a host operating system (dom0).
Using Xen you can separate your applications into different virtual
machines that are totally independent from each other (e.g. a virtual
machine for a mail server, a virtual machine for a high-traffic web
site, another virtual machine that serves your customers’ web sites, a
virtual machine for DNS, etc.), but still use the same hardware. This
saves money, and what is even more important, it’s more secure. If the
virtual machine of your DNS server gets hacked, it has no effect on
your other virtual machines. Plus, you can move virtual machines from
one Xen server to the next one.
read more from this topic.....
Posted in November 27th, 2009
Expanding A Root-FS
There might be the situation, that your root filesystem runs out of
space, so it has to be expanded. With filesystems other than the root
filesystem this could easily be done for instance with gparted. With
the root filesystem this is not possible, as gparted could only expand
filesystems that are not mounted, which is impossible with the root
filesystem. The only way to enlarge the root filesystem is to boot from
a kind of rescuesystem, Live-CD or the like, and then to expand the
root filesystem. The following tutorial describes, how this is achieved by using
Systemrescue-CD.
read more from this topic.....
Posted in November 20th, 2009
Low Cost SAN
The objective of this document is to provide making of Low Cost SAN using FOSS tools.
read more from this topic.....