HowtoForge provides user-friendly Linux tutorials.

  • Installing Apache2 With PHP5 And MySQL Support On Scientific Linux 6.3 (LAMP)

    apache VMWare Image Download Author: Falko TimmeTags: , , , , Comments: 0

    Installing Apache2 With PHP5 And MySQL Support On Scientific Linux 6.3 (LAMP) LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a Scientific Linux 6.3 server with PHP5 support (mod_php) and MySQL support.

  • How To Skip Certain Errors In MySQL Replication

    mysql_neu Author: Falko TimmeTags: Comments: 5

    MySQL replication is nice, however it can happen that it stops because of an error, and restoring a working replication can be hard - you need to set locks on the master to get a consistent MySQL dump, and during that time websites are not accessible. However there's a way to make the MySQL slave ignore certain errors using the slave-skip-errors directive.

  • The Perfect Server - Ubuntu 12.10 (nginx, BIND, Dovecot, ISPConfig 3)

    ubuntu Author: Falko TimmeTags: , , , , Comments: 4

    The Perfect Server - Ubuntu 12.10 (nginx, BIND, Dovecot, ISPConfig 3) This tutorial shows how to prepare an Ubuntu 12.10 (Quantal Quetzal) server (with nginx, BIND, Dovecot) for the installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3 is a webhosting control panel that allows you to configure the following services through a web browser: Apache or nginx web server, Postfix mail server, Courier or Dovecot IMAP/POP3 server, MySQL, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more. This setup covers nginx (instead of Apache), BIND (instead of MyDNS), and Dovecot (instead of Courier).

  • Setting Up An NFS Server And Client On Scientific Linux 6.3

    tux Author: Falko TimmeTags: , Comments: 0

    This guide explains how to set up an NFS server and an NFS client on Scientific Linux 6.3. NFS stands for Network File System; through NFS, a client can access (read, write) a remote share on an NFS server as if it was on the local hard disk.

  • Using PHP5-FPM With Apache2 On OpenSUSE 12.2

    opensuse Author: Falko TimmeTags: , , , Comments: 0

    Using PHP5-FPM With Apache2 On OpenSUSE 12.2 This tutorial shows how you can install an Apache2 webserver on an OpenSUSE 12.2 server with PHP5 (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

  • How To Build mod_fastcgi For Apache2 On OpenSUSE 12.2

    opensuse Author: Falko TimmeTags: , , Comments: 0

    How To Build mod_fastcgi For Apache2 On OpenSUSE 12.2 mod_fastcgi is needed for Apache prior to 2.4 to work with PHP-FPM. There is an apache2-mod_fastcgi package for OpenSUSE, but unfortunately it is buggy: it does not allow you to use the FastCgiExternalServer directive inside a vhost, although the official mod_fastcgi documentation says that this is allowed. This guide explains how to build a new mod_fastcgi from the sources for Apache2 on an OpenSUSE 12.2 system to fix this problem.

  • VBoxHeadless - Running Virtual Machines With VirtualBox 4.2 On A Headless Fedora 18 Server

    fedora Author: Falko TimmeTags: , , Comments: 3

    VBoxHeadless - Running Virtual Machines With VirtualBox 4.2 On A Headless Fedora 18 Server This guide explains how you can run virtual machines with VirtualBox 4.2 on a headless Fedora 18 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.

  • Scientific Linux 6.3 Samba Standalone Server With tdbsam Backend

    tux Author: Falko TimmeTags: , , Comments: 0

    Scientific Linux 6.3 Samba Standalone Server With tdbsam Backend This tutorial explains the installation of a Samba fileserver on Scientific Linux 6.3 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.

  • Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On Fedora 18

    lighttpd VMWare Image Download Author: Falko TimmeTags: , , , , Comments: 0

    Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On Fedora 18 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 18 server with PHP5 support (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. I use PHP-FPM in this tutorial instead of Lighttpd's spawn-fcgi.

  • Detailed Error Handling In Bash

    tux Author: DonQuichoteTags: Comments: 0

    Detailed Error Handling In BashShell scripts are often running as background processes, doing useful things without running in a visible shell. To write such scripts can be quite painful, as all errors occur out of sight as well. While log files can hold a lot of information, finding the relevant information is a bit trickier. My solution is to log only the errors with all the details to a small database. This database contains tables for the message, the corresponding stack trace and the important environment variables. I have chosen for an SQLite database in this howto, but the same principle works with other databases as well.