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
568 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 ...
36
votes
8answers
48k 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.
8
votes
5answers
17k views

Installing Git on CentOS [closed]

How install git on CentOS? I find this manual. Is it good?
2
votes
3answers
12k views

How to join an Active Directory with a Linux machine

How can I join an Active Directory domain with a Linux machine? Will it work with Ubuntu, Redhat, CentOS? Are there any with which it will not work?
4
votes
3answers
4k views

Why can't I sudo some commands? (e.g., vim)

I have sudo access on my friends server, running centos-6.3, but when I try to run some commands like sudo vim /var/www/html/index.html I get an error sudo: vim: command not found I can, however, run ...
4
votes
4answers
607 views

Problem with shared ssh keys

Following the process I've used in other environments, I've tried setting-up shared keys between my Mac and my CentOS 4 webserver. I've seen the same problem with my older Ubuntu 7.10 workstation ...
0
votes
3answers
6k views

Linux User Permissions?

I have two users, user1 and user2 which are both in a group matching their user name. I'd like both users to have full r/w/x permissions on all of each other's files as default without having to CHMOD ...
1
vote
0answers
570 views

Gigabyte GA-G31M-ES2L drivers for CentOS

Recently installed CentOS on Gigabyte GA-G31M-ES2L motherboard everything works well except the graphics are a bit laggy, so I'm wondering if it hasn't got the drivers in place. Where do I locate the ...
1
vote
2answers
14k views

tar Cannot open: No such file or directory

Fresh install of CentOS 5.4 Downloaded the following: http://prdownloads.sourceforge.net/webadmin/webmin-1.510.tar.gz MD5 sum is correct (cdcc09d71d85d81914a90413eaf21d3f). The file is located ...
36
votes
5answers
121k views

Checking what PHP version I'm running on Linux?

I'm running Centos 5 and I need to know what version of PHP I'm running, is there a command for this which I can run?
3
votes
2answers
3k views

How to find which package certain command belongs to on CentOS?

For example I can easily find locate command belongs to mlocate.i386 package. yum search locate mlocate.i386 : An utility for finding files by name [mirror@home /]$ rpm -qa | grep locate ...
3
votes
3answers
14k views

Unable to remove PHP packages from CentOS, but also unable to update PHP package to PHP 5.3

I have an interesting, albeit infuriating problem with CentOS. I'm trying to configure this server to run a Symfony2 website I've built. The website doesn't work, and I've pinned down the problem to ...
6
votes
5answers
15k views

How do I remotely view a Linux desktop from Windows XP?

I'm using Windows XP and need to remotely connect to a CentOS-5.X server. I'm looking to visually, securely and with as small a footprint as possible manage a remote Linux system via an GUI. It's not ...
5
votes
3answers
35k views

how can i install CentOS 6 without the gui?

i just downloaded the centos 6 live cd and i tried installing it on virtually and i am never prompted to install centos with/without gui and its all automated. what happends is after i am booted into ...
3
votes
2answers
628 views

Resolving unix server disk space not adding up

I'm trying to evaluate where my disk space on my unix server is distributed. In order to see disk space current status I'm running: df -h But when trying to evaluate what is taking the disk space ...
3
votes
2answers
4k views

Convert file to PDF using LibreOffice under user apache (i.e. when using PHP)

I installed libreoffice-headless and can convert documents when logged on into the shell as a normal user. [root@desktop ~]# yum install libreoffice-headless [root@desktop ~]# yum install ...
3
votes
2answers
3k views

Redirect stdout to a file when process is run in background

How can I redirect the stdout of a program to a file when it's run in the background? I have a program that generates output every second. When I run it normally and redirect to a file, the output ...
3
votes
4answers
7k views

Writing a CPU/RAM usage log over a period of time to file on CentOS

I'm looking for an application or line of code that would let me observe a process, save the info in a number of variables, then put the gathered info on a file. I've been trying with variations of ...
2
votes
1answer
71 views

Special instructions for CentOS VBox virtual machine?

I am gearing up to create a CentOS 5.5 server virtual machine in VBox and was wondering if there are special instructions, configurations or settings that I should be aware of ahead of time. ...
2
votes
3answers
9k views

How to make my default gateway permanent in CentOS? So that after a reboot it does not get lost

I have a CentOS running. It is important to have my CentOS available when I am remotely connected to a VPN router. I tried to add a default gateway to the VPN router, but after reboot it goes away. ...
2
votes
2answers
22k views

How to install Google's chrome on CentOS 5.3?

Google released their Chrome browser for linux but I got an error when installing. I was informed that I need a higher lsb version? What is lsb? Where can I find the latest lsb package/source ? By ...
2
votes
2answers
5k views

CentOS Dual-screen doesn't work

I am running a CentOS 5.3 x86_64 (fully updated as of today). It has a video card I cannot identify -- I run lspci and it identifies itself as: 01:00.0 VGA compatible controller: nVidia Corporation ...
1
vote
2answers
828 views

Always have to chown when adding new file? Centos 6

Whenever I upload a new file to my server, I have to chown -R apache:apache /dir in order for it to be accessible. Is there an easier way around this?
1
vote
2answers
3k 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, ...
1
vote
2answers
7k views

Problem installing apt-get on CentOS 5.5

Background: I'm wanting to move away from Apache and came across this article which walks through an install of nginx, PHP-FPM and APC. On trying to follow these instructions on my user account of my ...
0
votes
1answer
2k views

how to enable java in Browser on Centos 6.5

i already install Java (jdk 6u45 and jre 6u45) in a Centos 6.5 Server, but i don't know why in my browser appears to enable java plugin, these are steps to install java in my machine: rpm -ivh ...
4
votes
2answers
290 views

