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

learn more… | top users | synonyms (2)

0
votes
0answers
27 views

CentOS DNS Server for localhost

I need install the DNS Server (BIND - CentOS 7) to work only locally. I mean, the same CentOS that has the BIND will connect/search in the DNS, any other host will 'connect' with this machine. The ...
0
votes
2answers
36 views

error when adding user to wheel group in CentOS 7

I am trying to grant sudo privileges to a user of a CentOS 7 devbox by typing gpasswd -a user wheel, but the attempt is failing. What am I doing wrong? Here is what I typed: I discovered that ...
0
votes
0answers
24 views

vpn connection was failed

I have CentOS 6.6. I used a Cisco compatible VPN (vpnc), but after I made a VPN and clicked on it, I got the following error message: the vpn connection "1" was failed" Then, when I used this ...
2
votes
2answers
1k 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). ...
1
vote
1answer
938 views

changing default centos 7 workspaces

On CentOS7, using the gnome environment, I do not seem to be able to add, remove, or change the workspaces. I prefer to have 2 workspaces, or no workspaces, and understand the usefulness of the ...
0
votes
0answers
165 views

Permissions doesn't change while mounting windows directories (mount.cifs)

I used this command: mount.cifs //192.168.1.106/ukv_sftp$ /home/admin/public_html/remote -o credentials=/root/.smbcredentials, uid=500, gid=500 but permissions set only for root user, uid=500 and ...
4
votes
2answers
16k views

“Last” command: How to show latest user login?

As I know, the last command shows recent logins by all users. But my PC (CentOS) has been used for roughly a year, and there are many users logged. I tried to used the last command, but it just showed ...
0
votes
2answers
68 views

Ansible nginx service on CentOS 6.7

I'm newbie in Ansible and I am trying to install and start nginx on my CentOS 6.7 test box. My playbook --- - hosts: testing tasks: - name: Install nginx package yum: ...
0
votes
1answer
26 views

Error : segmentation fault

My centos 7(1406) giving an error "segmentation fault " while trying to connect to the wireless using nmtui. My other wireless network connected successfully. It has been connected while installing ...
0
votes
0answers
19 views

What are the steps to migrate from GRUB to GRUB2?

I have a fresh installation of Scientific Linux6/RHEL6/CentOS6: I have /boot with boot loader and / with all else (which are sda1 and sda2 partitions of one hard drive, on a fresh, real system). I ...
1
vote
0answers
89 views

CSF not blocking port when removed from csf.conf

I have removed VNC port 5901 from the csf.conf configuration file and executed a csf -f a csf -x and a csf -e to flush and restart CSF. There is a vncserver running on port 5901 and when doing an ...
0
votes
2answers
2k 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?
0
votes
2answers
1k 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 ...
0
votes
0answers
23 views

CentOS lock screen not unlocking

I have a centOS VM that when I lock the screen it will not let log me back in. I can enter my password as many times as I'd like, even try to "switch users" but the VM just ignores everything and ...
-1
votes
0answers
30 views

Cannot retrieve repository metadata when using yum

I ran this command: yum update which gave me the following error: Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile ...
7
votes
2answers
84 views

Sort command inconsistent behavior

I want to sort two files but I cannot get consistent results. It seems there are problems with collation but I cannot understand the reason. In sample files separator is a single space: file1: a b B ...
1
vote
0answers
361 views

CentOS VPS not starting after installing zPanel

I've had some trouble earlier installing zPanel, but then I was told that I've been using the wrong package, I was supposed to use the 32-bit version, but kept trying with 64-bit. After figuring that, ...
0
votes
2answers
649 views

Cant install gnutls.i686 on a x64 CentOS install

I need to install gnutls.i686 on CentOS 7 but I get this error in yum: Transaction check error: file /usr/share/man/man5/pkcs11.conf.5.gz from install of p11-kit-0.18.7-4.el7.i686 conflicts with ...
2
votes
3answers
959 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 ...
2
votes
1answer
1k views

Bridge does not get IP via DHCP at boot

I'm running CentOS 7. I'm not running NetworkManager, and I've actually uninstalled it. My system is supposed to acquire an IPv4 address via DHCP on br0 at boot. Howver, when I log in, it has no ...
2
votes
1answer
60 views

n-factor SSH authentication for CentOS 7

How can I enable (and require) n-factor authentication for all SSH connections to a CentOS 7 server? I have read about Google Authenticator, which provides two factor authentication. But that is ...
3
votes
1answer
627 views

Configure Centos 6.3 to direct all traffic through a proxy server

Is there a way to configure CentOS 6.3 to direct all internet traffic through a proxy server? Forgive me if this is a really dumb question, I know very little about how proxy servers work and how ...
-3
votes
1answer
59 views

how to install window 10 with CentOS

If one have CentOS. How can I make dual boot with Window 10. I want to use window 10 with centOS. any solutoin
0
votes
1answer
33 views

Error while installing Goautodial in CentOS 7

