CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

0
votes
1answer
11 views

how big should the /boot directory be in a CentOS 7 server?

I am installing CentOS 7 in a 200GB partition of a 2TB hard drive whose other partitions will later become managed by this master CentOS 7 installation. How big should the boot mount installation be? ...
1
vote
1answer
3k views

Alternatives not working well for Java installation on Centos 6.4

I am trying to installing on Centos java from Oracle. Following are my steps. yum install /usr/local/jdk-7u3-linux-x64.rpm alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java ...
3
votes
0answers
19 views

How to shrink root filesystem without booting a livecd

I find myself needing to rearrange a system's partitions to move data previously under the root filesystem into dedicated mount points. The volumes are all in LVM, so this is relatively easy: create ...
3
votes
1answer
961 views

ioctl: invalid argument for HDIO_GET_IDENTITY

I wrote a program to get the details of hard disk drive using HDIO_ ioctl calls. For writing program, I'm referring Documentation/ioctl/hdio.txt in kernel source(2.6.32). Here is my main part of ...
1
vote
1answer
15 views

Enabling FIPS on a luks encrypted CentOS system breaks boot password

For one of my apps I need to enable FIPS for OpenSSL, while simultaneously using software disk encryption. VM #1 I launched a CentOS VM instance which was software encrypted during install. The ...
0
votes
2answers
13 views

Extract the spec file out of an RPM

I have an RPM that I built. And I am looking to figure out how to extract the Spec file out of it. I have tried: rpm --scripts -qp sampleBuild.rpm That didn't work. Does anyone know the proper ...
0
votes
0answers
12 views

Checking service log

So, I know that knowdays we can use journalctl -u SERVICE.service to check the logs of a service started using systemctl. The thing is that I got a machine with "old" (centos 6) linux and I wanted to ...
2
votes
4answers
3k views

How to configure SELinux to print date and time in each entry in audit log?

I'm using CentOS 5.5 and by default my /var/log/audit/audit.log looks like this: type=USER_AUTH msg=audit(1331897657.359:8435): user pid=15610 uid=0 auid=4294967295 ...
1
vote
0answers
27 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 ...
1
vote
2answers
22 views

No option of creating new file in centos 7 gui [duplicate]

I have recently installed centos 7 and was trying to create a new file through right click and selecting create a new file option as I have done in centos 6 but there is no option of create new file ...
0
votes
0answers
3 views

build memcached source on centos6.4 64bit fails

I'd like to build memcached from source on centos 6.4 x86_64 but only get following error. checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu ...
1
vote
0answers
12 views

RedHat cluster with rgmanager or pacemaker as resource manager on Oracle VirtualBox

I'm learning RedHat cluster and I have setup a 3 node cluster (Centos 6.7), corosync, cman and rgmanager on Oracle VirtualBox version 5.x. The cluster is working fine (the clustat commmand shows that ...
0
votes
0answers
17 views

replacing windows 8.1 with CentOS 7

A new computer came pre-installed with Windows 8.1. It is an Acer Aspire T desktop. I would like to completely erase windows 8.1 forever from the machine, and replace it with CentOS 7. How can I ...
1
vote
1answer
22 views

How to connect from one VM Guest instance to another to another VM Guest instance

I have Windows 7 as my Host OS and I have a VM guest instance of CentOs 6, now I have created a more Instance guest Centos 6 via Vagrant. All are working fine and I am able to do a ssh/ping from ...
0
votes
1answer
21 views

Installing Octave Dependencies on CentOS 6 using yum

I am trying to install Octave 4.0.0 (from source) locally in my home directory on a CentOS 6 cluster. This is a rather extensive install (see list of dependencies). I have several issues : From ...
0
votes
0answers
26 views

Partition resize in CentOS 7

I have a RAID 6 array set up under CentOS 7 which originally had four 1TB drives assigned, resulting in a total capacity of 2TB. After much fussing about as described here, I was able to add a fifth ...
1
vote
0answers
17 views

