how to install? #8
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mia/0x0#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey Lachs0r, thanks for this tool!
Could you provide more information how to set up the requirments and install the uwsgi config?
Thanks
Hi, same question here ^^
I would like to install this service on my own VPS, but the way to install it is not enough clear for me. What we have to do to install it ?
Thank you by advance
Do this after cloning this repo on your server :
Lemme know if this works 👍
On Monday, December 31, 2018 4:58:43 AM CET Akash Joshi wrote:
Ugh, the requirements.txt has horribly outdated versions in it. I never
thought of updating this because I’m just using openSUSE’s Python packages.
Also, never EVER use pip to install modules system-wide. You WILL regret it.
The better pip install seems to be
Also, I use virtualenv
libmagic isn't being detected, even after being installed via pip
Libmagic needs to be installed from your OS packages. The python module for libmagic just wraps the shared object file that is provided from the apt/rpm package called “libmagic”
Sent from iFruit 9x
Ahh shite, libmagic is not available on Windows. Maybe update the README with compatible OSs ?
On Tuesday, January 1, 2019 5:37:18 AM CET Akash Joshi wrote:
Shouldn’t it be obvious that Windows is the worst possible OS to use for a
server?
You are right about that. As would a thorough refactoring to get rid of some cruft and unmaintained/obsolete dependencies.
Hi ! thank you to answer me :)
First, the install worked this way :
Second, yes : it worked. this way :
Tested with
curl 127.0.0.1:5000
from the server, but unable to connect remotly. I have to deal with my vhosts and cname lol.On Thursday, January 3, 2019 11:40:18 PM CET T0MuX wrote:
Yes, this is because that’s just the development server. You should NOT expose
that to the public. Use an application server like uwsgi behind nginx.
Any chance you could point me in the direction of how to do this (uwsgi)?
So there's no way to install 0x0 without nginx ? As i've read on uwsgi's doc using it on Apache2 is a bad idea
I can't make this to work correctly, even with nginx correctly configured anyway.
On the server side I have
127.0.0.1 - - [27/Dec/2019 11:32:12] "POST / HTTP/1.0" 400 -
and on the client side I haveSegmentation fault
. And again, don't understand why because earlier it was returning an url in http and this url wasnt the good one, and not working even renaming in https.After a ton of screwing around with uWSGI I finally managed to get it running. First off, the uWSGI application in Debian packages apparently does not take the
--wsgi-file
option. You'd have to install the application with pip. Then use this uwsgi command to launch the application:uwsgi --socket 0.0.0.0:8080 --protocol=http --wsgi-file fhost.py --callable app
. I can't believe that this hasn't been documented anywhere yet. Hopefully it saves someone the hours of trouble I had with this.In case anyone's still having problems with installing it, I wrote a blog post about it: https://orhun.dev/blog/no-bullshit-file-hosting/
I would love to see a Dockerfile wrapping the commands and set up services in your great blog post :)
Hello @orhun, thanks for making the guide.
Just have a few suggestions:
python-pip
to requirements (for the below reason)uwsgi
through pip (through the Arch repos I was not able to get the--with-file
option).Edit: Also add
instance/config.py
(with your instructions I tried initializing the database but I got an errorFileNotFoundError
)requirements.txt
is installed viapip
so it might be unnecessary to mention it separately. But I added it anyways.It's because python plugin is either not installed or loaded. (in Arch:
uwsgi-plugin-python
)I updated the blog post to mention this.
Done. I should start watching the repository get notified about these changes.
Thanks for the suggestions! 🐻
grave-digging here.
My initial request got solved ages ago therefore I close this issue.
Thanks everyone!