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

DNS works only with ip but does not work with NS CentOS + Bind9

I am having a headache with DNS. Lets say my public IP is 1.2.3.4, my local IP is 192.168.0.10 and my domain is example.com I am running CentOS on a virtual machine (Parallels Desktop for Mac) with a ...
0
votes
1answer
700 views

Proper procedure - sftp access to www folder - To be able to upload files

My www folder is root:root. What should it be? My site works perfectly but maybe I am doing something wrong. My nginx.conf says user is 'nginx'. Should I be changing the www onwership and group to ...
2
votes
2answers
3k views

Changing keyboard layout

I want to change the keyboard layout from US to UK through the terminal on my Linux machine. I'm running CentOS 6.4. I have tried using the loadkeys uk method, but it doesn't change the layout. It is ...
0
votes
1answer
731 views

How do I start mysqld with options

I need to start up mysqld with command line options as from here: http://dev.mysql.com/doc/refman/5.1/en/server-options.html#option_mysqld_skip-grant-tables I normally do sudo service mysqld start, ...
0
votes
1answer
60 views

Login prompt does not appear after editing /etc/fstab

I am currently using CentOS 6.4. I've added 4 entries to the /etc/fstab to auto mount 4 disk. /dev/sdc1 /usr/bin ext4 defaults 0 2 /dev/sdc2 /usr/sbin ext4 defaults 0 2 ...
2
votes
0answers
983 views

CentOS 5.10 Yum Packages won't update/upgrade

I've just used yum to install PhpMyAdmin and it installed version 2.11.11.3-2.el5 which is completely out of date since version 4 is out. I've tried running yum update phpmyadmin but I receive No ...
1
vote
1answer
62 views

Centos repository packages vs latest developer release

I have started to run a personal server using CentOS and I have noticed that many packages that are available to install from repository are old compared with the latest release from the developer. ...
0
votes
1answer
285 views

Can I remove VirtFS folder after umounting?

I have removed all jailed shell permissions for all accounts. I have unmounted all jailed folders using this command. for i in `cat /proc/mounts | grep /home/virtfs | cut -d ' ' -f 2 ` ; do umount ...
1
vote
1answer
2k views

Install Minecraft server on Centos

For the past 3 weeks, my 10 year old daughter begged me to build her a a minecraft/bukkit server, and I am attempting to do so on my on VPS running Centos6.4. I am following ...
0
votes
2answers
2k views

chroot on OSX as a different OS

I was wondering if anyone has been able to use chroot on OSX to run another OS (ubuntu, centos). I know that they are very different, but almost everything I want to use this for wouldn't care about ...
1
vote
1answer
1k views

How to install php soap with rpm packages in centos 6.4 x86_64

I want to install php-soap, centos says: [root@LMS-Cent64 soap]# rpm -ivh php-soap-5.3.3-22.el6.x86_64.rpm error: Failed dependencies: php-common(x86-64) = 5.3.3-22.el6 is needed by ...
1
vote
2answers
989 views

Group member cannot create files/directories in folder

I'm trying to set up my Linux server and I managed to get stuck at this point: I created a group called 'gitusers' and added a user to it (let's call him 'foo') I created a folder called 'website' I ...
0
votes
1answer
938 views

Check for Apache state in Linux

Hi i have a java application that starts/stops/restart Apache and it should also check for its status, so i have looked how checking for status of apache and it appears that you have to check for the ...
0
votes
3answers
289 views

Issue burning a Live CD on Windows 8

I've downloaded the Live CD for CentOS 6.4, here: http://centos.mirror.nac.net/6.4/isos/x86_64/ The .iso I'm using is 702MB, the first one listed. I download it to my desktop, send it to the CD ...
0
votes
1answer
769 views

can Homebrew be used on a Centos computer

I just installed Centos 6.4 minimal on an old computer with an internet connection threw my iMac. Set it up as a development server. Installments required: Nginx, Apache, PHP-5, Mysql, Redis, Mongodb ...
0
votes
1answer
99 views

gnu-screen does not clear all its contents upon leaving it

