Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

learn more… | top users | synonyms (2)

0
votes
1answer
2k views

Sendmail Attachment

I was wondering if it's possible to include an attachment with sendmail. I am generating the following emailfile.eml files with the following layout From: Company Name <example@nowhere.com> To: ...
1
vote
2answers
4k views

CentOS Apache virtual hosts sites-available type structure

I just set up LAMP on a new CentOS server. Previously when I installed LAMP on Ubuntu, I always needed to create a virtual host definition for each website I create in my /var/www directory. But on ...
0
votes
1answer
88 views

How do I install ffmpeg on centos 6.8 with all dependancies? I am getting Error package

I am trying to install ffmpeg on Centos 6.8 server and I am getting some errors of required libs. I am not big on Linux I need your help. How do I install those missing libs? Where do I find them? ...
1
vote
1answer
186 views

Centos apache virtual hosts definition

Please excuse me if my logic is flawed as I am really new to Centos. I know I can define multiple virtual hosts in my httpd.conf file. But what I would like is to define virtual hosts in individual ...
0
votes
1answer
1k views

How to easily maintain the latest versions of Apache/ MySQL/ PHP on CentOS 6.2?

We have a few servers running CentOS 6.2 deploying web applications using Apache/ MySQL/ PHP. In the past we've just regularly run "yum update" to keep all the software up to date. As of right now ...
4
votes
1answer
6k views

CentOS 6.5 Login Screen GDM Issues

I have a few issues with the GDM login screen. I am using CentOS 6.5 and installed GNOME. I was able to change the background of the login screen by replacing the default.png image on the system. ...
2
votes
1answer
1k views

wrong fs type, bad option, bad superblock when attempting to mount restored volume

