New answers tagged redhat
1
vote
What to set $DISPLAY environment variable to when su to another user
You need to configure X11 authentication MIT-MAGIC-COOKIE.
You can use xauth to configure it:
xauth list $DISPLAY # To list X11 cookies
sudo -iu oracle
# Import the cookies one by one
xauth add laptop....
0
votes
Accepted
AH02565: Certificate and private key from <cert> and <private key> do not match
For whatever reason, it works after I rename the cert and key and move them both to another directory up one level. I'm not sure why since the file contents, owner of the file, and file permissions ...
1
vote
Oracle Linux 8 to 9 in place upgrade with Leapp fails with XFS internal log size 8192 too large, must be less than 4789
Check if you have sufficient disk space in /boot/. The partition must have at least 250 MB of disk space to accommodate the installation.
https://docs.oracle.com/en/operating-systems/oracle-linux/9/...
0
votes
http_code 0 with Redhat php curl request
setsebool -P httpd_can_network_connect on
This worked. It opened up permissions for PHP. The full answer is here: https://stackoverflow.com/questions/69201308/curl-not-working-from-web-browser-on-red-...
1
vote
sed + delete all comment lines and when line match specific word
The syntax you search for is:
sed '/data/d ; /^[[:blank:]]*#/d' /etc/fstab
The semicolon separate two commands.
If you want to have logical AND between two conditions you can use awk command (have no ...
0
votes
NGINX reverse proxy not working as expected
I've used a similar configuration but with a specifically configured isolated bridge network; AND nginx as a docker container. Then you don't need https in an isolated bridge network - as it's all ...
1
vote
Accepted
ProFTPd : SFTP "get" command is denied (when "put" works ok)
The RETR (and READ also) command have to be added in the "/" section, not only in the "/ou" section. So with correction it looks like this :
# Directory limits
<Global>
&...
Top 50 recent answers are included
Related Tags
redhat × 3283linux × 1252
centos × 488
yum × 264
apache-2.2 × 149
rhel6 × 143
rhel7 × 140
rpm × 130
networking × 128
ssh × 106
rhel5 × 82
mysql × 79
php × 78
kickstart × 75
ldap × 72
lvm × 71
iptables × 66
ubuntu × 65
kernel × 62
bash × 57
selinux × 57
linux-networking × 53
active-directory × 52
installation × 52
kvm-virtualization × 50