Home > Linux > CentOS 6.5

CentOS 6.5

Frustrated with Unity and Gnome 3, i was looking for a simple GUI. Switched to Debian, and it too had updated to Gnome 3. I am great fan of Debian and Ubuntu – dont get me wrong, but I am also a power user. I want simple and intuitive UI which is also not a performance hog. Why not headless server + Webmin and command line you might ask – well i just prefer all apples in 1 basketūüôā

I tried the following and decided to go back to CentOS and its simple but effective old GUI

  • Ubuntu + all combinations of Gnome
  • Ubuntu + all combinations of Unity ( i felt this is much better than Gnome 3 – call me old school )
  • Ubuntu with XFCE and LXDE
  • Ubuntu with MATE
  • Ubuntu with Cinnamon

So i started with installation and I will list down all things i have done with CentOS to call it my home OS.

  • From here on when I say CentOS – i mean CentOS 6.5 – 64 bit
  • I assume that you have decent understanding of Linux systems – this is not a beginners guide
  • if you are aiming for a headless server, many¬†of the below packages are not required


Is pretty simple, i am using Oracle Virtualbox and downloaded the CentOS 6.5 iso and popped it into the virtualbox and completed the installation.

Root user

Unlike Debian, CentOS has an actual root user and u can log in as root.

Installation, i created 2 users, root and naveen

When my system was installed, coming from Ubuntu, i temptingly opened the command prompt and entered

[naveen@localhost ~]$ sudo -s
[sudo] password for naveen:
naveen is not in the sudoers file. This incident will be reported.

BOOOOOOOOO ………………..ok

just edit the sudoers file and add yourself – just log in using su comand as root

[naveen@localhost ~]$ su
[root@localhost naveen]# nano /etc/sudoers
nano is not installed

BOOOOOOOOO ……………….. ok

yum install nano

I added another line just below root in the sudoers file –¬†Now i can elevate to root

## Allow root to run any commands anywhere
root ALL=(ALL) ALL
naveen ALL=(ALL) ALL

Enabling EPEL repository –¬†Extra Packages for Enterprise Linux (EPEL)

One of the first things to do if you want to install additional repos with yum install

read about EPEL here : https://fedoraproject.org/wiki/EPEL

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

Edit File

sudo nano /etc/yum.repos.d/remi.repo

and add the below lines to the end

name=Les RPM de remi pour Enterprise Linux $releasever - $basearch

Now you should have lot more repos to install from instead of manually compiling from sources

Updating the system 

yum update

Installing Bash Auto Complete 

yum install bash-completion

If you are on Vitualbox, you can do the below 

Install the Guest Additions

  • you might have to install additional kernel modules and gcc module ( yum install gcc )
  • if installation fails, then check /var/log/vboxadd-install-x11.log
  • Then enable Shared clipboard = Bidirectional and add a shared folder so that your host and guest can exchange files

Folder View options 

  • By default, every folder you open will open in a new window – Boo ..
  • Fix this.¬†Open any directory, Click on Edit -> Preferences. A new window should open
  • Go to the tab called Behavior and check – Always open in browser windows

Installing Adidtional Packages

I love terminator, an excellent terminal emulator, you can split terminals. tabs etc

yum install terminator

Packages from System -> Administration -> Add/Remove Software installed the Visual diff merge tool РMeld Diff Viewer

Packages from System -> Administration -> Add/Remove Software installed the Additional packages for gedit

Added following plugins to firefox

  • firebug
  • firerainbow
  • easy xdebug

Generating SSH keys 

[naveen@localhost ~]$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/naveen/.ssh/id_rsa): 
Created directory '/home/naveen/.ssh'.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/naveen/.ssh/id_rsa.
Your public key has been saved in /home/naveen/.ssh/id_rsa.pub.

Setting up GIT Version Control System

yum install git git-gui
git config --global user.name "Naveen Nayak"
git config --global user.email naveensnayak@gmail.com
git config --global core.editor nano
git config --global color.ui true

SQLite Database 

Comes installed already – great for light weight logging and querying

[root@localhost ~]# sqlite3
SQLite version 3.6.20
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .exit
[root@localhost ~]#

Setting up Libre Office – Open Source Word Excel etc

yum install libreoffice.x86_64

File Sharing ( Samba )

yum install samba

Coming up..

Setting up LAMP environment ( Apache, PHP, Mysql )

Setting up Caching ( APC and Memcached )

Performance and Monitoring tools

Bash Aliases


Categories: Linux Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: