Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Debian tutorials
Debian

Password-Protect Directories With mod_auth_mysql On Apache2 (Debian Squeeze)

Post date: November 15, 2011, 10:11 Category: Miscellaneous Views: 30104 Comments
Tutorial quote: This guide explains how to password-protect web directories (with users from a MySQL database) with mod_auth_mysql on Apache2 on a Debian Squeeze server. It is an alternative to the plain-text password files provided by mod_auth and allows you to use normal SQL syntax to create/modify delete users. You can also configure mod_auth_mysql to authenticate against an existing MySQL user table.
Debian

ISPConfig 3/Debian Multiserver Setup With Dedicated Web/Email/DNS/MySQL Servers

Post date: October 9, 2011, 19:10 Category: Installing Views: 5331 Comments
Tutorial quote: This tutorial describes the installation of an ISPConfig 3 multiserver setup with dedicated web, email, database and two DNS servers all managed trough a single ISPConfig 3 control panel. The setup described below uses five servers and can be extended easily to to a higher number of servers by just adding more servers. E.g. if you want to have two mailservers, do the setup steps from chapter 2 on both of these servers. If you want to set up more web servers, then install ISPConfig on all other web servers in expert mode except of the first one.
Debian

Serving CGI Scripts With Nginx On Debian Squeeze/Ubuntu 11.04

Post date: October 3, 2011, 06:10 Category: Miscellaneous Views: 4394 Comments
Tutorial quote: 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.
Debian

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

Post date: September 25, 2011, 16:09 Category: Security Views: 5066 Comments
Tutorial quote: 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.
Debian

Mounting Remote Directories With SSHFS On Debian Squeeze

Post date: September 22, 2011, 10:09 Category: Miscellaneous Views: 4165 Comments
Tutorial quote: This tutorial explains how you can mount a directory from a remote server on the local server securely using SSHFS. SSHFS (Secure SHell FileSystem) is a filesystem that serves files/directories securely over SSH, and local users can use them just as if the were local files/directories. On the local computer, the remote share is mounted via FUSE (Filesystem in Userspace). I will use Debian Squeeze for both the local and the remote server.
Debian

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

Post date: September 20, 2011, 07:09 Category: Installing Views: 4892 Comments
Tutorial quote: 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.
Debian

How To Create A Debian Wheezy (Testing) OpenVZ Template

Post date: September 15, 2011, 08:09 Category: Miscellaneous Views: 4356 Comments
Tutorial quote: This tutorial explains how to create an OpenVZ template for Debian Wheezy (Debian Testing) that you can use to create virtual Debian Wheezy machines under OpenVZ. I searched for a Debian Wheezy OpenVZ template, but couldn't find one, that's why I decided to create it myself. This guide can also be used for creating Debian Lenny templates and templates for recent Ubuntu versions.
Debian

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

Post date: September 13, 2011, 09:09 Category: Miscellaneous Views: 4728 Comments
Tutorial quote: 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.
Debian

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

Post date: September 8, 2011, 08:09 Category: Installing Views: 3887 Comments
Tutorial quote: This tutorial shows how you can install and run a Drupal 7.7 web site on Debian Squeeze or Ubuntu 11.04 with 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.
Debian

Restricting Users To SFTP Plus Setting Up Chrooted SSH/SFTP (Debian Squeeze)

Post date: September 6, 2011, 07:09 Category: Miscellaneous Views: 5295 Comments
Tutorial quote: This tutorial describes how to give users chrooted SSH and/or chrooted SFTP access on Debian Squeeze. With this setup, you can give your users shell access without having to fear that they can see your whole system. Your users will be jailed in a specific directory which they will not be able to break out of. I will also show how to restrict users to SFTP so that they cannot use SSH (this part is independent from the chroot part of this tutorial).
Web-based applications and online marketing solutions - LumoLink