Category Debian

Postfix & Dovecot

Postfix To install Postfix with SMTP-AUTH and TLS, first install the postfix by doing these commands. apt-get install postfix dpkg-reconfigure postfix Fill the following details when asked: (System mail name your Domain) General type of mail configuration: Internet Site System…

Nagios Monitoring

Nagios Monitoring Nagios is a system that can be used to monitor your services and server resources, to ensure you known when maintenance needs to be scheduled in response to an outage, or to prevent a warning becoming a critical…

Automated Server Deployment

Creating a Preseed.cfg File #### Contents of the preconfiguration file (for squeeze) ### Localization # Preseeding only locale sets language, country and locale. d-i debian-installer/locale string en_NZ.UTF-8 d-i debian-installer/splash boolean false d-i console-setup/ask_detect boolean false d-i console-setup/layoutcode string nz # The…

BASH Scripting

BASH (Bourne-Again Shell)– Scripting 101 – BASH scripting is a very useful tool for automating tasks on a Unix system, it can be used for anything from resetting passwords, to starting applications, to simply storing your favourite grep function for…

LAMP Install

How to Install LAMP in Ubuntu 1. Install Apache To install Apache you must install the Metapackage apache2. This can be done by searching for and installing in the Software Centre, or by running the following command. sudo apt-get install…

Apache2 Setup

Apache2 Configuration To setup virtual hosts, we need to setup DNS zones. Go to /usr/local/samba/private/dns/ directory and edit patan.t311.zone file. Add these records at the bottom of the page.   intranet        IN A    10.1.1.15 www        IN A    10.1.1.15 *.client.patan.t311.        IN…

Samba 4 Install

Samba 4 First we need to install bind9 and edit the named.conf.option file to forward queries to DNS server. apt-get install bind9 resolvconf dnsutils Edit the fle:  forwarders { 10.1.1.1; }; Comment out this line. //dnssec-validation auto; # Commented…

Setup Mail Server

Setup mail server on Ubuntu 14.04. This tutorial explains how to setup mail server on ubuntu 14.04 using postfix,dovecot and squirrelmail. Please replace with your domain . Installing and configuring  postfix Step 1 » Assign static IP and hostname and add a host…

Open VPN Setup

OPENVPN ON UBUNTU SERVER 12.04 OR 14.04 USING TAP. This article will guide you in a basic OpenVPN installation on an Ubuntu server running 12.04 or 14.04 using a TAP device on the server. The TAP solution is useful if…