Debian Tutorials Copy/Paste tutorials for Debian Linux

7Aug/100

Configuring goldfish autoresponder for Postfix

goldfish is a quite simple autoresponder for Postfix in conjunction with MySQL, written in PHP. It consists of only one PHP file which can be started through a cronjob.

In this tutorial, it's assumed that you have already installed Postfix with MySql backend using this tutorial: Installing Postfix with MySql backend and SASL for SMTP authentication

1. Install PHP5-CLI (Command Line Interpreter) if it's not already installed

apt-get install php5-cli

25Dec/090

Installing and configuring Squid proxy server

Squid is a caching proxy supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.

1. Install the Squid package

apt-get install squid

9Nov/092

Disable root login to SSH

Allowing root logins to your SSH damon is a big security threat. If the SSH port is open, hackers will probably at some time attempt to brute force your root password. It's a good idea to disable root logins to SSH and instead use a normal user to login and type "su -" to enter the super user shell or sudo to perform tasks that require root privileges.

1. Open the SSH daemon config file and change this line: (pico /etc/ssh/sshd_config)

PermitRootLogin no

9Nov/091

Adding a sudoer to use sudo on Debian

Sudo allows a system administrator to delegate authority to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while providing an audit trail of the commands and their arguments.

1. Create a new user (optional)

adduser user1

28Jan/080

Setup Trac and Subversion

Setup Trac and Subversion

First install packages for both Trac and Subversion. We'll be using Apache to publish the Subversion reposatories
apt-get install python-setuptools trac subversion libapache2-svn

Create the SVN reposatory directory structure, used to create new reposatories later
mkdir /var/svn/
mkdir /var/svn/tmpproject
mkdir /var/svn/tmpproject/branches
mkdir /var/svn/tmpproject/tags
mkdir /var/svn/tmpproject/trunk