CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

1
vote
1answer
76 views

Using passwordless ssh on CentOS 6

I have a fresh install of CentOS 6 that I am trying to connect to using ssh without a password. But each time I try to login, I am asked for the password. Here are the commands in order: ssh-keygen ...
5
votes
2answers
5k views

Two ways to lock a password but only one to unlock

CentOS 6 Linux has two ways to lock a password: passwd -l usermod -L Today I found out, that they do something different. passwd writes two exclamation marks into the shadow file. # passwd -d ...
1
vote
3answers
3k views

New local user can't login to vsftpd

I'm a bit puzzled with this one and could really use some help. We have a CentOS 6 box running VSFTPD as a dropbox for our customers. Each customer gets a local user and is chrooted to their home ...
2
votes
1answer
7k views

Apache throws 403 Forbidden after moving DocumentRoot (CentOS 6.4)

I installed Apache via yum on CentOS 6.4. I changed the DocumentRoot in /etc/httpd/conf/httpd.conf to point to /home/djc/www: DocumentRoot "/home/djc/www" <Directory "/home/djc/www"> ...
3
votes
0answers
207 views

linux io stack analysis

I'm trying to understand the Linux IO stack by analyzing blktrace trace. Below is the trace i captured by executing simple fio sequential write with no Direct IO (5 x 8k request size). 8,16 1 ...
0
votes
1answer
2k views

Cannot start Glassfish server on CentOS 5: port is supposedly in use, but it really isn't

I asked our sysadmin to install CentOS 5 on a virtual server within our company, on which I plan to experiment with Glassfish. The server is up and running, I can ssh to the server, and I do have root ...
0
votes
0answers
32 views

Internet working but not all of LAN!

I have recently installed CentOS 6.5. system is behind a firewall (institutional access) with an IP address, say, 10.50.28.99. It is not detecting (pinging or connecting via ssh) computers with ...
0
votes
2answers
9k views

Realtek r8169 not working in CentOS 6.5

We have recently purchased Gigabyte 990xe-ud3 motherboards. It came with Realtek LAN conroller. However with CentOS 6.5 it is not working, i.e. although it shows that it's connected with network, it ...
2
votes
1answer
197 views

Does my VM need to be on the same LAN IP range to ping?

I have a home LAN where all internal IP addresses are in the rang 192.169.0.0-254. However, on one of those computers I have setup a CentOS VM, which currently seems to be set to 10.0.2.1. So the VM ...
2
votes
4answers
793 views

Keeping my production webserver updated

I have a production webserver (CentOS 6.5) and I just wanted to know how do I keep this updated interms of security updates and stable. For example, is it safe interms of not breaking anything on the ...
3
votes
1answer
4k views

Allow all users can write files/folders of user “apache”?

I run Apache 2.2.15 on CentOS 6.4 When a web local run a function and it created files/folders owned by user "apache". I can read these files/folders via samba but i can't write/delete them. I've ...
0
votes
1answer
217 views

Install a basic CentOS VM on Fedora 19 with libvirt

