How To Forge

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: 12 min 30 sec ago

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

3 hours 54 min ago

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: Blogs

Striping Across Four Storage Nodes With GlusterFS On Fedora 12

Fri, 03/12/2010 - 23:15

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: Blogs

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

Fri, 03/12/2010 - 01:12

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: Blogs

Installation Of ZendOptimizer And IonCubeLoader Using Lighttpd On CentOS

Thu, 03/11/2010 - 19:25

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: Blogs

How To Harden PHP5 With Suhosin On CentOS 5.4

Thu, 03/11/2010 - 00:12

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: Blogs

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

Wed, 03/10/2010 - 00:47

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: Blogs

Wireshark Remote Capturing

Tue, 03/09/2010 - 18:55

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: Blogs

Virtual Hosting With vsftpd And MySQL On Debian Lenny

Tue, 03/09/2010 - 00:34

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: Blogs

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

Mon, 03/08/2010 - 02:34

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: Blogs

How To Set Up WebDAV With Lighttpd On Ubuntu 9.10

Sat, 03/06/2010 - 00:25

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: Blogs

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

Fri, 03/05/2010 - 00:59

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: Blogs

How To Set Up WebDAV With Lighttpd On OpenSUSE 11.2

Thu, 03/04/2010 - 18:57

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: Blogs

Installing Lighttpd With PHP5 And MySQL Support On Fedora 12

Thu, 03/04/2010 - 01:10

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: Blogs

Distributed Storage Across Four Storage Nodes With GlusterFS On Fedora 12

Wed, 03/03/2010 - 00:41

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: Blogs

Using WebDAV With ISPConfig 3 On Ubuntu 9.10

Tue, 03/02/2010 - 18:58

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: Blogs

Fully Utilizing Your X-Core CPU

Tue, 03/02/2010 - 00:43

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: Blogs

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

Mon, 03/01/2010 - 01:52

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

This tutorial shows how to set up a high-availability storage with two storage servers (Fedora 12) 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 (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: Blogs

Changing From SquirrelMail To RoundCube On Your ISPConfig3 Server

Sat, 02/27/2010 - 00:58

Changing From SquirrelMail To RoundCube On Your ISPConfig3 Server

This tutorial has been created for those who have installed The Perfect Server - CentOS 5.4 x86_64 [ISPConfig 3] and do not like SquirrelMail as webmail client. Here’s a guide to replace SquirrelMail with RoundCube, which is more visually attractive and easier to manage for our clients.

Categories: Blogs

Server Monitoring With munin And monit On Debian Lenny

Fri, 02/26/2010 - 01:20

Server Monitoring With munin And monit On Debian Lenny

In this article I will describe how you can monitor your Debian Lenny server with munin and monit. munin produces nifty little graphics about nearly every aspect of your server (load average, memory usage, CPU usage, MySQL throughput, eth0 traffic, etc.) without much configuration, whereas monit checks the availability of services like Apache, MySQL, Postfix and takes the appropriate action such as a restart if it finds a service is not behaving as expected. The combination of the two gives you full monitoring: graphics that lets you recognize current or upcoming problems (like "We need a bigger server soon, our load average is increasing rapidly."), and a watchdog that ensures the availability of the monitored services.

Categories: Blogs

Easy Way To Create Bootable Ubuntu USB Pendrive

Thu, 02/25/2010 - 18:40

Easy Way To Create Bootable Ubuntu USB Pendrive

This short guide explains how you can create a bootable Ubuntu USB pendrive.

Categories: Blogs

What We Do


Web Design & Development
Web Apps Development
Training
Open Source Solution
Web & E-Mail Hosting
Internet Marketing

Upcoming Training


Drupal CMS (End-User)
17 December 2009
Full Schedule

Greetings! I'm Online. Do you want to chat with me? [ Yes ][ No ]