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
vote
1answer
55 views

Grab the load average with top

The command below is grabing only the first load average, I would like to grab all the 3 load average. How can I change this code? top -b -n 3 -d 1 | grep "load average" | tail -n 1 | awk '/load ...
1
vote
1answer
78 views

What does Requires: Python(package) do for RHEL spec files?

I'm packaging some Python packages currently without RPMs, and some of those depend on others that I'm packaging. While packaging I noticed a format where people do: Require: python(pkg-name), but ...
1
vote
1answer
48 views

CentOS - using PXE to install it on my host ( kickstart configuration )

I am trying to install an OS from our server through PXE ( Preboot Execution Environment ). However, on my host, I have two disks say A ( /dev/sda ) and B ( /dev/sdb ) The default installation path ...
1
vote
1answer
84 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 ...
1
vote
3answers
256 views

How to run bash script with dialog at startup Centos 7

I have a bash script using dialog which basically just checks the status of certain services and displays it as either up or down. It works fine when I run it while logged in. I can't seem to figure ...
1
vote
1answer
1k 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 ...
1
vote
1answer
2k views

How do I install iwconfig without yum?

I am using this tutorial to try to set up wireless on a new CentOS 7 installation that is not connected to the internet. However, when I type iwconfig into the terminal, it replies with -bash: ...
1
vote
1answer
142 views

rsync --delete did not remove file in destination while with ssh

On my RHEL6 pair of servers, I tested the rsync from server-1 to Server-2 with SSH. Everything was good as expected. However, when I moved a file under A directory, A/x.file to B/ of /home/user on ...
1
vote
1answer
793 views

How to make modprobe nf_conntrack_ftp persist a reboot on CentOS 7 and firewalld?

I'm stumped. I've seen the related questions about editing /etc/sysconfig/iptables-config, but I'm running CentOS 7 (and webmin/virtualmin), which uses firewalld instead of iptables. How do I get ...
1
vote
1answer
927 views

How to install/setup mutt with Gmail on CentOS and Ubuntu?

How to setup the email client Mutt to send, receive and read email under CentOS and Ubuntu using a Gmail account as a relay
1
vote
2answers
580 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 ...
1
vote
2answers
673 views

How to reset $PATH on CentOS 6.5

I had a server restart and since then I am no longer able to run any commands under SSH. Any command will just return something like: -bash: ls: command not found I realize my $PATH must have been ...
1
vote
1answer
157 views

Boot to different partition after restore of operating system

Let's say I have a server with one RAID with 3 partitions: P1 - 20G OS / programs P2 - 190G Data P3 - 20G unused If I ever need to roll back P1 to a previous state, and I've restored a past ...
1
vote
1answer
175 views

Really need to understand CENTOS fdisk -l output

I am running centos on a server and the HDD config for my server is 2 1 tb drives with 32 gb RAM. Now when I use fdisk -l command, i see the below output which is really not understandable. Could ...
1
vote
1answer
133 views

How to copy a installed library to a remote Linux host

I am a newbie on Linux and trying to host my Java project on a remote linux host(CentOS). My Project depends on some native libraries that needs to be existing in the host, and since it is a shared ...
1
vote
2answers
8k views

CentOS 7 update using “yum update” does not work

I have a VM running CentOS 7 that I have not used for a long time. Today I launched it and tried to update the CentOS system to the latest version using yum update, but I got a lot of errors: ...
1
vote
1answer
1k 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 ...
1
vote
1answer
2k views

Cannot install gcc on CentOs 6.6

I cannot install gcc on centOs because it cannot find some files, this is the last part of the console when I execute the "yum install gcc*": --> Processing Dependency: binutils-hppa64-linux-gnu ...
1
vote
1answer
337 views

oddjob_mkhomedir doesn't run when logging in via SSH with Kerberos

I currently have a server which has Kerberos/SSSD/Samba to authenticate to Windows 2012 AD. In /etc/pam.d/system-auth oddjob_mkhomedir is set as below: session optional ...
1
vote
1answer
714 views

Centos 7 Slow Resolve

