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
0answers
6 views

how to resolve yum replace php-common --replace-with=php55w-common error?

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
13 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
19 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
5 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 ...
-1
votes
0answers
7 views

Centos 6.5 ALL repo erased want to add all repo OR restore from repodata DVD sqlite file [on hold]

Centos 6.5 ALL repo erased want to add all repo OR restore from repodata DVD sqlite file where as systems default repos are 6.0 i686 but unable to get repo file over the net from base to all
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
6 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
19 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
13 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
497 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
21 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
55 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
24 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
19 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
36 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
18 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
7 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
13 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
30 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
10 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
8 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). ...
0
votes
1answer
38 views

Attempting to install tmux on CentOS 6.4 or CentOS 6.5 fails with error: ‘EVBUFFER_EOL_LF’ undeclared

I tried compiling tmux using the following steps: yum -y install ncurses-devel libevent-devel wget http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz tar -xvzf tmux-1.9a.tar.gz cd tmux-1.9a ...
0
votes
0answers
21 views

set up (VirtualBox + CentOS) with (nginx + PHP + MySql) on MacOS

I'm trying to set up (Virtual Box + CentOS) with (nginx + PHP + MySql) on MacOS, the future I can coding on MacOS then throw file to the share folder with (Virtual Box + CentOS) and execute on ...
-1
votes
2answers
57 views

cPanel MySQL 5.5 Server keeps crashing (lots of errors + warnings)

I have a dedicated server (not a VPS/VM) running x64 Centos 6.5 Final + cPanel. The machine has 16 GB memory. I run a game server on this server (which uses MySQL as the back-end for data store). I ...
0
votes
1answer
46 views

Unable to access localhost & Internet using one adapter in CentOs

I have the below dev. environment. Hardware:- Windows 7, 32bit, HP Laptop. Software:- CentOs 6.5 running on VirtualBox 4.3.10. In a nutshell The problem is that I can't access the internet and ...
0
votes
1answer
19 views

Custom kernel 2.6.18 compile in centos ends on fail

I'm compiling from RPM source. The same compile worked in the past but not this time. May be you can help me to solve this issue? make[2]: Leaving directory ...
1
vote
1answer
52 views

linux centOs 6.3 GUI freezes with “tpm_tis error”

All of a sudden(1 yr after install), My CentOS 6.3 has frozen after getting into GUI mode. Just after the GRUB boot manager switched to run the OS, I saw the error message "tpm_tis 00:00: ...
0
votes
0answers
10 views

phpMyAdmin No activity within 1440 seconds; please log in again. Issue

I have installed latest phpMyAdmin on Apache+php+mysql on CentOs. But after sometime of inactivity i am getting No activity within 1440 seconds; please log in again. And redirected to the ...
0
votes
1answer
18 views

Error getting server's IP address using Python on CentOS

I'm using Python's socket module to get the server's IP address server_ip = socket.gethostbyname(socket.getfqdn()) I get this error: socket.gaierror: [Errno -2] Name or service not known Weird ...
118
votes
9answers
12k views

I accidentally typed password into bash command line

I accidentally typed my password into bash command line, mistaking the Last login: ... line for Wrong password (I was in a hurry). What do I do to cover my trace? What I did was editing .bash_history ...
0
votes
0answers
20 views

Display port numbers and port names

How do I display both port numbers and port names at the same time? I can display the forward port numbers (i.e. 22, 25, 1000, 443, 80) using the following: [root@michaels ~]# iptables -L -n Chain ...
0
votes
0answers
3 views

error-> Could not update ICEautohrity file

error-> Could not update ICEautohrity file in my Cent OS operating system When i was unable to use my mysql database i stopped it and restarted the system. Then i got the error as error:- Could ...
0
votes
1answer
31 views

What would cause MySQL to not respond to connections on 127.0.0.1 but work fine using localhost?

having a strange issue on one of my CentOS servers. I've noticed MySQL randomly will not respond if I try to connect via 127.0.0.1 in my PHP script. Basically, 1 out of 20 requests or so will usually ...
0
votes
1answer
3k views

CentOS 6.4 server no internet connection

I just installed CentOS 6.4 on my server. I've tried running sudo yum update and got the output Could not retrieve mirrorlist...snip...error was 14: PYCURL ERROR 6 - "Couldn't resolve host ...
1
vote
3answers
2k views

Cant get squid proxy to work

i need squid proxy on my centos server. But i just can't get it to work. I did yum install squid. Here is my squid.conf file (i removed all comments): acl all src 0.0.0.0/0.0.0.0 acl manager proto ...
0
votes
0answers
87 views

sporadic network timeouts detected by 1 or 2 nagios instances not making sense

I'm working for a small company as a linux and DB sysadmin. Since this is more commodity hardware I thought I'd try superuser first. We've been having odd networking problems occasionally and ...