Maintain 32 and 64 bits version of rpm

let me explain this a little bit, I am in charge of update part of our company product from 32 to 64 bits. At the end, we should have a 64bits kernel + 32bits applications + some 64bits ...
1
vote
1answer
17 views

NFS + SFTP on the same directory - are there any pitfalls?

I currently have an SFTP (actually vsftpd) server I use for regular archives. The OS is Centos 7.0. While I used to use SFTP, I still could benefit from having an NFS connection to this server (rw). ...
0
votes
0answers
17 views

Strange Copy/Paste issue into Virtual Box

When I copy a command from Evernote on the Mac host into the CentOS (also tried Fedora and openSUSE) VM the command will not work. If I type in the same exact thing manually it will work. This ...
0
votes
1answer
32 views

Error becoming root centos

I'm getting the following error when I'm trying to become root -bash-4.1$ sudo su - Could not open a connection to your authentication agent. * Error: Problem adding; giving up I have tried eval ...
0
votes
0answers
7 views

Installing foreman 1.9 configuration help

I can't seem to find the answer that I am looking for so any help here would be hugely appreciated. I am doing a POC with foreman 1.9 on a CentOS7 server. Our infrastructure as it stands right now as ...
5
votes
4answers
25k views

What are the settings to correct vsftpd “500 OOPS: cannot change directory” error?

My question is what settings do I need to change and/or commands to run to allow me to log into my vsftpd system? I am getting this error, when I login using ftp instead of sftp: Name ...
1
vote
2answers
59 views

Trying to install a cluster, DHCP failing to start

Trying to install a linux cluster using this tutorial. I am running CentOS 6.3. When I try to start DHCP with service dhcpd start, it fails. I've used tail -f /var/log/messages and dhcpd -t, but I ...
1
vote
2answers
44 views

How do fast Convert a .xls (MS Excel) file to .csv

How will do fast covert excel to csv. I had tried with php, perl, JavaScript. but it will take too much time. i.e for 5MB file it will take 3-5 mints
0
votes
0answers
294 views

Keyboard doesn't working in boot menu on VirtualBox

I've just trying use CentOS 6.5 LiveCD on VirtualBox but all my attempts fail. When the system starts I see "Automatic boot in 10 sec ..." - if I do nothing, the message disappears after 10 seconds ...
0
votes
1answer
1k 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
34 views

Why am I limited to ~10-20 usb devices?

I am trying to hook up 27 USB device to an Intel NUC running CentOS 7 but no matter what I do the system can never see more than 20. I have tried multiple models of NUCs and even tried adding an ...
3
votes
4answers
6k views

Slow start of Midnight Commander on CentOS

Is there any way to prevent mc from taking 10-30 seconds to open? Never seen this with Debian.
3
votes
0answers
40 views

Dual Boot Configuration with SSD and HDD

I'm very new to Linux. I have been using Windows/Mac during my whole life, but now I have decided to use Linux. So I'm trying to configure a dual boot system with Windows 10 and CentOS 7. I already ...
0
votes
0answers
9 views

Adding existing data to SVN server-side repository

I have a CentOS 7-based SVN server. Is there a way to create a repository over existing data? The server is based in /home/server. I need this folder to become an SVN repository, so my friends and I ...
0
votes
0answers
20 views

CentOS 7 installation falls back to text-mode on Parallels Server Mac VM

Every time I am trying to install CentOS 7 in Parallels Server Mac, the installation wizard falls back to text-mode. I am getting this error: X startup failed, falling back to text mode ...
3
votes
2answers
44 views

What is the problem of giving the right to use sudo vim? [on hold]

I'm using Mac OX 10.10. I would like to know what problems are caused by this: user ALL=(ALL) /usr/bin/vim /etc/httpd/confs/httpd.conf I think this is in /etc/sudoers. I also have Cent OS. Does this ...
2
votes
1answer
3k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
0
votes
0answers
35 views

Adding CentOS 7 to Active Directory

