Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > General Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Discussion For anything which doesn't fit somewhere else (for PHEX users)


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old September 14th, 2002
Apprentice
 
Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd is flying high
Talking How-to: Phex 0.7.3 On Linux

Ok, i heard a lot of stuff about Phex. that doesnt work bla bla, well here are the steps to get it to work:
Download Java JRE 1.4/1.3, i use
www.blackdown.org myself. cause sun sucks..
Install it
Set the path envoriment as root
export PATH="/usr/java/jre2/bin":$PATH
NOTE, that line. should be different, check where your jre/bin dir is.
Ok, you might want to add that line to /etc/rc.local or create a sh script eg:

#!/bin/sh
echo "Starting Java..."
export PATH="/usr/java/jre2/bin":$PATH
echo "Done..."

Save it as java.sh and copy it to /etc/profile.d/
Oh, and remember to chmod +x java.sh before copying it,
OR if you want to do it more easily just do
echo export PATH="/usr/java/jre2/bin":$PATH >> /etc/rc.d/rc.local

Now, you got Java working and stuff
Do this. download this
http://prdownloads.sourceforge.net/phex/phex.hosts
and copy it to the user youre are running Phex.
EJ: im user marccd
so.. do this
cp phex.hosts /home/marccd/.phex/
Overwrite the one is already there,
or if youre root then cp phex.hosts /root/.phex/
Bla Bla, Nowe download the gnutella.net file
http://gnutella.co.uk/servers/gnutella.net
Copy the content of that file and paste it into your
/home/user/.phex/phex.hosts
Ok. that should work allright, now you might want to add an alias for java -jar phex.jar
[marccd@marccd phex_0.7.3_j2se1.4]$ alias "phex=java -jar phex.jar"
that should add an alias. so u just type Phex, instead of java -jar phex.jar,
now. add thar line to the end of /etc/rc.local
do this
echo alias "phex=java -jar phex.jar" >> /etc/rc.d/rc.local
remember to do all the steps as root. but run phex as normal user. so it reads /home/user/.phex/stuff
or you can copy the contents of /home/user/.phex
to /root/.phex
that should work,
Ok, hope it helps!!
Ps: for the speed problem.. get more memory. is juts that java sucks. and eats lots of memory




GregorK: I changed the > to >> to not overwrite the rc.local

Last edited by GregorK; September 16th, 2002 at 03:46 AM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
My own share of problems in Phex (GNU/Linux) courteouschicken General Discussion 7 July 7th, 2004 12:32 PM
Phex BETA Linux, No SUch Method Error jpm General Discussion 2 March 7th, 2004 08:33 AM
Decentralized Host-Cache - Only PHEX has one - So Promote PHEX Unregistered General Discussion 0 January 31st, 2002 05:29 AM
Phex and Linux igalan General Discussion 6 January 23rd, 2002 07:12 PM
Linux: OK I got SDK installed and Dled Phex now what? FlameBait General Discussion 1 April 30th, 2001 06:59 PM


All times are GMT -7. The time now is 05:55 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.