Category Archives: Linux

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

GRANT’ing Privileges and Permissions To Users On A Database In MySQL

If you would like to add a user to MySQL and give them permissions to view on or multiple databases, then continue reading. It is a fairly simple process and can be very powerful in keeping your database secure as well as giving people the access to the database they need. In order to run [...]

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

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