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

0
votes
1answer
14 views

Shell script not running with cronjob

I am using PUTTY to reach the server. I can dump the databases with the following command: /usr/bin/mysqldump --all-databases | /bin/gzip > Backup_DB/alldatabases_test.sql.gz When I am running ...
20
votes
6answers
19k views

How to Install gcc 4.7.x/4.8.x on CentOS

What would be the easiest way to install gcc 4.7.x/4.8.x on a system with CentOS 6.2+? The default RPM package contains an older version of gcc.
1
vote
4answers
3k views

CentOS installing jre/jdk error

[root@jony source]# sh run.sh Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has ...
-2
votes
0answers
11 views

Can't open hostname/phpmyadmin

Issue:When I try to browse to my server's hostname/phpmyadmin I get a local ISP error that "This URL was invalid." I can connect to my server's static IP and get the Apache web splash page to verify ...
0
votes
0answers
10 views

“Recipient address rejected: User unknown in virtual mailbox table” when sending an email to just one address

I have a server using Paralells 11.09 on a Centos 6 server, and my email account is hosted on there. About 2 weeks ago while emailing a client I received the following message from Evolution (my email ...
2
votes
2answers
47 views

bridge does not forwarding packets centos

I am using CentOS 6.5 64 and use xen to create a virtual machine (CentOS) ifconfig [root@CentOS ~]# ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:54:B3:FA inet6 addr: ...
0
votes
2answers
3k views

How to disable text overwrite mode in Netbeans (CentOS)?

Everytime I type some text, it is overwriting what I have typed. I assume that the mode is set to overwriting, I want to insert the text not overwrite it, but I can't disable it because my insert ...
0
votes
1answer
18 views

CentOS - Java in Browser

My output of java -version [root@CentOS ~]# java -version java version "1.6.0_30" OpenJDK Runtime Environment (IcedTea6 1.13.3) (rhel-5.1.13.3.el6_5-i386) OpenJDK Client VM (build 23.25-b01, mixed ...
1
vote
0answers
9 views

Changing internal database to external JDBC in Atlassian crowd

I have installed Atlassian crowd using the internal database method on Centos 6. Installation went successfully and now i want to use external database (mysql) using JDBC. I cant find the option to ...
1
vote
0answers
11 views

linux - centos won't boot after rebuilding raid

I have a dedicated server with OVH. Yesterday they had to replace one of the HDD because it was about to fail. After replacing the disk, we had to rebuild the RAID and now the server won't boot ...
0
votes
0answers
21 views

Solving issue of similar user email account

I am using a VPS, CentOs 6.5, PostFix, Dovecot for hosting multiple email from different domains in my server. Which means, 5 different websites host their emails together. ex: info@some-company.com ...
0
votes
0answers
10 views

configure: error: invalid MySQL root directory

I've a problem installing sphinx with percona 5.6 on centos 6.4. I'm getting the following error while building from source: ...
1
vote
1answer
10 views

CentOS - installing jdk

I run the command yum search jdk Output: So I run yum install ldapjdk.1686 IT says: No package ldapjdk.1686 available
-1
votes
0answers
14 views

Centos 6.5 restore all default repo - all erased [closed]

Centos 6.5 ALL repo erased, want restore default from DVD repodata or online
1
vote
1answer
38 views

Can't `ls` Long File Name [duplicate]

Using CentOS 6.5, there's a file in my directory whose name is 161 characters. This directory is shared between the host VM (Windows) and Guest VM (Vagrant). I can't access it with ls: > ls ...
0
votes
1answer
5 views

FTP File display works in filezilla, but lists blank in other apps? (Centos 6/vsftpd/ssh)

So had to basically re install entire server, lost everything, but I am trying to add this one script that has a custom installer that uploads the FTP files directly through its self extracting ...
-1
votes
1answer
16 views

how to resolve yum replace php-common --replace-with=php55w-common error? [on hold]

how to resolve yum replace php-common --replace-with=php55w-common error? on CentOS 6.5 root@server [~]# yum replace php-common --replace-with=php55w-common Loaded plugins: fastestmirror, replace, ...
1
vote
3answers
2k views

Source Based Policy Routing & NAT (DNAT/SNAT) aka Multi WANs on CentOS 5

Originally posted at Unix and Linux but nobody was able to answer it, so m migrating the question here: My question is regarding Source Based Policy Routing on CentOS 5 with 2 WANs plus a LAN (NAT) ...
0
votes
2answers
4k views

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

So at first I was getting this error when trying to create databases for use in phpmyadmin. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I ...
1
vote
3answers
3k views

iptables syntax to forward remote desktop requests to a virtual machine on CentOS host

I can rdesktop into a VM running Windows XP hosted on my CentOS 5.4 machine from the hosting machine and work just fine using the private address (192.168.122.65), but I now need to allow remote ...
0
votes
0answers
16 views

How can I paste to a headless host (CentOS 6.2) using VMware vSphere 5.1?

I've done lots of searching on this and have yet to find a solution that works. The following settings have been changed in the host config to allow copy/paste: isolation.tools.copy.disable = ...
0
votes
1answer
384 views

On my centos linux box the ip address and default gateway are reset each night?

Hi I've tried quite a few things to do with config files like from here How to make my default gateway permanent in CentOS? So that after a reboot it does not get lost and here ...
0
votes
1answer
20 views

Move rvm/gems or make available to root

On a CentOS 6 server I accidentally installed rvm and a bunch of gems as non-root user. Everything is running well, however I'll need to run rvm scripts as super user later. I'd like to fix my ...
0
votes
0answers
7 views

Easy to use and secure Proxy server for Centos

I am looking to setup a proxy server that i can use securely without the risk of anyone else abusing it. I have researched squid but it seems to be to complicated for my skill level to setup. I ...
2
votes
2answers
2k views

Cinnamon for CentOS?

I was trying to install Cinnamon from Source code in a CentOS v.6.4. Unfortunately, I was stumbling upon dependencies that were becoming weird each and every time. Some of them, I tried to build, ...
1
vote
1answer
2k views

Setting up a second monitor in CentOS

I have CentOS installed on my laptop. I hooked up my TV via VGA and it works, just not as I'd like it to. The left side (on the TV) is cut off, like the image is justified too far left. I want it to ...
0
votes
0answers
7 views

Centos 6 - Lighttpd/ 403 error on PHP files, and issues adding website

So, I do have PHP/MySQL and PHP-FPM installed, but when I try to access PHP files, I get a 403 forbidden error. I have been looking around Google quite a lot, and not finding anything that is solving ...
0
votes
0answers
25 views

Whats the SysV commands to initialize and start X2goServer?

I need SysV instructions for CentOS. The Archlinux wiki page on X2go has a great step-by-step overview for starting the X2go server, but that's not relevant to SysV. The current maintainer (?) only ...
0
votes
1answer
21 views

Connect as “root” but write as “apache” with samba and some configuration tips

I have a VMware virtual machine running CentOS 6.5 and I have installed samba.x86_64 0:3.6.9-168.el6_5 package for sharing resources between virtual machine and host (Windows 7 in my case). I have a ...
0
votes
0answers
15 views

How to safetly add a repository

To add a repository to my Centos server, I am doing the following: wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 https://www.fedoraproject.org/static/0608B895.txt gpg --quiet --with-fingerprint ...
1
vote
2answers
515 views

Install OpenCV in CentOS

I am trying to install OpenCV in CentOS 6. When I run the command [root@cosmas opt]# sudo yum install libtiff4-dev libjpeg-dev libjasper-dev it returned the follow: Loaded plugins: fastestmirror, ...
0
votes
0answers
22 views

How to increase HOME Folder partition size in centos 6.3 64 bit

Have migrated my system windows 7 to centos 6.3 64 bit, while installing centos 6.3 have created a partition size details given below: Root ext4 30000 boot ext4 20000 tmp ext4 Allowed to fill ...
0
votes
1answer
2k views

how to install privoxy on centos 6

okay I have googled, but...I am unable to find anything on the net on how to install privoxy on my centos machine. I have tried yum install privoxy, I get: No package privoxy available. I dont know ...
0
votes
1answer
22 views

ip routing on centos

My server has two network interfaces. I set ip address as 10.254.1.5/16 and 172.16.20.40/16 and default gateway 10.254.1.1/16. 172.16.0.0 network between the two devices. This network is not ...
0
votes
1answer
66 views

Do I have to install Openssl 1.0.1g in usr/local/lib64 to overwrite usr/lib64 one? (CentOS 6.4, heartbleed issue)

I am using a VPS, I need to upgrade openssl with the new package in consequence of the heartbleed vulnerability issue. But I am a newbie in managing server, I need to know if I am getting this right ...
1
vote
1answer
30 views

Domain Resolving To Wrong IP Using DNSMASQ

I have two VMs, one with my application which talks to the other vm running asterisk (and centos). The config for the application server needs to point to the asterisk box. To avoid having to change ...
0
votes
0answers
122 views

Nvidia card + X11 detects wrong screen SIZE (not res)

Edit: Upon further experimentation - it seems like the HDMI works perfectly going out to my Asus 21" monitor. I think there is just a problem with it detecting my LGTV as a monitor. I am trying to ...
0
votes
1answer
15 views

See total download speed on server CentOS

I have a few PHP scripts running every 10 minutes on my server downloading backup files, Is there a way to see the total MB/s download speed the server is currently pulling ? The server is running ...
1
vote
1answer
20 views

How to install packages without interfering existing ones without using yum and without root?

I have this specific problem of setting virtual dev environment without interfering existing system and tool. The question is general. Basically I want to develop some stuff in the company, but we ...
0
votes
0answers
24 views

php shell_exec not working in centos

i would like to convert .docx file to .html using php shell_exec my php code: $command = "libreoffice --headless -convert-to html resume.docx 2>&1"; $result = shell_exec($command); echo ...
-1
votes
1answer
11 views

Recover PHP file from CentOS?

I've just accidentally overwritten a PHP file on my centOS Server and i don't have a backup of that file, Is there anyway i can recover the old revision of the file some how ? Thanks
0
votes
1answer
38 views

Hetzner Install CentOS over 2TB HDD?

Wanted to just check here before i open a ticket at Hetzner. I just got a server from hetzner with 2x 3TB. I want to set them up in a RAID0. I've ran the "Installimage" command once in rescue-mode, ...
0
votes
1answer
19 views

CentOS Gnome only showing 1TB on 6TB Server?

I just bought a new server and want to use it to store files, It has 2x 3TB hard drives. I Set them up in raid 0 as i don't need any redundancy. I don't know much about servers and command-lines ive ...
0
votes
0answers
12 views

Is mod_fastcgi-2.4.6 compatible with apache2.4.9 CentOS?

I need to install multiple php handlers in apache2.4.9 one php version as apache handler and other one I need to run as mod_fastcgi but while compiling and installing with apache 2.4.9 I'm getting a ...
0
votes
0answers
20 views

How can I compile and install Apache2.4.9 with multiple PHP versions (5.5, PHP5.4)

I have compiled apache2.4.9 and php 5.5 with php5.4 versions php 5.5 version is installed succssfully as apache handler and I tried php5.4 with cgi and enabled LoadModule cgi_module modules/mod_cgi.so ...
5
votes
1answer
1k views

How can I perform a full texlive installation (all packages) in CentOS?

Title say it all, how can I install texlive and all the packages so I can run tex2pdf on CentOS? I'm rather used to Ubuntu and all this yum business is driving me nuts.
0
votes
1answer
34 views

Trying to share folder in CentOs after installing guest Addtitions

I have VirtualBox 4.3.10 running a Minimal CentOS 6.5 using NAT adapter in my Win 7 . I have installed Guest Additions and I am trying to share Drive E: as you can see in this picture. Next I ...
0
votes
2answers
11 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
0answers
11 views

Avoiding sleep when lid is close and no one is logged in

I've an old Dell Latitude laptop that I've converted to CentOS 6.5. As this is going to work like a server (i.e. no one will use it directly) I've changed from UI the power management option to ignore ...
1
vote
2answers
4k 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). ...