Author Archives: Darian Brown

Common Ports List – Most Commonly Used Port Numbers

List of Commonly Used Ports Below is a list of common ports and the service it is associated with I find are most commonly used. If you feel there are ports that should be on this list, please leave a comment or contact me. Updated 17 May 2012 to include ports recommended by DHost Port [...]

FTP, FTPS, SFTP and SCP

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 [...]

Quickest Way To Remove Empty Elements From A PHP Array

Here I will show you the quickest way to remove empty values from an array. The first way is slow but the most logical way of approaching this. Luckily the second example is the quickest and also pretty simple way. Use the second way, trust me, you will love it. The slow but simple way [...]

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 [...]