Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

learn more… | top users | synonyms (2)

-1
votes
1answer
16 views

How do I install manually a package instead using yum [duplicate]

My issue is simple, I have to install this lib: yum install libyaml-devel As I'm working for a company which has some stupid security rules, I can't install it using yum. I would like to know ...
2
votes
0answers
186 views

Why does my USB modem produce multiple /dev/ttyUSB* files?

I have a single Sierra Wireless USB 308 modem we are using for sending SMS message to, and receiving SMS messages from, customers. When this single device is plugged in, the system creates multiple ...
0
votes
0answers
25 views

Enable internet connection in CentOS 7 minimal version on Vagrant

I'm using Vagrant to run CentOS 7 box under Windows 7 and I can't connect to internet to install some packages. It's a minimal version of CentOS 7 so a lot of commands don't work. dhcpclient, ...
0
votes
0answers
39 views

no access to a shared windows 10 printer from centos 7

I have a Win 10 pro laptop on which I attached an USB printer; it works when I try to print from the laptop. I shared this printer, and I have a second laptop, from which I would like to print, it's ...
0
votes
1answer
42 views

What version of CentOS is equivalent to Red Hat 9.x?

I want to use CentOS. I was used to Red Hat 9.x but now I'd like to use CentOS. But I don't know what CentOS version is equivalent to Red Hat 9.x?
0
votes
1answer
3k views

CentOS 7 won't serve static https content, why not?

I just re-installed httpd and created a static index.html file. I have firewalld configured to allow internet access to the https service. But when I type https://my.server.ip in a web browser, the ...
1
vote
1answer
1k views

ffmpeg -acodec copy does not copy all audio stream to the new container

I wish i can find ffmpeg help here at stackexchange. I'd been re-encoding old videos to libx264 to save up some storage space, as I thought it should be working based on documentation seems failing to ...
3
votes
1answer
31 views

Update non active linux installation

We have several linux (Centos) live usb drives and I was wondering whether it was possible to just mount and update them from a linux desktop (running from a HDD) instead of booting and running yum on ...
1
vote
1answer
2k views

Starting Tomcat Service when starting CentOS/RHEL/Fedora

I want to install tomcat 8 and run it at startup time I am following these tutorials: Install Tomcat 7 on CentOS, RHEL, or Fedora How to install Tomcat 8 on a CentOS 6 VPS I created the tomcat ...
3
votes
0answers
2k views

How can I reset an unknown root password if a file system check interrupts the startup sequence?

This morning I was helping a fellow admin with a crash that occurred on a CentOS 5.8 VM. Earlier in the day, the underlying SAN hosting various VMs experienced an issue and ultimately caused some ...
3
votes
1answer
2k views

I opened a port with iptables but still doesnt work

I have a CentOS installation as a guest VM with VirtualBox. I have two ethernet interfaces, eth0 with NAT and DHCP, and eth1 with Host-only adaptor and static IP. I have oracle installed in this ...
4
votes
2answers
11k views

yum installs an old version of cmake

For some reason when I run yum to get cmake it will install an older version. Could it be because my repo list is not complete? I'm on CentOS 6 using a minimal desktop install from the non-net install ...
5
votes
4answers
38k views

Fix “firefox is already running” issue in Linux

I am trying to open Firefox in CentOS, but I'm getting the following message: Firefox is already running but is not responding and Firefox doesn't open. I tried this in command line: kill ...
5
votes
1answer
1k views

rc.local with read will not echo key strokes

I'm using CentOS 6.4 and have a small problem with using read in /etc/rc.local file. It will allow keyboard entry but does not echo any of the key strokes during input. This is something that worked ...
4
votes
2answers
788 views

How to get started with CentOS? [closed]

I've been working with Debian GNU/Linux for a long time and am very proficient with it. However for a new project I've got to got familiar with CentOS ASAP. So my Question is: How do I get started ...
5
votes
1answer
3k views

Differences between %pre and %post in Kickstart on CentOS?

I have been setting up machines with Kickstart on CentOS and I am unsure about the differences between the %pre and %post sections of the kickstart .cfg file. The CentOS Documentation for the ...
5
votes
3answers
10k views

How to install emacs using YUM without X11 libraries?

I have installed a minimal installation of CentOS 6.3 inside a VirtualBox VM. Now, I would like to install Emacs for use from the command line only. When I do a search for emacs using yum search ...
6
votes
4answers
10k views

Question about using pdflatex on RedHat in CentOS