I restored a LVM group from a recovered config today (background #1, #2). Full images were made of the disks prior to issuing the following command. [root@ursula diskissues]# vgcfgrestore -f ...
0
votes
0answers
25 views

Linux Server Management Tool [migrated]

I recently deployed 13 servers Red Hat 7.2 and I would like to know what will be an ideal server management tool that will allow me to patch, and automate servers within a small environment such as ...
2
votes
1answer
5k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
0
votes
1answer
2k views

Install apache,php and mysql on CentOS VPS

I try to install apache,php and mysql server by these commands. yum install httpd yum install php install mysql-server mysql service httpd start service mysqld start to start your mysql server ...
5
votes
1answer
3k views

How to publish a git repo via HTTP using nginx?

I've a CentOS 5 server at domain.fr. I am trying to set a subdomain so that I can use it with git : git.domain.fr My repositories are in /home/git (example /home/git/repos.git) I've installed git-...
0
votes
0answers
44 views

rpc.statd is not running but is required for remote locking (statd unrecognized service)

I'm attempting to mount a nfs share (fstab entry below) example.com:/sharefolder /mnt/localmount nfs defaults The following error is returned: mount.nfs: rpc.statd is not ...
0
votes
0answers
19 views

How to configure the file /etc/security/limits.d/90-nproc.conf?

Sorry for that I tried to search some help in the google for the explanation of the file 90-nproc.conf and want to figure out how to configure this file correctly. But unfortunately not found some ...
0
votes
0answers
29 views

CentOS7 server VirtualBox guest on Ubuntu 15.10 screen issue

I have created a virtual machine with a minimal CentOS 7 installation on my Ubuntu 15.10 guest system. I also installed the guest additions. During the installation the installer issued a message, ...
0
votes
1answer
124 views

How to install opencl in CentOS 7 using yum?

I need to install opencl in CentOS 7 nvidia. I already installed cuda. But when i try to install ImageMagick with OpenCL it is showing CL/cl.h not found. But there are files in /usr/local/cuda-7....
0
votes
1answer
986 views

How to update squid proxy 3.5 in Centos 6?

I am using Centos 6.6 with 32 bit OS. Now I want to update squid proxy from 3.1 to 3.5. Is it possible to update in centos 6.6? If it is possible, please tell me how to update it.
2
votes
1answer
32 views

User home directory

I am learning CentOS and I created some users and then deleted, but I used userdel without any option. So will it remove the home directory and other things related to those users? If not then is ...
0
votes
2answers
1k views

How find and install PHP 5.3.10 or later on CentOS 6.5?

When I check yum list php it only shows 5.3.3 which is older than 5.3.10. How do I get and install the newer PHP? (Using CentOS 6.5)
1
vote
2answers
1k views

How do I install an older version of Apache httpd in CentOS 6 using YUM

How do I install an older version of Apache httpd on my CentOS 6 machine? When I do: # sudo yum --showduplicates list httpd | expand I get: file:///media/project/repodata/repomd.xml: [Errno 14] ...
1
vote
1answer
177 views

apache Virtual Host Configuration CentOS7

My host machine is Windows 7 and guest machine is CentOS 7. I am a new to Apache and I am trying to create VirtualHost on CentOS7. I have read a lot of documentation and a lot of answers over ...
-1
votes
1answer
35 views

How to convert RHEL rpm to CentOS

My team receives software in a RHEL format from another team. RHEL requires licensing to use and deliver their media. Our team converts the operating system to CentOS which is based on RHEL but does ...
1
vote
1answer
245 views

Can I use CentOS CBS as yum's base repository?

I found package python-six-1.9.0-1.el7 on cbs.centos.org, while it is not contained in the base repository in my centos 7. Is CBS a package repo like others, such as mirrors.mit.edu/centos? If so, ...
0
votes
1answer
117 views

Trying to install CentOS 7 Server with manual partitioning but GUI is very different from CentOS 6

When I installed on CentOS 6, to get a "headless" or command-line only server with the manual partioning I wanted I went through the below steps: Choose "Install with basic video driver" Choose type ...
1
vote
0answers
520 views

Centos 5.3 - Need to use 4 com ports without resource conflicts (system has 6 com ports)

we hope to use 4 serial ports together on Centos 5.3 (could not upgrade to newer version due to application limitation). COM1 and COM2 works perfectly. We use echo to output to customer display to ...
0
votes
1answer
35 views

Centos, uploaded files from application have different owner and group [duplicate]

I have an application that uploads a file via SFTP using sftpuser. Once the file is uploaded the owner and group is user1:user1. The owner of the parent directory is apache:apache. I can not figure ...
1
vote
2answers
39 views

Setting old system date

I have a Centos 7 server running in a cloud-server provider (ProfitBricks). I need to setup a demo system but is really hard to create daily fake data. My idea is to configure this server with an old ...
1
vote
2answers
841 views

Disable and Enable modules in apache CentOS7

My goal is to optimize my apache server. At first I want to disable some modules on it. I was surfing over the Internet and didn't find anything dedicated to apache which is installed on CentOS7. Here ...
3
votes
2answers
17k views

why can't this CentOS 7 server see wifi connections?

I recently installed CentOS 7 as the sole OS on an Acer Aspire T. There is no GUI, as it is a server with a terminal-only interface. What do I need to do to get CentOS 7 to be able to see and list ...
0
votes
0answers
30 views

pptpd service start failed in centos 6.8

In my centos 6.8, pptpd service failed to start. If is send command service pptpd status it shows "pptpd dead but subsys locked" then I tried to remove the subkeys by using the command rm -r /var/lock/...
1
vote
1answer
2k views

How do I get debug information from rsyslog?

I followed the directions from: http://www.rsyslog.com/doc/debug.html I put the following in /etc/rsyslog.conf: $DebugLevel 2 $DebugFile /root/RSYSLOG.txt then I try: kill -USR1 `cat /var/run/...
2
votes
1answer
921 views

pptpd dead but subsys locked? on cent os

i install point to point tunnel (PPTP) in my VPS. (Cent OS 6 64 Bit) everything fine after reboot the PPTP not worked client side. the pptpd status shows " pptpd dead but subsys locked ". how to ...
0
votes
1answer
250 views

500 OOPS: chroot on vsftpd login

I'm aware this question has been asked a lot in the past, but my problem seems to be a bit different. I'm using vsftpd on my CentOS 7 server and I have specified chroot_local_user to YES in /etc/...
0
votes
2answers
2k views

vgdisplay shows 0 free PE/size

I'm trying to configure a CentOS HA system with 2 nodes, with DRBD for replicated storage. I'm following the "Clusters from Scratch" guide, and at the DRBD portion, I need to create a partition for ...
1
vote
1answer
21 views

Any consideration for oracle installation which need to be done in OS installation?

Please forgive me if I post the question in the inappropriate place. Because I am not sure if it belongs to the DBA SO. Thanks. I am trying to install CentOS 64bit in the VMware for Oracle 11g 64bit. ...
0
votes
1answer
24 views

linux server memory leakage, it grows inactive memory, how to find the process in inactive memory and to kill?

I have a problem with my Linux cent OS server, leakage of memory grows inactive memory, so how to find the process consists with huge memory in inactive memory to kill
0
votes
1answer
2k views

Getting Minor Version Mismatch Error with Php and Mysql

I randomly started getting this error when trying to instantiate a new mysqli instance in php script: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:...
1
vote
3answers
17k views

PPTP VPN in CentOS 7

I recently installed CentOS 7 (GNOME), but I realized that there is no option for setting up a PPTP VPN client. I tried to install networkmanager-pptp-gnome, but unfortunately it's not available in ...
0
votes
2answers
11k views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
1
vote
2answers
1k views

Failed to join domain: failed to set machine kerberos encryption types: Insufficient access

did someone have this error when try to join CentOS 7 to Active Directory. I tried on a various ways(via cli, gui, tui) and always get same error. Failed to join domain: failed to set machine ...
1
vote
2answers
2k views

Installing MySQL on CentOS throws error that cannot find mysqld.sock

I have yum install mysql in CentOS 6.4. Now, when I use mysql command, it throws the following error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld....
0
votes
1answer
26 views

Add shared module to apache CentOS7

I have practiced with my apache 2.4.6 on CentOS7 and I have tried to add shared module. I can list my compiled modules using this command httpd -l. All shared modules is located in /etc/httpd/modules. ...
1
vote
2answers
1k views

install opencv-2.4-9 on centos 6.5 with cuda 5.5 support

I can't seem to install opencv 2.4.9 on centos 6.5 with cuda 5.5 support. This is my cmake output: [root@cadejos-0 opencv]# cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/opt/opencv -D ...
0
votes
1answer
42 views

Set Document Root for site?

Apologies up front for the silly noob question .... I have a CentoOS 6.7 server set up with Apache. I can confirm it is working correctly - say the machine's IP is 123.456.789.123, I can navigate to ...
3
votes
2answers
994 views

tmux unable to start a new session? “1;2c”

Introduction I just installed tmux onto my CentOS 7 machine, but I have encountered a bewildering issue. Whenever I try to attempt to start up a session using tmux or tmux new -s session-name, it ...
5
votes
2answers
11k views

How can I add an application to the Favorites section of the Applications menu in CentOS 7?

I have created a custom application entry in the applications menu for Eclipse as follows in a file /usr/share/applications/eclipse.desktop as follows [Desktop Entry] Version=1.0 Name=Eclipse Exec=...
7
votes
3answers
63k views

pdksh missing from RHEL 6 and CentOS 6?

The package pdksh does not exist on RHEL 6 or CentOS 6 when I try to install it through yum. So my questions: Why is it no longer available in the default repositories? It is available in version 5....
0
votes
0answers
26 views

Error while shrinking root filesystem without booting a lived in centos 7 [duplicate]

I am following the steps in How to shrink root filesystem without booting a livecd After unmounting /oldroot, I am getting below error while resizing the rootlv. Please help. CentOs 7 ...
2
votes
1answer
129 views

clang-tidy install

I have clang installed from packages on both Ubuntu 14.07, Centos 7 and Fedoara 22. I would like to use clang-tidy but can neither find a package nor how to install it without installing clang from ...
0
votes
1answer
4k views

No IP address on VMware running centos 7

I just now installed Cent OS 7 on my VMware 8 and I am not able to connect it to a network. I checked the VM network and its mapped to the physical NIC. The same setting work like charm on my CentOS ...
0
votes
1answer
10k views

How can I extend VMware Partition on Centos 7 using GParted?

I've a problem with increasing a partition from 20GB to 120GB, VMDK file. Here is what I've done: using vmware-diskmanager to increase vmdk file from 20 GB - 120 GB. It's ok. download and boot from ...