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
3k views

Installing Dovecot and Exim on CentOS 6.4

I've been looking for some guides on setting up a secure Dovecot and Exim mail server setup on CentOS 6.4, however it seems there's nothing out there. Does anyone know of any guides - or - if someone ...
0
votes
1answer
1k views

setting up a relay port for postfix smtp on CentOS 7

A CentOS 7 server has postfix, dovecot, and mailx installed. I am able to make an IMAP connection to the server from my remote Thunderbird client running on my local devbox. But I am not able to ...
1
vote
3answers
11k 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 ...
23
votes
5answers
41k views

How To Install Virtualbox Guest Additions On CentOS via Command Line only

Reading the Virtualbox user manual, I finally got [here], which explains how to install Virtualbox Guest Additions on a Linux guest via Command Line. But it's not clear enough for me (I just started ...
3
votes
4answers
25k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
0
votes
2answers
53 views

I can't get flash plugin to work on Centos 6.6

I keep getting error:plug in needed to view content when ever I want to watch certain videos on certain sites... this was just a matter of installing flash-plug in on my fedora 22 laptop. But when I ...
1
vote
1answer
31 views

Network Configuration for Rocks Cluster

So I'm trying to set up a Rocks cluster and seem to be failing at the network configuration part, as I can not get an internet connection in my final install. So the address of that computer that ...
-3
votes
1answer
40 views

Create authentication when someone acces httpd in centOs

I have CentOs 6.6, What I want is: When someone access the var/www/html on his browser, I want a authentication bar to pop up and fill in his username and password. this is because I want httpd over ...
1
vote
2answers
494 views

set up centos7, configuration of ip

when I'm searching for ip setting of centos 7. Responed is centos 6.X 's or ealier, and I tried. But how is the default DHCP configuration of centos 7. Some configurations have been done like I want ...
1
vote
1answer
21 views

yum install http://www.example.com/package.rpm vs. rpm -ivh http://www.example.com/package.rpm

What's the difference between those commands? Are there any advantages to you yum or rpm for the same task? yum install ...
1
vote
2answers
45 views

How to reset $PATH on CentOS 6.5

I had a server restart and since then I am no longer able to run any commands under SSH. Any command will just return something like: -bash: ls: command not found I realize my $PATH must have been ...
8
votes
1answer
7k views

How display log messages from previous boots under CentOS 7?

Executing journalctl under a CentOS 7 system just prints messages generated after the last boot. The command # journalctl --boot=-1 prints Failed to look up boot -1: Cannot assign requested ...
0
votes
0answers
23 views

How can I confirm download status for yum update on RHEL5/CentOS5?

I have an older server/appliance running CentOS 5.x. When I run updates on it, yum shows something like this: The screen stays like that until all packages are downloaded -- no status or progress ...
0
votes
0answers
18 views

How should I upgrade php5.3.20 to PHP 5.4 or higher than in Centos 5.3?

I build a webs application by using Codeigniter3 which required PHP5.4 o higher than this version and hosted in Centos Linux 5.3. So how should I upgrade PHP5.3 to higher version? However what is PHP ...
1
vote
1answer
462 views

CentOS 7 - Rename network interface without rebooting

I'm renaming network interfaces by modifying the files in /etc/sysconfig/network-scripts. eth0 -> nic0 eth1 -> nic1 The content of the the network scripts looks like this, after modification: # ...
2
votes
1answer
25 views

Where can I find gtkglextmm for centos 6?

Yet another "where can I find" question. I'm looking for gtkglextmm, the gtk/gl C++ wrapper, for CentOS 6. On my Ubuntu system, I know you can get it with sudo apt-get install ...
2
votes
3answers
520 views

How to find the cpu and memory usage of child processes

Supervisord is running on centos server. If I do ps -e -o %mem,%cpu,cmd | grep supervisord | awk '{memory+=$1;cpu+=$2} END {print memory,cpu}' I get 0 0 just because supervisord is just an ...
1
vote
1answer
108 views

Boot to different partition after restore of operating system

Let's say I have a server with one RAID with 3 partitions: P1 - 20G OS / programs P2 - 190G Data P3 - 20G unused If I ever need to roll back P1 to a previous state, and I've restored a past ...
2
votes
1answer
2k views

