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
17 views

Using second ip on eth1

I have a /26 static ip in my network and I want to assign a second ip to a machine which already have one ip on eth0. The OS CentOS 6.6 64bit. I added another ethernet adapter (card) to the machine ...
0
votes
0answers
16 views

How to set IP based on interface name (not MAC) on Centos 6.5

I'm trying to automate the network interface setup that will be used on identical boxes. The boxes have 3 different NICs. Each of the 3 NICs have different MAC prefixes that I can use to differentiate ...
0
votes
2answers
19 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 ...
-3
votes
1answer
36 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 ...
-3
votes
0answers
21 views

configure not work

checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/fromftp/freeradius-server-2.2.6': configure: error: C compiler cannot create executables See `config.log' for ...
1
vote
1answer
11 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
1answer
19 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 ...
1
vote
2answers
24 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 ...
0
votes
0answers
16 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
5 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 ...
0
votes
0answers
10 views

Installation guide for IBM Lotus notes 9.0 [on hold]

can someone help me in installing IBM Lotus notes 9.0.
0
votes
0answers
11 views

how do I update client certificates in openvpn?

I am using OpenVPN to secure access to apps running on a CentOS 7 server. Each authorized client has a key which is used to connect to the server using OpenVPN. The problem is that the keys are just ...
0
votes
0answers
20 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
14 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 ...
0
votes
1answer
49 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
35 views

IP Adress is showing website instead of default Apache page [on hold]

I have a VPS server with DirectAdmin. The main IP adress of the server is 1.1.1.1. There are 4 users in DirectAdmin and everyone has their own IP address, e.g. user user1 has IP address 1.1.1.2. But ...
0
votes
0answers
16 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 ...
2
votes
1answer
12 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
0answers
8 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 ...
0
votes
1answer
29 views

How to extend swap space [on hold]

I want to extend my swap space by 20 gb Current output of swapon -s: Filename Type Size Used Priority /swapfile file ...
0
votes
1answer
26 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
21 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
24 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: ...
0
votes
0answers
28 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
28 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 ...
-2
votes
2answers
25 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 ...
0
votes
0answers
27 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
35 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 ...
1
vote
1answer
88 views
+100

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 ...
1
vote
0answers
11 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 ...
0
votes
3answers
36 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
votes
1answer
37 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 ...
1
vote
1answer
20 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
1answer
11 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 ...
0
votes
1answer
21 views

Can't install gcc on CentOs 7.0

I have to install gcc on a server that does not have any access to internet due to security issues. I tried ftping the source tar and building it on the server, but it requires gcc to compile gcc. So ...
1
vote
0answers
26 views

LFTP exclude file extensions

I am trying to mirror directories with lftp but I don't want to download filetypes that are notoriously large like .mp4 and .swf. But I am having trouble with the regex - and seeming like the ...
1
vote
1answer
28 views

Really need to understand CENTOS fdisk -l output

I am running centos on a server and the HDD config for my server is 2 1 tb drives with 32 gb RAM. Now when I use fdisk -l command, i see the below output which is really not understandable. Could ...
0
votes
0answers
23 views

CentOS 7: Installation not starting

A couple of days ago, I downloaded CentOS 6 and played around with it to get a feel of this OS. I finished with what I wanted to learn and decided to go ahead and do a fresh install of CentOS 7. Heres ...
0
votes
3answers
25 views

How to delete files from a directory based on the contents of a gzipped tar file?

Given that I: have a directory that contains over 1000 files have a gzip'ed tar file that contains a subset of those files (x.tgz) What is the single command line (if it is possible) that will ...
1
vote
0answers
16 views

Centos 7 - Cant download RPM (Trying to connect with IPV6)

i am normaly an debian/ubuntu guy but i wanted to test the foreman on Centos 7. but I am having some trouble with the RMP command. I have tried to disable IPV6 with echo 1 > ...
3
votes
2answers
90 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 ...
2
votes
1answer
39 views

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

In the rare cases that a RHEL or CentOS 6 system is prevented from booting by (for instance) an improper shutdown, or a forced fsck-check failure on boot, the console will prompt the user for a root ...
0
votes
0answers
15 views

Modprobe vboxdrv failed centos

I am trying get Virtual box running in Cent os7 So far the vbox kernel compiles but will not start I'm just told "modprobe vboxdrv failed, please use dmesg to find out why" I have looked at "dmesg" ...
1
vote
1answer
40 views

tar ignoring “newer” option

How do I get tar to only include files newer than a certain date? I have tried the following, both of which include older and newer files (today is 2015-07-20): tar -cj -N 2015-07-07 directory | tar ...
0
votes
1answer
38 views

Writing an install script for CentOS

Every time I deploy a VPS server, I install VNC server. But every time I have to do this: yum groupinstall Desktop yum install tigervnc-server yum install vnc yum install firefox (etc.) Can I ...
-1
votes
0answers
12 views

longman contemporary dictionary in centos

I installed longman contemporary dictionary in centos 6.6 via "sh setup.sh" it is done successfully but when I run it by ./ldoce5 I have the first page but I can't select any icon (any error) I mean ...
0
votes
1answer
40 views

How to create Swap from already created mount points

I have prepared a CentOS 6.5 with all mount points at formatting time, including swap. Now, when I am trying to run command swapon, it shows 0 0 0. And when I am trying to create it again using ...
2
votes
1answer
58 views

Yum error while installing MongoDB on CentOS?

I am using Centos 6.6 (x86_64) Trying to install most stable mongodb version available. but I am stuck with this error (which might seem repeated but none of the previous answers worked for me) ...
0
votes
0answers
30 views

EXT4 Journaling - Problem

Basically my root (/) ext4 partition keeps being mounted as read-only when I apply internal journaling feature. I understand that this should be default, but today I had been trying to apply external ...