Using Goagent under Linux

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed.

turn from:http://www.xzcblog.com/?post=125 for Super blog

When it comes to crossing the Great Wall of software there are many, but recently the most famous and free on the non-goagent, goagent is using Google's Gae services to climb the Great Wall, with fast, stable characteristics, just today my SSH agent expires, so ready to use Goagent to FQ.

1: Apply for Appengine.google.com's personal apppid

First Login to appengine.google.com, apply for personal apppid, it will be used in goagent. AppID as long as the only one can, must be English characters and numbers.

II. Installation and local deployment

Installing the Goagent service side

Now that you have successfully applied to apppid, the next job is to install the Goagent server.

1: Download

First we download goagent:https://code.google.com/p/goagent/

Unzip to the user root directory and enter the local directory under Goagent

2: Modify the Proxy.ini file in the local folder to change the AppID to your AppID;


3: Import CA.CRT file

Open firefox->, advanced, encryption---View certificate, certificate Authority, import certificate, select Local\ca.crt, tick all items, import.

4: Upload goagent server

Open the terminal and use the command to enter the goagent/server folder

1 cd./goagent/server/

Then enter the command to upload the server.

1 python uploader.zip

Then you will be prompted to enter your AppID, for example, mine is gongxian2122 .

Next you'll be prompted to enter your Google account and password , which is your Google Mail email address. The password input process does not display characters, enter the carriage return, the command line finally appears completed update of the app ... The description has been uploaded successfully.

At this point the login appengine.google.com page can see the current status of 1 , Google App allows users to create multiple AppID, so each time goagent out a new version, you can also be created and uploaded to the new AppID separately.

Okay, now that the goagent has been uploaded, we can start using it.

1: Run Goagent

Use the CD command to go to the local folder

CD Local

Then run goagent using the following command

Python proxy.py

Now that the goagent is running, the next thing we want to do is browser settings.

First install the autoproxy extension (click here), click Preferences > Proxy Server > Edit proxy > Then add the address of goagent after the installation is complete:

Where the name is added, proxy host Add listen address this value after the IP, port add listen address after the port displayed, Proxy mode select HTTP, and then OK. (Don't forget to add a subscription to Yo)

Here by the way to share a gae appid:gongxian2122 if you do not use the words can be used directly to use this appid, as long as the Proxy.ini in the AppID behind add gongxian2122 can. (Everyone saves a bit of use, after all, only 1g of traffic)

Ps:

Problems

    • Do you support multiple AppID for load balancing?
    • Currently goagent the latest version is supported, in Proxy.ini in the [Gae] project under this configuration can be appid=id1|id2|id3
    • How to prevent goagent from being used anonymously (stolen)?
    • Currently goagent the latest version is supported, note: This feature does not affect the speed, please feel free to use.
      • Golang version: Server\golang\fetch.go in const paragraph at the beginning of modify Password = "123456", re-upload fetch.go, You can then configure Password = 123456 under the Gae project in Proxy.ini.
      • Python version: First modify __password__ = ' 123456 'in server\python\fetch.py, re-upload fetch.py, You can then configure Password = 123456 under the Gae project in Proxy.ini.
    • I heard that goagent confidentiality is weaker, how to strengthen?
    • Download the latest version of the client, edit the Proxy.ini google_cn google_hk domain, Mode=https. The speed is correspondingly slow, hehe.

For details, please see https://code.google.com/p/goagent/

PS: The latest version of the Goagent is 2.1.9-11, but to use his words to install Gevent,ubuntu software source inside the gevent version is too low, need to manually compile, it is troublesome, and the new version of the problem is more, so recommend that you use 1.8.11 version.

PS2: Here is attached to the Google IP, the google_cn in the IP replaced with the following address, the use of GOOGLE_CN speed is relatively fast:

173.194.72.90|173.194.72.91|173.194.72.92|173.194.72.93|173.194.72.94

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.