HowtoForge Linux Howtos and Tutorials

Syndicate content HowtoForge - Linux Howtos and Tutorials -
HowtoForge provides user-friendly Linux tutorials about almost every topic. If you've written a Linux tutorial that you'd like to share, you can contribute it. If you'd like to discuss Linux-related problems, you can use our forum. If you have questions, please contact us by email: info [at] howtoforge [dot] com or use our contact form.
Updated: 54 min 59 sec ago

High-Availability Storage With GlusterFS On CentOS 5.4 - Automatic File Replication (Mirror) Across Two Storage Servers

10 hours 24 min ago

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.

Categories: Open Source Feed

Creating An NFS-Like Standalone Storage Server With GlusterFS On CentOS 5.4

Tue, 03/16/2010 - 9:45am

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.

Categories: Open Source Feed

BIND Installation On CentOS

Tue, 03/16/2010 - 7:29am

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.

Categories: Open Source Feed

Highly Available NFS Server Using DRBD And Heartbeat On Debian 5.0 (Lenny)

Mon, 03/15/2010 - 9:13am

Highly Available NFS Server Using DRBD And Heartbeat On Debian 5.0 (Lenny)

This HowTo explains how I set up a highly available NFS server using Debian 5 (Lenny) and drbd8 with heartbeat.

Categories: Open Source Feed

Build Your Own Video Community With Lighttpd And FlowPlayer (Ubuntu 9.10)

Sun, 03/14/2010 - 10:03am

Build Your Own Video Community With Lighttpd And FlowPlayer (Ubuntu 9.10)

This article shows how you can build your own video community using lighttpd with its mod_flv_streaming module (for streaming .flv videos, the format used by most major video communities such as YouTube) and its mod_secdownload module (for preventing hotlinking of the videos) on Ubuntu 9.10. I will use FlowPlayer as the video player, a free Flash video player with support for lighttpd's mod_flv_streaming module. I will also show how you can encode videos (.mp4 .mov .mpg .3gp .mpeg .wmv .avi) to the FLV format supported by Adobe Flash.

Categories: Open Source Feed

Striping Across Four Storage Nodes With GlusterFS On Fedora 12

Fri, 03/12/2010 - 8:15am

Striping Across Four Storage Nodes With GlusterFS On Fedora 12

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 Fedora 12) with GlusterFS. The client system (Fedora 12 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.

Categories: Open Source Feed

Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Mandriva 2010.0 x86_64)

Thu, 03/11/2010 - 10:12am

Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Mandriva 2010.0 x86_64)

This document describes how to install a Postfix mail server that is based on virtual users and domains, i.e. users and domains that are in a MySQL database. I'll also demonstrate the installation and configuration of Courier (Courier-POP3, Courier-IMAP), so that Courier can authenticate against the same MySQL database Postfix uses. The resulting Postfix server is capable of SMTP-AUTH and TLS and quota. Passwords are stored in encrypted form in the database. In addition to that, this tutorial covers the installation of Amavisd, SpamAssassin and ClamAV so that emails will be scanned for spam and viruses. I will also show how to install SquirrelMail as a webmail interface so that users can read and send emails and change their passwords.

Categories: Open Source Feed

Installation Of ZendOptimizer And IonCubeLoader Using Lighttpd On CentOS

Thu, 03/11/2010 - 4:25am

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.

Categories: Open Source Feed

How To Harden PHP5 With Suhosin On CentOS 5.4

Wed, 03/10/2010 - 9:12am

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."

Categories: Open Source Feed

VBoxHeadless - Running Virtual Machines With VirtualBox 3.1.x On A Headless Fedora 12 Server

Tue, 03/09/2010 - 9:47am

VBoxHeadless - Running Virtual Machines With VirtualBox 3.1.x On A Headless Fedora 12 Server

This guide explains how you can run virtual machines with Sun VirtualBox 3.1.x on a headless Fedora 12 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.

Categories: Open Source Feed

Wireshark Remote Capturing

Tue, 03/09/2010 - 3:55am

Wireshark Remote Capturing

This short tutorial is without screenshots but a slightly more advanced usecase of Wireshark, namely doing the capture on one box and visualize the captured data in realtime on another box.

Categories: Open Source Feed

Virtual Hosting With vsftpd And MySQL On Debian Lenny

Mon, 03/08/2010 - 9:34am

