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

1
vote
2answers
51 views

Using 2 drives as 1 centOS

I have a dedicated server that has 2 SSD at 120GB each I want to make 1 partition for the whole server and have those 2 drives work like 1 so I basically have 240GB, How do I do this? If it helps you ...
2
votes
1answer
366 views

CentOS Minimal + GUI; How to ensure GUI packages are installed from USB rather than from YUM repos?

I downloaded the CentOS Minimal .iso file from CentOS' web site and then created a USB drive via some tool by Fedora, I believe. I booted up the PC and installed CentOS Minimal, it was flawless, no ...
0
votes
2answers
2k views

Creating a USB stick for installing centos 6.x using DVD1 and DVD2 iso files

First, we create 2 partitions on the USB stick that is let's say 16GB. first partition is let's say only 1GB and the second partition is the rest of what is available. after we "w" write the ...
1
vote
1answer
4k views

Find out dhcp assigned gateway and dns settings in Linux (CentOS)

How to find the gateway and DNS IPs in a DHCP configured network in CentOS? I'm using CentOS installed in vmware using NAT connection and I want to make the ip static.
0
votes
1answer
801 views

How to partition a USB drive into 2 sections for Centos ISO files

I actually once did this but forgot how it's done and also did not take notes. i think i need to create 2 partitions. one needs to be 500 mb and the rest needs to me whatever is left in the USB ...
0
votes
0answers
62 views

issue in tranferring data from host machine to guest machine

We are having one Dell PowerConnect Switch which is operated on 10 Gbps; in which six to seven Server machines are connected . In each server machine we have inserted externally one 10 Gbps Lan card ...
0
votes
2answers
574 views

Getting error no such file or directory when running a script

Need a bit help. I just wrote my first script to change the network configuration. the code is echo "changing IP to 172.17.51.71" echo "changing Mask to 255.255.255.0" echo "changing Gateway to ...
1
vote
2answers
379 views

/dev partition missing, so mdadm broken. How to get Linux to see partition?

Upgraded a Linux box and changed out the root drives. There was a RAID-5 array of three SATA drives that I moved over (not root). Reinstalled the OS but was CentOS 6.4 before and after. # mdadm ...
1
vote
0answers
134 views

xdotool : close all windows except the one that is active (infront)

I would like to execute a command that will close all windows except the one that is currently active. i would likely to place this command in the gnome-panel which means when i click on the button, ...
0
votes
1answer
264 views

CentOS Computer Name Resolution without Domain Name

I have a network of CentOS6 machines. Pretend the names are : computer1.someDomain.net computer2.someDomain.net computer3.someDomain.net From computer1.someDomain.net, I can run commands like "ssh ...
2
votes
2answers
2k views

Execute a command if Linux is idle for 5 minutes

I would like to execute a command such as notify-send 'a' if my Linux machine has been idle for 5 minutes. By idle, I mean the same thing a screen saver that gets activated would use to define ...
1
vote
1answer
6k views

getent passwd outputs only local users

I want to authenticate via Active Directory on a CentOS 6.4 server. wbinfo -u and wbinfo -g display the domain users/groups. Authentication via wbinfo -a DOMAIN+user works. Authentication via kinit ...
1
vote
3answers
5k 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) ...
6
votes
2answers
1k views

Install emacs without sudo?

I have been using vim for years, and I don't really like it. I'd like to try emacs for a while, but it's not installed on any of the linux servers I use regularly. I don't have root so apt-get ...
0
votes
1answer
388 views

Connecting from win7 to VirtualBox/CentOS/MySQL

I am running VirtualBox 4.2.16 in Win7. There I have MySQL server in CentOS 6.4. Telnet from Win7 to CentOS is fine. mysql -u root -h 192.168.56.102 p in CentOS is fine. This is what I have in the ...
0
votes
0answers
20 views

How to transfer files between drives? CentOS [duplicate]

I'm basically going to get an SSD for my Dedicated server. All my current files are on the SATA drive. If I were to make the SSD my primary drive, how would I transfer over all the SATA files to it?
0
votes
3answers
7k views

Unable to access the internet in centOS from a static IP

