As part of system admin activities, we need to install, remove and update the system packages. Most of the Linux distros have package manager utility.
Here i have listed some linux distros and its package manager.
Redhat/Centos/Oracle linux - yum (Yellow-Dog Updater Modified)
Fedora - yum / DNF (Dandified YUM)
opensuse - zypper
ubuntu/debian - apt / dpkg /synaptic
Arch...
Wednesday, August 14, 2019
Yum commands with examples for RPM package Management
Kalaiselvan Nachimuthu
Wednesday, August 14, 2019
0
Wednesday, June 5, 2019
Yum failed with Errno 256 No more mirrors to try - Solved
Kalaiselvan Nachimuthu
Wednesday, June 05, 2019
0
Situation:
Yum is failed with Errno 256, No more mirrors to try.
root@testserver# yum list available | grep erna
https://rhn.test.com/pulp/repos/shared/lce-lcs_6month_rhel7/ccv-lcs_6month_rhel7/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.
xml: [Errno 14] curl#58 - "SSL peer rejected your certificate as expired."
Trying other mirror.
One of the configured repositories failed (Red Hat Enterprise...
Sunday, December 9, 2018
How to setup and configure Network Teaming on RHEL 7 server
Kalaiselvan Nachimuthu
Sunday, December 09, 2018
0
Here we are using nmcli to configure the network teaming.
nmtui : Text user Interface
nmcli : Command line Interface
Teaming type : loadbalance
Interface : team0, eth0, eth2
teamd package should be installed on server.
We can see the previous network configuration setup by using nmcli command.
root@nsk# nmcli con show
NAME UUID ...
Thursday, November 8, 2018
Extend the cluster file system by extending the existing netapp storage lun in RHEL server
Kalaiselvan Nachimuthu
Thursday, November 08, 2018
0
If storage team extended the existing LUN instead of creating new LUN, below steps need to follow.
Run multipath -ll command and search the device info which is mapped to the LUN.
root@nsk# multipath -ll | grep -A 6 -i 3600a09634224747a367d4b55357c4f87
3600a09634224747a367d4b55357c4f87 dm-6 NETAPP,LUN C-Mode
size=400G features='4 queue_if_no_path pg_init_retries 50 retain_attached_hw_handle' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=50 status=active
...
Monday, October 15, 2018
How to generate sosreport in different directory instead of default directory
Kalaiselvan Nachimuthu
Monday, October 15, 2018
0
Sosreport is a tool that collects configuration details, system information, diagnostic information and system logs from Linux server. Sosreport generates an archive report from the running system. The archive may be stored locally or centrally for recording or tracking purposes.
Normally sosreport will be saved under /tmp (RHEL6) /var/tmp (RHEL7) directory on linux server. Some time we need to save the sosreport to some other temporary directory...
Friday, October 5, 2018
Digging audit log with ausearch tool in RHEL 7
Kalaiselvan Nachimuthu
Friday, October 05, 2018
0
ausearch is a tool to search audit daemon logs based upon the events based on different search criteria.
Audit system stores log entries in the /var/log/audit/audit.log file; if log rotation is enabled, rotated audit.log files are stored in the same directory.
Each event consists of three records, which share the same time stamp. Each record consists of several name=value pairs separated by a white space or a comma.
type=SYSCALL msg=audit(1510471123.129:36):...