Linux System Administration Basic Configuration

Some of the basic steps and issues encountered during the beginning of Linux system administration configuration. We provide a basic information for your convenience if you are new users Linux system administration training.

Set the host name: hostname

hostname -f

The first command should show your short host name, and the second should show your fully qualified domain name (FQDN).

Set the time Zone: Setting the time zone of your server, it may be best to set it to the time zone of the bulk of your users. If you are insecure which time zone would be best, judge using universal synchronized time or UTC. The following process will set the time zone manually, though many operating systems provide a more elegant method for changing time zones. To change the time zone manually  you must find the proper zone file in /usr/share/zoneinfo/ and link that file to /etc/local time. See the example below for common promise. All contents following the double hashes (eg. ##) are comments and should not be copied into your terminal.

ln -sf /usr/share/zoneinfo/UTC /etc/local time ## for Universal Coordinated Time

ln -sf /usr/share/zoneinfo/EST /etc/local time ## for Eastern Standard Time

ln -sf /usr/share/zoneinfo/US/Central /etc/local time ## for American Central time including DST.

ln -sf /usr/share/zoneinfo/US/Eastern /etc/local time ## for American Eastern including DST

To change the time zone in Debian and Ubuntu systems issue the following command and answer the questions as prompted by the utility:

dpkg-reconfigure tzdata

Arch Linux, set the time zone in the /etc/rc.conf file by configuring the TIMEZONE= setting in the “Localization” section. This line will resemble the following:

File excerpt:/etc/rc.conf


The thread specific in time zone refers to the “zone info” file located in or below the /usr/share/zoneinfo/ directory.

Linux training  to train people who are interested to learn Linux  and to increase their Linux skill and move up important quality job in the current market.  IcanXplore present Linux course  for  developers, programmers, immigrant and Un employed.  Online Linux training construct easy to obtain better  Linux skill.

Use the /etc/hosts File: The /etc/hosts file provides a list of IP addresses with matching host names. This allows you to specify hostnames for an IP address once on the local machine, and then have many applications connect to outer resources via their host names. The system of host files predates DNS, and hosts files are for all time check before DNS is query. As a result, /etc/hosts can be useful for preserve tiny “internal” net works, for increase reason, and for administration clusters. Some applications require that the machine properly know itself in the /etc/hosts file. As a result, we propose configuring the /etc/hosts file rapidly after deployment. Here is an example file:

File excerpt:/etc/hosts    localhost.localdomain   localhost  squire

You can recognize a numeral of host names on all line divided by places. Every line should start with one and only one IP address. In this case, return with your machine’s IP address. Let us believe a little additional /etc/hosts entries:

File excerpt:/etc/hosts

All requests for the” hostname or domain will resolve to the IP address, which bypasses the DNS records for and returns an alternate website.

IcanXplore is from San Francisco bay area, in Silicon Valley, CA, USA, focused on provide Linux training around the world at own time, pace, 24/7. Only e-mail skill can renovate person into a successful Linux system administrator. Information technology professionals from Silicon Valley, CA, USA reveal effectual Linux training system to train person with basic knowledge of Linux.

This entry was posted in Linux Training | Online Linux Training | Linux and tagged , , , . Bookmark the permalink.

Leave a Reply

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

You are commenting using your 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