|
Monitor Linux servers with SNMP and Cacti |
 vote
 |
|
SNMP (Simple Network Management Protocol) is a protocol for managing networks. Each managed entity in the network will run an snmp server (snmpd) which is going to collect datas from the server such as networking, load, cpu ...
Cacti on the other hand is a frontend to the RRDTool with SNMP support. It collects and keep data in a MySQL database and display them through a PHP web frontend.
This tutorial will show how to configure the network manager to use Cacti and how to set up snmp on the managed host. read more... |
|
| | mail this link | permapage | score:8734 | -chantra, August 27, 2007 |
|
Apache mod_status tutorial: Monitor server activity and performance |
 vote
 |
|
On Debian based systems such as Ubuntu... Apache comes with mod_status compiled in by default. mod_status provides information on your apache server activity and performance.
This tutorial will show you how to enable this feature in such a way that only requested issued from localhost will be accepted and served. read more... |
|
| | permapage | score:8526 | -chantra, November 2, 2006 |
|
Tutorial: No password SSH login |
 vote
 |
|
Open SSH is the most widely used SSH server on Linux. Using SSH, one can connect to a remote host and gain a shell access on it in a secure manner as all traffic is encrypted.
A neat feature of open SSH is to authenticate a user using a public/private key pair to log into the remote host. By doing so, you won't be prompted for the remote user's password.
This tutorial will describe how to create a SSH public/private key pair, how to enable key based authentication and finally how to disable password authentication. read more... |
|
| | mail this link | permapage | score:8523 | -chantra, February 1, 2007 |
|
Tutorial: Mount removable Linux drives with a persistent name |
 vote
 |
|
You might have wondered how comes that your mp3 player is automatically mounted under a nice name like JUKEBOX for instance, while you usb stick simply get a name like USB_BAR and USB_BAR-1... for its partitions.
This is actually due to hal automatically mounting the device.
This tutorial will show you how to give a label to your partitions in order to have your removable devices mounted under an explicit location such as: /media/red-usb-disk or /media/my-big-fat-partition. read more... |
|
| | permapage | score:8448 | -chantra, January 12, 2007 |
|
Tutorial: Set up a linux firewall / router with iptables |
 vote
 |
|
iptables is a command line tool which allow system administrators to configure Linux packet filtering ruleset. Using iptables, you are able to tweak packet filtering, Network Address Translation (NAT) and packet mangling which in the end are going to allow you to secure your server, share your Internet connection and log unwanted traffic. iptables is not really what we could call an easy to get with tool, but once you know the basis, it won't be that scary. This tutorial will provide a sample script you can use to share your Internet access and will give an overview on how to use iptables read more... |
|
| | mail this link | permapage | score:8319 | -chantra, December 19, 2006 |
|
Tutorial: Set up a repository cache with apt-cacher |
 vote
 |
|
| When running multiple machine with the same distribution, it is interesting to set up a repository cache on your network so that once a package is downloaded from an official repository, all other machines will download it from your local area network. read more... |
|
| | permapage | score:8232 | -chantra, November 8, 2006 |
|
Tutorial: FTP Virtual Host with ProFTPD and MySQL |
 vote
 |
|
Using ProFTPD and its SQL module for MySQL, it is possible to give FTP access to non system users. By doing so, one can give access to a Virtual User which is only allowed to use the FTP service.
This Tutorial will show how to create and populate the user and group tables as well as configure proftpd in order to use the MySQL backend. read more... |
|
| | permapage | score:8194 | -chantra, August 22, 2007 |
|
subversion SVN with Apache2 and DAV |
 vote
 |
|
Subversion is an application used for version control, it is meant to become a replacement of CVS Concurrent Versions System. Subversion is also known as svn.
This how-to will shows how to setup svn repositories accessible throught http by using apache2 and the DAV module.
This tutorial is splitted in 4 parts: install neccessary packages, create the repository structure, configure apache and create the first repository. read more... |
|
| | permapage | score:7957 | -chantra, June 1, 2006 |
|
Basic Apache Security Measures |
 vote
 |
|
| While running a HTTP server such as Apache, there is a few steps an administrator has to take in order not to get easily hacked. The very basic one is to hide from the outside which software version and operating system version are running. read more... |
|
| | permapage | score:7771 | -chantra, August 6, 2006 |
|
Tutorial: Set up your Laptop Touchpad |
 vote
 |
|
Every laptop comes with a usefull thing when you don’t want to carry your mouse around: a Touchpad, most of the time, touchpads do work out of the box but not all the goodies are activated by default.
On a basic setup, you can use the touchpad to move your mouse around as well as the left and right click.
There is much more you can get from it, for instance dragging and dropping items, vertical scrolling, right click by tapping the pad….
This how-to will show you how to get the most of it. read more... |
|
| | mail this link | permapage | score:7672 | -chantra, June 19, 2006 |
|
Tutorial: Create a MySQL database and set user privileges |
 vote
 |
