英文原版 如何在 GAE 上安装和使用 Snova 代理
How To Install And Use Snova On GAE
如何在 GAE 上安装和使用 Snova 代理
As mentioned before, the Hyk-proxy GAE service won't be updated any more, since the developer stops to work on a new project — Snova.
Similar to Hyk-proxy, Snova is also a web proxy based on GAE, but it works for HTTPS very well, when running on CloudFoundry, Heroku, OpenShift and some other PaaS (Platform as a service) platforms.
The following will show you how to install and use Snova on GAE, which are nearly same as what you do with Hyk-proxy.
1. Create a GAE application
Sign in your GAE account and create an application ID which is available.
2. Generate a new application-specific password
On the "Security" page of your "Google Accounts", click the "Edit" button of "Authorizing applications and sites", and generate a new application-specific password.
But you can skip this step if you do not use 2-step verification for your Gmail account.
3. Download Java and Google App Engine SDK for Java
If you haven't gotten these two softwares on hand as mentioned before, you can download Java on its official website, and download Google App Engine SDK for Java from Google Code.
By the way, on Mac, you only need to download and extract the Google App Engine SDK for Java package, since Java is pre-installed.
What is more, besides Java, Snova also supports the Go language, so that you can download Go and Google App Engine SDK for Go instead.
4. Download the Snova packages
Among the 7 packages on the Snova Downloads webpage, you can just download "snova-xxx.zip" and "snova-gae-jserver-xx.zip" for Java.
After that, extract the zip files you download.
5. Deploy task
Like Hyk-proxy, on Windows, you can run the "install.bat" file in the "snova-gae-jserver-xx" folder; and on Mac/Linux, you can open the Terminal application and enter the following command line:
sh /the-path-to/install.sh
Or you can just drag the "install.sh" file from the "snova-gae-jserver-xx" folder and drop it behind the "sh" command.
After that, you can see an "AppEngine AppCfg GUI Wrapper" window, such as the following:
In the window, you can define the location of the "Google App Engine SDK for Java" folder, enter your GAE app ID, select the "snova-gae-jserver-xx" folder as AppLocation, enter your Gmail address and password, then you can click the "Deploy" button to upload the Snova server to your GAE.
6. Add GAE application ID to the Snova client
On Windows, you can double-click the "startgui.bat" file in the "bin" folder; and on Mac/Linux, you can open the Terminal application and enter the following command line:
sh /the-path-to/startgui.sh
Or you can just drag the "startgui.sh" file from the "snova-xxx" folder and drop it behind the "sh" command.
After that, you can open the snova client window, click on the "Config" button of "GAE xxx" in the "Plugins" tab, and click the "New" button to add your APP ID, such as what you can see from the following image:
And you can add more than one App ID, after that, click the "Apply" button.
7. Start Snova
When the App IDs are added, you can click the "Start" button to connect to the Snova server.
8. Edit the browser proxies
Like Hyk-proxy, when the Snova service is running, you also need to configure your browser s http proxy to below address:
127.0.0.1: 48100
评论
发表评论