Cloud installation (free and anonymous):
We use OpenShift, a cloud computing platform from Red Hat. It is really an easy job to use it.
These are the advantages of a cloud-installed NZBMegasearch:
- it is always online, no need to start it from your computer
- it is connected on a crazy fast network (less waiting time)
- it is free
- it is HTTPS enabled and password protected
Note: This kind of installation does not support heavy traffic/load. It is designed only for personal usage (or small groups).
Content:
STEP 0: Tools needed:
Install:
STEP 1: Register on Openshift:
A valid email is required:
STEP 2: Create your site on Openshift:
Go to console, make a folder, enter in it and type:
- $ rhc app create flask python-2.7
This will take few minutes. The tool will ask for a 'namespace', part of the domain name of your online install.
E.g.: If you enter 'dog'. Your url on the cloud will be:
flask-dog.rhcloud.com
Continue on the console:
- cd flask
- git remote add upstream -m master git://github.com/openshift/flask-example.git
- $ git pull -s recursive -X theirs upstream master
- $ git push
You can now check out that everything has been correctly installed by opening with your browser at http://flask-dog.rhcloud.com/
STEP 3: Install NZBMegasearch on the cloud:
Go to console:
- Run rhc app show and copy the SSH address
Something like: ssh 123456890123456890@flask-dog.rhcloud.com
Issue the command:
- $ ssh 12361287362187368713621@flask-dog.rhcloud.com
If everything went fine, you are now logged in the Openshift cloud and you should be presented this kind of prompt:
- [flask-dog.rhcloud.com 123456890123456890]\>
On the remote server prompt (shortened for visibility), type:
- [flask-dog.rhcloud.com]\> cd app-root/repo/wsgi/
- [flask-dog.rhcloud.com]\> git clone https://github.com/pillone/usntssearch.git
- [flask-dog.rhcloud.com]\> cd usntssearch/NZBmegasearch/openshift
- [flask-dog.rhcloud.com]\> ./install_openshift.sh
- [flask-dog.rhcloud.com]\> ctl_app restart
then select 1 (python-2.7) to start
You can now check out that everything has been correctly installed by visiting:
- http://flask-dog.rhcloud.com/
Note: the DEFAULT username and password are:
User: NZBMadmin Pwd: NZBMadmin ... that I strongly suggest to change ;)
Remember to:
- Configure all your options, as a standard NZBMegasearch install
- Disconnect from SSH and remove your directory flask on your hard drive
THAT'S IT! You have successfully installed NZBMegasearch on the cloud!
STEP ??: Update NZBMegasearch:
In case updates are available (via notification in NZBMegasearch), you need to:
- Log in ssh 12361287362187368713621@flask-dog.rhcloud.com
and on the remote prompt:
- [flask-dog.rhcloud.com]\> cd app-root/repo/wsgi/usntssearch/NZBmegasearch/openshift
- [flask-dog.rhcloud.com]\> ./install_openshift.sh
- [flask-dog.rhcloud.com]\> ctl_app restart
Disconnect from SSH.
THAT'S IT! You have successfully updated NZBMegasearch!