public marks

PUBLIC MARKS from lecyborg with tags serveur & tutorial

February 2008

Using Nagios to Monitor Networks

Nagios is a powerful, modular network monitoring system that can be used to monitor many network services like smtp, http and dns on remote hosts. It also has support for snmp to allow you to check things like processor loads on routers and servers. I couldn't begin to cover all of the things that nagios can do in this article, so I'll just cover the basics to get you up and running.

Munin, une alternative simple à Cacti?

by 1 other
Cela fait près d’un an et demi que j’utilise le logiciel Cacti pour monitorer l’activité réseau. Aussi bien dans le cadre de mon activité professionnelle que pour mon usage personnel. Mais j’ai récement découvert une alternative sérieuse : Munin. Celui-ci présente de nombreux avantages par rapport à Cacti et mérite d’être plus connue.

WebDav Autoversioning

A while back I stumbled upon a lesser known feature of SVN and WebDav, but didn’t have the time to blog about it until now. WebDAV and SVN is an exceedingly useful tool as we all know, and pretty damn easy to setup, see here. But what if you could have everything entered into the WebDav repository automatically versioned into a repository. Well you can! And the good news is, it’s really really easy.

January 2008

Integrating amavisd-new Into Postfix For Spam- And Virus-Scanning

by 1 other
This article shows how to integrate amavisd-new into a Postfix mail server for spam- and virus-scanning. amavisd-new is a high-performance interface between MTAs such as Postfix and content checkers: virus scanners, and/or SpamAssassin. We will use ClamAV for virus scanning and SpamAssassin for spam scanning in this tutorial. I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

Postfix Virtual Domain Hosting Howto

This document requires Postfix version 2.0 or later. This document gives an overview of how Postfix can be used for hosting multiple Internet domains, both for final delivery on the machine itself and for the purpose of forwarding to destinations elsewhere. The text not only describes delivery mechanisms that are built into Postfix, but also gives pointers for using non-Postfix mail delivery software.

Make SSH connections with PHP

by 3 others
Not everyone knows about PHP's capabilities of making SSH connections and executing remote commands, but it can be very useful. I've been using it a lot in PHP CLI applications that I run from cronjobs, but initially it was a pain to get it to work. The PHP manual on Secure Shell2 Functions is not very practice or thorough for that matter, so I would like to share my knowledge in this how to, to make it a little less time consuming setting this up. In this article I'm going to assume that: * You're running Debian / Ubuntu If not, you will have to substitute the package manager aptitude with whatever your distribution provides * You're running PHP 5 If not, just replace php5 with php4 everywhere * You have basic knowledge of PHP & server administration * You already have PHP installed

December 2007

Sauvegarder ses données avec rsync

C’est simple copie est assez simple à mettre en place, et peut s’avérer très pratique en cas de crash du disque dur. La sauvegarde peut paraitre un peut basique, mais qui à besoin (et qui à assez d’espace disque) pour avoir une sauvegarde jours par jours avec les modifications ?

Convertir système debian en Raid1

