How to set Hostname in Ubuntu

Setting Hostname in Ubuntu 15.04 Setting hostname in your Ubuntu server is very easy. Use the following command to set/ change the hostname in you ubuntu server. Please replace hostname with name of your choice. echo “hostname” > /etc/hostname hostname -F /etc/hostname Update /etc/hosts Next, edit your /etc/hosts file to resemble the following example, replacing hostname with 

Continue Reading…

How to install sendmail server in Ubuntu 15.04

Install SendMail/ Send-only Mail Server on Ubuntu 15.04 We are going to use Exim as our send mail server. Use the following commands to update your package repositories, upgrade your system, and install Exim: apt-get update apt-get upgrade apt-get install exim4-daemon-light mailutil Now Configure the Exim for Local Mail Service Now we’re ready to configure Exim 

Continue Reading…

How to change owner of directory in Ubuntu 15.04

Change ownership of directory in ubuntu For changing ownership of any folder or directory and its sub-directories in ubuntu 15.04/14.04 etc use this command. sudo chown -R username:username /directory_name/ You need to enter your password. Change permission of directory recursively in ubuntu For changing permission of any folder or directory and its sub-directories in ubuntu 

Continue Reading…

How To Install LEMP (Linux, nginx, MySQL, PHP) on Ubuntu 15.04

Introduction The LEMP (Linux, nginx, MySQL, PHP) stack is a group of software that can be used to serve dynamic web pages and web applications. This is an acronym that describes a Linux operating system, with an Nginx web server. The backend data is stored in MySQL and the dynamic processing is handled by PHP. 

Continue Reading…