FlexHub Forum

FlexHub General => Help / Support => Topic started by: zfer on August 30, 2011, 10:18:27

Title: Linux install.
Post by: zfer on August 30, 2011, 10:18:27
Hey, got a bit of a problem.



"For Linux: With installer: http://flexhub.org/wiki/index.php/Linux_Installation "
"To install in normal mode, all you have to do is run the selfextracting installer. (Original filename: FlexHub.run) "

Now I have searched the hole place, and i just cant find this installer..
Title: Re: Linux install.
Post by: FlipFlop™ on August 30, 2011, 10:29:30
Correct, there's no installer anymore, that text will be removed.

FlexHub doesn't need installing, just unpacking is enough.
You can use curl to this for you:

curl http://flexhub.org/downloads/FlexHub_0.1_1146_linux.tgz | tar xvz
Title: Re: Linux install.
Post by: zfer on August 30, 2011, 11:12:30
I see, no wonder i couldnt locate it :)


Still cant get it up and running though, nothing happends when i do; "./lua ./FlexHub.lua" tried giving it different options, but still nothing...
Any ideas? ;)
Title: Re: Linux install.
Post by: FlipFlop™ on August 30, 2011, 11:16:53
You need to start this command from terminal window in the folder that contains lua.so and FlexHub.lua

Are you sure that nothing happened? An error message is something happening too, so if you had one, please specify it. That helps to determine the problem.
Title: Re: Linux install.
Post by: JOE™ on August 31, 2011, 23:48:03
Even i tried was having the same :( tried draging the 2 files one by one on terminal  by sudo etc still hub could not work :(
Title: Re: Linux install.
Post by: FlipFlop™ on September 01, 2011, 07:50:54
Linux is hardly a drag and drop environment, you need to type the command in a terminal window, from a folder you created to install FlexHub in. The install using curl can that way even be used through an SSH connected terminal.
Title: Re: Linux install.
Post by: zfer on September 01, 2011, 13:27:50
Hyea, no nothing really happend, all though a little win-operation solved it, i had to reboot ubuntu, guessing some libs needed it.
And after this it worked like a charm, so its now up and running and no errors so far :)

Btw, what does these patterns in feed stand for, [HI] [FI] ?

Thanks
Title: Re: Linux install.
Post by: JOE™ on September 01, 2011, 18:20:39
zafer or flip can u give step by step information installing it on linux if the folder is on desktop plz
If possible that u  can provide it with pic that will be easy to understand
Title: Re: Linux install.
Post by: FlipFlop™ on September 01, 2011, 18:50:07
Once again, don't try to use it from desktop.

It's Linux, get some basic knowledge about how to use a terminal window, then create a folder called FlexHub and use that curl-line.
Title: Re: Linux install.
Post by: light-angel on September 01, 2011, 21:45:33
this is how i do it from start to finsh

wget http://www.flexhub.org/forum/index.php?action=downloads;sa=downfile&id=42
tar xzf filename
cd /FlexHub
chmod +x lua
./lua ./FlexHub.lua
Title: Re: Linux install.
Post by: JOE™ on September 03, 2011, 13:28:41
This tutorial is from peter from flexhub support hope the way it  helped me it will help others  thank u Peter  :)
chk the link down
Title: Re: Linux install.
Post by: Juckpuck on January 14, 2012, 21:30:56
Since im not the only getting stuck at the startup of flexhub on linux i will post this i followed peters instruktions to the letter.


chmod +x lua     in the command promt goes but no reply and after that    ./lua   gives this one    INFO starting lua.lua [pid 18797]  Error  cannot open lua.lua: No such file or directory    INFO: stopping lua.lua

And im the flexhub folder lua.so is in there and when trying  ./FlexHub.lua    BASH permission denied       im using linux mint x86 version 12



And now i have tested the same thing on ubuntu 11.10 updated and ready tried sudo so any sugestion on what to do since i doubt the windows version will ever get the encryption bug fixed
Title: Re: Linux install.
Post by: FlipFlop™ on January 15, 2012, 09:38:06
As mentioned in the readme.txt, to start the hub, goto the FlexHub folder and use:

./lua ./FlexHub.lua

Using just: ./lua  or ./FlexHub.lua won't work.

Title: Re: Linux install.
Post by: Juckpuck on January 15, 2012, 11:09:01
thanks i assumed that ./lua and ./FlexHub.lua was two diffrent commands to be used seprately now it works
Title: Re: Linux install.
Post by: Hamachi on January 15, 2012, 12:04:40
How I do it:

cd /path/hub && chmod +x lua && screen -d -m  ./lua ./FlexHub.lua --nogui --sport=1234 --port=

USE NO GUI: --nogui
SET DEFAULT TLS PORT: --sport=1234
REMOVE DEFAULT NOT TLS PORT (Port 8000): --port=

I only use tls port for my hubs ;)
Title: Re: Linux install.
Post by: sergius_s on August 05, 2013, 14:49:52
I'll add the answer perhaps not related to this topic.
In Linux systems, all ports from 1 to 1024 are opened only through root, is why run the hub on these ports only need to use the command: sudo ./lua ./FlexHub.lua
Title: Re: Linux install.
Post by: Marco™ on November 28, 2013, 17:56:10
Hello.

Refresh topic.

When will already be available in 64bit version?
Title: Re: Linux install.
Post by: sergius_s on November 29, 2013, 15:51:48
FlexHub can be run on Linux x86 or x86+x64.
On linux x64 can not run...

At the moment, there is already a similar request, but it has a very low priority.
There are more important things now.
Title: Re: Linux install.
Post by: FlipFlop™ on November 29, 2013, 16:03:29
We have longterm plans to move Flex from LuaAIO to LuaJIT, that would make it possible to run it on native x64 operating systems too.
But that's really longterm, it requires a lot of rewriting, so don't hold your breath.

There seems to be a way to run Flex on x64 though, with installation of only a few x86 libs. I'll try to get a short tutorial on the forum here on how to do that.
Title: Re: Linux install.
Post by: Marco™ on November 29, 2013, 16:24:55
There seems to be a way to run Flex on x64 though, with installation of only a few x86 libs. I'll try to get a short tutorial on the forum here on how to do that.
I will be grateful for such a tutorial, because I would like to already to start under x64.
Title: Re: Linux install.
Post by: light-angel on November 29, 2013, 16:56:13
what copy of linux are u running then i can find out what ya need to run it
Title: Re: Linux install.
Post by: FlipFlop™ on November 29, 2013, 21:18:38
Check here on how to install Flexhub on an x64 Linux system: http://www.flexhub.org/forum/index.php/topic,713.0.html (http://www.flexhub.org/forum/index.php/topic,713.0.html)