Our intention is not to build a fail-safe system nor a HA-Linux. We are just using RAID-1 mirrored disks to make sure that the system can be restored easily if 1 disk crashes. The following has been tested only twice (hey, we've got other things to do). It did work for us, it might work for you. It might also make your rats go berserk or just blow your mind.

November 2007

SSH Port Forwarding

SSH also has a wonderful feature called SSH Port Forwarding, sometimes called SSH Tunneling, which allows you to establish a secure SSH session and then tunnel arbitrary TCP connections through it. Tunnels can be created at any time, with almost no effort and no programming, which makes them very appealing. In this article we look at SSH Port Forwarding in detail, as it is a very useful but often misunderstood technology. SSH Port Forwarding can be used for secure communications in a myriad of different ways. Let's start with an example.

SSH-Agent Tutorial

by 1 other
Security is best when it is handy. ssh-agent is pretty darn handy. Ssh-agent can authenticate you to a remote machine via keypairs, rather than the traditional hand-typed username/password combination, with no loss of security.

RAID1 on Debian Sarge

A RAID device is a Redundant Array of Independent Disks. The concept was developed in 1987 at UC Berkeley and involves the creation of a virtual disk from multiple small disks in order to deliver improved performance and reliability. There are many flavors of RAID and lots of variations in how to implement it. We detail here a specific instance we use: software RAID1 using IDE disks on a Dell PowerEdge box running Debian "sarge" loaded with grub, managed by mdadm, using the ext3 journaling file system.

How to convert your debian partition to a software raid 1 on the fly

The system is equipped with 2 similar hard disks (they do not have to be the same but it helps if they are at least similar). The first disk is attached to the primary IDE as master, it will be referenced as /dev/hda. The second disk is attached to the secondary IDE also as master, it will be referenced as /dev/hdc.

HOWTO improving your internet connection using wondershaper - Ubuntu Forums

wondershaper is an easy to use traffic shaping script that provides these improvements: * Low latency for interactive traffic (and pings) at all times * Allow websurfing at reasonable speeds while uploading / downloading * Make sure uploads don't hurt downloads * Make sure downloads don't hurt uploads

How to Install Openvpn

The purpose of this document is to describe how to install OpenVPN server on an Ubuntu Linux system and have it utilize an Ethernet bridge to access your local network. Ethernet bridges essentially allow the operating system to treat multiple network interfaces as one combined port. When used with OpenVPN a bridge will allow you to easily connect external users to your internal network and have them receive all traffic as though they were locally connected. The alternative is to use OpenVPN with a route but that will not allow some forms of traffic through (such as multicast), multicast traffic is important to me as many games require multicast data.

Le RAID sous GNU/Linux

Ce document explique comment mettre en place plusieurs types différents de RAID logiciel sur une plateforme Linux.

October 2007

Converting a VMWare image to Xen HVM

by 1 other
The process for converting a VMWare VMDK disk image to Xen HVM is rather quite easy. However, there are "gotchas" that you need to consider when doing this conversion.

The perfect start with Smoothwall Express 3.0

Smoothwall Express is an internet firewall, which allows you to protect your network, as well as providing NAT functionality. It is ease to use and configurable via a web-based GUI. This open source firewall distribution requires absolutely no knowledge of Linux to install or use. This workshop shows the installation and basic configuration of the current release Smoothwall Express 3.0.

Xen from Backports on Debian Sarge

There is a great howto about installing Xen on Debian Unstable. It is really easy to do and it runs fine. Nevertheless, on production servers, that's not an optimal solution. Debian Unstable has too many updates and things change too often. On production machines, a Xen host system should be stable, secure and should not need much attention. That is where Sarge comes in. If you pull the Xen packages from backports and install them on Debian stable you've got the best of both worlds. Let's do so!

Firewall et sécurisation d'un réseau personnel sous Linux

by 1 other
Ce document a pour but d'expliquer les rudiments de la sécurité d'une machine Linux placée dans un réseau local (typiquement une maison on un appartement), reliée à Internet. Il est tout particulièrement destiné aux utilisateurs néophytes, ou n'ayant pas ou peu de connaissance sur la sécurité informatique en général, et sous Linux en particulier.

Problems with incrementing eth0; changing mac address, udev, xen and etch

Lastly on one of the domU's, I had recently upgraded it to Etch. It was rebooted previously and did work. However after going back to Xen with Backports, its network didnt work.

Xen 3 for Debian

by 3 others
Since several years, I build my own network at home, running 2 to 7 machines at the same time (gateway, firewall, workstation, devstation, servers...). In my flat, it produce a lot of noise, take too many space and consume electricty. I decided to stop that, and to run my all network into a single machine, using virtual machine. The technology that convinced me is Xen.

Create DomU

Creating a Virtual Server - domU There are 3 options of what to run DomU on: 1. File Based Image 2. LVM Based 3. Physical Partition 1. A file based image is the quickest to setup, however has poor/terrible IO performance. The virtual server is limited to the initial size of the image created also. The file based Image can however be easily mounted in a rescue system, and easily backed-up. 2. LVM for domU is the industry standard. After the initial setup of LVM, as described here, it is a dream to manage. LVM partitions can be resized afterwards!!! Due to this "resizing" capability and flexibility, its use for Xen Virtual Servers is ideal. They also have much better IO performance than file-based. I dont know about mounting these partitions however in a rescue system. Something to try out... -). 3. Physical Partitions have the best IO, but are difficult to alter and inflexible.

Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories

by 1 other
This tutorial provides step-by-step instructions on how to install Xen on an Ubuntu Feisty Fawn (Ubuntu 7.04) server system (i386). You can find all the software used here in the Ubuntu repositories, so no external files or compilation are needed.

Disable the mail alert by crontab command

by 1 other
Q. How do I to disable the mail alert send by crontab? When my job is executed and the jobs cannot run normally it will sent an email to root. Why do I receive e-mails to my root account from cron? How can I prevent this? A. crontab command is use to maintain crontab files for individual users.

lecyborg's TAGS related to tag serveur

active directory +   administration +   ajax +   amarok +   amavis +   ampache +   apache +   apt +   backdoor +   backup +   backuppc +   bacula +   bind +   chat +   citadel +   clamav +   cron +   crontab +   cryptage +   ctail +   cups +   cyrus +   debian +   desktoptwo +   DHCP +   dns +   documentation +   dsh +   ebox +   ext3 +   fichiers +   firefox +   firewall +   forwarding +   free +   ftp +   groupware +   hostname +   howtogeek +   installation +   ipcop +   iptable +   iptables +   irc +   java +   kerberos +   layout +   ldap +   linutop +   linux +   logiciel +   mail +   management +   materiel +   mindquarry +   monitoring +   munin +   nagios +   network +   opendns +   opensource +   oreon +   partition +   pdf +   php +   phplogin +   pinholes +   postfix +   proprio +   proxy +   raid +   roundcube +   rsync +   samba +   security +   smoothwall +   squid +   ssh +   ssh-agent +   ssl +   subversion +   sugar +   tail +   test +   trickle +   tutorial +   ubuntu +   utile +   vmware +   vpn +   web +   web developer +   web2.0 +   webmail +   wiki +   windows +   xen +   zabbix +   zerina +   zimbra +