After installing Centos 7, I noticed that DNS lookups for addresses saved in /etc/hosts take long time, here is example: time curl -X get http://localhost real 0m0.159s user 0m0.004s sys ...
1
vote
1answer
184 views

Can't push git updates & run Unix commands when connecting via SSH

I have installed java 8 on my bluehost VPS. I have followed http://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/ instructions . In order to add directories to PATH variable I have added ...
1
vote
2answers
2k views

CentOS 7 shell script interpretor

I am starting to write a shell script to be run in CentOS 7. Which interpreter should it call, and what should the shebang line look like? I tried this: #!/bin/sh But when I type cd /bin ...
1
vote
2answers
741 views

How can I bring up up a non-boot (ONBOOT=no) network interface with iproute2?

Have a network interface that does not come up on boot-up: [belminf@tito ~]$ grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-enp0s3 ONBOOT=no I know I could do the following for DHCP: ...
1
vote
2answers
424 views

why nginx holds file descriptions of logs?

on Red Hat Enterprise Linux Server release 6.6 (Santiago) nginx version: nginx/1.0.15 I use common nginx logrotate config, logrotate works fine and nginx creates new log file like access.log or ...
1
vote
2answers
4k views

Enable ssh host to guest & guest Internet on CentOS 7 guest with VirtualBox

I have 2 CentOS 7 guests running in VirtualBox on a Ubuntu host. I want to be able to: Connect using ssh from host to guest Download/install packages from the Internet on the guest. I currently ...
1
vote
2answers
485 views

What is the correct way to set up sw RAID1 so either drive boots?

I've set up a non-UEFI CentOS 6.6 "blank" install with /boot and / each in a separate RAID 1 (3 drives/1 spare). I removed one drive, rebooted, and let it sync to the spare. When I saw this was ...
1
vote
1answer
2k views

CentOS 7 - Cannot start OpenVPN Access Server

I have been trying to install the OpenVPN Access Server on my CentOS 7 VPS. However, I have been running into a number of problems. Initially, I had followed this DigitalOcean guide, but after I had ...
1
vote
1answer
85 views

Which unix / linux flavor should I learn looking at job opportunities in future? [closed]

I am a Computer Engineer and I want to start exploring the Unix & Linux environment. Which flavor of Unix and also Linux should I learn looking at a job opportunity in these two fields in future? ...
1
vote
1answer
315 views

Desktop gone after upgrade to Centos 6.6

I upgraded a local Centos VM from 6.5 to 6.6. After the update, no restart is needed and the desktop works. When I restart, I see the blue startup bar and CentOS 6.6 on the right side of it. When the ...
1
vote
1answer
507 views

multiple user-types/access-rules for OpenVPN on CentOS 7 and firewalld

How can I define separate roles for users and administrator in OpenVPN running on CentOS 7 server? Specifically, the users must only be allowed to https, while the administrator must be allowed to ...
1
vote
1answer
2k views

Initialization Sequence Completed, but terminal wont give a prompt

I just installed openvpn on a remote CentOS 7 server using the instructions in this tutorial. The only change I made to the tutorial was to use @GarethTheRed's instructions for configuring ...
1
vote
1answer
486 views

Centos, how to install “topicmodels” package on R?

I'm using a Linux CentOS release 6.6 on my laptop, and I've tried to install the "topicmodels" package into my R environment. So I used the install.packages("topicmodels") command but unfortunately ...
1
vote
2answers
732 views

Faillog command on CentOS7

Although EPEL7 has been installed, faillog seems not to be recognized: [vagrant@vm-one ~]$ faillog bash: faillog: command not found... None of the packages seem to contain the faillog command: ...
1
vote
1answer
1k views

Install SVN 1.8 on Centos 7

I've tried installing the newest version of SVN but nothing is working. On yum there is 1.7. When downloading rpm/zip error occurs when trying to configure. Setting some additional repositories ...
1
vote
2answers
103 views

downloading sshd logs from remote centos 7 server

When I log into a remote centos 7 server as root, I am able to see the sshd logs by typing journalctl _COMM=sshd in the terminal. But the logs are massive. How can I download all the logs into a ...
1
vote
2answers
384 views