I am having a hard time adding a CentOS 7 machine to my domain (Active Directory 2012 running in Windows 2008 mode). I am using realmd to join the machine to the domain. Here is what I have checked so ...
0
votes
1answer
908 views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
9
votes
1answer
141 views

Why does oot say “hey” in usleep -o?

On a Centos 6.6 box I noticed this... [root@abcd /]# usleep --help Usage: usleep [microseconds] -v, --version Display the version of this program, and exit -o, --oot oot says hey! ...
1
vote
1answer
697 views

Need to install VirtualBox Guest Additions 4.3.8 in CentOS 6.3

My host system is OSX 10.9.2 and I'm running VirtualBox 4.3.8. In a Hadoop class I took recently, we were provided with a VM disk image preloaded with CentOS 6.3 and a lot of Hadoop-related ...
0
votes
1answer
17 views

Set persistent static routes for 4 interfaces on 2 CentOS 7.1 servers

I am tasked to set up two test servers running CentOS 7.1 (Minimal install; the NetworkManager is disabled on both), and have run into a set of issues that I would like to get help here. The ...
1
vote
1answer
22 views

Can't install fail2ban on Centos 7.1

I am trying to install fail2ban on my centos 7.1 server I did: yum install epel-release yum install fail2ban But i am getting some error messages: yum install epel-release Package ...
0
votes
2answers
968 views

How to configure Centos 7 firewallD to allow docker containers free access to the host's network ports?

I have docker installed on CentOS 7 and I am running firewallD. From inside my container, going to the host (default 172.17.42.1) With firewall on container# nc -v 172.17.42.1 4243 nc: connect to ...
5
votes
3answers
2k views

Can't open syntax.vim error when using vimrc

When I try to open my .bashrc file. then it shows these lines: Errordetected while processing /etc/vimrc: line 45: E848: Can't open file /usr/share/vim/vim70/syntax/syntax.vim Press ENTER or type ...
0
votes
0answers
16 views

Can't install additional debug infos in the CentOS 6.7

I am attempting to debug coredump of the some application on the latest CentOS 6.7 and gdb gives me hints that some debug infos are missing, for example: Missing separate debuginfo for ...
0
votes
1answer
16 views

how to install claws-mail rpm package?

I want to install claws-mail into my centos7 with three different methods,all of them fails. method1:intall directly [root@localhost ~]# yum install claws-email Loaded plugins: fastestmirror, ...
0
votes
0answers
17 views

/var/run/docker.sock: permission denied

I tried to run this docker image which load inside another image. However, I run into /var/run/docker.sock: permission denied on CentOS 6.6 and docker 1.7.1 which I reported here. Which linux ...
15
votes
2answers
24k views

How to install dig on CentOS 6?

I can't find the dig command on my new CentOS 6 installation. I've tried yum install dig but it say it cannot find the package. How do I install dig on CentOS 6?
2
votes
2answers
38 views

automating CentOS 7 configuration using shell scripts

I notice I spend a lot of time using tutorials to manually configure a CentOS 7 server. How can I convert the manual steps from a tutorial into an automated shell script that can be used to configure ...
2
votes
1answer
3k views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
4
votes
0answers
23 views

Change eth settings before udev loads

I have a custom version of CENTOS that I'm importing into Hyper-V on a Windows Server. Whenever I import it however, the mac addresses of eth1 and eth2 are now different. So they get incremented to ...
0
votes
1answer
41 views

How to start my network in centos7?

I have edited the /etc/sysconfig/network-scripts/ifcfg-enpos2 : BOOTPROTO="static" IPADDR=192.168.1.105 NETMASK=255.255.255.0 NM_CONTROLLED=no I can't surf the web When to reboot,how to start my ...
0
votes
2answers
34 views

How to configure Apache init scripts, after compiling and installing the sources?

I installed Apache using this script https://gist.github.com/Benedikt1992/e88c2114fee15422a4eb The system is a freshly installed CentOS 6.7 minimal system. After installation I can find the apache ...