Server

Upgrade to Ubuntu 16.04 from Ubuntu 14.04 LTS or 15.10

Upgrading from Ubuntu 14.04 LTS or 15.10 14.04 LTS to LTS upgrades will be enabled with the 16.04.1 LTS point release, in approximately 3 months time. To upgrade on a desktop system: Open the “Software & Updates” Setting in System Settings. Select the 3rd Tab called “Updates”. Set the “Notify me of a new Ubuntu 

Continue Reading…

How to install php curl in Ubuntu

Many times we come across web applications which are written in PHP and require curl extension. PHP curl functions can used through use of libcurl. The libcurl was create by Daniel Sternberg. With the help of libcurl you can connect and communicate with webserver using different protocols. To install curl library on your Ubuntu computer, 

Continue Reading…

How to install php pear on Ubuntu 15.04

When using PHP, the PEAR Package Manager is already installed unless one has used the ./configure option –without-pear. If one uses a version of PHP that is supplied by Unix/Linux/BSD distributors it may be necessary to manually install PEAR. Users should consult the documentation for the respective distribution in this case. If you want to 

Continue Reading…

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 Install Python-Redis on Ubuntu 15.04

Install Python-Redis in Ubuntu 15.04 To install redis-py, simply: sudo pip install redis or alternatively (you really should be using pip though): sudo easy_install redis or from source: sudo python setup.py install Getting Started import redis r = redis.StrictRedis(host=’localhost’, port=6379, db=0) r.set(‘foo’, ‘bar’) True r.get(‘foo’) ‘bar’ Source : Here

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…