I'm trying to setup a centOS server with a public static IP address but if I try and ping the router (192.168.1.1) I get "Network is unreachable", if I try and ping google.com I get "unknown host ...
2
votes
2answers
366 views

SSH Using Wrong ID

I am trying to establish password-less ssh to myself on a CentOS6 system. I go through the following steps: ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ...
0
votes
3answers
2k views

Install TOR Browser on CentOS 6.4?

I've been trying to install the TOR bundle on my fresh install of CentOS but I've found that most repos are outdated and/or not working. Anyone know a simple way of installing it for CentOS 6.4?
0
votes
1answer
67 views

Prevent static IP address from resetting to default

I have a CentOS 6 machine configured with a static IP address in /etc/sysconfig/network-scripts/ifcfg-eth0: IPADDR=192.168.1.100 If I manually change the address iconfig eth0 10.1.2.3 then unplug ...
0
votes
1answer
230 views

How to access computers with different network segment?

I have a computer with CENTOS installed as operating system with 2 NIC. One NIC is connected to the internet while the other is connected to a switch that is connected to 3 other computers. These ...
0
votes
0answers
2k views

Squid Proxy process not running

Hey community, some days ago my squid crashed. I'm running squid 2.6 STABLE21 on CentOS. The output of the "show squid status" command is just squid dead but pid file exists starting the ...
0
votes
0answers
846 views

instaling jdk-7u25-linux-i586.rpm on Centos error

When i try to install jdk-7u25-linux-i586.rpm on my CentOS system it gives me the following error: rpm -ivh --replacepkgs jdk-7u25-linux-i586.rpm Preparing... ...
0
votes
1answer
278 views

Enable beep in CentOS that installed on virtualbox

I install CentOS 6.4 on virtualbox and I want to use beep, I install beep-1.3-1.el5.rf.i386.rpm but not working. There is any way to enable beep on CentOS that installed on virtualbox?
0
votes
3answers
2k views

upgrading google chrome on centos 6.0 using yum not working

I tried upgrading my chrome 26.x by going to the "about google chrome" page -- but unlike my windows chrome, the linux chrome(centos 6.0) v 26.x did not offer to upgrade to the latest version. I ...
0
votes
1answer
296 views

Error building mvfs

I am trying to build mvfs so that I can run IBM Rational ClearCase on a CentOS 6.4 machine. I have all the dependencies installed so I cd to the mvfs_src folder and get the following error while ...
0
votes
1answer
710 views

Cent OS 6.4 can connect to samba share using smb in nautilus but not with smbclient command

I can't connect to my public shared mapped drive when I execute the following commands: smbclient -L sambaserver -U student smbclient -U student //192.168.1.x/public I get following error: session ...
1
vote
1answer
1k views

Setting up Apache with multiple FTP users and vsftpd

I'm trying to get my Apache setup with a single user 'ftpuser' both be able to share/access the /var/www/html directory, which contains various files/sub directories. However, when I log in via FTP ...
0
votes
2answers
2k views

Diagnose internet connection issues using command line

I'm having multiple issues trying to get CentOS to download anything. I can't get yum to work because there is a time out when trying to access a file. Anyways, is there a way to trace why a command ...
0
votes
3answers
406 views

run centos 5 from a usb stick to test a program

I have a very specific issue, I wanted to run a C - program on Cent OS 5, but i dont really use cent os for much work. I was wondering if I can have a 'live' version on a pendrive and test the C ...
0
votes
1answer
7k views

How to know the folder size in CENTOS [duplicate]

I have a website on my server and I owns it. The size of the website is around whoping 170GB . This shouldnt be this much. At max it should be around 20GB . I dont know hat makes it that big. I am ...
0
votes
0answers
322 views

How to remove emails in CENTOS using command line?

I have a server running CentOS on which I have root privileges. One of my users has almost 228932 emails in an inbox, consuming 5 GB of space. How can I remove emails using command line? The normal ...
2
votes
1answer
553 views

Hyper-V Virtual Machine Suspending on Host Shutdown (Integration Services Installed)

