HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


THE TOP FIVE TOOLS A CENTOS SYSTEMS ADMINISTRATOR SHOULD KNOW

For the casual user of Windows, the Linux command line looks really intimidating and appears to be a complex and unfriendly interface that requires the knowledge of arcane commands.

In reality, the command line is immensely powerful and actually allows an experienced user to monitor, control and tune every single aspect of the system.

Even a minimal installation of CentOS comes with a rich selection of useful tools and many others can be installed from the standard repositories.

In this blog article, we will briefly discuss the top five tools that a CentOS administrator should master in order to maintain servers in top shape.

VIM

The command line is all about editing text files and there is no better tool than Vim for this purpose.

Vim is actually a very old program that can be traced back to the original vi developed for Unix systems in 1976. It preserves some archaic features but has been constantly improved over the years and can be personalized with many plugins and options.

The initial learning curve is notoriously steep and most Linux newbies have been trapped in Vim at the start of their journey, with no clue how to get out.

However, Vim can be incredibly useful once you learn some of its shortcuts and becomes much more than a simple text editor. You can configure it for example as a very fast coding tool.

For a quick introduction to Vim, run the command vimtutor and follow the interactive tutorial.

YUM

In all distributions from the RedHat family, yum serves as the package manager of choice. It is a powerful tool that handles the installation of new packages, as well as their update or removal.

Yum is available by default on all CentOS systems but the software selection in the initial repositories is quite poor. This reflects the RedHat philosophy of emphasizing security and stability, by only offering packages that have been thoroughly tested.

As a result, the official repos provide older software, several versions behind the latest one, for example php 5.4

System administrators usually configure other repositories in order to install and update newer packages.

One of the most popular is epel-release, which can be installed as a package and includes many useful tools. Other common choices are the remi or ius repositories for php and its associated extensions.

Most software developers also maintain dedicated repositories that provide the latest versions of their packages.

NETSTAT

Netstat is very useful command line tool that shows network connections and statistics, as well as open ports and sockets.

Executing it with no arguments will display a lot of information, so you will have to learn how to control the output using flags.

System administrators typically use nestat to view the processes that listen on certain ports, here is an example of the flags used for this purpose and the result:

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 123456
78910111213
14151617181920
21222324252627
28293031 

Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional