Showing headlines posted by falko

« Previous ( 1 2 3 4 5 6 7 8 9 10 ... 92 ) Next »

Using Multiple PHP Versions (PHP-FPM & FastCGI) With ISPConfig 3 (CentOS 6.3)

  • HowtoForge; By Falko Timme (Posted by falko on Mar 14, 2013 9:08 PM EDT)
  • Groups: PHP, Red Hat
Since ISPConfig 3.0.5, it is possible to use multiple PHP versions on one server and select the optimal PHP version for a website. This feature works with PHP-FPM (starting with PHP 5.3) and FastCGI (all PHP 5.x versions). This tutorial shows how to build PHP 5.3 and PHP 5.4 as a PHP-FPM and a FastCGI version on a CentOS 6.3 server. These PHP versions can be used together with the default PHP (installed through yum) in ISPConfig.

Set Up Squid Siblings On CentOS 6.3 With WCCP

This tutorial will walk you through setting up a couple of outbound Squid proxy sibling servers running on CentOS 6.3 and have them connected to your gateway using WCCP. This will not cover the tuning of Squid in terms of cache performance.

Serving CGI Scripts With Nginx On Fedora 18

  • HowtoForge; By Falko Timme (Posted by falko on Mar 12, 2013 10:58 PM EDT)
  • Story Type: Tutorial; Groups: Fedora
This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Fedora 18. While nginx itself does not serve CGI, there are several ways to work around this. I will outline two solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second solution uses a CGI wrapper to serve CGI scripts.

Using mod_spdy With Apache2 On CentOS 6.3

SPDY (pronounced "SPeeDY") is a new networking protocol whose goal is to speed up the web. It is Google's alternative to the HTTP protocol and a candidate for HTTP/2.0. SPDY augments HTTP with several speed-related features such as stream multiplexing and header compression. To use SPDY, you need a web server and a browser (like Google Chrome and upcoming versions of Firefox) that both support SPDY. mod_spdy is an open-source Apache module that adds support for the SPDY protocol to the Apache HTTPD server. This tutorial explains how to use mod_spdy with Apache2 on CentOS 6.3.

Using Multiple PHP Versions (PHP-FPM & FastCGI) With ISPConfig 3 (Ubuntu 12.04)

  • HowtoForge; By Falko Timme (Posted by falko on Mar 10, 2013 9:35 AM EDT)
  • Story Type: Tutorial; Groups: PHP, Ubuntu
Since ISPConfig 3.0.5, it is possible to use multiple PHP versions on one server and select the optimal PHP version for a website. This feature works with PHP-FPM (starting with PHP 5.3) and FastCGI (all PHP 5.x versions). This tutorial shows how to build PHP 5.3 and PHP 5.4 as a PHP-FPM and a FastCGI version on an Ubuntu 12.04 server. These PHP versions can be used together with the default PHP (installed through apt) in ISPConfig.

Building PHP 5.4 From Source On Debian Squeeze

  • HowtoForge; By Michel Käser (Posted by falko on Mar 8, 2013 3:20 PM EDT)
  • Story Type: Tutorial; Groups: Debian, PHP
This tutorial describes how you can build PHP 5.4 from source on Debian Squeeze. Later on, we will install more modules through PECL and add it as an additional PHP version to ISPConfig's dropdown. At the end you will have a fully function PHP 5.4 installation which is selectable within the ISPConfig interface and a .deb package than can be used on other server as well.

Virtualization With KVM On A Scientific Linux 6.3 Server

This guide explains how you can install and use KVM for creating and running virtual machines on a Scientific Linux 6.3 server. I will show how to create image-based virtual machines and also virtual machines that use a logical volume (LVM). KVM is short for Kernel-based Virtual Machine and makes use of hardware virtualization, i.e., you need a CPU that supports hardware virtualization, e.g. Intel VT or AMD-V.

How To Do Mass Enrolling Of Yubikey With LinOTP

  • HowtoForge; By Cornelius Kölbel (Posted by falko on Mar 6, 2013 11:56 PM EDT)
  • Story Type: Tutorial; Groups: Debian, Ubuntu
When it comes to two factor authentication Yubikeys are very in vogue. They are small, they have a very small footprint on your keychain and are easy to handle as they need no driver and authentication is as easy as touching a button. This howto shows how you can use the open source LinOTP to enroll many Yubikeys to the LinOTP server.

Installing Nginx With PHP5 (+ PHP-FPM) And MySQL Support On Scientific Linux 6.3

  • HowtoForge; By Falko Timme (Posted by falko on Mar 5, 2013 10:28 PM EDT)
  • Story Type: Tutorial; Groups: Red Hat
Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on a Scientific Linux 6.3 server with PHP5 support (through PHP-FPM) and MySQL support.

Using mod_spdy With Apache2 On Scientific Linux 6.3

  • HowtoForge; By Falko Timme (Posted by falko on Mar 4, 2013 11:33 AM EDT)
  • Story Type: Tutorial; Groups: Red Hat
SPDY (pronounced "SPeeDY") is a new networking protocol whose goal is to speed up the web. It is Google's alternative to the HTTP protocol and a candidate for HTTP/2.0. SPDY augments HTTP with several speed-related features such as stream multiplexing and header compression. To use SPDY, you need a web server and a browser (like Google Chrome and upcoming versions of Firefox) that both support SPDY. mod_spdy is an open-source Apache module that adds support for the SPDY protocol to the Apache HTTPD server. This tutorial explains how to use mod_spdy with Apache2 on Scientific Linux 6.3.

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

  • HowtoForge; By Falko Timme (Posted by falko on Mar 3, 2013 2:45 PM EDT)
  • Story Type: Tutorial; Groups: Red Hat
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

  • HowtoForge; By Falko Timme (Posted by falko on Mar 1, 2013 3:57 PM EDT)
  • Story Type: Tutorial; Groups: MySQL
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)

  • HowtoForge; By Falko Timme (Posted by falko on Feb 28, 2013 12:30 PM EDT)
  • Story Type: Tutorial; Groups: Ubuntu
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

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.

How To Build mod_fastcgi For Apache2 On OpenSUSE 12.2

  • HowtoForge; By Falko Timme (Posted by falko on Feb 25, 2013 11:22 AM EDT)
  • Groups: SUSE
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.

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

  • HowtoForge; By Falko Timme (Posted by falko on Feb 24, 2013 11:08 AM EDT)
  • Story Type: Tutorial; Groups: Fedora
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

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

  • HowtoForge; By Falko Timme (Posted by falko on Feb 21, 2013 10:59 PM EDT)
  • Story Type: Tutorial; Groups: Fedora
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

  • HowtoForge; By Willem Bogaerts (Posted by falko on Feb 20, 2013 9:27 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Shell 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.

Distributed Storage Across Four Storage Nodes With GlusterFS On Ubuntu 12.10

  • HowtoForge; By Falko Timme (Posted by falko on Feb 19, 2013 8:19 PM EDT)
  • Story Type: Tutorial; Groups: Ubuntu
This tutorial shows how to combine four single storage servers (running Ubuntu 12.10) to one large storage server (distributed storage) with GlusterFS. The client system (Ubuntu 12.10 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.

« Previous ( 1 2 3 4 5 6 7 8 9 10 ... 92 ) Next »