I am a novice in using Linux systems. I was given an assignment of writing a document using LaTeX and converting the file into a pdf file to submit. So I tried using my CentOS to do so. The version ...
7
votes
1answer
6k views

CentOS 7 boots too fast and network is not ready when executing cron scripts

I have just upgraded from CentOS 6.5 to 7.0 and I am not too happy as the new systemd is probably giving me problems. It seems it is just simply booting too fast, starting up processes asynchronously ...
7
votes
2answers
26k views

How to add an item to the Applications menu?

How can I add an application to Applications > Internet in Gnome Desktop running on CentOS 6.4? Per this old Docs link, it suggests to edit /etc/xdg/menus/applications.menu. How can I add ...
8
votes
2answers
9k views

When exactly does tmpwatch clear out files I place in /tmp?

CentOS 6.x I'm confused on when exactly files I place in /tmp/ are deleted. /etc/cron.daily/tmpwatch has the following: #! /bin/sh flags=-umc /usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x ...
8
votes
2answers
2k views

Is it possible to create a directory and file inside /proc/sys?

I am running CentOS 6.2 and I need to create a subdirectory named "crypto" inside /proc/sys. Inside /proc/sys/crypto, I need to create a file named test which contains the value "1". I have tried ...
8
votes
2answers
62k views

Static IPv4 & IPv6 configuration on CentOS 6.2

I try to configure static IPv4 & IPv6 configuration on CentOS 6.2. The configuration below works perfectly : # ifconfig eth0 x.x.x.x/29 # route add defalt gw x.x.x.y # ip addr add dev eth0 ...
6
votes
2answers
38k views

How to install g++ 4.7.2 & c++11 on CentOS 5.x?

I'm trying to install the latest stable g++ and c++11. My host did it through yum install and thought that it was the latest, but it's not, and they are now saying that this is beyond their level of ...
1
vote
1answer
51 views

Custom OS Version-ing

I made a custom centos by following the link given below https://github.com/joyent/mi-centos-7 Now I want to add my own version to the ISO file so that it shows when we check it using the following ...
1
vote
1answer
4k views

Upgrading CentOS 6.7 to CentOS 7 on VMWare 11.0

I tried to upgrade(in-place) CentOS 6.7 to CentOS 7.0 on the various environments. I installed CentOS-6.7-x86_64-bin-DVD1.iso on VWware 11.0. And I followed the ...
0
votes
4answers
11k views

Centos 7: failed to bring up/down networking: configure interface for a trunk interface

The switch configured on the server (Centos 7) is configured as trunk for VLAN#115,2014. I have loaded # lsmod | grep 8021q # modprobe 8021q I would like to configure an IP address on the server ...
4
votes
2answers
6k views

Installing python modules for python2.6

On my CentOS 5.8 system (el5 , 64bit), I had python2.4 after OS install and I installed python2.6 now. Now I want to install python modules using yum. But whenever I install a new python module it ...
0
votes
1answer
881 views

OpenSSL 1.0.2.a and Centos5.7

I have an old version of Centos (5.7) and I would like to enable TLS 1.2 due to Google Chrome warning about TLS 1.0 I tried to update with yum but I can see that no OpenSSL 1.x could be installed ...
0
votes
0answers
53 views

Linux command “systemctl status” is not working inside a Docker container

The command "systemctl status" is not working. It never has. My container is on CentOS 7. When I issue "systemctl status" I get results "Failed to get D-Bus connection: operation not permitted." Path ...
2
votes
1answer
1k views

CLIENT wrappermode (port smtps/465) is unimplemented

I am getting the following error when I try to send email using a relayhost from a CentOS 7 server using postfix: Oct 19 19:53:08 localhost postfix/pickup[7174]: 64DAF1A53CB: uid=1002 ...
1
vote
1answer
113 views

Which process/daemon replaces netplugd in Centos 7.1?

I'm moving a piece of software from Ubuntu 12.04 to Centos 7.1. Part of the original installation script runs dpkg -i netplug_1.2.9.1-2ubuntu1_amd64.deb. I can't install a ubuntu deb on Centos, nor ...
0
votes
0answers
141 views

How do I add a Redis Cluster to a Pacemaker CentOS 7 Cluster?

I need to set up a CentOS 7 web server cluster that is able to manage user sessions while also load balancing across the nodes in the cluster. Towards this end, I have transcribed instructions from ...
1
vote
1answer
128 views

