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)

-4
votes
2answers
4k views

how to install window 10 with CentOS

I have installed CentOS in my system. I am using this for long time. I have 3 drives on my system. First root computer Second for my data third is also for data I have some space in the first ...
1
vote
1answer
44 views

How to find and install specify package by command?

I know I am noob.... As far as I know, Linux can only install package from its Repository list. And there are plenty of repositories out there. After you have installed/updated the repository list, ...
0
votes
3answers
51 views

Start server remotely

I am trying to start my server remotely with this ssh root@xxx.xx.xx.xx /sbin/reboot And keep getting this back ssh: connect to host xxx.xx.xx.xx port 22: Operation timed out Why can't I start ...
1
vote
2answers
174 views

umask permission - where it works, where it doesn't - ftp vs scp

Src = SJOAM Dest = sjoam2 Connecting to a ftp server, get a file from it. On ftp server side. [oracle@SJOAM ~]$ ls -l total.zip -rwxrwxr-x. 1 oracle oinstall 412 Aug 8 09:03 total.zip On ...
4
votes
2answers
12k views

Using autofs to mount under each users' home directory

(crosspost from SF, where I wasn't getting much joy) I have a CentOS 6.2 box up and running and have configured autofs to automount Windows shares under a /mydomain folder, using various howtos on ...
1
vote
1answer
89 views

How can I safely send email over encrypted connection from the command line?

I found the following related questions on the stackexchange network: stackoverflow - Connecting to smtp.gmail.com via command line serverfault - Using nc.exe (NetCat) to send emails to secured SMTP ...
1
vote
1answer
534 views

how do I use nmcli to add an IP-address to an interface?

On a CentOS 7 virtual machine, I have an interface called ens7, as shown here: [root@localhost ~]# nmcli con show NAME UUID TYPE DEVICE ...
1
vote
3answers
2k views

How do I create a service for a shell script so I can start and stop it like a daemon?

I'm using CentOS 7 what my aim is to create a cron for every five seconds but as I researched we can use cron only for a minute so what I am doing now is I have created a shell file. hit.sh while ...
1
vote
1answer
441 views

New CentOS install login broken

I've just finished installing CentOS on a fresh disk. I did it in a slightly unconventional mannner - by running a complete yum install in a chroot from Debian. So I had a few problems getting grub ...
1
vote
0answers
74 views

CentOS Running process not responding to kill signals and not context switched

An updatedb process on my linux server is not responding to kill signals. (kill -9 or SIGSTOP) [root@chroot-1 ~]# ps auwx | grep -i 4505 root 4505 99.5 0.0 59544 1256 ? RN 09:43 112:...
2
votes
1answer
77 views

How to increase main partition size in a CentOS system over ssh?

I have this: ########################### # df -h Filesystem Size Used Avail Use% Mounted on /dev/root 20G 2.1G 17G 12% / devtmpfs 2.0G 0 2.0G 0% /dev tmpfs 2....
2
votes
1answer
248 views

Mounting a shared drive on CentOS

I am trying to mount a shared drive on my CentOS PC. However, when I run gvfs-mount smb://the.server.address/path_on_server I get the error Error mounting location: Failed to mount Windows share: ...
0
votes
1answer
33 views

How to take database backup and restore? And how can I view it?

I am using this commands to backup and restore my database mysqldump -u transgenic -p[ramesh] [transgenic] > transgenic.sql mysql -u transgenic -p[ramesh] [transgenic] < transgenic.sql I am ...
10
votes
1answer
25k views

Installing fail2ban on CentOS 7

I am using @GarethTheRed 's answer to this question to install fail2ban on a remote CentOS 7 server. I am able to complete all the steps up until tail -f /var/log/fail2ban.log, at which point I get ...
0
votes
0answers
126 views

CentOS 7 won't work with Dell Powerconnect stack with port channel

I have two stacked Dell N4000 series 10g ethernet powerconnects and a Centos 7 server that I'm trying to bond two 10g ports using LACP. I'm trying to setup LACP but I get no packet flow when I put my ...
1
vote
2answers
5k views

php-fpm error unable to bind listening socket for address '127.0.0.1:9003': Permission denied (13)

I've added a config file to /etc/php-fpm.d ; Start a new pool named 'joeri'. ; the variable $pool can we used in any directive and will be replaced by the ; pool name ('joeri' here) [joeri] ; Per ...
9
votes
1answer
155 views

How can I create an account with a copy of the same home folder?

I have a 'user1' account with the home folder set up. I'd like to create a 'user2' account with a copy of the same home folder setup. Is it possible to do this?
0
votes
0answers
62 views

Many IPs from different Subnets and Gateway to one machine

I use CentOS 7.1 and I have more then two IPs attached to one machine, which is on Cloud (KVM). The IPs are from different Subnets and Gateways. To work all I must delete all "ip route" saves, except ...
6
votes
1answer
2k views

Yum error while installing MongoDB on CentOS?

I am using Centos 6.6 (x86_64) Trying to install most stable mongodb version available. but I am stuck with this error (which might seem repeated but none of the previous answers worked for me) [root@...
2
votes
0answers
168 views

How do I ssh into a new virtual machine?

note by derobert: problem was resolved in chat, starting around http://chat.stackexchange.com/transcript/message/24666451#24666451 if someone wants to write up an answer. Turns out the bridge wasn't ...
0
votes
0answers
47 views

Trying to set up Amanda on CentOS 6.7 using USB-over-Network to connect to remote DAT72

I have an HP DAT72 USB tape drive connected to a Win workstation, and am running FabulaTech's USB over Network. I have a CentOS 6.7 VM running the Linux client for UoN. I can connect to the remote ...
2
votes
0answers
129 views

CentOS7 on VMware: How to reach Docker service from Host

I want to access the guests docker services via browser with IP:port/service. For example, I'm running a RabbitMQ, which I want to check. Unfortunately I get a ERR_CONNECTION_REFUSED, when trying to ...
4
votes
1answer
800 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
1
vote
2answers
3k views

How to start application after login on CentOS?

I am trying to start GUI application with upstart script on CentOS. I have test script located /etc/init/ folder. start on desktop-session-start stop on desktop-shutdown respawn script export ...
0
votes
0answers
87 views

Trying to understand CentOS - Out of date software?

First, please excuse my poor English, it's not my native language. I'm a user of CentOS 6 in a VPS and, after months of use, I still have some basic questions. For example, I use PostgreSQL version ...
0
votes
1answer
94 views

Problem adding iptables rule

I just installed OMSA and need to open up port 1311 to access the web tool. Here's iptables before: [root@mybox ~]# iptables -nvL --line-numbers Chain INPUT (policy ACCEPT 0 packets, 0 bytes) num ...
0
votes
0answers
74 views

CIFS more slowly on CentOS 7.1 than on CentOS 6.6

I've installed to clear system on ESXi First - CentOS 7.1 Second - CeontOS 6.7 Mount windows share with CIFS. Tried to copy share from windows to linux server. On CentOS 7.1 when i'm coping the file ...
3
votes
3answers
16k views

On Red Hat Enterprise Linux 6.2 how can I use Python 2.7 as default not Python 2.6? I did but still showing 2.6?

RHEL 6.2 I have python 2.6 but I need default python 2.7 using yum packaging (so that nothing goes messed up, cause its a heavy duty working system, all I need the python 2.7 on it, without messing up)...
2
votes
1answer
176 views

how do I create an appropriate drive for a libvirt virtual machine?

I am trying to use virt-install to create a CentOS 7 virtual machine in a CentOS 7 host. Towards that end, I have been reading the virt-install documentation at the RHEL web site, and I have also ...
1
vote
1answer
91 views

Finding file name/location of bash script running on server using PID

As a training exercise for the new company I work for, a buddy put a script on my webserver that displays ( ͡° ͜ʖ ͡°) on the top right hand corner of my CLI screen then shelled into the server. Using ...
0
votes
1answer
154 views

How do I enable an interface to listen to multicast?

I want to receive multicast traffic on the 239.0.0.0 network. The multicast traffic is sent on the same subnet as my CentOS 7 server. How do I enable my network interface to subscribe to the multicast ...
0
votes
3answers
388 views

Problem with removing rpm package

I'm trying to install one package on CentOS 6.7 yum install varnish but I'm getting that I have a package which doesn't belongs there (is for CentOS 7) ---> Package varnish.x86_64 0:4.1.0-1.el7 ...
4
votes
1answer
5k views

No networking for Centos under VirtualBox

Running an Ubuntu desktop server. I installed virtual box, then installed CentOS as a virtual machine. Centos is not starting the eth0 network adaptor. When I start it manually, I cannot connect ...
0
votes
0answers
37 views

how do I virt-install a guest from a dvd?

On a CentOS 7 host server, I would like to create a guest virtual machine with CentOS 7 as the guest operating system. I have a CentOS 7 installation DVD that was burned from an iso file in windows, ...
0
votes
1answer
440 views

How to remove package that is not install?

I was run this command. curl -sL https://rpm.nodesource.com/setup | bash - But I cannot install node.js or it is too old (0.xx while currently on website it is 4.xx) Now, I try to remove it using ...
1
vote
2answers
53 views

Bash Script: No such file or directory when defining variable via source vars.txt

I have a script that creates a hash of a file, writes it to vars.txt and then checks that variable next time the script is run to determine if the file has changed. Here is the script and vars.txt (...
1
vote
1answer
2k views

Where's rpmfusion? - CentOS7 as desktop/multimedia system

I am currently looking at Centos, because I am really getting fed up with having stuff changed or having to reinstall my system every 6 + 9 months or so, or running a system without any updates. Now ...
2
votes
1answer
4k views

Couldn't find postgresql.conf & pg_hba.conf files in my postgresql installation

Following all the instructions from UNIXMEN, installed postgresql-9.4 in CentOS 6.4. Everything went well, started the service and could access pgsql screen. But when I try to configure the phpPgAdmin,...
0
votes
1answer
62 views

How to create CentOS 7 USB disk on Windows 8? [duplicate]

How to create CentOS 7 x64 USB disk on Windows 8? this is my question.
1
vote
1answer
2k views

Intel 6300 wireless card won't work on CentOS 7 - worked during install though!

I installed centos 7 on a laptop with an intel 6300 wireless card in it. During the install, the wireless card was available and I was able to connect to my lan. After the install, I don't see the ...
41
votes
2answers
76k views

CentOS 6 “Default” Installation Options

Can someone tell me the difference between a Desktop Install, a Basic Server install, and a Minimal Install? During installation, it doesn't give a description and I can't find documentation on it ...
1
vote
0answers
297 views

CentOS 7 - Forcing a disk to be /dev/sda

I've been wrestling with this problem for awhile now, and I've hit a wall and need help. In my system, I have 1 drive connected to a SATA port, an SSD. CentOS 7 is installed to this disk. Also in ...
0
votes
0answers
175 views

Open port 1935 on CentOS 7

I am attempting to stream to port 1935 on CentOS 7. However, when I run the ffmpeg encoder to stream to the rtmp server on same machine I get Connection refused. I have added port 1935 to allow in ...
2
votes
0answers
172 views

Unable to mount secondary HDD on CentOS 6.7 (Must specify file system?)

I have a secondary HDD that worked fine in Ubuntu 13.04. I had mounted in to /media/user/<some UUID>/. I could read and write files without problem. My Ubuntu installation was on a primary SSD. ...
0
votes
1answer
1k views

service vboxdrv setup throwing error when installing VirtualBox on CentOS 7

I am trying to install VirtualBox 5.0 on a minimal (terminal only) CentOS 7 server, but I keep getting the following error when I type service vboxdrv setup: The service command supports only basic ...
0
votes
0answers
199 views

CentOS installation of new kernel

I have a remote Server with OVH where they have their customized kernel which is causing us a problem while installing our software using CentOS 5.10 While applying the procedure to install the ...
0
votes
1answer
114 views

CentOS and Stop Shell Script running on screen

I'm trying to automatize my system, sorry but I'm not very experienced on Linux distros, actually using CentOS 7. Every time I restart the machine I need to do: screen -S bun then on that screen I ...
5
votes
3answers
27k views

Run CentOS 6 from a USB flash drive

I have a 16 GB USB flash drive that I would like to install CentOS 6 on so that I can boot into it on other computers. The reason for this is because I am going to be upgrading to VPS hosting and I ...
0
votes
0answers
24 views

CentOS PV Guest's Process List Ports

I have created a Pv Guest in CentOS. I'm using libvmi in order to get the process-list of the Pv Guest. However, the process-list of the Pv Guest does not show the ports of it. The process list, lists ...
-1
votes
2answers
1k views

yum No package VirtualBox-5.0 available. on a MINIMAL installation of CentOS 7?

I have tried many tutorials that give explicit steps for installing VirtualBox on CentOS 7, but none of them go to completion without throwing errors. Some of the tutorials assume that you will ...