How To Install And Use Snova On Heroku

Looking for a simple, stable and significant VPS as your web hosting? Check out DigitalOcean, only $5 per month, and you can get $10 in credit just for signing up now.

In the last post, we have learned how to install and use Snova on Cloud Foundry, this post will show you how to do that on Heroku.

Since Heroku is also a PaaS platform, the steps will like what you do on Cloud Foundry, as what you can see from the following:

1. Create a Heroku account

Create a Heroku account

On this Heroku page, enter your email address and sign up an account.

2. Install Heroku Toolbelt

Install Heroku Toolbelt

After signup, you can receive an email, click the long confirmation link inside, download the Heroku Toolbelt app and install it on your computer.

3. Download snova-c4-heroku-server-xxx.zip

Download Snova c4 server

On the Snova Downloads webpage, download the "snova-c4-heroku-server-xxx.zip" file and extract it.

4. Deploy Snova c4 server to Heroku

Deploy Snova c4 server to Heroku

Open the Terminal application, enter the following command line:

cd /the-parth-to/snova-c4-heroku-server-xxx

You can also just drag the "snova-c4-heroku-server-xxx" folder and drop it behind the "cd" command.

After that, you can start to configure and deploy the Snova c4 server to Heroku by entering the following command lines one by one:

  • heroku login (To enter your Heroku account email and password)
  • git init
  • git add .
  • git commit -m "init"
  • heroku create --stack cedar
  • git push heroku master

At the end of the results, you can find a random URL like the following:

http://obscure-tundra-1542.herokuapp.com/

Visit the page of the URL, and if you can see something like the following:

Welcome to snova-c4 server xxx!

Then you have successfully deployed the Snova server to Heroku.

5. Configure the Snova c4 client

Configure the Snova c4 client

Find and open the "c4-client.conf" file via the following path:

.../snova-xxx/plugins/c4/conf/c4-client.conf

And uncomment the first "WorkerNode [0]" line by changing "xyz" to what you get in Step 4 (such as "obscure-tundra-1542").

6. Configure snova.conf

Configure Snova.conf

Find and open the "snova.conf" file via the following path:

.../snova-xxx/conf/snova.conf

And change the "ProxyService" value from "GAE" to "C4".

7. Start Snova

Start Snova

After that, you can start Snova, and if you can see the following message:

Start plugin:C4 … Success

Then you can visit the HTTPS links normally.

Spread the love
This entry was posted in Free Online Anti-censorship Tools and tagged , , , . Bookmark the permalink.