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
3answers
278 views

CentOS - how to use ln command in this situation?

Create a file like the log file in CentOS, when this log file is updated, then the copy of the log file is also updated. Maybe I use this command: ln -s logfile copy_of_logfile Then when logfile's ...
0
votes
1answer
241 views

Recover CentOS - blinking cursor on boot

I broke CentOS trying to edit a file I probably shouldn't have touched in an attempt to get a user to automatically login. The instruction was this: Modify following line in /etc/init/tty.conf exec ...
1
vote
1answer
259 views

Centos 6 - Can't get out of safe mode

So I was going into safe mode from following a tut to fix the error Access denied for user 'root'@'localhost' (using password: NO) And I had issued the following command: mysqld_safe ...
0
votes
2answers
112 views

Using a VirtualBox guest as a filestore for a physical network

I've got a CentOS host with a CentOS guest (both 6.5). On my guest I've installed and setup Samba, and given it a fixed ip of 192.168.1.2 (my host is 192.168.1.1 / my router is 192.168.1.254). From ...
0
votes
1answer
22 views

Filetype is NET? Other sites on server are “folder”

I am curious as to why two sites on my Centos 6 server are "NET" as the filetype. Does it make a difference vs a folder? Here is a picture for better understanding: As you can see, ...
0
votes
0answers
99 views

Connecting to Guest Machine apache from another computer VirtualBox

I'm using virtualbox running CentOS and I am unable to connect to the guest apache server from another computer. I can connect to the guest from the host and from any computer on my LAN network, but ...
0
votes
1answer
79 views

make does not show option on pressing tab on centos

In my office i have ubuntu where in my project folder i have Makefile. If i got to folder and then press make and then tab then it shows all option but at my home i am pressing table after Make and ...
0
votes
1answer
70 views

How can i get simple makefile tutorial without compilers [closed]

In my project our coder have written the makefile for installing and deploying the web application like make install.php which then contain instructions to install it. I am searching google and you ...
1
vote
2answers
1k views

How can I merge partitions in Linux without losing data?

So, I'm working on a couple VMs for a high-profile site, and they have /home partitioned separately from / (root). The owner has asked me to merge the two partitions so that /home is not partitioned ...
5
votes
4answers
12k views

Cannot install CentOS 6.5 using UEFI usb boot

I am trying to dual-boot CentOS 6.5 on my desktop that is currently running Windows 8.1. I have two storage devices: an SSD that has my Windows installation, and an HDD that has all of my data. Both ...
1
vote
1answer
473 views

How to get total running time of a hard disk

