Today I was trying to learn and know about Systemd. I have found one of the great Article, Sharing with you guys, It will help you to understand this biggest and major change in RHEL and CentOS 7.
This article is not mine, I found on internet and felt that this is wonderful Article so Sharing with you all, Thanks to Original author, Given credit to him at the end of article.
As the Systemd now replaces SysVinit, it is time to get familiar with it and learn new commands. Systemd is quicker because it uses fewer scripts and tries to run more tasks in parallel (Systemd calls them units).
The Systemd configuration is stored in the /etc/systemd directory.
Systemd primary task is to manage the boot process and provides informations about it.
To get the boot process duration, type:
Note1: The change is written into the service unit file. Use the –runtime option to avoid this behavior.
Note2: By default, each service owns 1024 CPUShares. Nothing prevents you from giving a value smaller or bigger.
Systemd deals with all the aspects of the service management. The systemctl command replaces the chkconfig and the service commands. The old commands are now a link to the systemctl command.
To activate the NTP service at boot, type:
# systemctl enable ntpd
Note1: You should specify ntpd.service but by default the .service suffix will be added.
Note2: If you specify a path, the .mount suffix will be added.
Note3: If you mention a device, the .device suffix will be added.
Systemd‘s authors have decided to help Linux standardization among distributions. Through Systemd, changes happen in the localization of some configuration files.
To get the server hostnames, type:
Static hostname: rhel7.example.com
Icon name: computer-laptop
Machine ID: bcdc71f1943f4d859aa37e54a422938d
Boot ID: f84556924b4e4bbf9c4a82fef4ac26d0
Operating System: Red Hat Enterprise Linux Everything 7.0 (Maipo)
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.0:beta:everything
Kernel: Linux 3.10.0-54.0.1.el7.x86_64
Note: There are three kinds of hostnames: static, pretty, and transient.
“The static host name is the traditional hostname, which can be chosen by the user, and is stored in the /etc/hostname file. The “transient” hostname is a dynamic host name maintained by the kernel. It is initialized to the static host name by default, whose value defaults to “localhost”. It can be changed by DHCP or mDNS at runtime. The pretty hostname is a free-form UTF8 host name for presentation to the user.” Source: RHEL 7 Networking Guide.
To assign the rhel7 hostname permanently to the server, type:
# hostnamectl set-hostname rhel7
Note: With this syntax all three hostnames (static, pretty, and transient) take the rhel7 value at the same time. However, it is possible to set the three hostnames separately by using the –pretty, –static, and –transient options.
To get the current locale, virtual console keymap and X11 layout, type:
To assign the en_GB.utf8 value to the locale, type:
# localectl set-locale LANG=en_GB.utf8
To assign the en_GB value to the virtual console keymap, type:
# localectl set-keymap en_GB
To assign the en_GB value to the X11 layout, type:
# localectl set-x11-keymap en_GB
To get the current date and time, type:
Local time: Fri 2014-01-24 22:34:05 CET
Universal time: Fri 2014-01-24 21:34:05 UTC
RTC time: Fri 2014-01-24 21:34:05
Timezone: Europe/Madrid (CET, +0100)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: no
Last DST change: DST ended at
Sun 2013-10-27 02:59:59 CEST
Sun 2013-10-27 02:00:00 CET
Next DST change: DST begins (the clock jumps one hour forward) at
Sun 2014-03-30 01:59:59 CET
Sun 2014-03-30 03:00:00 CEST
To set the current date, type:
# timedatectl set-time YYYY-MM-DD
To set the current time, type:
# timedatectl set-time HH:MM:SS
To get the list of time zones, type:
# timedatectl list-timezones
To change the time zone to America/New_York, type:
# timedatectl set-timezone America/New_York
To get the users’ list, type:
# loginctl list-users
To get the list of all current user sessions, type:
# loginctl list-sessions
SESSION UID USER SEAT
1 1000 tom seat0
1 sessions listed.
NOTE: Sorry for misleading title, There jo 32-Bit version available for CentOS 7!
Hello and welcome to the first CentOS-7 release. CentOS is an Enterprise-class Linux Distribution derived from sources freely provided to the public by Red Hat1.
CentOS conforms fully with Red Hat’s redistribution policy and aims to have full functional compatibility with the upstream product. CentOS mainly changes packages to remove Red Hat’s branding and artwork.
We have decided not to follow Red Hat’s usage of Installation Codes. All ‘channels’ are available to the System Administrator at time of installation.
For the first time, there is a supported upgrade path from CentOS-6 to CentOS-7. This path is only supported from the latest version of CentOS-6 (being 6.5 at the time of writing) to the latest version of CentOS-7. For more information on the upgrade procedure please take a look at this page. The tools needed for this functionality are still being tested and will be released at a later time. If you can help with the testing, please see this CentOS-Devel mailing list thread.
This post will contain links for Downloading Ubuntu 14.04 LTS Trusty Tahr Final.
Links of Final Version of Ubuntu 14.04 LTS Trusty Tahr is updated in this post.
I always Prefer New Releases of Ubuntu and Instantly Install it for Experience the New World of Ubuntu, Ubuntu is very fast to recognize and Fix the Bugs so even if you install it very early you will get bug fixes very quickly and that’s the reason I switch to Ubuntu from Fedora as Fedora is very Lazy in releases as well as Bug fixes and Even Resource Hungry too.
Once you download and use this Ubuntu 14.04 LTS Trusty Tahr then please do not forget to post comments on your experience.
Now Ubuntu 14.04 LTS Trusty Tahr is now available to download in Final.
Ubuntu 14.04 LTS Final ISO is available for Download in 32-Bit (i386 ) and X86_64 ( 64-Bit) Versions.
You can go through this link and Download Ubuntu 14.04 LTS Trusty Tahr Final :-