Linux Installation

From FlexHub
Revision as of 11:46, 3 May 2011 by Flexwikiadmin (Talk | contribs) (First Use)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Supported distributions

BackTrack Linux 4 final
Debian 5.0.6 i386
Fedora13 i386
kUbuntu i386
Mandriva Free 2010 Spring x86/x64*
Ubuntu 10.04.1 LTS i386

NOTE: FlexHub does currently NOT support clean x64 distributions (ie Ubuntu/kUbuntu amd64).

*To get FlexHub working on Mandriva, there will most probably be a need for installing some additional packages.
FlexHub installer has the ability to install these for you (if needed), allthough, this feature requires a working internet connection.
Of course, the choice is yours wether you want the installer to install them, or if you want to do it manually later.
The packages in question are these:

Library Package libncurses5 libxinerama1 libxxf86vm1 libsm6 libgtk+-11-2.0_0
canberra-gtk-module libcanberra-gtk0

These are the extra packages needed for running FlexHub on Mandriva Free 2010 Spring x86/x64.
Please note that these packages may have dependencies, that will also need to be installed. This will be done automatically if you choose to let the installer get the missing libs for you.


There are basically two ways of installing FlexHub to your linux machine, normal and verbose install mode. To install in normal mode, all you have to do is run the selfextracting installer. (Original filename: Please note that you need to be root/have root privileges for the installer to work as expected. This can be achieved either by logging in as root, or through commandline by using the su-command. To run the installer through command line, give the command: "./" without quotations.

To install in verbose mode (will show you what the installer does as it is doing it), you have to run the installer from command line. Give the command: "./ -- v" without quotations.

When the installer starts, it will check its own integrity, to make sure it has not been tampered with. After that it will check to see if you have root privileges. If you do, it will continue. Next, it will ask you to choose an installation directory. The default is /usr/share and I advice you to use it, if you do not have a very good reason not to.

NOTE: The installer will make the FlexHub subfolder itself, meaning the final installation directory will be /usr/share/FlexHub (Assuming you choose /usr/share from the beginning).

When the installer is done, write "flexhub" without quotations in command line to launch the hub. If you want to launch the gui, write "flexgui" without quotations.

First Use

For Linux: Type: ./lua ./FlexHub.lua from the FlexHub folder to start the hub

The following commandline options can be used:

--nogui - To disable the hub GUI
--noupdate - To disable the !update command in the hub

--nick=<nickname> - Nickname of master account
--pass=<password> - Password of master account (always use a unique and safe pass)
--profile=<profilename> - Profilename for master account (default=Hubowner)
--nickip=<ip> - Only allow connections from this ip for the master account

--bind=<ip> - Will bind the port to a specific interface (IP), default = * and will bind to all local interfaces
--port=<port1>[,<port2>] - Regular port(s).
--sport=<secure port1>[,<secure port2>] - Secure port(s): EXPERIMENTAL (Can cause the hub to freeze)
--userlimit=<number> - Host userlimit (for hosting services)

--logdir=./logs/ - The directory to store logfiles. For now this needs to be a subfolder in the FlexHub folder
--configdir=./settings/ - The directory to store and load configurationfiles, For now this needs to be a subfolder in the FlexHub folder

Example: ./lua ./FlexHub.lua --nogui --nick=MyNick --pass=12345 --port=8000