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
2answers
885 views

Installing RPMS on Centos

Is generally installing standalone rpms considered 'dangerous'? Are these affected by any system upgrades, package upgrades etc.? How about dependencies and libraries?
1
vote
1answer
2k views

Why did yum-builddep not provide the dependencies to install my rpm?

I am trying to rum my rpm package but getting this dependencies error. [root@localhost ~]# rpm -ivh /root/x86_64/asterisk-1.8.12.2-1.fc15.x86_64.rpm error: Failed dependencies: ...
1
vote
2answers
444 views

centos primary/secondary nameserver setup

I am new to Linux/unix and would like to know how to setup my (ve) server to host my website. The (ve) server will have centos 5.5 installed with a LAMP stack. I am specifically looking for a way to ...
1
vote
2answers
1k views

Which are best repo for Cent OS 5.7? [closed]

Which are best repo for Cent OS 5.7? Should I install apt-get and use other deb packages on Cent OS? I mainly used Ubuntu which is really easy to update any packages.
1
vote
1answer
1k views

How to configure mounted FTP connection

I'm using latest CentOS with Gnome, and using bookmarked FTP connection, that connects to my server, and mounts remote directory. The thing is, I see no way to configure that FTP client, whatever that ...
1
vote
1answer
7k views

CentOS 6 installs libmysqlclient.so.16 and friends without me asking

Whilst trying to resolve a dependency issue with MySQL's libmysqlclient libraries on one of my CentOS 6 MySQL servers I was surprised to discover the following libraries installed in /usr/lib/mysql: ...
1
vote
1answer
347 views

Centos directory server / 389 directory server - any differences?

I have very broad view that Redhat Directory Server, 389 Directory Server and Centos Directory Server are all the same. It's just the support you pay for on the RedHat version. Is this true? Are ...
1
vote
1answer
1k views

What kind of installation should I choose from CentOS to have it as dom0 xen host?

I want to have CentOS 6.0 x86_64 as a dom0 xen host. During the installation of CentOS there are many options for installation: "minimal" "Basic Server"... "Virtual Host".. The question is: which one ...
1
vote
2answers
6k views

Linux Centos 5.5 yum update command is not working

I have done lots of things to update. yum clean all yum clean metadata yum clean dbcache then yum update outputs: http://mirror.centos.org/centos/5.6/addons/i386/repodata/repomd.xml: [Errno 14] ...
1
vote
1answer
2k views

CentOS 5.5 SSH with Key for non ROOT user

I tried pretty much everything I could to make this work. I spent literally 6 hours on research and nothing helps to remove "Server refused our key" error. My username I tried to make is "Testuser" ...
1
vote
1answer
786 views

iostat usage and output

When I run the iostat command like this: iostat -d I get a result something like this: Linux 2.6.18-238.el5 (mon01) 09/03/2011 Device: tps Blk_read/s Blk_wrtn/s Blk_read ...
1
vote
1answer
1k views

Do special characters in paths pose a problem when mounting network shares?

I am trying to create a permanant access point to a windows share from a CentOS 5.5 machine. I edited the /etc/fstab file to have the following entry: //travellot/ArcGIS Setup's/9.3.1 ...
1
vote
2answers
4k views

Unable to login as normal user on CentOS

My normal user account isn't working correctly in CentOS, but logging in as root works fine. What should I do to debug/fix the problem?
1
vote
1answer
470 views

How to mount external hard disk every time the server is restarted?

I have a server which the date will be backup to a external windows server hard disk which is mounted. But problem is every time the server is restarted I will need to mount the disk manually. How do ...
1
vote
1answer
22 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 ...
1
vote
2answers
86 views

net.ipv4.ip_forward reverting to 0 even though set in /etc/sysctl.conf

I set net.ipv4.ip_forward = 1 in /etc/sysctl.conf and ran sysctl -p which caused it to set to 1 as expected in the output of sysctl -a, but sometime between last night and now something set it back to ...
1
vote
1answer
53 views

How do I get a service on a remote CentOS 7 server to persist after I log out?

I am experimenting with running Spring Boot apps on a remote CentOS 7 web server which has been successfully serving up apps on Apache and a stand-alone tomcat instance since day one. However, when I ...
1
vote
1answer
63 views

