CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

5
votes
4answers
574 views

Automatically acquire new IP address in new network

I'm running a Centos virtual machine on a laptop using a bridged network connection to avoid double-NAT issues, with the address assigned via DHCP. This works fine until I move the laptop to another ...
3
votes
1answer
4k 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. ...
0
votes
2answers
4k views

How to create a bootable USB with Windows?

How would I go about creating a CentOS 7 bootable USB drive with Windows? I've read the howto page for it and it says that Unetbootin and Universal USB installer won't work for CentOS 7. In addition, ...
2
votes
0answers
684 views

Can I change uuid for network interface in ifcfg-eth* using uuidgen?

I'm creating a script which configuration the network interfaces. The script which generates /etc/udev/rules.d/70-persistent-net.rules and names interfaces to my preference. In CentOS 6.5, my ...
2
votes
1answer
97 views

installing fail2ban on CentOS 7

I am using @GarethTheRed 's answer to this question to install fail2ban on a remote CentOS 7 server. I am able to complete all the steps up until tail -f /var/log/fail2ban.log, at which point I get ...
8
votes
3answers
573 views

Using real time kernel headers to compile userspace code vs default headers

Per customer requirements, I installed CentOS 5.6 with the default kernel. With this kernel installed, the time.h file includes the #define CLOCK_MONOTONIC. Now, a real-time kernel was installed ...
1
vote
2answers
477 views

How does one disable the floppy module from loading on boot in CentOs7?

I'm running a CentOS 7 install in VMWare Workstation 9. I have removed the floppy drive from the VM configuration (as my host machine does not have one, and I haven't used one in literally 12 years). ...
0
votes
1answer
567 views

What multimedia support should I use in centOS 7

I have recently installed Cent OS7. Its looks very nice at first. But soon realized it has a horrible multimedia support. Its own player cannot install the codecs it requires, which was much easier in ...
0
votes
1answer
28 views

How can I upgrade libxml2 package on CentOS 6?

On CentOS 6.5, when I am trying to upgrade the libxml2 package with: yum localinstall libxml2-2.9.1-99.1.src.rpm I am receiving the following output: Examining libxml2-2.9.1-99.1.src.rpm: ...
0
votes
0answers
30 views

How to use i3 on CentOS 7 with Gnome?

I have a CentOS 7 with Gnome running on my machine. Now I want to use i3 as the window manager. I managed to install i3 but I don't know how to make CentOS 7 use i3 now. I tried to edit .xinitrc like ...
1
vote
1answer
732 views

Any better alternative to chroot on an OpenVZ VPS?

Are there any better alternative to chroot environment? I'm thinking about running nginx on a jailed environment. BTW, I'm on OpenVZ VPS, so modifying the Kernel is a no-no. (I think that prevents ...
0
votes
1answer
39 views

viewing firewalld logs via remote login to CentOS 7 server

I have firewalld installed in a remote CentOS server. When I log into the server over the internet as root, I type the following command to access the firewalld logs: journalctl ...
0
votes
2answers
20 views

downloading sshd logs from remote centos 7 server

When I log into a remote centos 7 server as root, I am able to see the sshd logs by typing journalctl _COMM=sshd in the terminal. But the logs are massive. How can I download all the logs into a ...
1
vote
1answer
2k views

Unknown DAV provider: svn

I did something wrong On my CentOS 5.9, I did the following: cd /usr/local/directadmin/custombuild ./build rewrite_confs But now I get an error restarting httpd: [root@1332 conf]# service httpd ...
3
votes
1answer
1k views

SELinux - allowing rsyslog open/read access to some files

So I've got three files I need rsyslog to open in order to forward the entries to another server. SELinux is preventing this with the following error: type=AVC msg=audit(1371186588.768:1324460): ...
0
votes
1answer
7k views

enable apache mod rewrites to load clean-urls

In CentOS, a2enmod rewrite results in “command not found” but httpd -M lists rewrite module as listed and shared. I'm trying to enable it so can then have these rewrite rule apply so I can switch back ...
1
vote
1answer
1k views

Ffmpeg problems on centOS 5.8 64 bit

I did install ffmpeg with winff, unsuccessfully when I try converting avi to x264, it says I don't have it. When I try to convert mp4 to Xvid I get unknown encoder 'libxvid'. It's like nothing really ...
0
votes
1answer
4k views

CentOS 6 not regestering new hostname on Windows Server 2003

I rebuilt a Windows 7 Workstation with CentOS 6.5. The Windows 7 had a host name aaa attached to domain ddd.local. The new CentOS hostname is bbb. When I try to ping it: $ ping bbb ping: unknown ...
1
vote
1answer
32 views

Assp won't start

I tried to install ASSP (Anti-Spam SMTP Proxy Server),but when I try to start it I get the following: $ perl assp.pl Perl version 5.012003 (5.12.3) is at least recommended to run ASSP 2.4.3 (14313) ...
1
vote
0answers
39 views

rp_filter dropping packets in linux bridges+vlan_tagged interface + tap interfaces configuration

I've a linux bridge which has it's first interface as a eth0.123 (VLAN tagged interface) & one or more tap interfaces created by kvm. (libvirt+kvm VM) [root@compute1 ~]# brctl show bridge name ...
0
votes
1answer
59 views

CentOS 7 VPN server

How do I set up a remote internet web server using CentOS 7 so that it is completely shielded by a VPN? Here is the use case: 1.) This means that ALL requests for ANY interaction with the web ...
2
votes
3answers
77 views

