rhel Questions
2
I am using this WatchService example from Oracle:
import java.nio.file.*;
import static java.nio.file.StandardWatchEventKinds.*;
import static java.nio.file.LinkOption.*;
import java.nio.file.attr...
Caesaria asked 25/8, 2016 at 14:15
6
Solved
I'm writing an init script which is supposed to execute a single command as a user different than root. This is how I'm doing it currently:
sudo -u username command
This generally works as expect...
2
I read in an article that the redhat takes the kernel from kernel.org for their releases and make some changes according to their requirement in that kernel and then they embeds that kernel in thei...
Demars asked 24/12, 2016 at 16:27
1
I have the following user crontab entry on a RHEL 6 machine (sensitive values have been replaced):
[email protected]
0 5 * * * ~/bin/app_state.sh host-arg 9200 > ~/state/app-state-$(...
1
I am using docker swarm to deploy an on-premise third party application. The machine I am deploying on is running RHEL 7.6 and has two network interfaces. The users will interact with the applicati...
Inductive asked 8/7, 2019 at 14:34
4
Solved
I have a RHEL 5 system with a fresh new hard drive I just dedicated to the MySQL server. To get things started, I used "mysqldump --host otherhost -A | mysql", even though I noticed the manpage nev...
4
I had to install mysql 8.0 because previous version were crashing.
Now I'm struggling with setting root password. The default empty password doesn't work, I've tried root, mysql as passwords but th...
2
I am trying to query a variable from a Microsoft SQL Server database using R/RODBC. RODBC is truncating the character string at 8000 characters.
Original code: truncates at 255 characters (as per...
Beadruby asked 29/5, 2017 at 20:14
1
I'm trying to use Matplotlib on RHEL using a pyenv installed version of python 3.6.5. (installed using the following command)
→ pyenv install 3.6.5
Installing Python-3.6.5...
python-build: use re...
15
I recognize that Up/Down will give you the command history. But, how do you look at past output by scrolling up and down?
I have used Shift+Page Up/Page Down, Alt+Shift+Up/Down and Page Up/P...
5
Solved
1
Solved
I followed RHEL7: Configure a LDAP directory service for user connection to configure openldap on CentOS Linux release 7.
First I create the /etc/openldap/changes.ldif file and paste the con...
1
I have a nightly build that builds a source tree with several compilers/options. I'm using buildbot on centos 6, though I doubt that buildbot has any relation to the problem.
Sometimes the build fa...
Meridel asked 6/4, 2018 at 15:55
1
Solved
I am currently having an issue where my script is failing when trying to execute the dos2unix command on a file.
This is what I have in the script:
dos2unix -n data/file data/tmp_file
dos2unix: B...
1
I'm trying to build a Docker image based on oracle/database:11.2.0.2-xe (which is based on Oracle Linux based on RHEL) and want to change the system locale in this image (using some RUN command ins...
3
On RHEL 7.2 OS, I get following error when trying to run nc commnad
nc -z -v -w1 host port
nc: invalid option -- 'z'
Ncat: Try `--help' or man(1) ncat for more information, usage options and help....
4
I'm trying installing Erlang on my REHL7.2, but unfortunately I failed. I tried two approaches
First I tried downloading a RPM package from official site of erlang (in fact the rpm package is for...
3
I installed MariaDB on CentOS 7 but I had some problems with some configuration, now it is completely misconfigured.
Thus, I wanted to remove the MariaDB with “yum remove mariadb mariadb-server”,...
2
Solved
I want to use gdb to debug python script. After starting gdb, it outputs:
[root@localhost scripts]# gdb python
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-51.el7
Copyright (C) 2013 Free Software...
1
I know this question has been asked for many times while I still get stuck with it.
I have reviewed all answers previously asked like
version `CXXABI_1.3.8' not found (required by ...)
How to...
3
I have both python2.6 and python2.7 installed in my CentOS box. python2.6 is installed at /usr/bin/python and i have installed python2.7 from source at location /usr/local/bin/python
after the ins...
11
Solved
Can someone provide the steps needed to install python version 2.7 on SUSE and RedHat? It version that is on there is like 2.4 and I need to have it at at least 2.6 to make my script work.
So after...
3
Solved
I'm new to docker so I might be doing this wrong, but I'm trying to install Tomcat6 through a Dockerfile which like this:
FROM rhel7:latest
RUN cd /tmp
RUN "wget", "http://www.us.apa...
Cown asked 7/8, 2015 at 10:56
4
Solved
When I try to start Cassandra after patching my OS, I get this error:
Exception (java.lang.AbstractMethodError) encountered during startup: org.apache.cassandra.utils.JMXServerUtils$Exporter.expor...
4
I need these 2 packages installed on RHEL 6 linux system.
They are required by several other programs.
When I do:
sudo yum install glibc-devel
this is output:
Loaded plugins: product-id, secu...
Repp asked 31/8, 2015 at 17:29
© 2022 - 2024 — McMap. All rights reserved.