How do I get a service on a remote CentOS 7 server to persist after I log out?

I am experimenting with running Spring Boot apps on a remote CentOS 7 web server which has been successfully serving up apps on Apache and a stand-alone tomcat instance since day one. However, when I ...
0
votes
0answers
49 views

Centos 7 persistent static routes for any interface

I am trying to set up some static routes in a CentOS 7 box. The official RHEL says it is possible to add files in /etc/sysconfig/network-scripts/route-interface. This approach works, however I need ...
0
votes
0answers
72 views

stop while booting giving error of Genetrating “/run/initramfs/rdsosreport.txt”

I am getting following error while booting my centos 7 machine Generating "/run/initramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. ...
3
votes
2answers
282 views

Kdump.service FAILED centOS 7

I'm having CentOS 7 64 installed on my desktop. After recent system update, I am getting below error while booting the CentOS 7. Some time system is able to boot and I can work on it. but it gives ...
2
votes
2answers
225 views

Why is yum trying to install the wrong version of node.js?

On a CentOS 7 server, I am trying to install version 5.x of Node.js, but for some reason, yum keeps trying to install version 0.x and returning an error when it cannot find version 0.x at the 5.x ...
0
votes
0answers
101 views

Where in CentOS 7 should I install Ruby?

I am installing Ruby and rbenv on a CentOS 7 by following the instructions in this tutorial, with modifications. One of the recommended lines of code is cd followed by git clone commands. I assume ...
0
votes
0answers
30 views

autofs asks password for passwordless samba share on Centos 7

I have a samba share that does not require password. Here are non-default lines in my smb.conf: [global] map to guest = Bad User [distr-ro] path = /home/distr public = yes ...
0
votes
1answer
33 views

I have installed rpm where does it installation log save in centos/redhat 6

I have installed rpm where does it installation log save in centos 6. I mean which file stores the logs for installation and removal of rpm and when we rum command rpm -qa --last from which file it ...
1
vote
0answers
35 views

How add configure to add default gateway from different subnet?

I am working in a host in LAN segment of 192.168.148.X with subnet mask 255.255.255.0. The LAN should be configured to use 192.168.128.1 as default gateway. What I normally do is to issue following ...
0
votes
0answers
26 views

Squid Proxy using two nics CentOS 7.2

Objective: OS: CentOS 7.2 NIC01: eth0 - WAN - (10.1.1.0) NIC02: eth1 - LAN - (10.1.2.0) Box1: Squid/iptables server (Has the two nics) Box2: Workstation (On Lan) I am trying to filter all ...
4
votes
1answer
1k views

initramfs / UUID problems after cloning

So I just cloned a Centos7 "everything install" VM to a physical disk using VMWare Workstation and Clonezilla using the instructions here: ...
1
vote
1answer
1k views

How to use i3 on CentOS 7 with Gnome?

I have a CentOS 7 with Gnome running on my machine. Now I want to use i3 as the window manager. I managed to install i3 but I don't know how to make CentOS 7 use i3 now. I tried to edit .xinitrc like ...
0
votes
0answers
17 views

CentOS7 Livecd login loop after Dracut update to 033-360

I am trying to edit the official CentOS7 livecd build 1406 and after updating Dracut to 033-360 (due to being an nfs-utils dependency) from the original 033-161 I am stuck in a login loop. Further ...
0
votes
0answers
8 views

mongodb php driver not working on centos [migrated]

I'm trying to setup a Mongo driver for PHP on CentOS server (centos-release-7-2.1511 x 86_64). These are the manuals I tried on CentOS: manual1 and manual2. Everything works fine on localhost but ...
0
votes
0answers
13 views

FTP Over SSL not accessible from outside network

We have setup an FTP server over SSL with configuration using vsftpd as below (/etc/vsftpd/vsftpd.conf): pam_service_name=vsftpd local_enable=YES write_enable=YES local_umask=022 anonymous_enable=NO ...
0
votes
1answer
61 views

CentOS: yum update Cannot find a valid baseurl for repo

I am trying to do yum update but I'm getting the following error. I have exported http_proxy & https_proxy Have added proxy settings in /etc/yum.conf like: proxy=http://10.44.208.10:8080 ...
0
votes
0answers
33 views

How do I get a yum repo to work in a Docker container?

What do I do about two Docker containers on separate VMs that have the same IP address on my network? I have two CentOS 7.x servers. Both have exactly one Docker container. When I use ifconfig, the ...