Memory consumption Fail2Ban CentOS

Fail2Ban is using a huge amount of memory on my system (1.2 GB). There are several articles which describe how to reduce it. Below is an example for Debian. append the 1ulimit1 command to ...
2
votes
1answer
493 views

Can't use my old my.cnf from MySQL 5.5.38 in newer 5.6.19

Ok so I have been trying to upgrade MySQL 5.5 to 5.6. I have been given this set my.cnf file (see below). I was able to uninstall the MySQL 5.5 rpms and install the 5.6. When I reload the back up ...
0
votes
0answers
35 views

Network firewall on CentOS, host cannot be resolved?

I have a centos machine and I am trying install some dependencies using yum. When I do this I keep getting a message saying the host cannot be resolved. I was told the previous person that used the ...
0
votes
1answer
41 views

No Sendmail but ISPConfig Postfix

This is what php uses to send php mail with the php mail() function: ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ...
0
votes
2answers
409 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
36 views

how etc/hosts file is created during Centos 4.9 installation

We have our servers running CentOS 4.9. I want to find how /etc/hosts file is created during installation. A related question here (What creates /etc/hosts (RHEL 5.5)) says that in RHEL 5 /etc/hosts ...
1
vote
2answers
185 views

How to remote install CentOS/RHEL 7 using a rescue image like GRML?

Assuming a remote machine where you can PXE boot into a GRML image that also provides ssh access. Now the question is how to install CentOS in such an environment. Something like KVM access is not ...
3
votes
4answers
8k views

Commands not found: netstat, nmap on CentOS 7

I'm using the following CentOS: $ cat /etc/centos-release CentOS Linux release 7.0.1406 (Core) The commands nmap, netstat and lsof are not found on CentOS7. Why? $ type -a nmap bash: type: nmap: ...
0
votes
0answers
21 views

Install Xmind on Centos 7

i try to install Xmind on Centos 7, i try with: Download Xmind with deb package ar -x xmind-linux-3.31. . .-i368.deb tar xvf data.tar.gz cp -r usr/local/xmind/ /usr/local/ cp ...
1
vote
1answer
508 views

Need to install VirtualBox Guest Additions 4.3.8 in CentOS 6.3

My host system is OSX 10.9.2 and I'm running VirtualBox 4.3.8. In a Hadoop class I took recently, we were provided with a VM disk image preloaded with CentOS 6.3 and a lot of Hadoop-related ...
0
votes
0answers
48 views

writing mysql output to file in CentOS 7

I am trying to run the following command from inside the mysql command line client in the CentOS terminal: SELECT Concat('TRUNCATE TABLE ',table_schema,'.',TABLE_NAME, ';') FROM ...
1
vote
1answer
39 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 ...
2
votes
3answers
3k views

