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
18 views

looking for a way to download a list of packages with yum

We are trying to setup a local repo that contains all the base packages. So to get started we need to download around 3500+ packages and save it in a folder that will be used as a Repo storage. We ...
0
votes
1answer
8 views

Where does Knoppix store the location of hard drives/

I've been looking on the web and through the few Knoppix books I have. I cannot see where to locate the hard drives for a CentOS server I've booted with Knoppix. I am booting the CentOS server with ...
0
votes
2answers
36 views

autofs 'failed to mount autofs path' as service but not manually (selinux)

I'm on CentOS 6.6 and I'm having a strange problem with autofs. I'm trying to mount an smb share on /var/www/html/mysite/docfolder, so I created a docfolder inside the mysite folder, ran chmod 777 on ...
1
vote
2answers
1k views

Apache Virtual Host Include Not Working

Attempting to get my domain to redirect to the associated vitual hosts, but the Include is not working as expected and displaying the proper htdocs directory. It is still displaying the default apache ...
1
vote
1answer
127 views

reliable way to give all read/write access recursively in CentOS 7

What is the most reliable way to give all users read/write privileges for a given directory and all of its subdirectories and files in CentOS 7? In an eclipse web application project that uses ...
1
vote
0answers
20 views

LVM volume inactive after reboot on CentOS

It seems like there are many people with similar problems, yet I've found nothing that could help me. I ask here in hopes that someone might have a good idea. I've reinstalled a linux server from ...
0
votes
1answer
36 views

Starting Tomcat Service when starts CenTOS/RHEL/Fedora

I want to install tomcat 8 and run it in startup time I following these tutorials: I created the tomcat user: # useradd -U -r -M -d /usr/local/ServerWeb/tomcat -s /sbin/nologin tomcat ...
1
vote
0answers
19 views

CentOs7 Python 3.4 Install Method

This post relates to this question where I was asked to explain how I installed python3 on my system. I was attempting to install python3 on my system for development purposes. Something went wrong ...
1
vote
1answer
36 views

CentOs 7 Python Issue “-bash: python: command not found”

I asked this at stackoverflow, but just realized it might be best here. If I need to delete it over there or should not have posted here, please let me know. I am still new to this site. Thanks in ...
0
votes
0answers
12 views

Implications creating System Accounts “useradd -r” Linux Fedora/RHEL/CentOS

I want to know what are the implications of create an account using -r option? # useradd -r ... The help says: -r, --system Create a system account. System users will be created with no aging ...
1
vote
1answer
4k views

SELinux Write access for vsftpd and samba

This should be easy enough I think, but I'm new to SELinux. I have a CentOS 6 file server. I have some LVM file systems at /var/media and I want to use both Samba and FTP to share them with a Windows ...
4
votes
3answers
14k views

How to create an unprivileged user in CentOS?

I want to create an unprivileged user to run my RhodeCode server and Celery daemon on a CentOS instance. I think the accepted definition of this is no home directory, login disabled, and no shell ...
1
vote
3answers
128 views

Force all network traffic go through default gateway

I have a machine that I want to force all traffic to go through the default gateway. Even traffic on the local network. I have made it to work by removing the auto generated route for this interface, ...
7
votes
2answers
79k views

Installing git “sudo: apt-get: command not found”

I am trying to install git. I run the following command: sudo apt-get install git-core git-gui git-doc But receive the following error: sudo: apt-get: command not found What should I do?
0
votes
0answers
23 views

Disabled root Access, how to use FTP

I removed the ability to login using 'root' to stop brute force attacks on my server, instead logging in as a regular user then 'su root' to the root if required. I need to use FileZilla to move, ...
0
votes
0answers
15 views

How to make a background service to capture commands and their output?

Is there anyway to make a background service capture all the commands executed by a user and also save the output in a text file?
0
votes
0answers
7 views

Centos Redhat Cluster LICI RUCCI

I have 3 systems [Normal Desktops College LAB] with 2 Network Interfaces each node1.test.com : Public IP : 10.10.10.2 Cluster Hearbeat: 192.168.1.2 node2.test.com : Public IP : 10.10.10.3 Cluster ...
-1
votes
0answers
25 views

How to mask IP address in linux Centos 6.6 [on hold]

I have a server IP address and one application is running. Now I am running that application by typing IP address and port number in browser. So that application will running. What do I need? Client ...
3
votes
4answers
23k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
0
votes
2answers
25 views

Upgrade Centos to 6.5 not 6.6?

We are running Cassandra, specifically Datastax's Enterprise version in our production CentOS environment. As such, I wanted to upgrade our machines from an older CentOS 6.3 version to 6.5, the ...
0
votes
1answer
20 views

Why is my CentOS 6 system doing IPv6 lookups?

I have a fairly recently installed CentOS 6.6 system. I have disabled IPv6 as best I can: IPV6INIT=no in ifcfg-[eth0|lo] net.ipv6.conf.all.disable_ipv6 = 1 in /etc/sysctl.conf ...
0
votes
1answer
16 views

rsyslog adding unwanted text to outbound log data

I'm using rsyslog to send access & error log data to a remote server. The interface is in place, but I'm getting an extra bit of text in the outbound log data that isn't included in ...
4
votes
2answers
2k views

What is the purpose of avahi on a RHEL 7 server?

Running a server machine with CentOS 7, I've noticed that the avahi service is running by default. I am kind of wondering what the purpose of it is. One thing it seems to do (in my environment) is ...
10
votes
4answers
29k views

Commands not found: netstat, nmap on CentOS 7

