Ubuntu

Want to support HowtoForge? Become a subscriber!
 

Virtual Hosting With vsftpd And MySQL On Ubuntu 12.04

Virtual Hosting With vsftpd And MySQL On Ubuntu 12.04

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.

How To Set Up nginx As A Reverse Proxy For Apache2 On Ubuntu 12.04

How To Set Up nginx As A Reverse Proxy For Apache2 On Ubuntu 12.04

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 set up nginx as a reverse proxy on front of an Apache2 web server on Ubuntu 12.04.

Using GeoIP With Nginx On Ubuntu 12.04

Using GeoIP With Nginx On Ubuntu 12.04

This tutorial explains how to use the GeoIP module with nginx on Ubuntu 12.04 to find out where your visitors come from. The GeoIP module sets multiple variables like $geoip_country_name, $geoip_country_code, $geoip_city, etc. that you can use in your PHP scripts or directly in your nginx configuration, for example to serve content in different languages based on the user's country.

Managing Multiple MySQL Servers From One phpMyAdmin Installation (Using SSL Encryption)

Managing Multiple MySQL Servers From One phpMyAdmin Installation (Using SSL Encryption)

This tutorial explains how you can manage multiple MySQL servers from one phpMyAdmin installation. For security reasons, communication between phpMyAdmin and any remote MySQL server is using SSL encryption (this is not necessary for a local MySQL server since communication between phpMyAdmin and MySQL is not leaving the server). phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL.

Installing mod_geoip for Apache2 On Ubuntu 12.04

Installing mod_geoip for Apache2 On Ubuntu 12.04

This guide explains how to set up mod_geoip with Apache2 on an Ubuntu 12.04 system. mod_geoip looks up the IP address of the client end user. This allows you to redirect or block users based on their country. You can also use this technology for your OpenX (formerly known as OpenAds or phpAdsNew) ad server to allow geo targeting.

Creating Advanced MySQL-Based Virtual Hosts On Lighttpd (Ubuntu 12.04)

Creating Advanced MySQL-Based Virtual Hosts On Lighttpd (Ubuntu 12.04)

This guide explains how you can create advanced virtual hosts on a lighttpd web server on Ubuntu 12.04 that are stored in a MySQL database. The method described here does not use the lighttpd mod_mysql_vhost module, and unlike mod_mysql_vhost (which allows you to store only the hostname and document root of a vhost in a database), this method allows to store individual configuration directives for each vhost in the MySQL database.

Serving CGI Scripts With Nginx On Ubuntu 12.04

Serving CGI Scripts With Nginx On Ubuntu 12.04

This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Ubuntu 12.04. While nginx itself does not serve CGI, there are several ways to work around this. I will outline three solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second and third solution are very similar - both use a CGI wrapper to serve CGI scripts.

Running New Shopware Version 4.0.x On Nginx (LEMP) On Ubuntu 12.04

Running New Shopware Version 4.0.x On Nginx (LEMP) On Ubuntu 12.04

This tutorial shows how you can install and run the new Shopware version 4.0.x on an Ubuntu 12.04 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). Shopware is a feature-rich ecommerce platform; I will use the Community Edition here which is free. nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files.

Creating Simple Virtual Hosts With mod_mysql_vhost On Lighttpd (Ubuntu 12.04)

Creating Simple Virtual Hosts With mod_mysql_vhost On Lighttpd (Ubuntu 12.04)

This guide explains how you can use mod_mysql_vhost to create simple virtual hosts on a lighttpd web server on Ubuntu 12.04. With mod_mysql_vhost, lighttpd can read the vhost configuration from a MySQL database. Currently, you can store the domain and the document root in the MySQL database which results in very simple virtual hosts. If you need more directives for your vhosts, you'd have to configure them in the global section of lighttpd.conf, which means they'd be valid for all vhosts. Therefore, mod_mysql_vhost is ideal if your vhosts differ only in the domain and document root.

nginx: How To Block Visitors By Country With The GeoIP Module (Debian/Ubuntu)

nginx: How To Block Visitors By Country With The GeoIP Module (Debian/Ubuntu)

This tutorial explains how to use the GeoIP module with nginx to block visitors by country. This is made possible by the GeoIP database which maps users' IP addresses to countries. nginx must be compiled with the HttpGeoipModule to use the GeoIP database.

first page
previous page
...
16
...
next page
last page