CentOS

This blog has been down for a long long time and its time i resurrect it. This blog will be a place for me to share my technical experience with Linux and computing!

I like RHEL. Or Red Hat Enterprise Linux. The things work and in my opinion "clean". Personally i use Fedora(on my desktops and laptops) and CentOS on my server(s). Yes, server with a "s".

Recently i have been cleaning up my server structure and revamping some stuff! One of the tasks required me to reinstall CentOS. Its been some time since i installed CentOS.

The version installed is CentOS 6.5. What I really like in the installer is the ability to use USB to go about doing the installation. One can use the dd command(my favourite) to mount the iso onto the USB.
dd if= of=/dev/

During installation when asked about the installation media, choose Harddrive and select the appropriate drive(if u dont know just trail-and-error).

This feature was not here when i installed CentOS the previous time, so i really like this new feature.

I usually reduce the amount of space taken by /home and increase the space taken by /. There are more practical uses for me if configured this way.

Lastly, this is a server, so I will install using the "minimal" option. When selected, the installer will not install all the GUI(Graphical User Interface) rubbish. I strongly recommend that for a server.

Just click next all the way until it is done, asking you to reboot.


Once you clicked reboot, remember to plug the USB drive out! Or else you can just select "boot from local drive" in the Installer boot menu.

Once into the system, login as root.

Note that in "minimal" CentOS, the network card is not automatically configured on boot.

run "ifup eth0" if your card used is eth0 to configure the ethernet adaptor.

Once done, logout and login using SSH from a more user friendly computer.

Important things to do when SSHed as root: (i will be posting articles on how soon)
  1. Create a new user account and give it sudoer powers
  2. Configure eth0 to auto configure everytime it reboots
  3. disable ssh root access on CentOS
  4. update the system and reboot
  5. install ntp service to keep time and date synchronized
  6. install the epel repo.
  7. Configure keyless ssh login(optional)

Comments