Linux Servers

How to Install Dig on Linux

This guide explains how to install Dig on Linux. A Linux command-line tool called Dig (Domain Information Groper) performs DNS lookups by contacting name servers and showing you the results. The DNS service package that is frequently deployed with BIND name servers includes a program called Dig. By connecting to your VPS via SSH and …

How to Install Dig on Linux Read More »

How to Modify or Remove Symbolic Links in Linux

This guide explains how to modify or remove symbolic links in Linux. Users can remove the links between the files or directories using the unlink or rm commands. Follow the steps: Using the “unlink” command: unlink [symlink to remove] Using the “rm” command: rm [symlink name] For example: rm simpleText This way, you can modify …

How to Modify or Remove Symbolic Links in Linux Read More »

Ubuntu and PHP 5 “mcrypt extension is missing” error

After installing lamp-server or the individual php5-mcrypt package, you may come across the following error (e.g. in phpMyAdmin): The mcrypt extension is missing. Please check your PHP configuration. The problem is simply because the module is not enabled by default after installation. To enable, execute: sudo php5enmod mcrypt and then restart the Apache server using: …

Ubuntu and PHP 5 “mcrypt extension is missing” error Read More »

How to Change the Default Text Editor in Linux

A default text editor comes with respective Linux distributions. Such as nano, vim, ed etc. Users can change it according to their preferences by changing the $EDITOR environment variable. Changing default editor from nano to vim You must open the .bashrc file and append the line as shown below. #FILE: .bashrc export EDITOR=”vim” Different command …

How to Change the Default Text Editor in Linux Read More »