linux
Following are the steps on how to install java sdk on CentOS:
Remove any java package (free and open source implementation) previously (eventually) installed from the CentOS Linux as follows:
yum erase jre
Remove tomcat5 and all it’s related packages.
Find the related *).bin file (jdk-6u20-linux-i586-rpm.bin) from the main page of the Sun’s official download page.
After you have downloaded your bin file. Run it on linux shell as follows:
chmod +x jdk-6u20-linux-i586-rpm.bin
1 answers
Hi
I am compiling mod_gzip. I made the required change in Makefile accompanying mod_gzip and I am getting following error:
cc1: error: unrecognized command line option "-Wall,-O3,-fomit-frame-pointer,-pipe"
Can anyone help?
Read more »
Created by Anonymous
7 weeks 4 days ago
Tags:
This is a quick tutorial on how to install mod_gzip on linux server.
cd /usr/local/src
wget http://easynews.dl.sourceforge.net/sourceforge/mod-gzip/mod_gzip-1.3.26.1a.tgz
tar zxvf mod_gzip-1.3.26.1a.tgz
cd mod_gzip-1.3.26.1a
You must now open Makefile in your favorite editor and change the first line to:
APXS?=/usr/sbin/apxs
Save it, and continue:
make
make build
make install
You can find the number or processors on your linux machine as follows:
shell> grep processor /proc/cpuinfo
This would give output like (which means the following computer has 8 processors:
processor : 0
processor : 1
processor : 2
processor : 3
processor : 4
processor : 5
processor : 6
processor : 7
You can use the following command on your linux shell to find out the information related to CPU on your linux box:
shell> cat /proc/cpuinfo
rocessor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : Quad-Core AMD Opteron(tm) Processor 2350
stepping : 3
cpu MHz : 2000.082
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
1 answers
Hi,
I am on a CentOS and I want to know number of processors my linux machine has. How do I do that?
Read more »
Created by Anonymous
10 weeks 4 days ago
Tags:
1 answers
I am using CVS to access and commit my files. How do I add my files recursively from the linux command shell into CVS?
Please help
Read more »
Created by Anonymous
11 weeks 5 days ago
Tags:
1 answers
I have a file in bz2 format as follows on my linux box:
drupal-date-9-may-2010.sql.bz2
How do I extract it?
Read more »
Created by Anonymous
11 weeks 5 days ago
Tags:
There is powerful utility to search or find files on your linux box. It is slocate or locate. You can have Debian, Ubuntu, CentOS, Fedora, RedHat or Suse. It works.
Installing locate
On CentOS or Redhat machine, as mentioned here: install locate, you can install locate as follows:
yum install slocate
sLocate: how it works
Once installed, you would need to update slocate database and this is done by using linux command:
updatedb
2 answers
I am on a fresh CentOS machine and whenever I use locate or updatedb to search for a file, it tells me "command not found".
What is the reason? How do I install locate or updatedb on the server?
Read more »
Created by Anonymous
12 weeks 11 hours ago
Tags: