Category Archives: Debian

Add Zone And Domain To DNS Bind Server – Also Includes A Sample DNS Domain Zone File

Overview Welcome to the second of my DNS articles. It is more of a prequel to my first article in which I explained the steps in Creating A DNS Entry For A SubDomain. This article assumes you have already installed bind and it is all running. If not, then you will need to setup bind [...]

Creating A DNS Entry For A SubDomain – Add A DNS Entry Into Bind

Overview Welcome to the first of a bunch of DNS articles I will write to help explain the different tasks needed to configure and manage your own DNS server using bind under Linux. The article assumes you have already installed bind and it is all running. If not, then you will need to setup bind [...]

Increase PHP Memory Limit in htaccess, apache or in a php script

Most of us have come across this error: “Fatal error: Allowed memory size of xxxxxx bytes exhausted (tried to allocate yyy bytes) in ….” in the php error logs. In php, running out of memory in usually a sign that your php script is not too well written or has a bug or two in [...]

PHP Pear – Installing Pear and Pear Packages

What is PEAR? PEAR is an acronym for PHP Extension and Application Repository. PEAR is a massive repository for PHP code. It provide easy access to hundreds of classes that can be implemented into your existing PHP project. It saves you time since you won’t have to write anything from scratch and you can simply reuse [...]


FTP, FTPS, SFTP and SCP are all protocols in which we communicate and transfer files between servers and computers. Here is a brief overview of what each one is. FTP FTP stand for file transfer protocol. FTP is a protocol most commonly used when uploading and downloading files from a servers. The least secure method [...]

Disable Root SSH Access – Howto on Securing SSH

You should never allow anyone to ssh directly into your server as root as this could be a serious security risk should anyone be able to brute force your password. Instead, you should disable root ssh access which will force people to login as a normal user and then switch to root. Here are some [...]

How To Setup IP Address in Linux

In this guide, you will be shown how to setup the IP address of a computer running Linux. Before we know which way to configure your network card, you need to know if you want to use a static or dynamic IP address. Broadband made better. Superfast broadband, unlimited downloads and free award winning UK [...]

Set Apache Log Permission Using Logrotate

If you have ever wondered why your log files randomly change permissions each night. Logrotate could be up to its tricks. Similar to the other article I published on Why is apache randomly restarting which explains why logrotate could be causing apache to restart randomly. Each time logrotate runs its course, it will compress, rename and [...]