I would like to install a CentOS 6.5 virtual machine on my machine, only with command line tools and basic networking capabilities, i.e a way to have http and ssh connections between the host (Fedora ...
0
votes
1answer
442 views

CheckInstall on CentOS

I am attempting to make CheckInstall on a clean version of CentOS however I am having difficulty, I receive the following error: [root@host checkinstall-1.6.2]# make for file in ...
4
votes
2answers
13k views

“Last” command: How to show latest user login?

As I know, the last command shows recent logins by all users. But my PC (CentOS) has been used for roughly a year, and there are many users logged. I tried to used the last command, but it just showed ...
2
votes
6answers
3k views

Does LAMP Stack have a GUI?

I just bought a VPS server with LAMP. I have SSH access, however no clue how to use LAMP. I used to work with cPanel in the past. So far, when I type the server address I get the default "Apache 2 ...
4
votes
4answers
240 views

Locating files and displaying their owner

I have to search for a specific file type on a storage unit and also want to know their owners. With locate '*.txt' >> result.txt I find all files I'm looking for but I'm missing the owner this ...
3
votes
2answers
6k views

yum installs an old version of cmake

For some reason when I run yum to get cmake it will install an older version. Could it be because my repo list is not complete? I'm on CentOS 6 using a minimal desktop install from the non-net install ...
1
vote
2answers
306 views

No package community-mysql-devel available

I'm trying to get this package because I need it to build software on CentOS 6, but I'm getting this error: No package community-mysql-devel available I'm logged in as root, using yum. Could it be ...
2
votes
0answers
1k views

CentOS 6.5 sound permissions

I am trying to configure ALSA for a CentOS 6.5 minimal install, my problem is non-root users do not have permission to access the sound devices in /dev/snd because the files are missing access control ...
1
vote
3answers
81 views

Yum not working

When I try to execute yum I get this: My guess is I need to start the Ethernet connection because I cant ping and this is what what we do with SL6. I'm new to CentOS that is why I ask. I've ...
2
votes
1answer
3k views

Can not use WEBEX in CentOS 6.5 , Fedora 18 and 20

Tried to use WebEx with the following setup: Machine : intel i5 , x86 architecture OS : CentOs : 6.5 , Fedora 18 and Fedora 20 Java : jdk 1.7_45 64 bit Browser : firefox 26 with java plugin ...
0
votes
1answer
208 views

Installing virtualmin over webmin

I'm setting up a CentOS 6 server, and I need to install virtualmin. The server already comes with webmin setup, but there's no way I can see how to access virtualmin, so I assume it's not been set up ...
0
votes
1answer
971 views

how to install Padre in linux(CentOS)?

How to install Padre IDE tool in Linux(Centos) for Perl scripting language?
0
votes
2answers
199 views

Moving a folder to a NAS mount

I currently have a small Centos VPS which has some local SSD disk - I am getting close to my storage limit as I am storing a lot of flat files which are accessed very infrequently so I am looking at ...
4
votes
1answer
691 views

lshw lists my drive but it has no /dev file

Ive just got a dedicated server which has 2x 1TB HDD. However when I type df -h I get the following: [root@sd-56537 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 916G ...
0
votes
4answers
11k views

Torrent with GUI for Gnome on CentOS 6?

I'm running Gnome Desktop on CentOS, I was wondering if anyone knows of a good Torrent program like uTorrent that will run on Gnome CentOS? If so does anyone have a tutorial on how to install it.
0
votes
1answer
491 views

SSH accesss between CentOS and Vmware installed Ubuntu

I am here to request the Linux lads about using the SSH type remote access between my CentOS (Host) and VMWare installed Ubuntu. I am not new to Linux but I am completely new with practical ...
0
votes
2answers
2k views

How can I install file-roller for CentOS 6 to use in Gnome?

I've just started messing about with Linux and trying to figure things out as I go using tutorials. I've installed Gnome desktop and have some .rar files I would like to open. I've found file-roller ...
0
votes
3answers
1k views

CentOS 5: My Postgresql server version is different with my psql client. What should I do?

I installed PostgreSQL 9.1 in CentOS 5 x86_64 VPS, with these following commands: I specified which Postgresql version I'd like to install, so I choose 9.1 because I want to equate between ...
11
votes
2answers
1k views

Find out exact installation time of CentOS

I installed CentOS on my laptop about 8 month ago, and I want to know when exactly I installed it , how can I do that in CentOS 6.4 ?
2
votes
2answers
927 views

What is the most accurate way to measure disk read/write speed for an OpenVZ VPS host from within the host itself?

CentOS 6.x | OpenVZ I have an openvz VPS host and would like to measure disk read/write speed. Historically, on other physical systems, I've ran hdparm to collect this information. I haven't been ...
0
votes
1answer
299 views

CentOS(6.3) Gnome Desktop Environment does not respond!

After starting the Gnome desktop on CentOS (version 6.3), I was able to see everything (the desktop icons, time and date, the upper titles for Applications, system, and so on). But, when I try to ...
0
votes
1answer
1k views

how to connect centos from windows remotely?

I am using Oracle virtualbox and I have installed centos 6.4. How can I connect remotely to centos with WinSCP from Windows? There are fields like "hostname" in WinSCP but I don't know what to write.
1
vote
1answer
901 views

Worker MPM or Prefork?

I understand that there is a comparison topic between the two modules but this is different. I was contacting cPanel support in order to help me freeing up some memory usage on the VPS. They found ...
0
votes
2answers
673 views

why useradd havent created the standard files?

See I have created some user in my CentOS with useradd command. And I didn't get any kind of automatic standard dir creation and its not been versatile actually while I am creating that user. see the ...
1
vote
2answers
3k views

How to install red5 & Java on centos 6.4

There are many tutorials out there but not so many for 6.4 and it seems people are having problems with running either Java 6 or 7 and Ant. So does anyone know where to find a definitive guide? ...
1
vote
1answer
495 views

Unsure about java JDK for Centos 6.4

I have done a yum search java before installing anything to see if may have already. It comes back with the following: libreadline-java-javadoc.i686 : Javadoc for libreadline-java ...
0
votes
1answer
158 views

How to automate route commands

For some reason everytime I connect to my VM I have to manually launch these two commands for it to connect to the Internet. route add 198.245.49.254 dev eth0 route add default gw 198.245.49.254 Is ...
2
votes
3answers
2k views

Linux empty buffer cache command permission denied

I'm using the following commands to flush cache: # sync; echo 3 > /proc/sys/vm/drop_caches # sync; echo 2 > /proc/sys/vm/drop_caches # sync; echo 1 > /proc/sys/vm/drop_caches When I use ...
1
vote
3answers
5k views

iptables-restore just says “FAILED”

I am not sure what's wrong with my rule in the Iptables. I am actually trying to build a SSH server and following a cyberciti tutorial. My Iptables configuration looks like this: # Firewall ...
0
votes
0answers
945 views

touch: setting times of No such file or directory

I got strange issue with TeamCity server (from log-file): [2013-12-26 16:48:52,915] WARN - jetbrains.buildServer.SERVER - Failed to save custom data to the file: ...
1
vote
1answer
605 views

How to create a custom keyboard-shortcut for renaming files on CentOS? [closed]

I want to create a keyboard-shortcut for renaming files, like the F2 key in Windows. How can I do that in CentOS 6.4? Following is the image of the panel for keyboard shortcuts:
-2
votes
1answer
942 views

Run a php file as service?

I created a .sh file and it is email.sh In this email.sh file I have these lines #!/bin/sh php /home/username/public_html/Worker.php Now, I want to make that email.sh as a startup service in the ...
3
votes
1answer
2k views

chkconfig bootup script failing, script runs good manually

I recently purchased a vps and I attempted to create a startup/restart script to start up my java program. I am running CentOS 6. The script works if I execute it manually with this command: ...
1
vote
1answer
142 views

ls recursive on home dir only with no flags specfied other than color [closed]

Like the topic says whenever I am in my home directory and run ls it shows me every file in every folder recursively, I cannot find any documentation of why this would happen, I have been looking on ...
0
votes
2answers
11k views

Installing OpenSSL shared libraries on CentOS 6.5

OS: CentOS-6.5-x86_64-minimal I downloaded the latest version of OpenSSL Extracted it with tar -xvzf openssl-1.0.1e.tar.gz cd openssl-1.0.1e ./config --prefix=/usr/local make it gives me the ...
2
votes
8answers
12k views

CentOS 6.5 installation hangs on first screen

I'm trying to install CentOS 6.5 in Virtual Box. The problem is, the installation hangs on the first screen after waiting about 10 seconds. How can I pass this screen? The steps I installed: 1) ...
0
votes
1answer
191 views

rails command getting removed from $PATH after resume from hibernet

i came across a very strange issue. i have installed rails through rvm & tested the installation. next day when i logged into system neither ruby nor rails command was found. I reinstalled ...
5
votes
1answer
950 views

rc.local with read will not echo key strokes

I'm using CentOS 6.4 and have a small problem with using read in /etc/rc.local file. It will allow keyboard entry but does not echo any of the key strokes during input. This is something that worked ...
5
votes
2answers
2k views

Setting ulimit correctly for PHP on Linux

I have /etc/security/limits.conf set to the following: nobody soft nofile 409600 nobody hard nofile 1024000 phpuser soft nofile 409600 phpuser hard nofile 1024000 httpd soft nofile 409600 httpd hard ...