All Questions
Tagged with configuration centos
65
questions
4
votes
1
answer
5k
views
When exactly do the scripts in /etc/profile.d get executed?
I got some trouble in order to understand how profile.d works. As far as I know, the scripts get executed whenever a user logs in. Currently, I'm running CentOS 6.10 on my Server and got the following ...
0
votes
0
answers
256
views
Warning on yum update
I'm using centos 7, and when I want to run yum update console showing me below warning :
Configuration file /etc/yum/pluginconf.d/getpagespeed.conf not found
Unable to find configuration file for ...
0
votes
0
answers
1k
views
Installing GCC4.8.5 on CentOS8 using GCC8.5
I am trying to install GCC4.8.5 under CentOS 8 using GCC 8.5. Here's what I did
Get the compiler and its dependencies
wget ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.gz
tar zxf gcc-4.8.5.tar.gz
...
0
votes
2
answers
656
views
Best practice to isolate OS and packages per use case
I would like the following setup (Ubuntu, CentOS, but willing to use any modern distro)
OS is self contained (OS is OS, not the mess of OS+DB+Apache+etc + hundreds of libraries only one application ...
1
vote
1
answer
1k
views
How to install and run MongoDB on CentOS 7?
I am trying to install and run a MongoDB server on CentOS 7 machine. The CentOS 7 machine is in my university campus and I am accessing it from my home over ssh through VPN.
I have followed every step ...
1
vote
0
answers
785
views
rsyslog only forwarding to remote server with logger -n and rsyslogd -n
Having an issue with forwarding rsyslog to a remote server and I can't quite pin it down.
I don't think anything is wrong with my rsyslog.conf, seen below. I basically just added the line to forward ...
1
vote
2
answers
1k
views
Is there a way to change network interface without rebooting the operating system AND disconnecting the network?
I understand that in order to change the espn0 to eth0 without rebooting, I could do the following with script:
#!/bin/bash
ip link set espn0 down
ip link set espn0 name eth0
ip link set eth0 up
It ...
1
vote
1
answer
1k
views
CentOS 8 Mingw Compile Error with cc1plus
I recently setup a fresh install of CentOS 8 to use the Mingw Compiler for C++ (I believe it's removed from CentOS 7).
Everything was installed as follows
yum -y groupinstall "Development Tools&...
0
votes
1
answer
1k
views
Installing bench error: Command 'sudo yum install' returned non-zero exit status 1
I tried this locally on Ubuntu no problem, but perhaps I'm missing dependencies?
[nsaunders@rolly bench]$
[nsaunders@rolly bench]$ sudo dnf groupinstall "Development Tools"
Last metadata ...
1
vote
1
answer
1k
views
Prevent "yum remove package" from deleting/renaming config files
I have created a RPM package and it is uploaded to my local yum repository. When I (or future user) install + edit config files of the package and then remove the package (yum remove <package>) ...
1
vote
2
answers
723
views
Recommended ulimit values for Centos7
Trying to configure PHP to perform a core dump, I executed the following:
[root@myserver ~]# echo '/tmp/core-%e.%p' > /proc/sys/kernel/core_pattern
[root@myserver ~]# echo 0 > /proc/sys/kernel/...
-1
votes
3
answers
1k
views
Start from scratch LDAP server CentOS
I am trying to set up a LDAP authentication server but I have messed too much with it, and I would like to start from scratch its configuration without reinstalling the OS because I have other stuff ...
1
vote
1
answer
1k
views
CentOS loses internet connection
I have configured CentOS VM, with NetworkManager disabled.
Question:
When I start VM I have access to the internet, but after a while I lose it.
How can I fix that?
2
votes
1
answer
5k
views
How to configure/connect to Wi-Fi with minimal CentOS installation? [closed]
I've installed a minimal installation of CentOS 7, meaning no GUI, on my Dell XPS 15 9560 laptop.
uname -r returns 3.10.0-862.11.6.el7.x86_64.
The laptop does not have an Ethernet card, but it does ...
1
vote
1
answer
7k
views
NIC can not detect CentOS VMware
I have secondary network adapter on my VM (VMnet 10). I am running Centos 7. Now, I can't detect my second NIC. Here are my configurations:
I know that my secondary adapter is ens37 depending on my ...