Enable workspaces in Ubuntu 13.04
Since upgrading my Ubuntu desktop from 12.10 to 13.04, my workspaces disappeared. It turns out that Ubuntu 13.04 disables workspaces by default. Thankfully it can easily be enabled again. Follow the...
View ArticleWhat is a LAMP stack
The term “LAMP” stack is used to describe a specific web server environment consisting of a web server (Apache), database server (MySQL), web programming language (PHP), all running on a Linux system....
View ArticleWhat is a LEMP stack
The term “LEMP” stack is used to describe a specific web server environment consisting of a web server (Nginx), database server (MySQL), web programming language (PHP), all running on a Linux system....
View ArticleWhat is the difference between a LAMP and a LEMP stack
You may have heard of a LAMP or a LEMP stack when referencing a web server configuration, and wondered what the differences are between the two. The difference is just in the web server software used....
View ArticleDisplay custom desktop notifications on Ubuntu
The ‘notify-send’ package can be used to send custom notification messages to the Ubuntu desktop. These messages will pop-up on the screen, and shouldn’t get in the way of what the user is currently...
View ArticleEnable hibernation support on Ubuntu
On a standard desktop install of Ubuntu, you dont have the option for hibernating. This guide steps you through the process of enabling the hibernation option if your PC can support it. Test...
View ArticleSendmail mail aliases
The sendmail smtp mail server is able to set up mailbox aliases which can be used to forward mail to specific users, or even other aliases. This can be done by simply editing a configuration file...
View ArticleReset Elastix Web Interface Admin Password
The commands in this article can be used to reset the admin password for the Elastix web interface. This requires that you can log into the server at the console, or via SSH. If you dont have the login...
View ArticleEnable IP Forwarding on Ubuntu 13.04
This howto guide outlines the steps to enable IP forwarding on Ubuntu 13.04. This is required if you want your system to act as a router. Check the current setting: $ sysctl net.ipv4.ip_forward This...
View ArticleInstall the dig DNS lookup utility on CentOS
The dig DNS lookup utility is a handy tool for performing DNS queries. The dig utility is part of the bind utilities package in CentOS. The following command can be used to install dig. Install dig...
View ArticlePrevent DNS Amplification Attacks with BIND
DNS amplification attacks are a common form of DDoS that makes used of misconfigured DNS servers on the internet. The attack involves sending a request to the misconfigured DNS server, with a spoofed...
View ArticleGenerate new SSH keys
SSH allows the use of encryption keys to be used to allow logging into a system instead of having to remember a plain text password. This is great for use in scripts, and automated tasks, but can be a...
View ArticleChange the Timezone in Ubuntu
To change the timezone on Ubuntu all you need to do is reconfigure the tzdata package. This can be done using the following command: sudo dpkg-reconfigure tzdata A menu prompt will then appear. Simply...
View ArticleWhat is a .pac proxy auto config file
A .pac (Proxy Auto Config) file is a file stored on a web server that contains instructions for the browser, to help automate the proxy server setting configuration in a web browser. The .pac proxy...
View ArticleAdvanced .PAC proxy auto config file example
The following example pac proxy auto config file will allow you to bypass the proxy server for all local IP addresses, and also set exclusions on specific domain names. For information on what a PAC...
View ArticleSynchronize the time on Ubuntu from a NTP Server
To synchronize the time on a Ubuntu computer, with the time from a NTP server, you can simply run the following command: sudo ntpdate 0.pool.ntp.org Replace “0.pool.ntp.org” with your NTP time server...
View ArticleUsing sed to replace a string in a file
The ‘sed’ command can be used to easily replace all occurrences of one string in a text file, with another string. For example: sed -i "s/wordtofind/replacewithword/g" /path/to/file.txt This command...
View ArticlePHP FPM Unix Socket Error 13 Permission Denied After Updating Ubuntu
If you have a Ubuntu web server (running Ubuntu 14.04 LTS, 13.10, 12.04 LTS, or 10.04 LTS) set up using PHP FPM with Unix sockets, be warned that a recent security patch that fixes an issue with the...
View ArticleDelete a user from a MySQL server
This howto outlines the steps to remove a user from a MySQL server. Run the MySQL client: $ mysql -u root -p You will be asked for a password. If you don’t have a password set, simply press enter when...
View ArticleExtract the public certificate and private key from a pfx file using OpenSSL
This guide will show you how to convert a .pfx certificate file into its separate public certificate and private key files. This can be useful if you want to export a certificate (in the pfx format)...
View Article