Virtual Hosting With vsftpd And MySQL On Debian Lenny

Vsftpd is one of the most secure and fastest FTP servers for Linux. Usually vsftpd is configured to work with system users. This document describes how to install a vsftpd server that uses virtual users from a MySQL database instead of real system users. This is much more performant and allows to have thousands of ftp users on a single machine.

Categories: Open Source Feed

Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On Fedora 12

Sun, 03/07/2010 - 11:34am

Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On Fedora 12

This tutorial shows how to combine four single storage servers (running Fedora 12) 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 (Fedora 12 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.

Categories: Open Source Feed

How To Set Up WebDAV With Lighttpd On Ubuntu 9.10

Fri, 03/05/2010 - 9:25am

How To Set Up WebDAV With Lighttpd On Ubuntu 9.10

This guide explains how to set up WebDAV with lighttpd on an Ubuntu 9.10 server. WebDAV stands for Web-based Distributed Authoring and Versioning and is a set of extensions to the HTTP protocol that allow users to directly edit files on the lighttpd server so that they do not need to be downloaded/uploaded via FTP. Of course, WebDAV can also be used to upload and download files.

Categories: Open Source Feed

Build Your Own Video Community With Lighttpd And FlowPlayer (Debian Lenny)

Thu, 03/04/2010 - 9:59am

Build Your Own Video Community With Lighttpd And FlowPlayer (Debian Lenny)

This article shows how you can build your own video community using lighttpd with its mod_flv_streaming module (for streaming .flv videos, the format used by most major video communities such as YouTube) and its mod_secdownload module (for preventing hotlinking of the videos) on Debian Lenny. I will use FlowPlayer as the video player, a free Flash video player with support for lighttpd's mod_flv_streaming module. I will also show how you can encode videos (.mp4 .mov .mpg .3gp .mpeg .wmv .avi) to the FLV format supported by Adobe Flash.

Categories: Open Source Feed

How To Set Up WebDAV With Lighttpd On OpenSUSE 11.2

Thu, 03/04/2010 - 3:57am

How To Set Up WebDAV With Lighttpd On OpenSUSE 11.2

This guide explains how to set up WebDAV with lighttpd on an OpenSUSE 11.2 server. WebDAV stands for Web-based Distributed Authoring and Versioning and is a set of extensions to the HTTP protocol that allow users to directly edit files on the lighttpd server so that they do not need to be downloaded/uploaded via FTP. Of course, WebDAV can also be used to upload and download files.

Categories: Open Source Feed

Installing Lighttpd With PHP5 And MySQL Support On Fedora 12

Wed, 03/03/2010 - 10:10am

Installing Lighttpd With PHP5 And MySQL Support On Fedora 12

Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on a Fedora 12 server with PHP5 support (through FastCGI) and MySQL support.

Categories: Open Source Feed

Distributed Storage Across Four Storage Nodes With GlusterFS On Fedora 12

Tue, 03/02/2010 - 9:41am

Distributed Storage Across Four Storage Nodes With GlusterFS On Fedora 12

This tutorial shows how to combine four single storage servers (running Fedora 12) to one large storage server (distributed storage) with GlusterFS. The client system (Fedora 12 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.

Categories: Open Source Feed

Using WebDAV With ISPConfig 3 On Ubuntu 9.10

Tue, 03/02/2010 - 3:58am

Using WebDAV With ISPConfig 3 On Ubuntu 9.10

This guide explains how to set up and use WebDAV on a web site created with ISPConfig 3 on an Ubuntu 9.10 server. WebDAV stands for Web-based Distributed Authoring and Versioning and is a set of extensions to the HTTP protocol that allow users to directly edit files on the Apache server so that they do not need to be downloaded/uploaded via FTP. Of course, WebDAV can also be used to upload and download files.

Categories: Open Source Feed

Fully Utilizing Your X-Core CPU

Mon, 03/01/2010 - 9:43am

Fully Utilizing Your X-Core CPU

Almost all systems sold nowadays have at least a dual-core CPU, even triple- or quad-cores are getting cheaper and getting standard in the near future. But how to utilize your shiny x-core to it's full potential, with applications that are only utilizing one core ? With Linux, which has strong multitasking capabilities as all unixoid operating systems, there is an easy possibility to parallelize tasks which are normally only using one core of an x-core CPU.

Categories: Open Source Feed