2
votes
Accepted
How do you find packages and dependencies?
Trying to figure out how to even find where repos exist for yum installations.
Usually, you stick with Red Hat's repos, and EPEL (which you can enable by installing epel-release). Maybe even ...
2
votes
Looking to add or append terms in multiple lines using sed command
sed '/User1/s/$/ User2/' file
Would append User2 to lines that contain User1 but note that these lines also contain User1:
ControlUser1.5: alice joe
foo: User12
bar: OtherUser1
So it should ...
1
vote
Need a method for managing systemd services across multiple hosts
systemd cannot manage services running on multiple hosts. You do have some other options.
Pacemaker + corosync
Pacemaker is a tool for managing resources across a cluster. It can do some of what you ...
1
vote
Accepted
Red Hat 8 - Decoding firewalld rejects
Not all that cryptic if you have a minimal understanding of tcp/ip networking.
Sep 13 10:03:07 localhost kernel: FINAL_REJECT: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:11:11:b0:3a:6e:08:00 SRC=10.2.3.87 ...
1
vote
Problem: The operation would result in removing the following protected packages: sudo
The sudo package requires libldap.so.2 (for /usr/libexec/sudo/sudoers.so, the default plugin), and libldap.so.2 is provided by the openldap package; so no, you can’t remove openldap.
1
vote
Accepted
How to get rid of quotes around bash arguments stored in array?
There is no quote in those array elements:
bash-5.1$ DNF_OPTS=('--disableplugin=subscription-manager' '--disablerepo=*' '--enablerepo=a,b,c')
bash-5.1$ typeset -p DNF_OPTS
declare -a DNF_OPTS=([0]=&...
1
vote
Symbol lookup error for List::Util Perl module after RHEL7 to RHEL8 upgrade
On a RHEL 8.9 system, after a fresh install of dnf install perl:
# perl -MList::Util -e 'print "$List::Util::VERSION\n";'
1.49
RHEL 8 includes version 1.49 of List::Util, packaged as perl-...
1
vote
learning about physical volumes and logical volumes
The physical disk now has 135GB (or exactly 133.4GB) but the physical volume or pv still has 98GB because the added space isn't a part of it.
First, install growpart if you haven't already.
yum ...
1
vote
How to run a systemctl command without sudo?
To do it without sudo, you would need to set up a polkit rule.
The default rules can be found at /usr/share/polkit-1/rules.d/. You can read them for examples, but your own custom rules should go to /...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
rhel × 4153linux × 984
centos × 434
yum × 357
rpm × 224
bash × 162
networking × 151
ssh × 120
kernel × 119
fedora × 113
shell-script × 108
systemd × 98
software-installation × 96
lvm × 91
repository × 84
permissions × 83
package-management × 83
filesystems × 82
mount × 81
python × 67
boot × 64
sudo × 64
nfs × 64
apache-httpd × 63
ubuntu × 60