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)


Reply
 
LinkBack Thread Tools Display Modes
  #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 04:46 AM.
Reply With Quote
  #2 (permalink)  
Old September 15th, 2002
Unregistered
Guest
 
Posts: n/a
Default

Thanks for the intro, I followed along and thought I would mention that to append to a file you need to use >> rather than just > . It overwrote my existing rc.local the first time I went through it.

I am still having a trouble though. I am getting the errors

command:
$bash: phex

errors:
Exception in thread "main" java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:117)
at java.util.jar.JarFile.<init>(JarFile.java:55)


Any help would be great. thanks.
Reply With Quote
  #3 (permalink)  
Old September 15th, 2002
Unregistered
Guest
 
Posts: n/a
Default

on redhat 7.3 I had to add the alias command to the /etc/.bashrc instead of /etc/rc.d/rc.local
Reply With Quote
  #4 (permalink)  
Old September 15th, 2002
Apprentice
 
Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd is flying high
Default Yes

Sorry about the rc.local thingy i forgot the other >
try
alias "phex=java -jar /home/user/phex/phex.jar"

marccd
Reply With Quote
  #5 (permalink)  
Old September 16th, 2002
Unregistered
Guest
 
Posts: n/a
Default

phex works, but can't connect to a network. It's now trying for 10 minutes to connect, but still nothing, how come????
Reply With Quote
  #6 (permalink)  
Old September 16th, 2002
Apprentice
 
Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd is flying high
Red face ...

Actually i posted this message. cause people needed help with Phex. but i actually dont like it *snifff*, btw java sucks, ahh and i use gtk-gnutella. check gkt-gnutella.sf.net
or google for it
marccd
just wait for it to connect.
btw, gnutella sucks. but thats all we have :P
Reply With Quote
  #7 (permalink)  
Old September 17th, 2002
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Hi marccd..

can you tell me why you don't like Phex? Is it just because of Java or are there other things that you don't like.
I would be very happy to get all feedback I can, this helps me improve Phex and maybe in one day it will work just the way you like it.

Thanks,
Gregor
__________________
Reply With Quote
  #8 (permalink)  
Old September 17th, 2002
Apprentice
 
Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd is flying high
Lightbulb k

First of all Java!, try using libraries like Qt or Gtk, its not so hard to learn. second it needs more feature. like bandwith control, stats. etc. the Search thingy should have tabs, it will be cool to have shorcuts like Open with > Xmms FreeAmp etc etc, Maybe a mp3 player ? xmms is very extensible, mpg123 is cooll too,
Ahh, and the GUI needs some clean up, and some features, :/, a little mp3/ogg organizer (file manager) will be nice too, what about a dock app ? it can be kde / gnome, but just like a wm one cause i use fluxbox *sniff*, theres lots of things that will be cool. eg a cvs!!!!, or a live little chat support window on phex, or even maybe OpenNap compatible client, like gnapster. has opennap, or even giFT,
etc etc etc etc etc etc etc etc etc
marccd
Reply With Quote
  #9 (permalink)  
Old September 18th, 2002
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Hi...

switching from Java to a different library is no choice. It would take to much development to port everything.

You might have not noticed it but Phex already has bandwidth control since a long time.

We are working on integration with more plattform related programs. The only problem is that it can be very difficult on linux to determine whats your favorite program for mp3 or html.
On windows this is no big deal at all. But if you know how to do it I sure integrate it.
Always keep in mind that will will not start to concentrate on just one plattform. We may integrate plattform specific features but compatibility to other plattforms must be ensured.

I'm also working on the integration of a better library manager. But this will take some more time till its ready.

Chat support will be available shortly in Phex 0.8.

Other P2P protocols will not be supported. The nature of different P2P protocols is too different to support them both correctly.

What do you mean with 'a cvs'?

Gregor
__________________
Reply With Quote
  #10 (permalink)  
Old September 18th, 2002
Apprentice
 
Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd is flying high
Default yes

A Phex CVS, so we can keep updated with the latest :evel:: version of Phex, really good for proggramers in Linux, mp3 player nmnm. the most used are mpg123 and xmms you can add this command to the Open with mpg123 ...
===========
xterm -t mpg123 -e mpg123 %x
(i think)
-----------
%x is the file that u want to play, xmms will be like
xmms %f &

then the browser stuff, i use galeon myself, but most of the people use Mozilla / Galeon, then opera or konqeror, theres still people that use lynx,

lynx %url &

same with all the browsers. except konqueror. that is something with kdmclient crap, kde is full of unusable crap anyways,

yesterday i checked out the latest cvs of gtk-gnutella , ( 0.91), and now they have some new Server stats feature, thats pretty cool. maybe u guys will implement it, you can use Java, but the instalation is kind of tricky with the export stuff for a newbie,
anyways good luck
marccd
Reply With Quote
Reply


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 01:32 PM
Phex BETA Linux, No SUch Method Error jpm General Discussion 2 March 7th, 2004 09:33 AM
Decentralized Host-Cache - Only PHEX has one - So Promote PHEX Unregistered General Discussion 0 January 31st, 2002 06:29 AM
Phex and Linux igalan General Discussion 6 January 23rd, 2002 08:12 PM
Linux: OK I got SDK installed and Dled Phex now what? FlameBait General Discussion 1 April 30th, 2001 07:59 PM


All times are GMT -7. The time now is 01:10 AM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.