Category Archives: System Administration

Installing and Configuring Zentyal 3.3 on Ubuntu 12.04-LTS Part 3

Welcome to part three. If you missed part 1, Initial installation and configuration you can see it here. The second part setting up users and domains is here

In part three we will be setting up

  • Email
  • Securing Web Based Email
  • Anti-Spam/Virus Measures
  • Grey Listing

Continue reading

Split Large Files and Rebuild Them

The other day I needed to transfer a 3.8G file over ftp. The problem was that the ftp server timed out and logged me out when only around a third of the file was transferred.

So I needed to split the file into small chunks and send those. Then you have the problem of sticking all the fragments back together again. Thankfully I’m not on Windows 🙂 I use Linux so this was all done with standard Linux commands.

First I split the file into 500Mb fragments.

Continue reading

Find The Memory Usage of a Process

Well this was something i needed to do the other day and as I would not need to do it again for some time, and would therefore forget what i did. I simply wrote it down for later use :-);

Take a look as the man page for the command ps. Well that’s about it really. Ok, a little more info would be nice.

What is needed is to change the format of the output to give the required information. I my case I wanted to see only the PID, user name, the command name and the memory usage. This will give the following:

ps -o pid,euser,comm,rss

In the man page take a look at the section STANDARD FORMAT SPECIFIERS there are a whole bunch of them to choose from.

Setup apcupsd with a APC Back-UPS RS 800

Where I live, in the country 🙂 I get one or two power fluctuations a month and a power failure two – three times a year for 5 to 30 minutes. So I decided to get a UPS so my Mail server would not go down and possibly get its file system corrupted by the sudden power failure.

Continue reading

Stopping starting and enabling services on boot.

With a Linux install many services or daemons are started as you boot up. These provide functionality and information to your own applications as you run them.

Being able to control which services are started at boot time is essential for any Systems Administrator. The commands below are for Debian based distro’s like Ubuntu.

Continue reading

Installing a Mailserver on Ubuntu 12.04 LTS Part 2

In this part we will be adding to the mail server created in Installing A Mailserver on Ubuntu 12.04 LTS Part 1, in this part we will be building on that and adding anti-virus and anti-spam software and a tool to greylist emails to cut down on the work our server has to do. This will be added to postfix via amavis-new.

The server called mailserver will end up running the following servers and services. Once all the parts of this series posts are completed.

Continue reading