I switched to Linux a year ago and have never looked back. I have been using Ubuntu all this time but I recently installed Debian OS on the virtual machine. Ubuntu automates many things and keeps complexity of the Linux away from the user which makes the OS easier and user friendly to use by people who are new to the world of Linux.
I downloaded debian 7.2 live image 64 bit using xfce desktop environment. I installed the Debian OS in virtual box using the graphical installer. The installation was as easy and smooth as Ubuntu. When the installation completed, the OS booted directly in graphical desktop. The first thing I noticed was that the xfce panels where missing. So I added two panel, one on top and one on bottom and made xfce look like gnome classic.
Next thing I tried to update the OS using command.
Adding User to sudoer file
Next thing I tried to update the OS using command.
sudo apt-get updateand I am greeted with a message
rushabh is not in sudoers file. This incident will be reportedAfter searching the internet I found that there is a file at path /etc/sudoers in which we have to add our name so that we can use user name to user privilege specification.
So the update command wrote below worked
sudo apt-get update && sudo apt-get upgrade
Changing vim as default editor
The default text editor when using the command visudo is nano. To change that to vim first install vim editor
sudo apt-get install vimthen open file /etc/bash.bashrc
sudo vim /etc/bash.bashrcand in the end add the line
export VISUAL=vimthen tell the system to re-read the bash.bashrc file using
source /etc/bash.bashrc


No comments:
Post a Comment