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

I'm getting 500 server error in when trying to send ajax to codigniter+NGINX in production in ec2

When Im in my local environment when I send with ajax rest post http://localhost:8080/index.php/api/get_user I'm getting an answer from the server (Codeigniter + NGINX). But when I do it with ...
0
votes
0answers
13 views

rails ssl setup on Amazon EC2

Environment Amazon EC2 CentOS Rails 4.0.4 SSL certificates installed Chef My Rails config In my environment .rb (staging.rb and production.rb) I added this config.force_ssl = true Started ...
0
votes
0answers
4 views

How can I specify what directories my overlay uses on a liveusb?

I'm using a Red Hat system (4.4.7-3) to generate a CentOS live USB/CD. I have figured out how to create an overlay as well as a home overlay; however, I cannot seem to grasp how to change the ...
0
votes
0answers
30 views

install ImageMagic library to php

When i try to sudo pecl install imagick i get this message: Can't find PHP headers in /usr/include/php The php-devel package is required for use of this command. ERROR: `phpize' failed And sudo ...
0
votes
1answer
28 views

How to apply “set number” to vi on root?

I'm using vi on centos 6.5 and added "set number" script to /etc/bashrc in order to look line numbers whenever boot. It works well to show it on user login but not root. How to apply "set number" of ...
0
votes
0answers
26 views

How to rollback to previous settings status on Centos 6.5

I'm beginner on linux and using centos 6.5 on my machine. I tried to install a Graphic driver of NVIDIA GeForce 8600 GT on Centos 6.5 and rebooted. After rebooting, problem occurred. Gnome booting ...
0
votes
1answer
19 views

shift space from /home to /var in centos