Unable to locally verify the issuer's authority

I am not able to open any https URLs using wget or curl: $ wget https://www.python.org --2015-04-27 17:17:33-- https://www.python.org/ Resolving www.python.org (www.python.org)... 103.245.222.223 ...
0
votes
0answers
55 views

Vagrant + CentOS 7 - Apache fails to start, I don't see an error

I'm spending some time trying to provision a Vagrant box running from a CentOS 7 base box. After a fresh install of Apache, I am able to hit the server over http and restart the server, but as soon ...
0
votes
1answer
70 views

Grep /var/log/maillog for email to a certain user, based only on his linux username

Level 1, beginner here. Question about grep and maillog. I have a learning environment, based on Linux CentOS, with Postfix and SquirrelMail running, but my assignment is more in general. I need to ...
0
votes
0answers
58 views

How to set the repo file properly to have lxde installed?

I want to have lxde installed on my centos 7 with the command. yum install -y lxde An error occur: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ...
1
vote
0answers
21 views

Can't setup mount of EncFS on user login

I've tried to setup EncFS to be mounted on user login as described in this guide excluding the Password Utility section, however it works with little success. The EncFS works properly ...
2
votes
0answers
23 views

pppd issue over serial cable

I'm trying to set up a ppp connection between 2 computers via serial cable, to enable TCP/IP over serial. Computer1 -> USB-Serial Converter -> Serial Cable -> Serial port of Computer 2 On computer ...
2
votes
1answer
247 views

Centos 7/Gnome Applications menu items don't respond

I have CentOS 7 installed with gnome. After some uptime, no items under the 'Applications' menu respond.* I can open the menus and submenus and hover over items with the mouse pointer. They will ...
3
votes
2answers
124 views

How to permanently disable root-password prompt for recovery mode, RHEL7

Note: I asked a similar quesiton concerning version 6 of these bundles here. Note that 7 uses systemd and may have a different implementation In the rare cases that a RHEL or CentOS 7 system is ...
3
votes
2answers
5k views

How to colorize “root” in red in CentOS?

This is the content of /etc/bashrc, I would like to modify it for show "root" as red but don't know where to add the color code. # /etc/bashrc # System wide functions and aliases # Environment stuff ...
0
votes
1answer
50 views

Nginx says open() “/etc/nginx/conf.d/foo.conf” failed (13: Permission denied)

Here is what I have in ls -al /etc/nginx: total 52 drwxr-xr-x. 4 root root 4096 Jul 28 04:16 . drwxr-xr-x. 78 root root 8192 Jul 28 03:37 .. drwxr-xr-x. 2 root root 26 Jul 28 03:55 conf.d ...
0
votes
0answers
116 views

PAC Manager dependencies problem under Centos 7.1

I have downloaded PAC Manager from sourceforge.net/projects/pacmanager/files/pac-4.0/pac-4.5.5.5-2.x86_64.rpm/download When I try to do yum install on it, I get dependency errors at the end: Error: ...
0
votes
1answer
1k views

bash cannot find mvn command after install

I tried to install Maven on CentOS 7, but afterwards typing mvn -version in the terminal results in bash: mvn: command not found.... How can I fix this so that I can call maven from the CentOS 7 ...
0
votes
1answer
43 views

OpenLDAP: Invalid syntax error when trying to add LDIF

I keep getting an invalid syntax error when trying to create a user in OpenLDAP (CentOS 7). This is a new install of OpenLDAP for testing purposes. So far I've managed to create a group called "Lab ...
0
votes
1answer
24 views

Installing a different php version for a subdomain

I have a cPanel dedicated server installed with PHP 5.2.17. I need to use php 5.3 version for my subdomain and the directory needed php.5.3 is /home/website30/public_html/blog/. Can anyone provide ...
-2
votes
2answers
50 views

Google chrome and chromium black window

When I update my google chrome or chromium to a version that is higher than 38 The window of the browser gets black functional square. It's all black even the top bar. I basically can't see anything ...
1
vote
0answers
58 views