I'm using the following CentOS: $ cat /etc/centos-release CentOS Linux release 7.0.1406 (Core) The commands nmap, netstat and lsof are not found on CentOS7. Why? $ type -a nmap bash: type: nmap: ...
2
votes
0answers
90 views

“xrandr: Failed to get size of gamma for output default” for Guest CENTOS 6.6, HOST OS Windows 7 enterprise

I am getting the following errors: xrandr: Failed to get size of gamma for output default Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm ...
0
votes
1answer
24 views

centos firewall seems block dhcpv6 reply message

It's very strange that my CentOS cannot receive dhcpv6 reply message from dhcpv6 server. I have enabled the rule dhcpv6-client. Every time I try to bring up the interface, dhcpv6 request messages are ...
1
vote
1answer
648 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
28 views

Centos 7 with facebook php-sdk4 - Network is unreachable

I am not sure why I am getting this error. Sometimes, it works and sometimes I get this error in the error log: Exception: Failed to connect to 1a02:1234:f000:4:face:b00c:0:1: Network is unreachable ...
0
votes
1answer
24 views

I have just made a 2TB CentOS vm but the disk isn't available

ok yesterday I made a fresh VM with 2.0Tb of disk. when I do df -H this is what I get [root@datastore ~]# df -H Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_datastore ...
0
votes
2answers
17 views

CentOS future updates

We have been using CentOS as the OS for some of our linux servers for quite some time now. However, in a recent policy meeting, one of the colleagues said that there will be no more CentOS kernel ...
0
votes
1answer
10k views

enable apache mod rewrites to load clean-urls

In CentOS, a2enmod rewrite results in “command not found” but httpd -M lists rewrite module as listed and shared. I'm trying to enable it so can then have these rewrite rule apply so I can switch back ...
0
votes
1answer
812 views

setting up a relay port for postfix smtp on CentOS 7

A CentOS 7 server has postfix, dovecot, and mailx installed. I am able to make an IMAP connection to the server from my remote Thunderbird client running on my local devbox. But I am not able to ...
3
votes
1answer
566 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 ...
0
votes
1answer
4k views

How to remove Oracle Wallet using orapki?

Hi i'm on Centos using oracle 11g And i've created a wallet using : $ orapki wallet create -wallet /u01/app/oracle/admin/DB11G/wallet -pwd WalletPasswd123 -auto_login Now i want to remove it to ...
0
votes
4answers
4k views

How can I reinstall Network Manager after uninstalling it?

I am running a version of RHCE6 on my laptop, and lately I've been trying various stuff about network configuration through command line. Last night, I tried removing the NetworkManager using yum ...
5
votes
1answer
684 views

How can I make the eth1 up and always available for remote access, where eth0 will be used for host to host IPSec VPN?

I am running Amazon EC2 instance with Red hat enterprise linux, where I have two network interface. Now: eth0 is currently active having public ip where I am remotely logged in via SSH, to ...
7
votes
8answers
40k views

How to extend CentOS 5 partition on VMware?

I have a CentOS 5 virtual machine and I added 20GB more to disk size. How do I initialize and extend the available space? I'm new to Linux, so what should I do? I tried loading GParted as well, ...
1
vote
2answers
3k views

Installing Dovecot and Exim on CentOS 6.4

I've been looking for some guides on setting up a secure Dovecot and Exim mail server setup on CentOS 6.4, however it seems there's nothing out there. Does anyone know of any guides - or - if someone ...
0
votes
2answers
2k views

httpd error: Address already in use: AH00072

I have a server, CentOs 6.5 which were installed xampp by a friend of mine. But I thought it's best to install apache, php and mysql from yum. I have it removed simply by using this #rm -rf ...
2
votes
1answer
858 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 ...
16
votes
5answers
98k views

How to change hostname on centos 6.5?

Hi can't seem to change the hostname on my centos 6.5 host. I am following the instructions I found here: http://www.rackspace.com/knowledge_center/article/centos-hostname-change I set my /etc/hosts ...
2
votes
1answer
2k 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
1answer
942 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
0answers
23 views

how do I mount an external hard drive connected via SATA Wire to CentOS 7

I have CentOS 7 installed as a guest OS inside VirtualBox running on a Windows 8.1 machine. There is a SATA Wire connecting the machine to an external hard drive that used to contain a dual boot ...
0
votes
1answer
36 views

why are colors mixed up in CentOS 7 terminal?

I have CentOS 7 running as a guest OS inside a VirtualBox host. I opened a terminal to write some commands, but the colors are all messed up as shown in the following print screen: It looks ...
6
votes
5answers
20k views

How to solve “building the main Guest Additions module Failed”

I tried to install the VirtualBox Guest Additions module in a VM guest running CentOS but I get this error message when everything else was okay: building the main Guest Additions module Failed ...
1
vote
2answers
55 views

Creating Group and User for Tomcat RHEL/CentOS

I newbie I want to create an user for my Tomcat installation, but I was viewing multiple options: # groupadd tomcat # # useradd -g tomcat -d /usr/local/tomcat tomcat # useradd -g tomcat -c "Tomcat ...
3
votes
4answers
5k 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.
1
vote
1answer
103 views

Cannot start NFS in Centos 7

I can't start an NFS server in CentOS7. The packages downloaded: yum -y install nfs-utils yum -y install nfs-utils-lib Enable/start services systemctl enable/start rpcbind systemctl enable/start ...
0
votes
0answers
76 views

Nvidia nouveau driver problem on CentOS 6.6

I'm having problems using the nouveau driver for my Nvidia GeForce 9100. Xorg starts up and works fine, I am able to use everything, although in /var/log/Xorg.0.log I have: $ cat /var/log/Xorg.0.log ...