I want to increase the space of /var folder.The output of df -h is [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_livecd-lv_root ...
0
votes
0answers
10 views

Map network drive to VM Virtualbox with CentOS

I can connect with Putty to my CentOS using the virtual machine's IP address, but I can not map a network drive to the virtual machine from Windows 7 using \\IP\shared_file. I use the VM's IP address, ...
-1
votes
0answers
27 views

Why is my server time 5 minutes behind?

When I type date into linux, my time is 5 minutes behind. How do I sync it up to the actual time? My phone, my computers, cnn.com and many other sources show the same time, which is what I want my ...
0
votes
0answers
24 views

Can I use CentOS 5 updates repo on a Fedora Core 5 Bordeaux server?

I'd like to update the OpenSSL 0.9.8a of my old Fedora Core 5 Bordeaux server to the 0.9.8e-27.el5_10.3 version using yum to and I'd like to know if it's possible to use the CentOS 5 updates repo. Do ...
0
votes
0answers
288 views

Streaming an RTMP live stream from NGINX to Icecast2 on CentOS

I have had success with using exec_push in NGINX's RTMP module to have FFMPEG convert live streams to HLS. The next thing that I would like to do is publish an audio stream from the same source to ...
0
votes
1answer
86 views

How to Install Python 3.2.2 on CentOS 6.5 amd64 Preserving Its Original Python Installation (2.6.6)?

How to install Python 3.2.2 on CentOS 6.5 AMD64 preserving its original Python installation (2.6.6)?
0
votes
1answer
36 views

Access virtual server from public ip

I have setup Debian server which IP is 192.168.1.86 Inside this debian server I have virtual CentOs server which IP is 192.168.1.87 I can access both from my local network from Windows PC. I have ...
0
votes
0answers
31 views

downgrading nvidia driver on centos

I currently have a machine running CentOS 6.5 with nvidia driver version 331.62 installed using yum. I am trying to downgrade the driver to an older version (319.37). I have tried uninstalling the ...
0
votes
1answer
46 views

Yum does not install specific RPM version with custom repo

We use RPMS for our packaging and yum to update our environments. We have an rpm package-5.1.1-3 installed in our production server and in our yum repository we have 2 newer versions such as ...
0
votes
1answer
49 views

Increase space of /var folder in centos

I want to increase the space of /var folder.The output of df -h is [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_livecd-lv_root 50G 33G ...
0
votes
0answers
39 views

Set hostname of CentOS guest with kickstart - DHCP clients

I've googled for too long now. I want to set the hostname of CentOS 6.5 XCP guests automatically from script so I can build out a large platform of DHCP guests. The bash script autogenerates the ...
0
votes
1answer
23 views

PowerShell Send-MailMessage equivalent in Linux

How can I send email via our internal SMTP server from the Linux command line? Something like: sendmessage -server smtp.mycompany.net -subject "Alert aaagh!" -body "The boron control rods have ...
0
votes
1answer
55 views

File synchronization between two Linux servers

We have a two web servers running CentOS. We need to sync images that users uploaded. No servers should be needed to synchronize those, because we need to handle failover. Also, we need to do a ...
1
vote
1answer
35 views

Extend Existing Linux partition

I had a dual boot hard drive with Windows / Centos 6.5. I no longer needed Windows so I removed the /dev/sda1 and /dev/sda2 via fdisk. It now looks like: Device Boot Start End ...
0
votes
1answer
614 views

Making Google Chrome 35 work on CentOS 6.5

I am trying to install Google Chrome 35 on my CentOS 6.5 . After googleing for few hours I found that Google has decided not to support EL 6 release anymore. Due to which I get following error. ...
1
vote
1answer
100 views

Bash error while running script

I have a CentOS 6.5 64-bit dedicated server. The only thing I done on it is yum install java7, so I have not installed any other stuff. So in the directory /root I made this file (test.sh) ...
0
votes
0answers
16 views

multiuser centOS server with restricted access

I need to configure centOS server for multiple users. Every user must be restricted to homedir, have ssh access and be able to copy/move files. So i found a multiple solutions for this task: chroot ...
0
votes
1answer
26 views

How to start the Snort service with logging enabled?

I setup snort on Centos server and add as a service. When I use service snortd start command, the log file is created but it is empty. If I use snort -q -l /var/log/snort command, the log file created ...
0
votes
2answers
73 views

/usr/bin/realpath not found in Centos 6.5

I'm trying to type 'realpath' in CentOS 6.5. But it seems not installed. I checked it is contained in coreutils (archlinux). I double check the coreutils package which provide by CentOS, it lack the ...
-2
votes
1answer
28 views

How to change these Putty commands into Centos ones?

wget http://security.debian.org/debian-security/pool/updates/main/m/mysql-5.1/libmysqlclient16_5.1.73-1_i386.deb mkdir mysql32 dpkg --extract libmysqlclient*deb mysql32 mv mysql32/usr/lib/* ...
0
votes
0answers
164 views

Why can't I setup an SSHFS share? “OSXFUSE file system is not available” error

I'm trying to setup an SSHFS share from my local machine to a remote machine, but it is not working. I'm getting the error OSXFUSE file system is not available (see below). How to fix this?? FYI, my ...
0
votes
0answers
39 views

How install iceweasel in CentOS

I am looking for a way to install iceweasel in my CentOS.Before posting here I have googled but didnt find the solution any place. Please help me to install iceweasel in my CentOS. Thank you.
0
votes
2answers
36 views

Moving /tmp to a different mounted drive

I've mapped my MySQL datadir to a different (and bigger) disk with 900GB [root@web ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 40G 24G 14G 64% / tmpfs ...
1
vote
3answers
32 views

Add a sudoer non-interactively from command line

(On Centos through Docker) I know that I can add a sudoer using visudo. Is there a way to add a user to the sudoer list straight from the command line, so I don't have to do it interactively? I'm ...
0
votes
2answers
26 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
0answers
24 views

How to create 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
102 views

Is it possible to install CentOS 64-bit on a 32-bit machine?

Is it possible to install CentOS 64-bit on a 32-bit machine? Is it possible? If not, I would like to know why. Please explain.
0
votes
1answer
32 views

How to share/access files in CentOS running in VirtualBox from my Macbook Pro?

I have setup a VirtualBox 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 saqib@127.0.0.1 -p 3005 ...
0
votes
2answers
72 views

Apache 2.4 vhost not working

We have a new Centos server installed with Apache 2.4.9. I'm trying to get the vhost working. DNS resolves to the right machine, and I can see the default Apache page, so it's not a firewall issue and ...
0
votes
0answers
11 views

snmpwalk timing out halfway through query

This is on a CentOS Cacti server that has ran for months on end with no problem. Now even for snmpwalk -v1 -cpublic localhost .1 results starts streaming through and halfway through results stop ...
1
vote
0answers
31 views

NTP Multicast configuration

I'm trying to get NTP multicast set up between a few computers. Right now I'm getting NTP multicast packets from a computer that I have neither access to nor information on (let's call that A) that is ...
0
votes
0answers
52 views

Enable mouse on Centos 6.5 minimal install

I installed Centos 6.5 on my Mac via Parallels VM. Minimal install. Did a yum groupinstall of xwindows, desktop, fonts. I typed startx to start Gnome. My mouse and keyboard are not working. Did I ...
0
votes
0answers
27 views

Two rpms with the same prefix name on one repository

I am using CentOS, I have a local repository and I want to add mysql server and mysql cluster rpms on it so I added all required rpm and all dependencies. At client that added my repo list all rpm ...
0
votes
1answer
212 views

Start vino-server (VNC) before login on Linux CentOS

I'm using the default vino-server package to access my CentOS 6 workstation via VNC. It works ok, but only AFTER I locally login on the workstation. I need to have vino-server start BEFORE the login, ...
1
vote
0answers
21 views

Block web browser FTP integration on CentOs 6

I'm switching over to a new provider and I can't remember what I did on my old server to block browser FTP log in. What I mean by browser log in, is that someone can go to a web browser and type ...
0
votes
2answers
38 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: ...
1
vote
1answer
14 views

Odd issue with OR operator in zsh

I'm seeing an odd issue with CentOS 6.4, zsh 4.3.10 (x86_64-redhat-linux-gnu). This is running two regular expressions on the same string. Neither expression passes the if conditional, but when I OR ...
0
votes
1answer
57 views

iconv supports too few encoding

iconv -l outputs too few encodings on CentOS 6.5: $ iconv -l 10646-1:1993, 10646-1:1993/UCS4, ANSI_X3.4-1968, ANSI_X3.4-1986, ANSI_X3.4, ASCII, CP367, CSASCII, CSUCS4, IBM367, ISO-10646, ...
1
vote
2answers
39 views

what does the astericks mean at end of ls -l -rwxr-xr-x 1 root root size date file*

Every file or link in my CentOS /usr/bin has an astericks at the end of it. None of them do on my local osX server. What does this mean? I have searched google and here specifically with no luck. ...
0
votes
0answers
10 views

CentOS ksoftirqd using CPU [duplicate]

I have a VirtualBox VM running CentOS 6.5 and "top" reports that ksoftirqd is using around 32% of CPU. The file /proc/interrupts reports: CPU0 0: 989646990 XT-PIC-XT ...
0
votes
0answers
8 views

Building rtmpdump on RHEL x86 without yum and no root rights

I have an ssh connection to a RHEL x86 machine, and I can't use yum and I don't have root rights. Is there a way to install rtmpdump anyhow? By looking at this tutorial, it seems that installing ...
0
votes
0answers
24 views

Centos 6 rsyslog missing audit.log

I'm trying to get to work the wkhtmltopdf on apache, php 5.5, centos 6 64bit. The error is "sh: /usr/local/bin/wkhtmltopdf: Permission denied" so my thoughts were selinux. I tried to follow steps ...
0
votes
1answer
78 views

Reverse proxy 502 bad gateway

I have setup a subdomain to proxy my plesk panel, but when saving pages I am getting 502 Bad Gateway error instead of a completion message. I am running CentOS 6. Here is my vhost.conf configuration ...
0
votes
1answer
24 views

Route packets from any network to any network

Assuming we have the following network topology and CentOS 6.5 on each router, how can i set ALL traffic go from ANY host in ANY network to ANY host in ANY network? I have already enabled ...