In order to do disk rotation in a server, I need to know the current running time (online) time of a disk on a Linux CentOS release 6.3 (Final) system. The disks are connected with SATA (e.g. ...
3
votes
2answers
215 views

Get the available space of Dropbox using Linux command line

I'm using CentOS. Is there a way to get the unused space in my Dropbox account using the command line?
4
votes
2answers
2k views

“muxserver_listen bind(): No such file or directory” using todo.txt over ssh on Haiku OS

I'm getting this error after entering a password when connecting via ssh from a Terminal window, ever since I followed these directions to reuse ssh connections: "...consider appending the following ...
0
votes
2answers
1k views

Accessing CentOS installation

I use an SSD as my boot device, and I have a HDD that I use for data. Both drives are set up using GPT/UEFI. I installed CentOS to its own partition on the HDD, and I have Windows 8.1 installed to the ...
2
votes
2answers
2k views

Server hijacked / being used as bitcoin miner - how to I stop this?

I'm in a bit of a situation, my server has been hijacked and it appears to be involved in a bitcoin mining operation. I need to know where to start at least, I'm a novice system admin and haven't ...
2
votes
1answer
1k views

SSH Tunnel for restricted user w/ PuTTY and no shell

so I have been using SSH tunnels to restrict access to internal sites or portions of public sites for a while now, and since only admins had SSH access at all I've been using standard non-root/sudo ...
2
votes
1answer
1k views

Upstart: unrecognized service (CentOS 6.4)

I have created an upstart service from this gist. I put it into: [andrey@vm01 ~]$ ll /etc/init/play.conf -rw-r--r--. 1 root root 1255 Dec 1 20:50 /etc/init/play.conf I also installed upstart, as ...
0
votes
1answer
280 views

Default ispconfig 3 website page doesn't show

I am not a professional Linux user. I want to use ISPConfig 3 so I installed php and MariaDB on CentOS 6.3 on a vmware guest OS. Then I installed ISPConfig 3 too (on port 8080). But when I enter ...
0
votes
3answers
13k views

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

So at first I was getting this error when trying to create databases for use in phpmyadmin. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I ...
1
vote
1answer
221 views

Disable volume controls in KDE / KMix Without Root Access

I'm using KDE on CentOS through a VNC session, and I never intend for any sound to be used in this session, it is always completely silent. When I have the VNC client open (in Windows) and I press ...
0
votes
0answers
2k views

MySQL Daemon Failed to Start - centos 6

So not sure why I am getting such error. When I type: mysql I get: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I know that there should ...
0
votes
1answer
56 views

No longer able to access Centos 6 VPS the “normal” way?

So I still yes do have access to the serial console stuff but I am really limited on my options now. I did numerous things before I had rebooted my VPS so I really can't pinpoint what I did to cause ...
0
votes
2answers
342 views

Where to retrieve MySQL Database Backup? Centos 6

Had taken a look at: Where Are Databases Located - MySQL File Location Didn't seem to help much. I used this for a single MySQLDatabase backup: ...
0
votes
1answer
2k views

How to install PHP 5.3 on CentOS 6?

I finally found a place for all the PHP 5.3 files. I have all the links, I just really don't know where else to go from having the links. Simply doing "yum install linkshere" just gave me issues like ...
1
vote
1answer
852 views

Does docker support CentOS/RHEL now? (after 0.7 release)

As this post (http://blog.docker.io/2013/11/docker-0-7-docker-now-runs-on-any-linux-distribution/) claims that docker now have "Standard Linux support" including RHEL, but in the documents ...
0
votes
0answers
44 views

Install PHP 5.3 for one directory only

I am on a CentOS 6 VPS, with Apache & PHP 5.4. I need to have PHP 5.3 on only one folder, but no where else. How do I install PHP 5.3 without conflicting with my current PHP installation and ...
2
votes
0answers
300 views

mount: / not mounted already, or bad option

Can't mount the system with data=writeback I've added ,data=writeback to fstab than fstab: /dev/mapper/vg-lv_root / ext4 defaults,noatime,discard,data=writeback ...
0
votes
1answer
1k views

TCP: Possible SYN flooding on port 80. Dropping request even though net.ipv4.tcp_syncookies set to zero

I have a strange issue, net.ipv4.tcp_syncookies is set to zero. but I still have the following warning in my /var/log/messages TCP: Possible SYN flooding on port 80. Dropping request. sysctl -a | ...
0
votes
1answer
102 views

ACL's Centos Linux - Not being inherited

Trying to work out the needed ACL's... OS is Centos Linux Situation: Folder called home. User called user1 and User called user2. user1 owns folder home, user2 has RWX to home also. With ACL's Im ...
0
votes
1answer
304 views

LFD wont start in Centos

Error messages: service lfd status Status of lfd:lfd is stopped tail /var/log/lfd.log Nov 24 15:36:05 lfd[3833]: Error Invalid configuration line, at line 64 Nov 24 15:36:05 lfd[3833]: daemon ...
0
votes
1answer
226 views

Centos 6.2 on vmware, kernel update, doesn't boot

I updated Centos 6.2 on virtual machine (vmware) yum -y upgrade kernel kernel-devel But after reboot machine, failed to boot. How could I retrive my data on that machine hard disk?
0
votes
0answers
174 views

Unable to log in with correct credentials from different locations into vps

I have a VPS running CentOs 6.4 with CPanel 11.38. At the moment my 2 clients can't log in to the mailserver from their location. I have done it myself and the credentials are correct. I can log in ...
0
votes
1answer
753 views

Restrict a user from accessing everything but a folder

I have a VPS running on CentOS 6. The parts inside the VPS are spread in different folders. My websites are in /var/www/html and some other key parts for my VPS are in /home/. Could someone give me ...
1
vote
2answers
823 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?
2
votes
1answer
528 views

Find out what's causing high server load?

If a server has become inaccessible via SSH due to high load, I would usually restart it. How do you usually find out the cause of the high load (e.g., what process, how much RAM/CPU was used, etc.)? ...
0
votes
1answer
155 views

Windows share is not accessible from time to time

I have a CentOS box having a share mounted from local NAS (Synology) and a share mounted from a Windows Server 2012 (no utilities, plain standard share AFAIK). There's a script that does backups every ...
0
votes
1answer
393 views

iptables stupid error (iptables -A INPUT -j ACCEPT)

[root@router ~]# iptables -A INPUT -j ACCEPT iptables: No chain/target/match by that name. How is that possible? I recompiled the kernel (3.11.8) and updated iptables to 1.4.16. The strage thing is ...
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, ...
2
votes
2answers
1k views

Unable to write files on CentOS

I have a VPS running on CentOS 6 and apache2 as webserver. I have several PHP scripts running in my server, and everything goes smooth, except to file writing. For some reason, my PHP scripts are ...
0
votes
0answers
177 views

Error installing 64 bit Windows on VirtualBox

I've installed a Headless VirtualBox on my Centos 6.4 x86_64 box, and installed phpvirtualbox. I've inserted my Windows 7 64bit disk in the CD drive of the physical host, and created a virtual ...
0
votes
1answer
921 views

Do Linux devices require user permissions? If so, how are they added?

Trying to create a new virtual server using VirtualBox and phpVirtualBox on a physical Centos box. Installed the software and all seems good. Put the operating disk in the CD drive of the physical ...
0
votes
2answers
208 views

move folder on a linux partition

my os is CentOS 6 running as a virtual machine under ESX. I don't know why /home folder is mapped to the biggest partition. I want my own folder /data (which is next to /etc, /root, /home and others) ...
1
vote
1answer
4k views

Install packages in CentOS from DVD without connection to internet

I have a CentOS 6.4 system with no connection to internet. I have the installer DVD though. How can I install a package, say gcc, using this DVD alone?
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?
3
votes
2answers
5k views

Why does yum update fail in CentOS 6.4?

I am using CentOS 6.4 in a corporate lab, and the yum update fails with the below error: I am able to access the same repositories through the browser. [root@LAB1 ~]# yum update Loaded plugins: ...
0
votes
1answer
46 views

Connect from host to sandbox

I have a sandbox system setup using Oracle VM VirtualBox running on CentOS 6 what I want tho is to connect from my physical machine to the VM via SSH is there any easy ways to do that? The VM is ...
1
vote
1answer
54 views

Issue in connecting to some specific remote machines from linux machine

Being in network. Consider my machine IP Address is 172.10.40.198 having CentOS. I am trying to connect to IP addresses 172.10.40.(200-203) which are installed as test vms with CentOS on Ubuntu ...
0
votes
0answers
2k views

How to resize disk partition CentOS

I have parallels mac os desktop and I run centOS. My problem is that I can't make this Disk /dev/mapper/vg_host-lv_root bigger. Disk /dev/sda: 549.8 GB, 549755813888 bytes 255 heads, 63 ...
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
1answer
180 views

Failed dependency while installing Iron browser (a Chromium web browser clone)

Installation failed while trying to install Iron browser. [root@localhost softwares]# rpm -ivh iron64.rpm error: Failed dependencies: libc.so.6(GLIBC_2.15)(64bit) is needed by ...