Saturday, March 24, 2018

Application Installation using RPM Utility



RPM (Red Hat Package Manager) is an default open source and most popular package management utility for Red Hat based systems like (RHELCentOS and Fedora).
The tool allows system administrators and users to installupdateuninstallqueryverify and manage system software packages in Unix/Linux operating systems.
This utility only works with packages that built on .rpm format.
Install an RPM Package
For installing an rpm software package, use the following command with -i option.
#rpm –ivh PackageName
RPM command and options
-i: install a package
-v: verbose for a nicer display
-h: print hash marks as the package archive is unpacked.

For example, to install an rpm package called pidgin-2.7.9-5.el6.2.i686.rpm


Remove a RPM Package.

To un-install an RPM package,  use -e (erase) option.
#rpm -e PackageName
for package name nx-3.5.0-2.el6.centos.i686.rpm.
[root@Packages] rpm -e nx-3.5.0-2.el6.centos.i686.rpm




Saturday, March 10, 2018

Change Network Configuration in Graphical Mode



If we are using RHEL/CentOS with GUI then we can easily configure IP address graphically.

goto Applications-> System Tools-> Settings

click on the settings icon (on bottom right corner.)

configuring ip address 
configuring ip addressAfter the IP information has been edited, click on apply & exit from the menu.


At last restart Network services
[root@hostname~]# service network restart

To verify the IP address issue the following command,
[root@hostname~]# ifconfig


Other GUI method-can use nmtui tool for change IP Address in GUI mode.

Change Hostname in GUI Mode


nmtui tool

NetworkManager tool is used to set the static hostname in /etc/hostname file.

Except this also can change Network configuration details in GUI mode.

Set Hostname

  • Open terminal
  • Type nmtui command
  • select "Set system Hostname"
  •  

  • Type Hostname & click on ok

  • Restart the hostnamed to force the hostnamectl for change permanent hostname.
  • For verify Hostname type command hostname.