CentOS 7.1.1503 Minimal cannot install Gnome Desktop via yum groupinstall “GNOME Desktop”

I've installed CentOS 7 as a virtual machine using virtualbox. That part worked fine and I've got my network connection working properly. I've updated yum and that worked fine. It would seem that ...
0
votes
0answers
36 views

X will not start, Centos 7

I installed X/X11 and proceeded to install DWM on my X220. However, X does not start and I am having trouble figuring out why. I have posted the /var/log/Xorg.0.log file here: ...
-3
votes
2answers
106 views

Installing python on CentOS

I am unable to digest the fact that Linux CentOS requires users to do so much just for installing Python. It was so easy installing python on Ubuntu. Also since CentOS comes with python2.5 it leads ...
0
votes
2answers
107 views

Python 2.7.10 on centos 6.6 but no IDLE

I installed Python 2.7.10 on my Centos 6.6 32 bit laptop but when I type IDLE at the prompt I get this [sinux1@horriblehost ~]$ idle ** IDLE can't import Tkinter. Your Python may not be configured ...
3
votes
1answer
614 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
0
votes
0answers
42 views

why can't install centos-6.6 such the way as centos-7.0 from usb-hdd?

Here is the file structure in my usb-hdd. ├── boot │   └── grub │   ├── fonts │   │   └── unicode.pf2 │   ├── grub.cfg │   ├── grubenv │   ├── i386-pc ├── centos-6.6 │   └── ...
0
votes
2answers
4k views

MySQL service doesn't start

I have a CentOS 6.6, on the system there was a working Mysql and a mysql server already installed and a running mysqld service, but i needed a fresh install, so i did the whole removal through yum, ...
1
vote
3answers
52 views

Send mail at startup

I want to send a mail to myself at the restart of a server. We use AWS, and a restart results in a changed internal 10.x.x.x address. This address has to be configured in Postgres and elsewhere, and ...
0
votes
1answer
23 views

How to find what custom config is used by iptables?

I need to open custom iptables config, and change old IP adrees to new. How i can find what custom config is used by iptables?
1
vote
0answers
30 views

How to get the values for “set root” in menuentry while setting password for GRUB2 on CentOS 7

I need to disable single user mode on my servers running CentOS 7. I read the RedHat documentation on what goes to /etc/grub.d/40_custom and how to encrypt the password and all but one details makes ...
2
votes
3answers
5k views

how to install kdm on CentOS 7

I installed CentOS 7, first I installed group "KDE Plasma Workspace", then I installed "GNOME Desktop", after that, I found only gdm existed. and which kdm returns nothing, yum provides kdm only ...
1
vote
1answer
588 views

How to block the social websites in centos through proxy?

I am installed squid in centos system. Blocked the social websites to all ip address through squid in my server systems. But someone access social websites through proxy websites, because lot of proxy ...
-1
votes
1answer
95 views

Centos 7 - firewalld - passthrough traffic with firewall-cmd

How can I allow traffic from some hosts network A (behind eth0 interface) through my centos 7 box to network B (some hosts behind eth1). network A: 1.1.1.0/24 network B: 2.2.2.0/24 Firewall ...
3
votes
2answers
76 views

Why CentOS 6 adjusts console width when running screen?

I run a console window through my PuTTY session. That console windows has a column width of 140. When I start the screen session, the console shrinks to 80 columns. I do not see this behavior on ...
3
votes
2answers
8k views

Installing Epel repository on CentOS fails

This has been working on my vagrant vm for a few month without any issues. I didn't change anything, it has been vagrant up and vagrant destroy'd several times before with no problems. But now it ...
1
vote
1answer
28 views

How to change FTP home directory in Centos 6

I have created one Linux centOS 6 instance in Amazon EC2 and installed cPanel on it and started running my websites there . The issue i face was when i try to FTP to the instance with following config ...
0
votes
3answers
158 views

Which ISO file, vmlinuz and initrd.gz to use for installing CentOS from Multiboot USB?

I have created a multiboot bootable USB with GRUB and used it to install Debian 8.1 successfully. A multiboot USB is one that contains the ISO images of multiple operating systems, with GRUB being ...