“No package wine available” and “No package fluxbox available”

I'm running "Centos 6 64-bit" on a Virtual Private Server (VPS) (i.e. on the cloud). When I issue this command: "yum install vnc-server wine xterm fluxbox vsftpd firefox vnstat" I get some results ...
0
votes
3answers
531 views

CentOS 5: My Postgresql server version is different with my psql client. What should I do?

I installed PostgreSQL 9.1 in CentOS 5 x86_64 VPS, with these following commands: I specified which Postgresql version I'd like to install, so I choose 9.1 because I want to equate between ...
0
votes
1answer
20 views

I moved root partition by error

I'm on a VPS with CentOS 6.5 I was trying to install ASSP so by error i did this command mv -f /* /usr/share/assp and then I can't do anything when I try something like: [/]# dir -bash: /bin/ls: ...
3
votes
2answers
3k views

Installing python modules for python2.6

On my CentOS 5.8 system (el5 , 64bit), I had python2.4 after OS install and I installed python2.6 now. Now I want to install python modules using yum. But whenever I install a new python module it ...
0
votes
1answer
374 views

How to add Ip Aliases with Two Gateway on same nic Centos

I have 2 allocated address range, example 10.10.12.25/28 10.12.12.24/28 How to add Ip Aliases with Two Gateway on same nic with Centos?
0
votes
0answers
41 views

Can't start a ZNC service

I try to start ZNC using the following command service znc start I get this error Starting znc: /usr/bin/dirname: extra operand `2>&1.pid' Try `/usr/bin/dirname --help' for more ...
3
votes
1answer
190 views

Yum says dependency “ libltdl.so.3” is required, but it's already installed?

I'm a Linux noob and have spent a few hours trying to get ImageMagick installed. I finally got an old version uninstalled, but am struggling to get the newest version installed. When I run the ...
0
votes
1answer
734 views

Upgrade OpenGL from 1.2 to 2 for Nvidia GT218 [GeForce 310]

To run my application OpenGL version 2.0 or higher is required. glxinfo | grep OpenGL yields: Xlib: extension "NV-GLX" missing on display ":1007.0". OpenGL vendor string: Mesa project: ...
0
votes
2answers
712 views

How to permanantly disable /var/log/lastlog?

When I delete files such as /var/log/lastlog, /var/log/utmp and /var/log/wtmp the files will be recreated. How do I disable the recreation of those files?
1
vote
1answer
1k views

Apache fails to start after changing cert and key

The problem appeared after I changed https certificate and key. sudo /etc/init.d/httpd restart shows this: Stopping httpd: [FAILED] Starting httpd: [FAILED] Apache's error_log: [Tue Dec 03 ...
1
vote
1answer
558 views

How to get CentOS 6.5 gui?

After, I've installed CentOS 6.5, I just have a terminal with a black background and I can't get gui for it. Any recommendations?
1
vote
1answer
68 views

log files in CentOS 7 [closed]

In CentOS 7, how can I locate and view all the system logs that tell me who tried to enter the system, who got in, what processes they contacted, what they accomplished, etc. I want to be able to ...
2
votes
1answer
127 views

ffmpeg hardcode subs on flv

Giving up on trying to use videosub.js, I am now trying to hard code subtitles to the video file using ffmpeg. Have run into trouble with configuration files not found, when trying to hard code the ...
1
vote
1answer
39 views

restricting remote vpn login to ip address in CentOS 7

I have read that OpenSSH itself does not support authentication via specific IP address. In a CentOS 7 installation on a web server, how would one configure the login so that a user would not only ...
2
votes
2answers
645 views

installing eric5 in CentOS 6.4

I am trying to install Eric Python IDE 5 in my CentOS 6.4. The problem here is even I have installed PyQT4 its again saying that module is missing. what I am supposed to do ? here is the terminal log ...
1
vote
2answers
2k 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 ...
6
votes
2answers
1k views

OpenLDAP Password Policy overlay error while loading

I'm trying to load the password policy overlay but i'm having the following error ldapadd -Wx -D "cn=Manager,cn=config" -f overlay.ldif Enter LDAP Password: adding new entry ...