|
MySQL is a widely spread SQL database management system mainly used on LAMP (Linux/Apache/MySQL/PHP) projects.
In order to be able to use a database, one needs to create: a new database, give access permission to the database server to a database user and finally grant all right to that specific database to this user.
This tutorial will explain how to create a new database and give a user the appropriate grant permissions. read more... |
|
| | permapage | score:7641 | -chantra, July 7, 2007 |
|
Monitor your network traffic with Nload |
 vote
 |
|
nload is a ncurse based network traffic analyser. Being a ncurse based tools, you do not need to start X in order to use that software which is necessary when administering machines remotely … and even locally actually.
nload allow a system administrator to easily monitor the traffic going on its network. It provide both a graph of incoming and outgoing traffic as well as network data transfert statistics. read more... |
|
| | permapage | score:7606 | -chantra, July 22, 2006 |
|
Secure Apache2 with mod-security |
 vote
 |
|
This article will show how-to install, configure and set up apache's mod-security module on a debian based system. This was done on Ubuntu Dapper and should fit any Debian based system.
Mod_security is an Apache 1.x/2.x module whose purpose is to tighten the Web application security by shielding the applications from attack. The idea is to filter request and web content before passing it to apache core.
Once installed, mod-security needs to be defined some rules matching patterns, filter request and HTTP stream and in the end do different actions like allowing, denying, log… read more... |
|
| | mail this link | permapage | score:7577 | -chantra, August 26, 2006 |
|
Intrusion Detection with AIDE |
 vote
 |
|
AIDE is an Intrusion Detection System (IDS). Which means that AIDE is not a tool to prevent an intrusion but is actually here to report that an intrusion might have happened.
This tutorial will show how-to install and configure AIDE so you get daily reports emailed directly to you, in which you will be informed of which files might have been modified, added or deleted. read more... |
|
| | permapage | score:7482 | -chantra, December 28, 2006 |
|
Optimize MySQL response time |
 vote
 |
|
High loaded website can get slow to respond when a lot of different visitors visit sites querying the same mysql database server, making it slow to respond.
There is many ways you can improve mysql server response time: by modifying the cache size, stopping dns resolution ….
Let’s see how to do that.... read more... |
|
| | permapage | score:7364 | -chantra, July 27, 2006 |
|
Tutorial: Set up a LDAP server and clients |
 vote
 |
|
Using LDAP in a local network, you can allow your users to login and authenticate from anywhere on your network.
This tutorial will be split in 2 parts. In the first part, I will explain how-to install, configure the LDAP server, add a few users and group, in the second part, we will set up Linux client to authenticate through LDAP if the user does not exist on the local filesystem. read more... |
|
| | permapage | score:7058 | -chantra, May 29, 2007 |
|
Monitor a Server with Munin |
 vote
 |
|
Munin is a simple to configure tool that make real nice graph about your server status. It can actually deal with almost any aspect of your server (load average, network cards status, CPU usage, memory usage, postfix, exim4, mysql ...) without spending much time in configuring it.
Munin produce MRTG likes graph so you can easily see how your server health is going. read more... |
|
| | permapage | score:6577 | -chantra, December 4, 2006 |
|
Filter spam with postfix and spamassassin |
 vote
 |
|
| Postfix is a widely used mail transport agent (MTA) used on many popular Unix/Linux systems. Nowadays, networks are overwhelmed by SPAM mail, fortunately, there is a way to filter spam with software such as spamassassin. read more... |
|
| | permapage | score:6236 | -chantra, November 22, 2006 |
|
Tutorial: Encrypt directories with ENCFS and FUSE |
 vote
 |
|
There is many options out there to encrypt datas on a hard drive. You could either encrypt a whole partition using kernel filesystem or simply encrypt specifics directories on your hard disk.
This how to will show how you can simply encrypt specifics directories on a native linux partition, without having to format a new partition. This is achived by taking the advantage of filesystem in userspace provided by FUSE. read more... |
|
| | permapage | score:5675 | -chantra, June 6, 2006 |
|
Samba: Share LAN files without passwords |
 vote
 |
|
| This tutorial will show how to set samba to allow read-only file sharing for your LAN computers as guest (without be prompted for a password). Because users won't be prompted for a user/password, this tutorial is meant to be installed in a LAN where all host are to be trusted. read more... |
|
| | permapage | score:5658 | -chantra, May 23, 2007 |
|
|