30
votes
7answers
82k views

How to stop kernel messages from flooding my console?

I'm using Centos 6, rsyslog logging. Console is flooded with kernel messages. Klogd is not running (I'm using rsyslog)Rsyslog config does not direct anything to the consoleEven tried stopping ...
0
votes
1answer
2k views

Unable to access localhost & Internet using one adapter in CentOs

I have the below dev. environment. Hardware:- Windows 7, 32bit, HP Laptop.Software:- CentOs 6.5 running on VirtualBox 4.3.10.In a nutshell The problem is that I can't access the internet and ...
7
votes
3answers
34k views

Linux: How to automatically run commands on SSH login?

Whenever I login to my Linux server I'd like to have several commands run automatically (set some variables, change location, etc.)This needs to be done on user login, not on system start.How can ...
2
votes
3answers
15k views

How to join an Active Directory with a Linux machine

How can I join an Active Directory domain with a Linux machine? Will it work with Ubuntu, Redhat, CentOS? Are there any with which it will not work?
3
votes
2answers
31k views

How to chown directory for multiple users?

Specs: Running Centos 664 BitI am trying to chown a directory for all users on the VPS, aswell as for apache. But for some reason I can only have either apache, or just the users. I tried doing ...
87
votes
4answers
365k views

Checking what PHP version I'm running on Linux?

I'm running Centos 5 and I need to know what version of PHP I'm running, is there a command for this which I can run?
28
votes
4answers
134k views

Where Linux places the messages of boot?

I want to find place to where Linux writes all boot messages. You know:facility one [STARTED]facility two [STARTED]facility three [FAILED]I searched with find . -print0 | xargs -0 grep -...
9
votes
3answers
13k views

Attempting to install tmux on CentOS 6.x fails with error: ‘EVBUFFER_EOL_LF’ undeclared

I tried compiling tmux using the following steps:yum -y install ncurses-devel libevent-develwget http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gztar -xvzf tmux-1.9a.tar.gzcd tmux-1.9ahttp://superuser.com/...
7
votes
2answers
11k views

Getting 2 IP addresses on one network card, using DHCP

Given: A computer running Linux (CentOS 5.x), one network card connected to LAN switch, a second one to cable modem via crossover cable. This computer acts as a router/firewall/traffic shaper for the ...
14
votes
3answers
16k views

How to find which package certain command belongs to on CentOS?

For example I can easily find locate command belongs to mlocate.i386 package.yum search locatemlocate.i386 : An utility for finding files by name[mirror@home /]$ rpm -qa | grep locatemlocate-0.15-...
12
votes
3answers
76k views

how can i install CentOS 6 without the gui?

i just downloaded the centos 6 live cd and i tried installing it on virtually and i am never prompted to install centos with/without gui and its all automated. what happends is after i am booted into ...
9
votes
2answers
15k views

Convert file to PDF using LibreOffice under user apache (i.e. when using PHP)

I installed libreoffice-headless and can convert documents when logged on into the shell as a normal user.[root@desktop ~]# yum install libreoffice-headless[root@desktop ~]# yum install libreoffice-...
3
votes
3answers
17k views

Source Based Policy Routing & NAT (DNAT/SNAT) aka Multi WANs on CentOS 5

Originally posted at Unix and Linux but nobody was able to answer it, so m migrating the question here:My question is regarding Source Based Policy Routing on CentOS 5 with 2 WANs plus a LAN (NAT) ...
2
votes
1answer
5k views

What's the difference between “uname -r” and “uname -v”?

I am using CentOS 6.2. In the man page of uname (i.e., man uname), it says:-r, --kernel-releaseprint the kernel release-v, --kernel-versionprint the kernel version...
7
votes
5answers
22k views

How do I remotely view a Linux desktop from Windows XP?

I'm using Windows XP and need to remotely connect to a CentOS-5.X server.I'm looking to visually, securely and with as small a footprint as possible manage a remote Linux system via an GUI. It's not ...

153050per page