Quantcast
Channel: Networking HowTos
Browsing all 62 articles
Browse latest View live

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 Article


What 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 Article


What 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 Article

What 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 Article

Display 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 Article


Enable 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 Article

Sendmail 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 Article

Reset 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 Article


Enable 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 Article


Install 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 Article

Prevent 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 Article

Generate 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 Article

Change 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 Article


What 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 Article

Advanced .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 Article


Synchronize 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 Article

Using 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 Article


PHP 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 Article

Delete 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 Article

Extract 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
Browsing all 62 articles
Browse latest View live