1. Download CentOS
Here is a list with all the different releases of CentOS.
I downloaded the latest stable version, which in my case is 6.3
CentOS ISO mirrors page
To install the OS is pretty straight forward.
You might need to change the bios boot configuration to boot from the CD-ROM instead of the Hard-Drive, but besides that there are about 15 steps until finishing the installation of CentOS
2. Setting Permissions
By default when you create and configure a user during the OS installation it won’t receive root privileges, you need to give the permissions yourself after the installation is completed.
To accomplish that you need to add your user to the sudoers file:
su - root vim /etc/sudoers
Add your user name below root:
## Next comes the main part: which users can run what software on ## which machines (the sudoers file can be shared between multiple ## systems). ## Syntax: ## ## user MACHINE=COMMANDS ## ## The COMMANDS section may have other options added to it. ## ## Allow root to run any commands anywhere root ALL=(ALL) ALL diogogmt ALL=(ALL) ALL
When you try to save you might get a message saying:
E45: 'readonly' option is set (add ! to override)
By appending ! at the end of the command it override the readonly settings, for example, to save and quit:
:wq!
3. Installing GCC
After having the right permissions, it is time to install GCC:
sudo yum install gcc
**Just as a side note, today it was announced that FreedBSD will start being shipped with CLANG instead of GCC as the default C compiler
One would think that the yum package name for g++ would be g++, well, it is not.
The package for g++ is gcc-c++
While trying to find the correct pakcage name I came accros a good reference for yum.
Basically what I did was to search the yum packages for g++, and this was the result:
==================== Matched: g++ ========================== avr-gcc-c++.x86_64 : Cross Compiling GNU GCC targeted at avr
To install g++
sudo yum install gcc-c++
4. Installing Sublime Text
After the first time I used Sublime Text I immediately fell in love with it.
Sublime is a very light weight editor but very powerful and flexible at the same time.
I really recommend you to try it out:
Sublime Text official page
For more info check this out:
CentOS Tips and Tricks
Security Quick Tips
Root Ninja



Nice. BTW you could also install gcc and a bunch of related tools and libraries using yum groupinstall “Development Tools” “Development Libraries”