Web Server

Want to support HowtoForge? Become a subscriber!
 

Using GeoIP With Nginx On Debian Squeeze/Ubuntu 11.04

Using GeoIP With Nginx On Debian Squeeze/Ubuntu 11.04

This tutorial explains how to use the GeoIP module with nginx on Debian Squeeze/Ubuntu 11.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.

Running phpMyAdmin On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.04

Running phpMyAdmin On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.04

The phpMyAdmin package from the Debian/Ubuntu repositories comes with configuration files for Apache and Lighttpd, but not for nginx. This tutorial shows how you can use the Debian Squeeze/Ubuntu 11.04 phpMyAdmin package in an nginx vhost. Nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files.

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Fedora 15

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Fedora 15

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 Fedora 15 server with PHP5 support (through PHP-FPM) and MySQL support.

Serving CGI Scripts With Nginx On Debian Squeeze/Ubuntu 11.04

Serving CGI Scripts With Nginx On Debian Squeeze/Ubuntu 11.04

This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Debian Squeeze/Ubuntu 11.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.

How To Install Repcached (Memcached Replication) For High-Availability Over 2 Nodes On Ubuntu 11.04

How To Install Repcached (Memcached Replication) For High-Availability Over 2 Nodes On Ubuntu 11.04

This is a short tutorial based on MarcusSpiegel's howto found here. This how to will cover the missing parts for installing Repcached on Ubuntu server 11.04. This is a copy/paste friendly tutorial so using putty will make this a lot easier. This how to will show you how to install and build memcached with replication, create a startup script and configure PHP to use memcache for sessions rather than storing them as files. This tutorial assumes you have set up 2 servers to replicate the information over.

PHP-FPM/Nginx Security In Shared Hosting Environments (Debian/Ubuntu)

PHP-FPM/Nginx Security In Shared Hosting Environments (Debian/Ubuntu)

If you want to use nginx and PHP-FPM for shared hosting environments, you should make up your mind about security. In Apache/PHP environments, you can use suExec and/or suPHP to make PHP execute under individual user accounts instead of a system user like www-data. There's no such thing for PHP-FPM, but fortunately PHP-FPM allows us to set up a "pool" for each web site that makes PHP scripts execute as the user/group defined in that pool. This gives you all the benefits of suPHP, and in addition to that you don't have any FTP or SCP transfer problems because PHP scripts don't need to be owned by a specific user/group to be executed as the user/group defined in the pool.

Running Magento 1.6.0.0 On Nginx (LEMP) on Debian Squeeze/Ubuntu 11.04

Running Magento 1.6.0.0 On Nginx (LEMP) on Debian Squeeze/Ubuntu 11.04

This tutorial shows how you can install and run Magento 1.6.0.0 on a Debian Squeeze or Ubuntu 11.04 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). Magento is an open-source, feature-rich ecommerce platform; I will use the Magento Community Edition here which is licensed under an open source certified license (OSL v3.0). nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files.

Basic HTTP Authentication With Nginx

Basic HTTP Authentication With Nginx

This tutorial shows how you can use basic HTTP authentication with Nginx to password-protect directories on your server or even a whole website. This is the Nginx equivalent to basic HTTP authentication on Apache with .htaccess/.htpasswd.

How To Set Up SSL Vhosts Under Nginx + SNI Support (Ubuntu 11.04/Debian Squeeze)

How To Set Up SSL Vhosts Under Nginx + SNI Support (Ubuntu 11.04/Debian Squeeze)

This article explains how you can set up SSL vhosts under nginx on Ubuntu 11.04 and Debian Squeeze so that you can access the vhost over HTTPS (port 443). SSL is short for Secure Sockets Layer and is a cryptographic protocol that provides security for communications over networks by encrypting segments of network connections at the transport layer end-to-end. In addition to that I will show how to make use of SNI (Server Name Indication) to allow multiple SSL vhosts per IP address.

Running Drupal 7.7 On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.04

Running Drupal 7.7 On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.04

This tutorial shows how you can install and run a Drupal 7.7 web site on a Debian Squeeze or Ubuntu 11.04 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). In addition to that I will also show you how you can use the Drupal Boost plugin with nginx. nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files.

first page
previous page
...
23
...
next page
last page
XML feed
"Facebook" is a registered trademark of Facebook, Inc. All rights reserved.