CentOS 7 Encrypt a PDF

I've recently upgraded our server from CentOS 6 to CentOS 7 and I am having issues getting pdf encryption working on it. On CentOS 6 I installed libgcj and then the pdftk package. I could then ...
1
vote
1answer
63 views

Yum problem on Centos 6.7

I have installed php, mysql, httpd on my vps. But when I try upgrade php via yum I get the following error. [root@ns1 home]# yum --enablerepo=remi update php Package(s) php available, but not ...
1
vote
1answer
32 views

Change preferred NIC in default routes

I have a VM with CentOS 7.1 and two NICs: eth0, dhcp, 192.168.1.0/24, access to the host and the Internet. eth1, static, 10.0.0.0/24, between VMs only. I have configured IP and connectivity is ...
1
vote
1answer
54 views

Python 26 pkg missing in CentOS 5

Getting following error while accessing :--- --> Missing Dependency: python26 is needed by package ambari-server-1.2.3.7-1.noarch (Updates-ambari-1.2.3.7) Error: Missing Dependency: python26 is ...
1
vote
1answer
70 views

centos 7.1 - supervisord terminates if run with systemctl

So I have a weird problem and I've been banging my head for the entire day. I have a centos 7.1 with supervisord 3.2.0 installed. If I run the supervisor with systemctl, it runs and then it shuts down ...
1
vote
1answer
48 views

Why doesn't my blockdev config change execute from rc.local on reboot

I am (probably obviously) a relatively new Linux user, so I'm already bracing for the barrage of "why aren't you doing it this way instead..." comments. I'd love to hear them...but I would also really ...
1
vote
1answer
36 views

Make spec file OS-version-specific

Ok, you may read the title and thought "this is nonsense" because a spec file IS by nature OS/Arch independant, but let me explain. The subpackage "yum-plugin-post-transaction-action" from yum-utils ...
1
vote
1answer
22 views

Include external files from conf files

I have large and messy conf files for postfix, dovecot and opendkim. I want to tidy these up by creating a sub folder called domains and creating a conf file for each domain. Then from the root file i ...
1
vote
1answer
73 views

Saving process output to a file in systemd unit file

I created a systemd file unit (Centos 7) and I wanted to save the Python output to a file but the service won't start with the below code. [root@static ~]# cat /etc/systemd/system/pykms.service ...
1
vote
1answer
35 views

How to check if Append Function is activated/enabled on Linux server

I have an issue with an API from an external provider. Their API should do an FTP push to an external server. However, it is failing. They say that the Append Function needs to be active/enabled as ...
1
vote
2answers
290 views

How to set JAVA_HOME correctly on CentOS to install Apache Solr

I am trying to set JAVA_HOME so that I can install Apache Solr with the help of this tutorial. I am connected to my server using ssh with root user To allow the running sh script to install Apache ...
1
vote
1answer
77 views

Which process/daemon replaces netplugd in Centos 7.1?

I'm moving a piece of software from Ubuntu 12.04 to Centos 7.1. Part of the original installation script runs dpkg -i netplug_1.2.9.1-2ubuntu1_amd64.deb. I can't install a ubuntu deb on Centos, nor ...
1
vote
1answer
63 views

Xorg-server 1.16+ on CentOS 7

Due to an accessibility bug I cannot use Xorg-server 1.13 through 1.15. I see that CentOS 7 uses 1.15.0. Is there any way to use a later Xorg-server in CentOS 7? Fedora 23 has Xorg-server 1.18.0, is ...
1
vote
1answer
19 views

Copy text from host to Vbox

How to copy text from windows7-host to linux CentOS7 in virtualbox without using VboxAdditions and shared folders?Is it really possible just using keyboard and mouse?
1
vote
1answer
83 views

Where does Postfix store attachment inside email?

I am trying to find the folder where Postfix store email's attachment but I can't seems to find it. Anyone know how?
1
vote
2answers
49 views

Running bash inside cronjob

I have this cronjob to run everyminute */1 * * * * root sh /test.sh My /test.sh logs the result of "top" and "free" command. It works fine when I run it manually on terminal with "sh /teste.sh" and ...
1
vote
2answers
49 views

Log free and top