I am using screen in bash under CentOS. After leaving a screen with Alt-a d, I am back in bash as expected. But there are remnants of the screen output left, in particular the status line (don't know ...
0
votes
1answer
489 views

No package available python-setuptools on centos 5.8

I am running oracle-linux (same as rhel) 5.8 and am trying to create a localized version of python including pip and a few modules. I have downloaded pip but am unable to install it: ...
1
vote
1answer
408 views

What will happen if my DB server runs out of disk space?

I'm seeing a huge difference of free disk space between df -h and du -sxh / I've understood in my question Resolving unix server disk space not adding up that du -sxh / is a better estimation as ...
0
votes
2answers
3k views

Virtual Machine with Bridged Adapter to Centos not accepting ssh from host machine

I have a bridged connection on VirtualBox from os/x 10.8.5 host to Centos 5.8 client. But I suspect this is more of a general issue than specific to the host and precise version of linux. Shown ...
1
vote
1answer
2k views

Centos + Apache: can I change owner from “root” to “nobody” safely?

We have a magento installation on our Centos webserver. The ownership of the files is a bit of a mess. I've had rights issues before, and now magento is complaining that it hasn't enough rights to ...
1
vote
2answers
97 views

Moving the files and databases from one server to other

I have to move my entire website with the source code , databases and other supporting software modules from one system to another. Both the systems have CentOs Operating system. Using putty I have to ...
1
vote
1answer
388 views

More secure way to configure Centos/Apache for Multiple Users

I have a public Linux server running CentOS, Apache/PHP/MySQL. This server currently hosts multiple WordPress Blogs and Websites I am developing. Currently, I have "userdir" enabled, and set up ...
2
votes
1answer
141 views

How can I reimage my virtual server to not have size caps to individual directories?

As a prenote, I am extremely new to networking in general, and my knowledge is very minimal, even for things you guys would consider basic. I will try my best to keep up with any advice you have to ...
0
votes
0answers
239 views

Wireshark on CentOS does not start

I'm using CentOS 6.4 64bit. When I run wireshark i get the following error: No protocol specified (wireshark:3620): Gtk-WARNING **: cannot open display: :0.0 It has come to my attention ...
0
votes
1answer
297 views

Including Hostname and ipaddress in ssh MOTD

I want to display my hostname and ip address to be showed as motd when some user enters my machine using ssh. I tried entered $(hostname) and all. But did not work. Also i want to Restrict a user to ...
1
vote
1answer
115 views

Launching Script/Executable from SFX archive on Linux

I want to create a SFX installer on linux. I got source for p7Zip from here and able to build it in linux. Now I want to create SFX style archive which will launch some script or executable upon ...
1
vote
1answer
2k views

Sharing Windows 7 host os Internet connection with linux centos 6.5 guest os in vmware

I am trying to share the Host OS Internet connection with the guest operating system installed in VMWare workstation 9.0. The guest operating system is centos 6.5 linux installed with "expert text" ...
4
votes
5answers
4k views

How to rename files and replace characters?

I have a group of files that have : (colon) within the name. I need to replace the : with - (dash). Is there an easy way to do this in a script? Sample FileName: ...
1
vote
1answer
49 views

How to fix.. my watch --interval=60 isn't working properly

Here is the code I use in my CentOS 5 32bit. But after this I see only some of files are zipped and a lot of them isn't included in produced gzip file. nohup watch --interval=60 tar -zcvf ...
0
votes
0answers
952 views

Can not upload file to vsftpd FTP server on CentOS running on Virtual Box

so here is the situation. i have already setup my FTP server on my CentOS on VirtualBox, i can successfully connect. to it using my HostOS FileZilla Client. but here is the problem, i can't upload ...
2
votes
1answer
612 views

NFS from MacOS to Centos in virtualbox

I'm trying to share files from my Mac to a web server hosted in VirtualBox running Centos. Mac I've created the file /etc/exports. It has the following line /Users/jason/projects -alldirs -network ...
0
votes
1answer
303 views

My client can't ping to server tunnel and no internet connectivity

I have installed OpenVPN in my Centos machine as OpenVPN server. I generated all authentication certificates, keys and all and it worked fine through the key authentication system. I tested it with my ...
0
votes
2answers
112 views

How to import a virtual machine to VirtualBox?

I have VirtualBox, and someone gave me a folder containing the following files: cOS.vbox cOS.vbox-prev cOS.vdi Logs I want to use this with VirtualBox, but I'm not sure how. I had created a ...
0
votes
1answer
31 views

Possible problems that may occur in CENTOS? [closed]

I have developed an application on fedora 13 that works fine. The dependencies of this application are jre 1.6.0_26,tomcat webserver 6.0.18 and mysql 14.12 distrib 5.0.67.Now we need to extend the ...
1
vote
1answer
245 views

Trying to make sqsh with FreeTDS

I am trying to install sqsh on a CentOS Linux box on which I have successfully installed FreeTDS in /opt/freetds. I set the SYBASE variable to /opt/freetds. Configure runs and has this to say about ...
0
votes
1answer
142 views

How to create a virus isolating environment to run children games

I have a Linux Centos 6 server in the garage without a monitor or keyboard, and it does not hold any sensitive information. My wife has a Windows 7 laptop which she surfs the Internet, checks emails, ...
1
vote
1answer
2k views

“No route to host”: understanding networking between Vagrant VMs

I'd like to have a pair of VMs with a network between them. I made the following Vagrantfile VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define ...
1
vote
1answer
691 views

Screen sessions getting killed but processes still live on and run

This is a weird situation I've run into. We have a test server off site (or off site from where I work). To access the server, I need to VPN into its network. I ran screen to execute a long running ...
1
vote
1answer
1k views

Broken sudo on amazon web services ec2 linux centOS

So I had no idea of the dangers of messing with the /etc/sudoers file, and was just trying to make a simple change in there. However, I seem to have put something with incorrect syntax in there, ...
0
votes
2answers
162 views

Server can't be accessed

I have a server I rent from OVH and I rebooted it and now I can't connect to it, OVH responded with "The server has started (login is requested on the screen) but inaccessible by the network (not ...
0
votes
1answer
48 views

Is it bad practice to store obsolete authorized_keys as user/group nobody?

I'm using Chef to manage users on a cluster of servers. When a user is removed I'm keeping their authorized_keys file and changing the file's user/group to "nobody" after deleting the relevant user ...
0
votes
1answer
127 views

Copy files from path to path same structure for each user

How to copy single file for example index.html from source /backup/cpbackup/daily/a1/homedir/public_html/index.html /backup/cpbackup/daily/b2/homedir/public_html/index.html ...
0
votes
1answer
2k views

update gcc /g++ on Cent Os 5.9

I would like to update gcc/g++ on my Cent Os 5.9. The version I have is 4.1.2 : Would it be possible to update it to 4.4.7 like Cent Os 6.4 WITHOUT updating the entire operating system? It looks to ...
0
votes
0answers
3k views

How To Install Ffmpeg with libfaac, libx264, libavfilter with QT-FastStart

I am working to install kernel video sharing script. They are not supporting me setting up my VPS correctly so I am facing problems setting it up. The problem is that I have to install Ffmpeg with ...
1
vote
0answers
38 views

HyperVM Disk Issue

I have HyperVM installed on a server with a 250 GB SSD hard disk. Now, it is showing "Disk quota exceeded" error. On the same server I have a 6 TB SATA HDD. I want to move my HyperVM from SSD to SATA. ...
1
vote
1answer
2k views

while installing a patch I am getting this error: 1 out of 1 hunk FAILED --

We are configuring lighttpd in centOS 6.4. To enable kerberos authentication, we are trying to install this patch. Saving rejects to file /usr/local/sbin/lighttpd.rej patching file ...
0
votes
2answers
86 views

Port based NAT-ing with iptables

On eth0 port we have public IP, and eth1 we have IP 10.31.0.1 which provides DHCP and Squid service. Ports 8080,53,67,80,443 are open. Now for an application we have to open 1521,8443 ports so that ...
1
vote
2answers
65 views

How to mirror Dedicated Server

I bought a dedicated server with cent os from 1&1. I want to upgrade the cent os version on dedicated server. Before that, i want to take a mirror of the server for backup. It hosts many ...
0
votes
1answer
524 views

GLIBCXX 3.4.14 missing for Garry's Mod on CentOS

When installing Garry's Mod via Steam on my CentOS server I get the following errors: -- ConVarRef mat_dxlevel doesn't point to an existing ConVar Game_srv.so loaded for "Garry's Mod" ...
0
votes
2answers
794 views

Make Linux VirtualBox Guest use all Virtual Disk Available (no snapshots)

Using -modifyhd the storage on a vmdk was increased from 20 to 50GB. However the Centos client does not take advantage of it. A prior question doubling virtual disk size does not change fdisk -l ...