Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Monitor Linux servers with SNMP and Cacti

Up
vote
Down

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:8629 | -chantra, August 27, 2007

Apache mod_status tutorial: Monitor server activity and performance

Up
vote
Down

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:8506 | -chantra, November 2, 2006

Tutorial: FTP Virtual Host with ProFTPD and MySQL

Up
vote
Down

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:7862 | -chantra, August 22, 2007

Tutorial: Mount removable Linux drives with a persistent name

Up
vote
Down

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:7852 | -chantra, January 12, 2007

Tutorial: No password SSH login

Up
vote
Down

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:7663 | -chantra, February 1, 2007

Tutorial: Set up a linux firewall / router with iptables

Up
vote
Down

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:7256 | -chantra, December 19, 2006

Optimize MySQL response time

Up
vote
Down

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:7220 | -chantra, July 27, 2006

Tutorial: Share LAN files with Samba and no password

Up
vote
Down

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:7052 | -chantra, March 2, 2007

Basic Apache Security Measures

Up
vote
Down

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:7038 | -chantra, August 6, 2006

Tutorial: Set up your Laptop Touchpad

Up
vote
Down

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:7035 | -chantra, June 19, 2006

Tutorial: Create a MySQL database and set user privileges

Up
vote
Down

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:6998 | -chantra, July 7, 2007

Tutorial: Screen, the admin tool

Up
vote
Down

Screen is a must known GNU console tool, this small piece of software comes really handy when you are working on a console or sending long processes on a remote host.

When you start screen, you simply get a terminal prompt, but then, many features are given to you. Most users donít even know about it, but you will soon love it. read more...
permapage | score:6853 | -chantra, July 5, 2006

Tutorial: Set up a repository cache with apt-cacher

Up
vote
Down

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:6787 | -chantra, November 8, 2006

Monitor your network traffic with Nload

Up
vote
Down

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:6713 | -chantra, July 22, 2006

Tutorial: Set up a LDAP server and clients

Up
vote
Down

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:6683 | -chantra, May 29, 2007

Secure Apache2 with mod-security

Up
vote
Down

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:6676 | -chantra, August 26, 2006

Monitor a Server with Munin

Up
vote
Down

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:6587 | -chantra, December 4, 2006

subversion SVN with Apache2 and DAV

Up
vote
Down

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:5687 | -chantra, June 1, 2006

Setting up a DNS zone with Bind9

Up
vote
Down

Bind is a well known Unix name server, it is a powerfull piece of software which is used by the majority of nameservers.
This article will go though setting up a local area network that can be used at home or inside a small company.

In this article, we suppose that we are going to set a DNS zone for the domain: debuntu.foo, this is a fictionnal zone which is going to be used as a local network domain such as an intranet. read more...
permapage | score:5344 | -chantra, August 14, 2006

Tutorial: Encrypt directories with ENCFS and FUSE

Up
vote
Down

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:5098 | -chantra, June 6, 2006
More articles...
Abstract Art on stretched canvas

Selected articles

Scripting: A parallel Linux backup script

Apple DIY Repair

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

Download: Linux 3D Client for Starship Traders

Space Tyrant: A threaded C game project: First Code

Missing the point of the Mac Mini

The life cycle of a programmer

Closed Source Linux Distribution Launched

VPS: Xen vs. OpenVZ

MiniLesson: An introduction to Linux in ten commands

Librenix T-Shirts and Coffee Mugs!

The Network Computer: An opportunity for Linux

The short life and hard times of a Linux virus

Space Tyrant: A multiplayer network game for Linux

Mono-culture and the .NETwork effect

Linux vs. Windows: Why Linux will win

Why software sucks

Beneficial Computer Viruses

Tutorial: Introduction to Linux files

Apple to Intel move no threat to Linux

Space Tyrant: Multithreading lessons learned on SMP hardware

How to install Ubuntu Linux on the decTOP SFF computer

Why Programmers are not Software Engineers

Graffiti Server Download Page

No, RMS, Linux is not GNU/Linux

Space Tyrant: A threaded game server project in C

Linux dominates Windows

Programming Language Tradeoffs: 3GL vs 4GL

The Supreme Court is wrong on Copyright Case

Hacker Haiku

The Real Microsoft Monopoly

Microsoft to push unlicensed users to Linux

Shadow.sh: A simple directory shadowing script for Linux

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin