CentOS stands for Community ENTerprise Operating System, the most popular Linux distribution for web servers with almost 30% of all servers using it. Third-party software is not included in the base.

learn more… | top users | synonyms

4
votes
2answers
980 views

How do I install the latest gcc 4.7.0 on centos 6.2?

[root@localhost dyliu]# yum list gcc Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: centos.mirrors.tds.net * extras: ...
3
votes
2answers
1k views

CentOS connect to the internet

I installed CentOS, but it didn't automatically connect to the internet. Is that the normal behavior? I have Ethernet Broadband Router DI-604 and WebStar DPX2203 series Cablemodem with EMTA . What ...
2
votes
2answers
53 views

Which package contains the `most` command

I feel extremely dumb for asking this, but: On CentOS, which package should I install to have the most command (a really nice pager)? A google search turns up way too many irrelevant results. A ...
2
votes
2answers
1k views

iredmail httpd default redirecting to domain.com/mail - how to stop

I have iRedmail installed on my server, it installed apache with it, when pointing to my domain name, it redirects to mydomain.com/mail - which I would like to prevent. The default index.html file had ...
2
votes
2answers
4k views

How to access shared folder between CentOS 6 and WinXP under vmware player 4

Based on Sharing Files between CentOS 6 and Windows Systems with Samba I am able to follow until section of "Accessing Samba Shares". however, my system is WinXP and I don't see CentOS 6 icon at all. ...
1
vote
2answers
78 views

Restarting process in CentOS if server restarts

I have a VPS with some Java applications (made with "Play Framework") running on ports 9000, 9001, 9002 and 9003. VPS Provider (iPage) happens to reboot servers unexpectedly from time to time, leaving ...
1
vote
2answers
50 views

Windows VM is resetting file permissions on CentOS host

I have a CentOS host machine with a Windows 7 virtual machine in VMware. There is a shared drive on the host machine (NFS share with other machines on the network) which has been configured with ACLs ...
1
vote
2answers
591 views

Ansible on CentOS 6.5 throws OSError: [Errno 2] No such file or directory

My Ansible install on CentOS 6.5 throws OSError: [Errno 2] No such file or directory [batandwa@localhost ansible]$ ansible-playbook -i hosts main.yml -v [WARNING]: The version of gmp you have ...
1
vote
2answers
131 views

bzgrep -H pattern file.bz2 gives no filename, but “standard input”

