Debian Tutorials Copy/Paste tutorials for Debian based Linux distros

15May/100

Implementing SPF checks in Postfix

Sender Policy Framework (SPF), as defined in RFC 4408, is an e-mail validation system designed to prevent e-mail spam by addressing a common vulnerability, source address spoofing. SPF allows administrators to specify which hosts are allowed to send e-mail from a given domain by creating a specific DNS SPF record in the public DNS. Mail exchangers then use the DNS to check that mail from a given domain is being sent by a host sanctioned by that domain's administrators.

12May/102

Configuring IPv6 tunneling with AICCU

AICCU (Automatic IPv6 Connectivity Client Utility) makes it easy for users to get IPv6 connectivity over IPv4 network.

1. Request a tunnel from a tunnel broker:

List of IPv6 tunnel brokers

5May/100

Installing Cacti – RRDTool-based Graphing Solution

cacti_logoCacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is also SNMP support for those used to creating traffic graphs with MRTG.

1. Install Cacti and all required packages

apt-get install cacti

4May/102

Installing Nagios Core monitoring system (client and server)

nagios-logoNagios Core allows you to monitor your entire IT infrastructure to ensure systems, applications, services, and business processes are functioning properly. In the event of a failure, it can alert technical staff of the problem, allowing them to begin remediation processes before outages affect business processes, end-users, or customers.

The monitoring server

1. Install Nagios Core and dependancies

apt-get install nagios3 nagios-nrpe-plugin

2May/100

Installing EHCP (Easy Hosting Control Panel)

ehcpEHCP is a powerful, yet easy to install control panel that allows the user to manage services such as Web, FTP, Database and DNS servers.

The install script handles the installation and configuration of the required services. I recommend starting with a clean Debian system to avoid conflicts.

1. Download required EHCP files

wget http://www.ehcp.net/download

27Apr/101

Transfer mailboxes between IMAP servers with imapsync

imapsync is a tool for facilitating incremental recursive IMAP transfers from one mailbox to another. It is useful for mailbox migration, and reduces the amount of data transferred by only copying messages that are not present on both servers. Read, unread, and deleted flags are preserved, and the process can be stopped and resumed. The original messages can optionally be deleted after a successful transfer.

1. Install imapsync

apt-get install imapsync

Tagged as: , Continue reading
30Mar/100

Installing nginx from source with mail support

nginxnginx is a lightweight, high performance web server/reverse proxy and e-mail (SMTP/IMAP/POP3) proxy.

1. Install required packages

apt-get install build-essential autotools-dev debhelper libpcre3-dev zlib1g-dev libssl-dev

22Mar/102

Installing VMware server 2.x on Debian lenny

VMware Server can create, edit, and play virtual machines. It uses a client-server model, allowing remote access to virtual machines, at the cost of some graphical performance (and 3D support). In addition to the ability to run virtual machines created by other VMware products, it can also run virtual machines created by Microsoft Virtual PC.

1. Install required packages

apt-get install psmisc make gcc gcc-4.1 linux-headers-$(uname -r)

27Feb/103

Installing the GeoIP Apache module

This module allows you to determine which country, region, city, postal code, area code the visitor is coming from.

1. Install the module

apt-get install libapache2-mod-geoip

17Feb/108

Installing and configuring PPTP VPN server on lenny

If you would like to setup a Virtual Private Network (VPN) for Windows clients, PPTP is a great choice. It's easy to set up on the server and you don't need any additional software for the Windows clients to connect.

1. Install the required packages

apt-get install pptpd