linux

Apache Module mod_status

The Status module allows a server administrator to find out how well their server is performing.

This module is normaly enable by default on ubuntu.

On a ubuntu distribution, you can edit the file
etc/apache2/mods-available/status.conf
for your personal configuration; for example to allow only from your ip.

Complete description can be found at apache website.

 

ab - Apache HTTP server benchmarking tool

ab - apache benchmarkThis is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current Apache installation performs. This especially shows you how many requests per second your Apache installation is capable of serving.

Proftpd - How to put users in a chroot jail?

In proftpd (ftp server), the most common configuration requested is to restrict users to their home directories, which can be done simply by adding the following line to your proftpd.conf: DefaultRoot ~ The ~ (tilde) is a Unix-ism that is expanded to the logging-in user's home directory.You can use this configuration directive in:
  • VirtualHost
  • Global
  • in the main "server config"
 

Drupal - the most solid cms.

Drupal is a robust platform and Content Management System. It is used for communities, ecommerce, many sizes of sites from small companies, to non-profit groups.Those are the main reasons why I use drupal as a cms:

Howto install Webmin to administer your server?

I love webmin. I think it is one of the best freeware administration tool for a linux box. I normaly install via apt repository. Please follow the instructions directly on the webmin site: howto unstall webmin on ubuntu server via apt repository.

How to move your MySQL database directory to another directory

If you have a dedicated server with a second Hard Drive then you can often achieve better performance (reduce io wait issues) if you move your MySQL databases to the second Hard Drive.

This was done on a server with CentOS operating system.
Let’s say your second HDD is mounted as /home2
1. The first step is to stop MySQL so that all your data gets copied correctly.

$ /etc/rc.d/init.d/mysql stop
- or -
$ service mysql* stop

Apache - Name-based vs. IP-based Virtual Hosts

IP-based virtual hosts use the IP address of the connection to determine the correct virtual host to serve. Therefore you need to have a separate IP address for each host. With name-based virtual hosting, the server relies on the client to report the hostname as part of the HTTP headers. Using this technique, many different hosts can share the same IP address.

Howto install apache2 mod_rewrite on Ubuntu

The default apache php mysql installation on Ubuntu 9.04 server doesn't include mod_rewrite module. This module is required by Drupal "clean url". To install mod_rewrite, run command as below:sudo a2enmod rewriteGood luck..
XHTML | CSS | 2010 Log In
Disclaimer: The information and content provided on this website is for reference and informational purpose only. We cannot guarantee for accuracy and completeness for any information or content published on this site. Use of the information and content on this site is at your own risk. We accept no responsibility for any loss or damage arising from the use of this website either directly or indirectly.