Connecting a MIDI Controller to CentOS5

Edit: I'm trying a different tack at the problem, by using /dev/midi with C. Hello all! I recently got a Akai MPD24 MIDI controller, as part of a piece of software I'm writing. I'm looking to use the ...
3
votes
2answers
1k views

After doubling virtual disk size in VirtualBox, fdisk -l still shows old disk size in guest CentOS

I'm running CentOS 6.1 as a guest in VirtualBox 4.1.18 on a Mac OS X (Snow Leopard) host. Since 50 GB for my CentOS guest proved to be insufficient, I resolved to double its available disk space. ...
2
votes
4answers
6k views

How to know which fonts are installed on CentOS?

Question-1: Is there a way to know what all fonts are installed on the CentOS 6.2 through command-line? I have checked the fonts with the following command ls /usr/share/fonts/default/ghostscript/ ...
2
votes
2answers
400 views

Tracing what program is making a network connnection? (CentOS)

I was wondering if it is possible to find out which process is trying to make a specific network connection. On a server I support which hosts websites for about 200 users, the iptables firewall keeps ...
1
vote
0answers
97 views

Does a VirtualBox/CentOs need two adapters to work properly ?

I have a Windows 7, 32bit, HP Laptop. I have CentOs 6.5 running on VirtualBox 4.3.10. Here is my eth0 config. Code: #vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 ...
1
vote
3answers
1k views

Is it safe to disable fsck on boot?

Occasionally fsck would run on it's own when I reboot my server, but most of the time it doesn't. But when it does run, it takes too long to finish. Is it safe to disable this permanently?
1
vote
1answer
166 views

“Not a bootable partition” from Haiku's boot manager for new Linux partitions

I just did this: made an Intel Extended partition covering the whole HD using Haiku Alpha 4.1's DriveSetup made several BeOS partitions deleted the first one installed Haiku onto one of the other ...
1
vote
3answers
2k views

Creating a bootable USB drive from a distro split over two DVD ISOs

I am searching and not finding the right way to do this. Please note, I don't think I'm trying for anything strange here. I just want to make a bootable USB stick of a single OS that happens to be ...
1
vote
1answer
216 views

Node.js fails to start with v8 symbol error

I installed the nodejs package on CentOS release 6.3 (Final) But it crashed on startup when run with no arguments: [root@lcnolw1073 ~]# nodejs nodejs: ../src/handle_wrap.cc:65: static ...
1
vote
1answer
1k views

Why does Dropbox use so much memory on Linux?

pmap shows that Dropbox uses nearly 200MB of memory (on Linux). When I run Dropbox on Windows, it only uses about 30MB of memory. What is the reason for that? Also, why are there so many [ anon ] ...
1
vote
2answers
2k views

How to install CentOS 5.5?

This seems like a silly question, and I apologize if I'm overlooking something obvious. I can't figure out how to install CentOS 5.5 My experience in Linux thus far is mostly Debian-based distros ...
1
vote
2answers
3k views

Can't activate wlan0 in CentOS5.5

When I try to activate wlan0 in CentOS5.5, I get this: Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Invalid argument. Determining IP information for ...
1
vote
1answer
1k views

Xserver doesn't work unless DISPLAY=0.0

Using CentOS. I cannot connect remotely and I believe it is related to fact I can only connect locally if DISPLAY is set to :0.0. Something is misconfigured but I can't figure out what. >xhost + ...
0
votes
1answer
110 views

How to start GUI application with upstart?

I have struggled with this problem for three days and I have tried many ways to solve it but not successful yet. I hope you guys can help me... I have an GUI application. I want to start this ...
0
votes
2answers
94 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
1answer
1k 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
1answer
890 views

CentOs localhost only work when connected to internet

I have been trying to solve this problem (on and off) for three months, but still can't get it to work or even understand it why it happens. THE SCENARIO: I have a VirtualBox installed in my {HP ...
0
votes
1answer
103 views

Wireshark with lua

I have installed wireshark on my Centos Machine. I want an auto script for it and i am planning to script it using LUA. However, my wireshark is without LUA. How to enable wireshark which allows LUA ...
0
votes
0answers
365 views

How to downgrade PHP 5.4 to 5.3? Centos 6

So I need to downgrade to 5.3 because of my script uses session_register, and it has been removed in php 5.4. People have linked me to code that I should add to the script where the issue occurs, but ...
0
votes
0answers
15 views

VirtualBox Linux Guest unable to ssh in to a redhat server? [duplicate]

I am running VirtualBox with a CentOS guest and trying to ssh in to one of my firm's Redhat servers. I get timed out but I can ping the server. It works if I do the same action from my Windows host. ...
0
votes
2answers
1k views

How to install CentOS 5 or Redhat 5 on USB Key or external HD

How to install CentOS 5 or Redhat 5 on USB key/HD external? I don't want to create multi-boot (with Windows 7)which mean just when I need a Linux machine by connecting usb I have downloaded LinuxLive ...
0
votes
1answer
786 views

How to connect HDMI camera to Linux?

In fedora or centos linux is it possible to connect HDMI camera to HDMI capture device ( http://www.blackmagic-design.com/products/intensity/ ). And get the video for playback from Linux? Or still ...
0
votes
1answer
677 views

Scheduled process killing and restart

I have to write a script for a CentOS server which will kill and restart a process every three days. After killing the process it needs to execute another script and start the killed process. ...
0
votes
1answer
540 views

Centos XRandR Portrait

I am having a hard time getting xrandr to properly rotate my monitor into protrait configuration. Oddly you can see how the screen's image is screwed up once I do xrandr -o left however when I take a ...