I want to create a bash on my server to log a part of the output of "free" and "top" every 60 seconds. I know how to setup the cron job but have no idea how to get the output of "free" and "top" and ...
1
vote
1answer
36 views

PostgreSQL Accessible to Web Application

I have a server with PostgreSQL installed and there are scripts that are constantly modifying data in the database. PostgreSQL is running on it's default port 5432. I would like to be able to connect ...
1
vote
1answer
56 views

How to take snapshot of website through shell script? [closed]

I have a website with login page. Now I want to generate a script to login into website and take snapshot of the screen through shell script. I'm using centos 7.1 . Is there any tool or utility to do ...
1
vote
1answer
74 views

enabling smtp on port 465 and imap on port 993 for webapps running on centos 7

A CentOS 7 development server is used for prototyping webapps that send and receive email using JavaMail to connect with a remote mail server elsewhere on the internet. The remote mail server uses ...
1
vote
1answer
237 views

how do I attach devices to connections using nmcli?

An installation of CentOS 7 has two connections and three devices. How can I attach the device ens7 to the connection my-bridge? And how can I attach the device eth0 to the connection my-eth1? ...
1
vote
1answer
66 views

How can I safely send email over encrypted connection from the command line?

I found the following related questions on the stackexchange network: stackoverflow - Connecting to smtp.gmail.com via command line serverfault - Using nc.exe (NetCat) to send emails to secured SMTP ...
1
vote
1answer
807 views

tomcat 8 will not start after initial install

I am trying to install tomcat on a new CentOS 7 virtual machine. I successfully installed apache httpd, and am able to get the apache test page when I type the ip of the virtual machine into a web ...
1
vote
1answer
490 views

Couldn't find postgresql.conf & pg_hba.conf files in my postgresql installation

Following all the instructions from UNIXMEN, installed postgresql-9.4 in CentOS 6.4. Everything went well, started the service and could access pgsql screen. But when I try to configure the ...
1
vote
1answer
140 views

how big should the /boot directory be in a CentOS 7 server?

I am installing CentOS 7 in a 200GB partition of a 2TB hard drive whose other partitions will later become managed by this master CentOS 7 installation. How big should the boot mount installation be? ...
1
vote
1answer
187 views

RedHat cluster with rgmanager or pacemaker as resource manager on Oracle VirtualBox

I'm learning RedHat cluster and I have setup a 3 node cluster (Centos 6.7), corosync, cman and rgmanager on Oracle VirtualBox version 5.x. The cluster is working fine (the clustat commmand shows that ...
1
vote
1answer
292 views

Enabling FIPS on a luks encrypted CentOS system breaks boot password

For one of my apps I need to enable FIPS for OpenSSL, while simultaneously using software disk encryption. VM #1 I launched a CentOS VM instance which was software encrypted during install. The ...
1
vote
1answer
106 views

NFS + SFTP on the same directory - are there any pitfalls?

I currently have an SFTP (actually vsftpd) server I use for regular archives. The OS is Centos 7.0. While I used to use SFTP, I still could benefit from having an NFS connection to this server (rw). ...
1
vote
1answer
82 views

Why am I limited to ~10-20 usb devices?

I am trying to hook up 27 USB device to an Intel NUC running CentOS 7 but no matter what I do the system can never see more than 20. I have tried multiple models of NUCs and even tried adding an ...
1
vote
1answer
28 views

persisting multi-factor user data for custom pam authentication in CentOS 7

I am designing n-factor authentication for CentOS 7 using a custom PAM module. When the user tries to SSH, they will be texted a pin code, and be prompted to enter the pin. Where should I store the ...
1
vote
1answer
53 views

“sort -h” not working in Redhat 5.9. Any way to upgrade it?

I'm trying to sort the folders disk usage in human readable format in RHEL 5.9. I mounted the drive as NFS in Cent OS 6.4, where sort -h option works fine. But in RHEL 5.9, it throws error as ...
1
vote
1answer
38 views

How to find and install specify package by command?

I know I am noob.... As far as I know, Linux can only install package from its Repository list. And there are plenty of repositories out there. After you have installed/updated the repository list, ...
1
vote
1answer
222 views

sendmail attachment is empty

I am trying to include an attachment to my sendmail eml file. The current eml file (order.eml) has the following contents From: Sender <sender@email.com> To: client@email.co.za Subject: Report ...