Tagged Questions

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
3answers
818 views

How to disable beep sound in Linux CentOS 7 command line? [duplicate]

I just installed the basic Linux CentOS 7 (no desktop) and am experimenting with the system. Every time I make a mistake (entering things that the command line doesn't like), the computer beeps and ...
0
votes
0answers
17 views

How to use scanner drivers api in Linux shell script

Usually when scanning any page using Canon DR- 2050C scanner in windows it rotates vertical text paged to horizontal automatically for the easy reading of the user. In Linux we are manually scanning ...
0
votes
0answers
11 views

How to increase horizontal and vertical default spacing between icons on desktop at EL6

I have installed centos 6.5, by default icons are appearing very near to each other on desktop. From where I can increase space between them? Any clue? Which file is recommended to modify manually, ...
2
votes
1answer
118 views

rpm temp file question (rpm-tmp)

When installing an RPM on CentOS, I receive the following error message: /var/tmp/rpm-tmp.44492: line 578: [: too many arguments The trouble I'm having is that /var/tmp/rpm-tmp.xxxxx file is always ...
0
votes
1answer
234 views

How to login to same session with same user using xrdp and tigervnc-server?

I have Centos 6.4 with Gnome2, I'm accessing it through its xrdp (Version 0.5.0) and Xvnc TigerVNC 1.1.0 services. The clients machine are an Android tablet and a Windows 7 PC, these are using ...
1
vote
1answer
190 views

Is there an all-in-one command for RPM to downgrade a package to an older version?

I want to downgrade a couple RPMs. Is there a switch combination for that? For example, when upgrading, I usually run rpm -Uvh foo.rpm but my understanding is that the -U switch means that it only ...
4
votes
3answers
1k views

How to get memory used(RAM used) using linux command?

I am trying to retrieve memory used(RAM) in percentage using linux command. My cpanel shows Memory Used which I need to display on a particular webpage. From forums, I found out that correct memory ...
0
votes
1answer
43 views

mv deleted my directory. Why?

I was trying to correct the spelling on a directory, issued a mv command, and the directory is now gone. I'd like to understand--specifically--what happened. Here's the command I ran: mv ...
1
vote
2answers
699 views

Using Awesome window manager on CentOS 7

Awesome works fine on Fedora 19, so it should work on CentOS 7, right? Well, I tried and failed to get it to work. After a long time, I managed to compile it from source and set GDM to boot from an ...
3
votes
2answers
750 views

equivalent of update-grub for rhel/fedora/centos systems

In Ubuntu (and I guess in Debian too) there is a system script named update-grub which automatically executes grub-mkconfig -o with the correct path for the grub configuration file. Is there any ...
1
vote
2answers
83 views

Issue in Asterisk Performance

I am running FreePBX on DigitalOcean VM. I am facing some call dropping issue in Asterisk. When looking at "htop", "top" and FreePBX GUI, I see different results of CPU utilization and can't ...
0
votes
0answers
67 views

xrdp - Cannot connect from OSX

I just installed Centos 6.5 and put xrdp on it. I set up my iptables to allow it, and I can connect fine (both over local network and over the internet) from Windows 7, iOS, Android (using the ...
-1
votes
1answer
47 views

How to use partial IP address in /etc/sysconfig/iptables for the “-s” flag?

in this example it is a full ip ip is: 1.1.1.1 -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -s 1.1.1.1 -j ACCEPT but suppose i want to allow any ip that simply starts with: 1.1. ...
3
votes
1answer
340 views

Wireless is not working on Lenovo ThinkPad X201 with CentOs 6.5

I am having trouble with wireless connection on my Thinkpad X201 laptop. I installed CentOs 6.5 Minimal. The Wired (cable) internet works perfect. But wireless is not detected. I looked at following ...
2
votes
3answers
140 views

CentOS is not showing log-in prompt after removing Gnome Desktop (does not switch to correct virtual terminal automatically)

After installing CentOS 6.5 I removed Gnome Desktop Environment by running yum groupremove Desktop Now everything works fine, but whenever the computer starts there is no log-in prompt. The screen ...
0
votes
3answers
218 views

Gnome 3.8.4 can I upgrade to Gnome 3.10?

I'm using Centos 7. gnome-shell --version Gnome Shell 3.8.4 does this mean I'm using Gnome 3.8.4? can I upgrade to Gnome 3.10? Are there any how-tos?
5
votes
4answers
2k views

Limiting processes to not exceed more than 10% of CPU usage

I operate a Linux system which has a lot of users but sometimes an abuse occurs; where a user might run a single process that uses up more than 80% of the CPU/Memory. So is there a way to prevent ...
1
vote
1answer
135 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 ...
0
votes
1answer
105 views

Compiling Awesome from source on CentOS: cannot find libraries

I am trying to install awesome (v3.5.5) on CentOS7. Since I could not find a repository that carries it, I am compiling it from source. However, I am getting this error on running make: -- checking ...
0
votes
0answers
199 views

Installing CentOs 6 with Direct Admin

I'm trying to install CentOS with a Direct Admin package. I have done it almost 10 already times but this time I can't get it to work. I've written down all of my steps here: Give root password: ...
1
vote
0answers
111 views

Set persistent permissions for /var/log/boot.log

Every time I reboot my CentOS 6.5 computer, it writes the boot log to /var/log/boot.log. The permissions on this file are always 644 after a reboot. I want the permissions to be 600. When I change the ...
2
votes
1answer
450 views

Installing PHP 5.3.3-24 on CentOS 6.5 (Final)

I require a slightly older version of PHP for my server because I need to be able to exploit a CVE (CVE-2006-7243) that was patched in the newer versions. NOTE: This is a legitimate use case where ...
2
votes
0answers
76 views

Understanding “vncserver -list” with respect to Xvnc processes

I have a pretty standard setup on a Centos 6.5 VM. I've configured VNC sessions to start at boot per CentOS's wiki VNCSERVERS="1:root 2:moe 3:curly" VNCSERVERARGS[1]="-geometry 640x480" ...
0
votes
1answer
273 views

Unable to ping CentOS virtualbox

I have created a virtual machine for CentOS in VirtualBox using an NAT connection (It wont work under Bridged). Now the problem is I can ping from CentOS to my IP on Ubuntu with no problem but I ...
1
vote
1answer
60 views

Problems creating nested directories in VSFTP on CENTOS7

So here at work, I was asked to migrate some of our services from Windows to Linux using free software, including for proxy, DNS, and FTP. I was also asked to try to avoid GUIs, so I went for CentOS ...
1
vote
1answer
44 views

How to install mutliple PHP instances and configure for Apache

I need to upgrade my PHP installation on CentOS 6 from 5.3 to 5.5. While I have a couple of webprojects running I like first to install the new PHP in parallel and switch back to the old one if ...
1
vote
0answers
1k views

Redhat / Centos 7 Firewalld best practice for pptp or L2TP/IPsec rules

Having a quick look at Centos 7, and though I'd spin up a VPN daemon or 3, but immediately discovered the usual packages aren't yet in the core repositories, so had to dig around and found the ...
-2
votes
2answers
202 views

Domain Name problems in CentOS hosted under VirtualBox

When I ping www.google.com I get: [root@ryanPC ~]# ping www.google.com ping: unknown host www.google.com Also, when I run ping -n 8.8.8.8, I get: connect: Network is unreachable So I have ran the ...
1
vote
1answer
113 views

Install TFTP-Server without Internet

Due to some company policy, I cannot connect my Centos linux computer to the internet. However, I would like to set up a TFTP-Server, and I saw a tutorial that does this here. ...
1
vote
1answer
100 views

Can subsequent nameservers defined in /etc/resolv.conf be used if the previous nameservers can not be resolved?

I don't know much about networking...but I've been spending a lot of time reading about it. In my /etc/resolv.conf I have listed 3 nameservers. I understand that the second name namer is used only ...
0
votes
2answers
1k views

How can I set up Virtual Hosts in Centos7?

I am trying to set up virtual hosts in Centos7. I followed this guide: http://twohlix.com/2011/05/setting-up-apache-virtual-hosts-on-centos/ however I keep getting the following error: Job for ...
6
votes
1answer
65 views

Linux kernel 3.10.0-123.4.2 processes [flush] aren't present

I am using CentOS 7 with "3.10.0-123.4.2.el7.x86_64" version, but I don't know why the kernel threads named flush aren't present in this kernel version. I tried to look in the kernel change log, but ...
1
vote
1answer
97 views

Cannot ping machine on eth0; Pings fine on wlan0; Centos 6.5 on Dell D610

I recently installed Centos 6.5 (32 bit) on an old Dell D610. It has both a lan port and a wifi. When I assign the wifi a static IP, I can use it as a server, connect to it from other machines etc ...
2
votes
2answers
1k views

How can I make iptables service start automatically after reboot on CenOS/RHEL7?

I am having a few issues with a newly installed home server I am preparing. I have installed CentOS7 on it and I found that port 80 and 443 are off by default. I therefore added them to the iptables ...
0
votes
2answers
161 views

Editing /etc/init.d/mysql to remove mysql.sock automatically

I am running MySQL on a CentOS release 6.5 (Final) virtual machine. It is used for testing Joomla. The phyiscal host reboots frequently, which is fine. The VM, however, does not perform a clean ...
0
votes
0answers
55 views

Redis: Error writing to client: Broken pipe

I would like to use Redis for Magento LestiFPC. Magento/Redis is using Pecl php-redis. I assigned 8 DB's to use over 2 Magento websites. Unfortunately there are only 5 DB's are in use (max 16 ...
0
votes
1answer
1k views

What is the default idle timeout for OpenSSH?

I can't seem to find an answer to this simple question, which I need for some compliance documentation. On a default install of CentOS 6.5 (OpenSSH 5.3p1-94.el6), after how long of being idle will ...
1
vote
1answer
58 views

How do I remove login password for Centos6.5?

Question 1 On Centos 6.5, I have a username called admin. How can I make it so the system logs in automatically? Question 2 How can I configure system to login as root user when there are other ...
1
vote
0answers
81 views

How do you run CPU at turbo speed continuously

processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz stepping : 3 cpu MHz : 3299.670 ...
1
vote
1answer
40 views

Removing /home LVM and merging in to /

[root@host.com ~]# pvdisplay -s Device "/dev/sda2" has a capacity of 0 [root@host.com ~]# vgdisplay -s ...
2
votes
0answers
168 views

Cifs mount a windows share that goes offline

I have a windows share on my workstation that I need on my CentOS 7 server. I have this set up in my fstab as the following: //XXX.XXX.X.XX/Share /mnt/workstation cifs ...
-1
votes
2answers
68 views

Should I update OpenSSL? [closed]

Since the problems with version 0.9.8 of OpenSSL, I have some queries. I am told that I do not have a vulnerable version, but I want to know what your recommendations are. Should I update to a more ...
1
vote
2answers
138 views

Centos installation

I want to install CentOS 6.4 on HP DL380 G4 server. First of all I select install or upgrade an existing system, but it boot something like without graphic (like basic video card). My main problem is ...
0
votes
1answer
303 views

Dual boot Ubuntu 14.04 and CentOS 7.0

Problem in installing Ubuntu after CentOS 7.0: I have a laptop with a hard disk around 170Gb. After installing CentOS 7.0 I tried to install the Ubuntu 14.04 alongside with the CentOS 7.0. The Ubuntu ...
2
votes
1answer
401 views

sshd service is not being started: Centos 6.5

I am getting the error message below when I start the sshd service in centos 6.5. Any help to get rid of this issue? 81: GSSAPIAuthentication yes 83: GSSAPICleanupCredentials yes 97: UsePAM yes ...
0
votes
1answer
740 views

Why does sendmail's status keep changing to “dead but subsys locked”?

Every day I get the output of sudo service --status-all emailed to me using crond. The server is a CentOS 6.5 web server which I use to host a few WordPress websites. Occasionally sendmail will change ...
0
votes
0answers
72 views

Error on building and installing memcached php extension

I have problems to run make on the latest memcached PHP extension, on CentOS 6.5: pecl download memcached tar zxvf memcached-2.2.0.tgz cd memcached-2.2.0/ phpize ./configure ...
0
votes
0answers
237 views

Upon bootup, all iptables are lost because the kernel module ip_set is not loaded

i can get iptables to whitelist / blacklist using ipset members, but after a reboot, the iptables are emptied out because the kernel module is not loaded. Have limped along in the past by customizing ...
0
votes
1answer
202 views

Centos VFS cannot open root device

Yesterday I did a kernel update on a virtual machine. When I restarted the machine unfortunately I got the error Kernel panic - not syncing VFS After some searching I found out I should go to GRUB ...
1
vote
1answer
61 views

SSH key authentication works with /usr/sbin/ssh -d, does not with the daemon?

CentOS x64 6.5: if I connect as root to my server and do the following: service sshd stop /usr/sbin/ssh -d I'll able to connect as user using public key authentication from my development machine: ...