View Full Version : Installing Galleon on Linux for Newbee
life4799
02-16-2007, 10:13 AM
I have dived into Linux and I've been doing so for only a week. I'm trying to install Galleon and installation instructions is another language to me.
* Install the Java JRE. - I was able to do that because it was a package available for installation.
* The Java JRE bin directory must be in you system PATH environment variable. - I have no clue what that means and how to verify or make it happen.
* The JAVA_HOME environment variable must point to the root of the Java JRE installation. -I have no clue how to make anything point to anything.
* Disable IPv6. - did this because I could see it wasn't installed
* Configure your system's name in /etc/hosts under the actual IP address, not 127.0.0.1 - I have no clue do this I typed "/etc/hosts" into the prompt and it says I have no permission.
* Make the scripts in the Galleon bin directory executable: chmod a+x *.sh - I have no clue how to do that, I typed "chmod a+x *.sh" and it says it can't find it.
* Run the Galleon server from the Galleon bin directory: run.sh - I have no clue make that happen and I haven't focused on that as much because I haven't gotten the rest done yet.
Please Help me.
classicsat
02-16-2007, 03:04 PM
The path is probably in your /etc/rc.d/rc.local file. It is a file you edit to add the JRE folder to the path. You'd have to check out the details on your distro to know for sure.
You set JAVA_HOME the same way as the path.
/etc/hosts is a file you edit in an editor, not run.
You have to be in the directory the .sh files are in, or know their absolute path.
I use chmod 755 filename
I should say I am by no means a linux/unix expert, but kind of know how to get around a linux system a bit.
windracer
02-16-2007, 03:59 PM
* The Java JRE bin directory must be in you system PATH environment variable. - I have no clue what that means and how to verify or make it happen.
type 'echo $PATH' at the command prompt to display your path. The Java bin directory must be listed. If you installed Java from a package, hopefully it set you up with the $JAVA_HOME variable (again, type 'echo $JAVA_HOME). If you've got that, you just need to add $JAVA_HOME/bin to your path. The path is usually set in your login script, which could be .bashrc (if you're using the bash shell).
* The JAVA_HOME environment variable must point to the root of the Java JRE installation. -I have no clue how to make anything point to anything.
See above, type 'echo $JAVA_HOME' to see if that variable is set. If not, you can use 'export JAVA_HOME=location of java'.
* Disable IPv6. - did this because I could see it wasn't installed
To do this, I had to add 'alias net-pf-10 off' to my /etc/modprobe.conf file.
* Configure your system's name in /etc/hosts under the actual IP address, not 127.0.0.1 - I have no clue do this I typed "/etc/hosts" into the prompt and it says I have no permission.
You need to be logged in as root to edit that file. Once you're logged in as root, type 'vi /etc/hosts' If you're a Linux noob, though, using vi isn't going to be fun. ;)
* Make the scripts in the Galleon bin directory executable: chmod a+x *.sh - I have no clue how to do that, I typed "chmod a+x *.sh" and it says it can't find it.
cd into the galleon/bin directory (i.e., /usr/share/galleon/bin or wherever you installed it) and type that command (no quotes!).
* Run the Galleon server from the Galleon bin directory: run.sh - I have no clue make that happen and I haven't focused on that as much because I haven't gotten the rest done yet.
Once you've done all the rest, cd into the bin directory again and type './run.sh' to start Galleon. Once it's running, you can run './gui.sh' to bring up the interface to configure the application.
You also might want to search around and check out the older Galleon threads. You're not the first person to go through this. :)
life4799
02-19-2007, 08:18 AM
Thank you guys. It worked perfectly. Windracer I did exactly what you said to done except be for I get './.run.sh' and './gui.sh' to work I had to type 'chmod 755 *.sh' (which classicsat told me about). Once I did that everything works beautifully.
windracer
02-19-2007, 10:47 AM
Excellent ... glad I could help.
classicsat
02-19-2007, 06:14 PM
vi, although not fun, isn't that bad. I have a vi I keep handy.
If you can though, use a graphical editor. I am assuming you are running a rather recent and full linux distro on a desktop PC. Even if not, you could probably FTP the file back and forth, using a unix friendly text editor (which I did when I was TiVo hacking).
vBulletin® v3.6.8, Copyright ©2000-2010, Jelsoft Enterprises Ltd.