I am trying to install Goautodial on my CentOS 7. while installing i have successfully completed the following steps. Install minimal version of CentOS 5.X 64bit/32bit (CentOS 5.10 is latest as of ...
1
vote
1answer
30 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 is plenty repository out there. After you installed/updated the repository list, you can ...
1
vote
0answers
20 views

Which Kickstart commands and options cannot be %included?

I'm using Kickstart to automate a CentOS 7 installation and I'd like to create a common Kickstart file so I can %include it. After some testing it seems like some commands (like text) cannot be ...
1
vote
1answer
24 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 ...
0
votes
1answer
921 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
24 views

Insert Line in Multiples Files

I have a CentOS Server with 200 Wordpress sites and now I want to insert this line in every wp-config.php file: define('DISABLE_WP_CRON', true) I know there exist a "for ... do ... done" ...
0
votes
1answer
5k views

How to remove Oracle Wallet using orapki?

Hi i'm on Centos using oracle 11g And i've created a wallet using : $ orapki wallet create -wallet /u01/app/oracle/admin/DB11G/wallet -pwd WalletPasswd123 -auto_login Now i want to remove it to ...
1
vote
2answers
1k views

yum install mod_auth_token not working on CentOS

On CentOS 6.5 how do I make yum install mod_auth_token work these days? According to my own HOWTO I wrote 12 months back, you used to be able to just type it now you have to DIY it, which is bad ...
5
votes
2answers
29k views

PHP 5.5.13 on CentOS 6.5 with yum

I've got problems with installing PHP 5.5.13 (last stable build) on a CentOS 6.5 (64 bit) machine, through yum. Can somebody guide me through this a little bit? It is not a part of the CentOS, EPEL ...
1
vote
1answer
20 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 ...
0
votes
1answer
20 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: ...
5
votes
1answer
2k views

How to create a git repo 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 ...
0
votes
1answer
592 views

Big trouble : rpm empty db, install V3 RSA/SHA1 Signature, key BAD, YumRepo Error

I'm little tired because I have spent hours solving problems, and can't find a solution on Centos 6.6. I have many troubles: rpm db is empty: try googling, find restore process, but always empty ...
1
vote
1answer
27 views

How do I find available versions of package for downgrade?

I am having issues with an update of the ImageMagick package breaking 3rd party software on a CentOS 6.x server. I know that some prior version of ImageMagick worked OK. How do I find out which ...
1
vote
2answers
662 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 ...
2
votes
1answer
4k 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 ...
1
vote
1answer
769 views

Got the “ERROR: Cannot decode data link type 239” message when turn on sniffer mode

I would like install snort 2.9.6 into Centos 7 the installation is ok and the result of the self-testing mode is correct but when I run this command to change Snort into sniffer or nids mode. I got ...
2
votes
1answer
671 views

can't connect to samba drive in centos 6.3

#smbclient //ballzdeep/torrents Server not using user level security and no password supplied tree connect failed: NT_STATUS_BAD_NETWORK_NAME Does this mean i need to require username and password ...
0
votes
0answers
17 views

How do I track down why my system is unstable?

I am experiencing a problem where I use Chrome on my X220 with CentOS 7 (kernel 3.10.0-229.el7.x86_64). It begins when I've been surfing Chrome for a bit and have a few tabs open. Chrome may just ...
3
votes
3answers
52 views

Where to turn first when out of free space on Cent OS Web Server?

I am a very new Systems Administrator. I have a Windows background and am now a Jr. Systems Admin working with Cent OS 5. Our web server runs Cent OS 5 and uses PHP/MySQL for our web applications. ...
2
votes
1answer
103 views

How to tell systemd to start sshd later in the boot sequence?

My sshd_config file specifies it should listen on some specific IP addresses instead of on all IP addresses. The problem is that one of these NICs doesn't come up until later in the boot sequence. ...
4
votes
0answers
34 views

USB drive offline in dmesg and ? in ls, but only for some files?

I have a backup drive that has been intermittently failing (but almost always succeeding) to run rsnapshot lately. ls and e2label output are not encouraging: $ ls -al /mnt/backup/ ls: cannot access ...
1
vote
1answer
1k views

Empty desktop after installing xrdp on Centos 6.5 with XFCE as window manager

I followed the directions to install xRDP from this site (http://ajmatson.net/wordpress/2014/01/install-xrdp-remote-desktop-to-centos-6-5/) When I RDP from Windows -> Linux, I successfully enter ...
0
votes
2answers
32 views

How do fast Convert a .xls (MS Excel) file to .csv

How will do fast covert excel to csv. I had tried with php, perl, JavaScript. but it will take too much time. i.e for 5MB file it will take 3-5 mints
2
votes
3answers
47 views

login shell (bash) - how to we invoke a login shell

I know what is a login shell and the difference between a login shell and a non-login shell. But what puzzles me is how it is invoked. It is said that a login shell is invoked with a - as argument ...
1
vote
1answer
898 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
0answers
23 views

How do I prevent application from auto-launching when logging in via SSH

Each time I login via SSH, the Mutt automatically opens. How do I prevent it from doing so? I have compared my settings on my staging server to the live server and cannot spot the difference. vim ...