I thought -H always should print filename before matched line. this is true for grep, but not for bzgrep: $ grep -H pattern file1 file1: data pattern data $ bzgrep -H pattern file2.bz2 (standard ...
1
vote
2answers
890 views

CentOS liveCD bootup failure

The failure is like this: Kernel panic - not syncing: Attempted to kill init! Pid: 1, comm: init Not tainted 2.6.32-279.5.1.el6.x86_64 #1 Call Trace: [] ? panic+0xa0/0x168 [] ? do_exit+0x862/0x870 [] ...
1
vote
2answers
51 views

Using 2 drives as 1 centOS

I have a dedicated server that has 2 SSD at 120GB each I want to make 1 partition for the whole server and have those 2 drives work like 1 so I basically have 240GB, How do I do this? If it helps you ...
1
vote
2answers
7k views

Version `GLIBCXX_3.4.15' not found in CentOS (in file /usr/lib/libstdc++.so.6)

I try to use a program and I get the following error. /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found Under /usr/lib64 the libstdc++ I see is libstdc++.so.6.0.13 (and a soft link). ...
1
vote
2answers
93 views

Can I add a CentOS 6 yum repo on a server that runs CentOS 5?

I have a LAN of servers where only one server (server A) has access to networks outside of the LAN. In order for any of these servers to perform a yum install, there is a yum repository set up on ...
0
votes
2answers
12 views

Why does systemd process stop as soon as it starts for foreman server process?

I am trying to export a simple Ruby app using foreman. Based on its usage for systemd, I appear to be doing things correctly. However, when I start the target/service, I get status messages along the ...
0
votes
2answers
9 views

Accessing a CentOS 7 server running on VirtualBox from outside

Is it possible to access my Apache server from outside the VirtualBox on Google Chrome browser on my host computer? Its running on CentOS 7 on VirtualBox. I have tried connecting to the ip address of ...
0
votes
2answers
86 views

Update-rc.d equivalent on CentOS

I'm trying to get rid of a nasty rootkit on a centOS machine, and I need to remove the starttup scripts from various rcX.d files : The command I'm looking for is an equivalent of the debian: ...
0
votes
2answers
88 views

Add a file to /etc/yum.repos.d to install Oracle JDK 1.6.0-45 from yum?

I have a fresh RedHat 6.5 virtual machine on Amazon Web Services (EC2), its repos look like this currently: [root@ip-172-31-11-112 tmp]# ls -1 /etc/yum.repos.d/ redhat-rhui-client-config.repo ...
0
votes
2answers
176 views

CentOS. Set environment variable permanently

I used a following commmand in SSH terminal on my server: export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib and it works fine: my program finds all libraries at this point (if I launch it from my ...
0
votes
2answers
620 views

Desktop not starting after Centos upgrade

I upgraded a server from centos 6.5 (with gnome2) to 7 using the update manager. The problem is that I am not able to see the login screen or the desktop. However the mouse pointer is visible. I ...
0
votes
2answers
100 views

Install devtools on CentOS without root permission

I would like to install devtools on a cluster that runs CentOS 5.4 (to get a higher version of gcc than the default one. I need gcc>4.7 to use some C++11 features) However I don't have root ...
0
votes
2answers
914 views

CentOS 7 and OpenSuSE 13.1 (so far) can't see NTFS partitions during installation

The title is rather self explanatory, but here some more details. I'm currently running my machine with Windows XP x64 (read Windows Server 2003) and I was planning to install CentOS 7 on the same ...
0
votes
2answers
93 views

CentOS 6.5 PHP extensions

I need to enable php extensions like PDO and GD but I can't find a section with all the PHP extensions enabled inside /etc/php.ini, so in which file is this defined? EDIT: using PHP Version 5.5.14 or ...
0
votes
2answers
54 views

Why can't I create a soft link in Oracle VirtualBox from my Macbook Pro?

I have setup a VirtualBox (version 4.3.12) running on my MacBook Pro (OS X 10.9). This VirtualBox is running CentOS 6.5. I can successfully SSH from the Macbook to the CentOS VM by doing ssh ...
0
votes
2answers
62 views

Empty /var/log after running cron bash script

I wrote a little bash script and all of a sudden my /var/log folder is completely empty except for the log I created for the bash script. This is the script I'm running every hour with cron: ...
0
votes
2answers
230 views

Configure Java 7 Firefox Plugin on 64-Bit Cent OS

I configured Java on my Cent OS 64-bit machine by running the following command yum install java-1.7.0-openjdk.x86_64 But I cannot find the "libnpjp2.so" file as mentioned here: ...
0
votes
2answers
36 views

VMWare Player keeps ignoring boot DVD on boot

I have a restored clone Centos VM that needs to have it's initrd remade to boot properly. To do this I need to boot from the centos DVD. It has worked in the past but now will not. I have set the VM ...
0
votes
2answers
277 views

Unable to connect with SSH externally

I have a CentOS vm at work where I can SSH to it locally with it's local IP address, but when I am outside the office, I'm unable to SSH using it's external IP address. It is using OpenSSH. I have a ...
0
votes
2answers
849 views

Mount a HDD CentOS 6

I'm trying to mount a drive connected to my dedicated server. It is running off a SSD boot drive and I want to mount and be able to access my HDD. [root@server1mc /]# mount /dev/sdb1 /hdd1 mount: ...
0
votes
2answers
257 views

Delay in FTP when transferring to a network storage

I'm having trouble with an FTP server, the FTP server is running on CentOS. The FTP server being used is VSftpd 2.0.5 ( I believe this is the default server that was installed with CentOS ). Prior to ...
0
votes
2answers
251 views

Can I use different server IP address in NTP time synchronization?

By default, it is something like, server 0.rhel.pool.ntp.org server 1.rhel.pool.ntp.org server 2.rhel.pool.ntp.org Can I choose my server IP address for synchronizing time?
0
votes
2answers
112 views

Using a VirtualBox guest as a filestore for a physical network

I've got a CentOS host with a CentOS guest (both 6.5). On my guest I've installed and setup Samba, and given it a fixed ip of 192.168.1.2 (my host is 192.168.1.1 / my router is 192.168.1.254). From ...
0
votes
2answers
1k views

Accessing CentOS installation

I use an SSD as my boot device, and I have a HDD that I use for data. Both drives are set up using GPT/UEFI. I installed CentOS to its own partition on the HDD, and I have Windows 8.1 installed to the ...
0
votes
2answers
337 views

Where to retrieve MySQL Database Backup? Centos 6

Had taken a look at: Where Are Databases Located - MySQL File Location Didn't seem to help much. I used this for a single MySQLDatabase backup: ...
0
votes
2answers
2k views

Creating a USB stick for installing centos 6.x using DVD1 and DVD2 iso files

First, we create 2 partitions on the USB stick that is let's say 16GB. first partition is let's say only 1GB and the second partition is the rest of what is available. after we "w" write the ...
0
votes
2answers
176 views

Dealing with conflicts on linux installs

I am trying to run a linux install. I have added a rpm repo. and i am running yum install normalize But i am getting the following error Transaction Check Error: file ...
0
votes
2answers
341 views

Send HTTP request from server to another server and get the IP that replies

so I have to do this project, and I honestly have NO idea where to start. So basically, it will send a simple GET request to a web server, and then wait for a reply, and it will print out the IP that ...
0
votes
2answers
771 views

Install yum in CentOS without make

I'm working with GoDaddy via SSH, and I noticed that the OS (CentOS 5.8) doesn't have yum. It does seem to have wget and rpm, but it doesn't have make, so I ran into a wall when trying to install yum ...
0
votes
2answers
748 views

Why is SSH permission denied unless sshd is in debug mode

I have problems ssh to my own box (both remotely or locally) with the message Permission denied, please try again. Then I stop the sshd service with /etc/init.d/sshd stop and start sshd in ...
0
votes
2answers
51 views

None of my directories are writable

Argh help lol I have ran a chown command (silly me) which I did not fully understand now when I connect via filezilla and try do anything write/delete files/directories I get Error: mkdir ...
0
votes
2answers
408 views

Issues connecting VMWare VM to Windows 7 (host)

I am on windows 7 trying to figure out why i cannot ping my computer or my VM from the other one, yet I am able to ping the router on both and other computers on the network. My desktop is running ...
0
votes
2answers
1k views

How do you boot from USB using CentOS Minimal?

I followed these instructions to create a bootable USB using my Mac. This is so I can install CentOS from a USB. They worked great for the Centos Netinstall and the Centos LiveCD. Both these booted ...
0
votes
2answers
747 views

Unistall CentOS 6 from a Win7 partition

I installed centOS 6 in a separare win7 partition. Now I want to remove/uninstall it, but I can not find out how to do it.
0
votes
2answers
2k views

Cannot resolve dependencies while installing a package

When I try to install mysql-devel package by doing /usr/bin/yum install -y --disablerepo=* --enablerepo=base mysql-devel It fails with the following errors. ... ... --> Finished Dependency ...
0
votes
2answers
594 views

yum not able to install a package

[root@mypc yum.repos.d]# yum search perl-Locale-gettext Loaded plugins: dellsysid, fastestmirror Repository tmz-puppet is listed more than once in the configuration Loading mirror speeds from cached ...
0
votes
2answers
616 views

pygtk2 on centos 5x with python 2.7?

I'm trying to install pygtk2 on centos 5.8 for use with python 2.7 installing yum install pygtk* works only for the default python 2.4. I tried compiling pygtk2 from source but it does not configure ...
0
votes
2answers
677 views

Connect a CentOS 6 server to the internet without a router

I have a CentOS 6 web server. My ISP gave me one public IP/mask/gateway/DNS. I entered these parameters on my Windows laptop where I get internet. I can ping outside and etc. Then I entered these ...
-1
votes
1answer
48 views

Disable NIC on CentOS

I have a server running on CentOS 6.5, the server have 2 NICs, and it happen sometimes when I reboot to pickup the a different NIC, I am trying to completely disable eth0 and the NIC linked to it. ...
-1
votes
1answer
392 views

MacFusion connecting to CentOS: Authentication failed

I've got three iMacs here (one mine, two from others), which should all connect through SSHFS with a MacFusion client to a CentOS server. I've been trying to get it all working with my iMac, which ...
-1
votes
1answer
468 views

CentOS and icewm

I'm using CentOS 6.3 32bit with 512MB memory and 8GB in a test environment. What would be the command to install icewm desktop in CentOS 6 minimal?
-2
votes
1answer
19 views

I have multiple installs of wordpress, all using the same plugins but in different locations. how can i use a symlink link to avoid duplication?

I have multiple installations of wordpress on my server, all using the same plugins but in different locations. i.e i have /home/site1/wp-content/plugins/plugin1 ...