Running ubuntu binary on CentOS with all shared libs installed results in ld SIGSEGV

I'm trying to get a binary compiled on Ubuntu to run on CentOS 7 (both 64bit, one host, the other vm). So far I've copied the binary with all the shared libs. I no longer get the missing library ...
1
vote
2answers
290 views

ifconfig command showing internal ip address

I'm using centOS 6.3 on virtualbox as guest OS on Win 7 host. My problem is when I use ifconfig command in terminal, I'm being thrown internal IP address(10.x.x.x). However, when I googled "my IP ...
1
vote
1answer
145 views

rkhunter reports /sbin/ip has changed

I am using rkhunter 1.4.2 on CentOS 6.5. A message, in /var/log/rkhunter.log is Warning: The file properties have changed: [09:40:35] File: /sbin/ip [09:40:35] Current size: 247396 ...
1
vote
1answer
1k views

CentOS 6 drbd is not available

In CentOS 6 (6.6), the drbd package is not available, neither from the extras repository. There is some information on the Net, like configure-drbd-centos-6-5, which I assume will work on CentOS ...
1
vote
1answer
3k views

Does all packages included in CentOS Everything ISO get installed along the base system?

The Everything ISO for CentOS is significantly bigger than the regular DVD ISO because it contains a lot more packages. Question: are these extra packages all installed automatically when I install ...
1
vote
1answer
143 views

Configuring Named DNS zones (Centos7), specifically CNAME

having trouble with some DNS configuration, I have managed to get part of the site working, however adding the prefix 'www', I'm finding a little tricky. Essentially, what I want is mysite.net -> ...
1
vote
1answer
2k views

How to expand an iSCSI lun with targetcli on CentOS7?

I have a CentOS 7 machine with iSCSI configured. see ls output from targetcli below. I want to add disk02 to lun0 so that to the iSCSI client can see a total 869.16GB instead of 392.2GB Question: Is ...
1
vote
1answer
259 views

Cannot use free space in filesystem

I want to install a program but it says that there is not enough free disk space more than 11 GB although there is. df -h shows: Filesystem Size Used Avail Use% Mounted on ...
1
vote
1answer
151 views

Keychain SSH Key Manager prevents SFTP login on CentOS

I installed keychain and added this to my .bashrc in CentOs to help manage my SSH Keys: /usr/bin/keychain --clear $HOME/.ssh/id_rsa source $HOME/.keychain/$HOSTNAME-sh So on SSH login I am prompted ...
1
vote
1answer
11k views

Error while loading shared libraries: libdl.so.2 (and others), no such file. Libraries exist

Attempting to install a Java application from a .bin file. When opening the installer from command line, I see these errors: [boxen]# ./ZendStudio-5_2_0.bin Preparing to install... Extracting the ...
1
vote
1answer
372 views

Install TFTP-Server without Internet

Due to some company policy, I cannot connect my Centos linux computer to the internet. However, I would like to set up a TFTP-Server, and I saw a tutorial that does this here. ...
1
vote
1answer
244 views

How do I remove login password for Centos6.5?

Question 1 On Centos 6.5, I have a username called admin. How can I make it so the system logs in automatically? Question 2 How can I configure system to login as root user when there are other ...
1
vote
3answers
26k views

How to create a bootable USB with Windows?

How would I go about creating a CentOS 7 bootable USB drive with Windows? I've read the howto page for it and it says that Unetbootin and Universal USB installer won't work for CentOS 7. In addition, ...
1
vote
1answer
3k views

PC Boots to grub> prompt after putting partition table entries in disk order

I am using Centos 6.5. I tried to get the disk space using fdisk -l | grep Disk What I got was Partition table entries are not in disk order I tried to fix the problem with the method outlined ...
1
vote
1answer
1k views

Unable to set partition type correctly using parted

I'm trying to create a bootable USB stick with FreeDos for BIOS updates in Centos 6.5, following instructions from: chtaube.de I created the empty 30MB img file using dd: [root@dumbledore ...