Returned 5 Results for "debian" Ordered By Relevance

whois on linux [relevance: 3.4]


2008-06-19 Digg! icurtain Delcious icurtain Technorati icurtain


installing whois on a linux box

# sudo apt-get install jwhois

# yum install jwhois

or

browse to: http://packages.qa.debian.org/j/jwhois.html

find the latest version and

# wget http://ftp.debian.org/debian/pool/main/j/jwhois/jwhois_4.0.orig.tar.gz

tar xf jwhois_4.0.orig.tar.gz

# cd jwhois_4.0/

# ./configure

# make install

get your environment variables / path with:

# env
:: PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

# cd /usr/local/bin

create a symbolic link so you can call whois url

# ln -s jwhois whois

then put the link in the path

# mv whois /usr/local/bin


Debian Java Install on Sarge [fragment] [relevance: 3.34]


2007-09-14 Digg! icurtain Delcious icurtain Technorati icurtain


I dont have a clue what im doing with Debian so im sticking it all here in no particular order

for sarge:

add to etc/apt/sources.list

deb http://oss.oracle.com/debian unstable main non-free
deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia sarge main
deb ftp://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia sarge main

then type apt-get update

installing java:

apt-get install java-package

gcc errors?
apt-get gcc install

download your JRE/JDK.bin to the director in which you are working then as a USER NOT ROOT (adduser blah - then follow prompts) type:

fakeroot make-jpkg jre-1_5_0_06-linux-i586.bin

or whatever ur bin is called.. if this bitches out with a module not found error your version of java-package is probably prior to 0.25 - you can check this by typing:

apt-cache policy java-package | head -2

at this stage you can try to find an up to date repository or you can just download a version of java-package higher than 0.24 and stick it in the directory then type:

dpkg -i java-package.deb

this might complain about unzip and soundlib.. to resolve this type:

apt-get -f install

this will resolve your dependency issues

now you should have a combiled JRE....deb sitting in your directory - if you dont then type

fakeroot make-jpkg jre-1_5_0_06-linux-i586.bin

ok.. so far

now we have the .deb file you should just be able to type

dpkg -i jre-1_5_0_06-linux-i586.deb

and Java will be installed

type

java -version

to varify this


make mod_jk in Debian Sarge [relevance: 2.92]


2007-09-14 Digg! icurtain Delcious icurtain Technorati icurtain


under debian enter the following command to make sure your compiler environment is working

set up your environment with
apt-get install libtool autoconf gcc apache2-prefork-dev
great.. now we are ready to compile

copy the tomcat source native directory over to the server and from within native/ run the following

make sure the support dir is sitting at the same level

./configure --with-apxs=/usr/bin/apxs2
make
make install

then after all that

Libraries have been installed in:
/usr/lib/apache2/modules

Or download a precomiled binary from http://mirror.public-internet.co.uk/ftp/apache/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.26/i386/


Linux IP address Configuration - ifconfig [relevance: 1.71]


2007-08-31 Digg! icurtain Delcious icurtain Technorati icurtain


ifconfig is the linux equivilent of ipconfig and will give you your ipaddress and network details :)

to edit it in red hat go into /etc/sysconfig/network-scripts/ifcfg-eth0 (where 0 is the interface u want to change) and append as desired. then from the command line:

service network [start,stop,restart]

In Ubuntu (Debian)

nano /etc/network/interfaces

Contents should be:

iface eth0 inet static
address 192.168.1.55
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

For DHCP it should read

auto eth0
iface eth0 inet dhcp

To restart your network interface and update settings

sudo /etc/init.d/networking restart


Debian Java/Tomcat Configuration on Sarge [relevance: 1.63]


2007-09-14 Digg! icurtain Delcious icurtain Technorati icurtain


Following on from the previous article Java should now be located in

/usr/lib/j2re1.6-sun/bin

You will have to set up

JAVA_HOME and JRE_HOME

these can be set in

/etc/environment

add the lines

JAVA_HOME = "/usr/lib/j2re1.6-sun"
export JAVA_HOME

CATALINA_HOME= "/opt/Tomcat5.5/"
export CATALINA_HOME

or from the command line

export JAVA_HOME=/usr/lib/j2re1.6-sun/

etc.

first we have to build mod_jk for our environment

refer to my other article on building mod_jk

put mod_jk.so into /etc/apache2/mods-available or wherever else you want and then refer to it in the apache conf stick this in your httpd.conf # Load mod_jk module # Specify the filename of the mod_jk lib LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so then restart apache ./ /etc/init.d/apache2 restart