All Questions
1,611
questions
-3
votes
1
answer
774
views
No GRUB option to boot CentOS
There is only "System Setup" boot option in CentOS 8 Stream GRUB.
I was using Dual Boot Windows 10 and CentOS Stream 8. I don't know what is problem. This happened since I booted into ...
-1
votes
1
answer
29
views
Is Fusion free-evaluation license valid only on one system?
I'd like to evaluate CentOS 7 and 8 with VMware Fusion on Macbooks.
Is the 30 days license good only for one machine, or could I use the same license on multiple machines?
0
votes
1
answer
662
views
centos7 crash when systemctl start docker successed
[phenomenon]
1、I enter the command systemctl start docker from centos7, the centos7 crashed after docker successfully started.(It's reproducible)
2、Docker used to be available until I ran 3 ZooKeeper. ...
3
votes
1
answer
671
views
Linux: only allow outgoing connections to specific domains
I have a CentOS server and only want to allow outgoing connections to specific domains. (allowlist) My thought was to have a DNS proxy which adds the allowed ips (only ipv4 needed) to nftable named ...
0
votes
1
answer
206
views
How can i set new user home root path without permission of getting path 'backwards' on Centos 7
I created a new user "newuser2" as below with /home as a root but this user can still browse "backwards" into the system.
adduser --home /home/newuser2 newuser2
How can i allow ...
0
votes
1
answer
173
views
How to Create a Custom Passwd script - LINUX
We have a Centos 7 machine whereby we need to add a lot of NoLogin passwd entries such as:
username:!!:1010:1001:1stName LastName:/home/username/:/sbin/nologin
We have a CSV list of the new users in ...
0
votes
1
answer
6k
views
How can I correctly install visual studio code on CentOS 7?
There are two approaches that I have tried to install visual studio code on my CentOS 7 system. Both have failed.
Approach 1 - Following official instructions (install via package manager)
The ...
0
votes
1
answer
2k
views
CentOS 7 custom routes with 2 NIC's
I have two interfaces o my CentOS 7:
ens192 - 10.70.87.200/24
ens224 - 192.168.11.200/24
tcp/22 has to be listening only on ens192
I want all internet traffic but a few networks do be going out via ...
0
votes
0
answers
25
views
Use internet from interconnected VM?
I have two centos VMs on the same network. One has an internet connection while the other does not.
Can I use the internet on not connected VM through the one which is connected?
I want to connect to ...
0
votes
1
answer
1k
views
is it possible to install old version of gcc compiler, even i already have other version's, on CentOS Linux
i installed CentOS6 for some reasons, and want to compile documents written by c++ and fortran. i found i gotta change gcc version due to some errors related by using current gcc-gfortran compiler.
...
0
votes
0
answers
902
views
RTMP protocol not working with ffmpeg on CentOS 8.4
I'm struggling with ffmpeg working with RTMP/RTMPS protocol on CentOS 8.4. It is working fine on CentOS 7 and Debian, just the latest release of CentOS is having issues. Am i doing something wrong?
...
1
vote
0
answers
1k
views
CentOS 8 on Hyper-v - cannot establish internet connection
I am having problems with configuring internet connection for CentOS VM hosted on Hyper-V
Initially I installed OS with 1 internal network card. Configured it and now I am able to communicate between ...
1
vote
1
answer
574
views
sssd only authenticates against first domain in domains list unless domain specified in login
I am currently moving from using pam_krb5 to pam_sss as pam_krb5 is no longer available at CentOS/RHEL 8
We currently use two AD domains each with unique user names. In the old pam configuration we ...
0
votes
1
answer
388
views
Remove content from /var/lib/yum/plugins/local in Centos
The /var/lib/yum/plugins/local folder seems to store installed rpm packages:
$ ls /var/lib/yum/plugins/local
389-ds-base-1.2.11.15-95.el6_9.x86_64.rpm
389-ds-base-devel-1.2.11.15-95.el6_9.i686.rpm
......
1
vote
1
answer
623
views
Way to monitor progress of RAID10 rebuilding disks, when RAID does not show in /proc/mdstat?
I have an inactive RAID 10, and the output of mdadm --assemble --scan -v |& tail -17 is:
mdadm: /dev/sdn1 is identified as a member of /dev/md/10, slot 5.
mdadm: /dev/sdk1 is identified as a ...
0
votes
0
answers
127
views
Cannot receive IP from router bridge
I have a "router" that is basically a computer with 4 network ports and Linux Centos installed that I will be calling Centos-Router from now on.
My operator cable router is configured with ...
1
vote
0
answers
184
views
Detect public IP address from within Linux Azure VM
I have created a Linux VM (Centos 8) on Azure cloud, with public IP (SKU Standard, Static).
I expect that this IP address to be discoverable within the Linux VM.
[admin@my-vm ~]$ ip a
1: lo: <...
1
vote
1
answer
3k
views
Metadata file does not match checksum after yum install
I'm trying to install elasticsearch using YUM repo on centos.
I configured the yum repo as described here :
https://www.elastic.co/guide/en/beats/filebeat/current/setup-repositories.html
but after the ...
0
votes
1
answer
2k
views
How to resolve usr/bin/sudo must be owned by uid 0 - chown root su cannot be used
usr/bin/sudo must be owned by uid 0 .
How can this be fixed I am very new to Linux.
Does not allow me to access Super User or Root - though I am the only user. Permission also denied for- chown***
...
0
votes
1
answer
607
views
Install OpenDR in CentOS 7 for native Python 3 (not Anaconda Python)
The following command didn't work. Could you please guide me on how to fix it?
$ pip install opendr
Collecting opendr
Downloading opendr-0.78.tar.gz (581 kB)
|████████████████████████████████| ...
0
votes
0
answers
273
views
How to view or record user's active time in Linux server
I'm a server admin for a university, and we have 4 CentOS servers that students can use for their projects in various classes. The CS professors have asked me to come up with a way to track a user's ...
0
votes
1
answer
663
views
ssh gives 'Permission Denied' on valid username/password credentials (ssh set to accept password log in)
I have a strange issue on a CentOS 7 machine.
If I login from the console, as two different usernames, I'm able to log in.
However, when I try that same username/password combinations, I get ...
0
votes
1
answer
7k
views
How to enlarge home directory on CentOS 7
I have an issue with the storage of my virtual machine which is running on CentOS 7. I'd like to enlarge the home directory which is currently completely used but there is clearly free space on the ...
0
votes
1
answer
529
views
CentOS - /sys/class/leds/ description
How do i get informations about the files/entrys of /sys/class/leds/?
I have a "kana" input/led there, and wonder what it is/does.
[root@server ~]# ll /sys/class/leds/
insgesamt 0
lrwxrwxrwx ...
1
vote
0
answers
632
views
How to set quota per directory/sub-directory in LInux
At the moment I use Oracle VM on a local environment, but the final intention is to utilize it in the server.
Filesystem type is xfs and the OS of VM is Ubuntu but if needed I can install any other ...
-2
votes
1
answer
1k
views
Getting an error when attempting to install Homebrew on CentOS 7: “Error: Unknown command: shellenv”
I am trying to install brew on CentOS 7 and get the following error:
[jalal@goku ~]$ git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
Cloning into '/home/grad3/jalal/.linuxbrew/...
0
votes
1
answer
315
views
Accesing 2 different websites with SSL (https) and one single static IP from provider
Situation: 2 dedicated LAMP servers (CentOS + Ubuntu), one static IP Address, one router.
First server internal IP : 192.168.0.60 - Web hosting server
Ports forwarded in router configuration: 21, 22, ...
0
votes
0
answers
95
views
ssh a CentOS machine installed in VMWare in different machine
I have installed a Centos7 in VMWare WorkStation in my wife's laptop and we can use putty to login in to the machine and access it from my wife's laptop.
I am trying to access the CentOs7 from putty ...
2
votes
1
answer
436
views
Create new SSH user and give him permission to an existing directory
Im trying to create new user called svecias and give him permission to connect via SFTP only to existing directory and deeper (/usr/share/nginx/itsupply).
Currently directory is owned by nginx in ...
0
votes
0
answers
43
views
Linux create a new user that shares everything of another user
A little background first, since I know this question seems very random.
I am using vagrant to help orchestrate a RedHat virtual machine. Vagrant is great in just about every way, however it forces ...