I'm trying to get a VM time synced with a 64-Bit Windows 8 host upon host shutdown and startup. Linux Integration Services is installed on the virtual machine and all integration services are enabled ...
0
votes
2answers
87 views

Troubleshot erronous BIND9 DNS Address entry

I setup a BIND9 DNS server in the LAN as a backend to Samba4 service. The network address of my LAN is 192.168.2.0/24 and I statically specify the IP address of DNS server as 192.168.2.144. ...
1
vote
0answers
110 views

OpenDKIM Signing return fail when spaces in mail

Few days ago I install OpenDKIM Signing using on my CentOs 6 server by manual - http://stevejenkins.com/blog/2011/08/installing-opendkim-rpm-via-yum-with-postfix-or-sendmail-for-rhel-centos-fedora/. ...
0
votes
1answer
895 views

how to access Apache server running on host os using the name other than the ip address or localhost on vmware guest

my Apache server is running on Windows 7 that is my host OS for CentOs 6.4 running on vmware. In windows 7 i can access web pages (files on server) through 127.0.0.1, localhost, and alias created of ...
0
votes
3answers
658 views

Running Jar with Display from Server

I have a Jar file which I would like to run on my server. When I run using java -jar MyJar.jar I get this error: No protocol specified Exception in thread "main" java.lang.InternalError: Can't ...
0
votes
1answer
973 views

How to install PyGTK for Python 2.7 on CentOS 6?

I am having a big problem installing PyGTK for Python 2.7 on CentOS 6. The YUM on CentOS does not have Python 2.7 or any modules for it, so I had to build Python 2.7 from source. But PyGTK has a ...
0
votes
0answers
88 views

Installing php mail() function

I have recently set up a CentOS 6.4 server using the minimalistic installation. I have a working version of PHP up and running, but I want to be able to use the mail() function in PHP. What do I ...
1
vote
0answers
209 views

ifup, ifdown on centos 6.3 guest on virtualbox

On a Mac OSX I'm running virtualbox 4.2.16 with a centos 6.3 guest. On the centos guest when I issue ifdown eth0 or ifup eth0 I get: usage: ifdown <device name> Same thing with eth1. What am ...
0
votes
1answer
47 views

When was gcc last updated in my system?

Is it possible to know the last update date of gcc in Centos? If yes, how can it be checked? The problem is that one my applications, which used to run before in gcc, is not running in gcc.
1
vote
0answers
137 views

Setting up VPN on Centos with router doing dhcp

I've successfully setup PPTP VPN on my CentOS 5 server and can connect to it. I've set it up to use the IP range 10.0.1.50-60 and this works and we can ping each other but from what I can tell these ...
1
vote
1answer
392 views

Yum Update Doesn't Work

I've started a fresh VPS with CentOS 5. As the first step, wanted to update all packages so I executed yum update It showed the list of packages to be upgraded - 86 in total, 98 Mb download size. ...
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 ...
1
vote
1answer
328 views

Effect of HOME on libreoffice to convert to pdf as non-root user

I installed libreoffice-headless and can convert documents when logged on as root. I then tried doing so as another user, and it didn't show an error, but didn't convert the file. I then found that ...
2
votes
2answers
2k views

How to install a 32 bit version of perl on 64 bit Cent OS server?

I want to install 32 bit version of perl on my Cent OS server which is of course of 64 bit..Output of perl -v is [root@M-229 ~]# perl --version This is perl, v5.10.1 (*) built for ...
0
votes
1answer
206 views

One public IP for dedicated server - a few VPS with the same IP?

I bought a dedicated server. To him I got a single public IPv4 address. On this dedicated server I installed the latest version of VMware ESXi hypervisor. With the help of the hypervisor, I plan to ...
0
votes
0answers
63 views

File browser closing on Folder deletion

I am using CentOS CentOS Release 6.4(Final) Kernel Linux 2.6.32-358.11.1.el6.x86_64 GNOME 2.82.2 I have enabled "Always open in browser" option in the File management preferences. I have a script ...
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/ ...
0
votes
0answers
165 views

Is possible to RemasterCentos 6?

I have fully configured machine running Centos 6 for my own software development. I want to replicate the configuration of this machine to another machine without needing to set up everything again ...