Ubuntu12.04 install and configure goagent & chrome)

Source: Internet
Author: User
Tags intl goagent
Ubuntu12.04 install and configure goagent & chrome

 

The solution is goagent + chrome + switchysharp. The speed is good and there is no pressure to watch videos on YouTube.

How to deploy and use goagent: the tutorials on the Google Code homepage of goagent are as follows:

    1. Apply for Google appengine and create an appid.

    2. Download goagent stable edition http://code.google.com/p/goagent/

    3. Modify appid under [Gae] in Local \ proxy. ini = Your appid (Separate multiple appids with |)

    4. Double-click Server \ uploader. BAT (for the MAC/Linux upload method, see the FAQ). After the upload is successful, you can use it (address 127.0.0.1: 8087)

    5. Chrome please install the switchysharp plug-in and then import this setting http://goagent.googlecode.com/files/SwitchyOptions.bak;

    6. Please install autoproxy in Firefox. Firefox needs to import certificates. For more information, see FAQs.

The procedure is as follows:

① To apply for Google appengine, you need a Gmail account. If you do not have a Gmail account, register one. With a Gmail account, you can register a Google appengine account on the Google App Engine.

After the Google App Engine account is activated, log on to your Google App Engine and "Create an application". Remember what the Application Identifier option contains. This is appid, the appid must be unique. You can check whether the appid is available. The application title option can be set to a specific name. Click "create application" and the appid is created successfully.

② Decompress the downloaded goagent to any directory. The decompressed goagent has two directories: local and server.

③ Modify appid under [Gae] in Local \ proxy. ini = Your appid

④ Linux: in the terminal, CD to the server directory of the goagent, run:

Python uploader.zip

Windows: Double-click Server \ uploader. bat. The cmd window is opened, which requires you to enter the Gmail account and password. The window is closed automatically after the password is successfully entered.

This upload method sometimes fails. Another method :,Use the tool of Google App Engine SDK for python to upload files. This method is common in Windows and Linux:

Download the Google App Engine SDK for python and decompress it. The following $ {SDK. dir} is used to represent the root directory after the SDK is decompressed. $ {goagent. dir} is used to represent the goagent directory.

1) modify the value of application in the $ {goagent. dir}/Server/Python/APP. yaml file to your own appid.

2) terminal execution:Python {SDK. dir}/appcfg. py update $ {goagent. dir}/Server/Python

⑤ Install the switchysharp plug-in for chrome. Search for switchysharp on Chrome Web store and install switchysharp after searching. After successful installation, the switchysharp configuration page is automatically opened, and on the Import/everywhere page, Select Restore from file to import this setting http://goagent.googlecode.com/files/SwitchyOptions.bak.

After completing the above operations, Changyou Internet. If a website is inaccessible, run goagent first, switch switchysharp to goagent mode in the browser, and refresh the page again. If you are in trouble, switch switchysharp to the automatic switch mode and use the proxy automatically when a page is inaccessible.

Run goagent:

Windows: Double-click goagent.exe

Linux: terminal executionPython $ {goagent. dir}/local/Proxy. py

($ {Goagent. dir} indicates the goagent directory.)

 

 

Configure goagent in Ubuntu

 

I encountered some problems during configuration and copied them online.
Not much nonsense. The following parts are copied from the Network (most of them share the same content ~~~)
1. Apply for a Google appengine:Http://code.google.com/intl/zh-CN/appengine/And create an appid.

2. Download the Google App Engine SDK for python. Download Page:Http://code.google.com/intl/zh-CN/appengine/downloads.html#Google_App_Engine_SDK_for_PythonTo select the Linux platform. Decompress the package to a google_appengine folder.

3. Download The goagent stable version. The download link is displayed on the top of the Project homepage. Download the package and decompress it to the google_appengine folder.

4. Modify the app. yaml file in the google_appengine/goagent/Server/Python folder and change the first line of text
Application :( your appid)

5. Run Python appcfg. py update goagent/Server/python in the google_appengine directory.
In this way, the configuration is successful.

 

 

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.