Posts

Showing posts from January, 2018

install psql on ubuntu 16.04

Image
Postgres installation on ubunut 16.04 if youre using the root user apt-get update update the ubuntu repository apt-get upgrade upgrade the package to the latest version its updating the packages now Once its update and the packages will upgrade now sudo apt-get upgrade now going to download the postgres 9.5 in ubunutu type the below command apt-get install postgresql postgresql-contrib Once it will done ,This will showing the configuration file file path and data path also in terminal now we are going to login to the postgres9.5 for login with postgres need to use this command su postgres (via this user only we able to access the database ) Type with psql and enter it will allow to login to psql terminal need to change the password for connect from the client tool like (Pg Admin) for change the password for postgres #\password postgres now we need to change the configuration settings in configuration files in postgresql .

How to install Edubuntu in Windows through oracle VM

Image
How to install EdUbuntu in oracle virtual box My system ======== Host machine : windows 10 Virtual software : Oracle virtual box Processor           : core i5 RAM                 : 8GB   For download the edubutu goto this site https://www.edubuntu.org/download Once you get the iso image file Click on the new button After getting the create virtual machine console fill the following details Now click on the create button Now provide the hard disk space  and click on the create button Once its created goto setting on the top Need to choose the image from the Storage option and click on the empty   below the controller:IDE ,Then click on the choose virtual optical disk file Browse the image file and select Edubuntu iso file Now click on the open and once its selected the properly the empty coloum will change with iso file name before click ok check there once now we need click on the start button First we need select the la

How to enable root login in ubuntu for putty console access

Image
How to enable the root login in ubuntu I will try to login root as in putty tool now go to the server console (VM ware ,oracle virtual box or go to server) here I am using virtual box console so I will go through now goto the following path vi /etc/ssh/sshd_config (This the configuration file for ssh connection) about ssh please refer this https://en.wikipedia.org/wiki/Secure_Shell we need to change PermitRootLogin prohibit-password as a PermitRootLogin yes after changing the ssh_config save with the :wq comand now we need restart the sshd service service sshd restart now going to check status service sshd status now try login with putty as a root now we able to login with putty ,Successfully configured root login through putty in ubuntu server For video reference please refer here