Skip to main content

All Questions

Tagged with
0 votes
3 answers
86 views

Can't Execute Scripts with ./ [closed]

At my workplace we usually executed scripts in our linux servers with the following syntax: ./<whatever absolute path to script>/<script> And this would normally execute the script, ...
KrOo Pine's user avatar
  • 111
-1 votes
1 answer
61 views

Why does ls show this file twice with different sizes?

Why is 50-redhat.conf listed twice with different file sizes for this directory with this ls: ls -la /etc/ssh/ssh* -rw-r--r--. 1 root root 1921 Aug 2 02:58 /etc/ssh/ssh_config -rw-------. 1 ...
iletras's user avatar
  • 442
1 vote
1 answer
884 views

RHEL - keeping a specific kernel version, possible?

I was looking to keep a specific kernel version on my machine. To prevent it from being overridden or removed without having to grow or up the # of kernels the system keeps as my only solution as ...
linuxscrub's user avatar
1 vote
1 answer
752 views

Locale settings for RHEL 7/8

In RHEL7/8 I know we control the locale setting using localctl command and which updates the /etc/locale.conf file. Ex : # localectl set-locale LANG=ja_JP.utf8 # localectl set-keymap jp106 # ...
user984993's user avatar
0 votes
1 answer
8k views

VNC server fails to start with an error vncserver: couldn't find "/usr/bin/vncpasswd

I had installed tigervnc for my RHEL 7. After that I forgot the password when was trying to connect via VNC viewer, so I uninstalled the package and removed the /usr/bin/vncpasswd file along with it. ...
citywatch's user avatar
4 votes
1 answer
2k views

How do you uninstall a package that you manually cloned from git

I want to uninstall tmux on my machine. My tmux version is: tmux next-3.4 and which tmux gives me: /usr/local/bin/tmux I tried to uninstall it with sudo yum remove tmux, and I get: Updating ...
Dhanvin Kodiatar's user avatar
1 vote
2 answers
3k views

How can I apply a new `podman` config with the least impact on the system?

After overriding some configurations of /usr/share/containers/containers.conf in /etc/containers/containers.conf - e. g. log_size_max = 10485760, what is the official method to apply this new ...
stackprotector's user avatar
1 vote
0 answers
105 views

How to access a variable in a file from a Linux Service file

I have a Red hat 7 Service file(.service) and i need to access some data in a file, i used to access data from a pom file but now i have to access a conf file, a file that's key and value. Example: ...
chuni's user avatar
  • 23
0 votes
1 answer
454 views

RHEL 6 conf.modules.d not existing

I want to change the SSO of my application and need a httpd server for authentication via Keycloack. Now the problem is that when I install the httpd I don't have the conf.modules.d directory, which ...
user431918's user avatar
2 votes
2 answers
4k views

How to split logs into monthly, daily and hourly folders when bringing in syslog events?

I am bringing in log files via rsyslog and my config looks like the following: root@rhel:/etc/rsyslog.d# head mail_prod_logs.conf if $fromhost-ip=="10.10.10.10" and $programname=="AMP_Logs" then -/...
sectechguy's user avatar
0 votes
1 answer
347 views

How to edit my config file to create two log files while ingesting syslog events?

I am sending mail message logs and amp logs from the same server 10.10.10.10 via syslog to my RHEL7 server. I am running rsyslog and have the following config file: mail_logs.conf $template ...
sectechguy's user avatar
0 votes
1 answer
911 views

Red Hat Configuration of Tomcat 8 - ${JAVA_OPTS} keyword not recognized

I'm trying to configure tomcat8 on Red Hat Enterprise Linux 7. I get the configuration file from a Debian version (that I have set up), which is: [...] JAVA_OPTS='-Djava.awt.headless=true' JAVA_OPTS=...
Bastian Nanchen's user avatar
0 votes
1 answer
494 views

Configuring xterm without access to xrdb on Red Hat 6.10

To give some context, I try to configure an environment in which I just arrived. The targeted development environment is confined on a remote Red Hat 6.10 system, only accessible through putty on a ...
psychoslave's user avatar
1 vote
1 answer
10k views

What is BROWSER_ONLY option in ifcfg-* network configuration files?

In my RHEL 7 minimal installation with Virtualization profile I found that interfaces configured with network manager(s) contain BROWSER_ONLY=no option, which is always set to no by default. Server is ...
yahol's user avatar
  • 178
3 votes
1 answer
12k views

How does hostname resolution / lookup happen in Linux? [closed]

I am new to Linux and need to know how the nslookup command resolves hostnames. What are the configuration files that are used by the nslookup command? I need to know the exhaustive list of files ...
novice_developer's user avatar

15 30 50 per page