Posts

Showing posts from May, 2019

How to setup git and configure send-email

The following steps will explain how to setup a git on Ubuntu bash shell  and configure your mail ID. Install git and git -core sudo apt-get install git git-core You can also clone, compile and install the latest version of the git git clone https://github.com/git/git.git make configure ./configure --prefix=/usr make -j8 sudo make install You need to install the following dependency packages sudo apt-get update sudo apt-get upgrade sudo apt-get install perl-IO-Socket-SSL libio-socket-ssl-perl libcrypt-ssleay-perl libnet-ssleay-perl libio-socket-ssl-perl perl-mime-tools perl-authen-sasl libauthen-sasl-perl libmime-tools-perl The .gitconfig file will be as below, $ cat .gitconfig [user]         name = [Username]         email = [Your Mail ID] [sendemail]         smtpencryption = tls         smtpserver = smtp.gmail.com         smtpuser = [Your mail ID]         smtpserverport = 587         confirm = auto         smtppass = [You need to

How to update from Ubuntu 16.04 to 18.04 on Windows 10

The Windows 10  is having default Ubuntu is of version "Ubuntu 16.04.03 LTS".  If you want to update to the latest available you can follow the below steps. Check the distribution version on bash shell. lsb_release -d To update to Ubuntu 18.04 on Windows 10, first update and upgrade all the packages. sudo apt-get update sudo apt-get upgrade -y If you face the below error message then run the dist-upgrade. Checking for a new Ubuntu release Please install all available updates for your release before upgrading. sudo apt-get dist-upgrade And now you all set to do the release upgrade. sudo do-release-upgrade You will be asked to intervene twice during the upgrade process. The first time, Ubuntu will ask you if you want to install the latest version of the sshd_config file. You can keep the current version, or you can get the latest one. Next, a little further during the upgrade process, Ubuntu will ask you if you want to remove obsolete packages