In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install GoAgent in Linux, the article is very detailed, has a certain reference value, interested friends must read it!
GoAgent is a cross-platform language Python development and Google App EngineSDK written, is a Google Appengine based, fully compatible with IE, FireFox, chrome agent tools, programs can be used on Microsoft Windows, Mac, Linux, Android, iPod Touch, iPhone, iPad, webOS, OpenWrit, Maemo.
1: Apply for appengine.google.com personal apppid
First log in to appengine.google.com and apply for a personal apppid, which will be used in Goagent. appid can be as long as it is unique. It must be English characters and numbers.
II. Installation and local deployment
Install goagent server
Now that you have successfully applied to apppid, the next step is to install the goagent server.
1: Download
First we download goagent: code.google.com/p/goagent/
Extract to the user root directory, and then enter the local directory under goagent
2: Modify the proxy.ini file in the local folder and change the appid to your appid;
3: Import ca.crt file
Open FireFox-> Options-> Advanced-> Encryption-> View Certificates-> Certificate Authorities-> Import Certificates, select local\ca.crt, check all to import.
4: Upload goagent server
Open the terminal and enter the goagent/server folder with one command
1cd ./ goagent/server/
Then type in the command to upload the server.
1python uploader.zip
Then you will be prompted to enter your appid, for example, mine is gongxian2122
You'll be prompted for your Google account and password, which is your Google mail address. Password input process will not display characters, enter can be completed, the command line finally appears Completed update of app…indicates that the upload has been successful.
At this point, you can log in to appengine.google.com and see that the current status is 1. Google app allows users to create multiple appids, so every time a new version of Goagent comes out, you can also create and upload it to a new appid separately.
Now that goagent is uploaded, we can start using it.
1: Run goagent
Use cd command to enter local folder
cd local
Then run goagent with the following command
python proxy.py
Now that goagent is up and running, the next thing we need to do is set up the browser.
First install AutoProxy extension (click here), click Preferences> Proxy> Edit Proxy> Then add goagent address:
The name is added randomly, the proxy host is added with the ip after the value Listen Address, the port is added with the port displayed after Listen Address, the proxy mode is selected http, and then OK. (Don't forget to add a subscription)
Here, by the way, share a GAE appid: gongxian2122. If you don't know how to use it, you can use this appid directly, as long as you add gongxian2122 after the appid in proxy.ini. (Everyone save some money, after all, only 1g of traffic)
ps:
common problems
Do you support multiple appids for load balancing?
The latest version of goagent is currently supported. Configure this under the [gae] item in proxy.ini to appid= id1.| id2| id3
How do I prevent goagents from being used anonymously?
The latest version of goagent is currently supported. Note: This feature will not affect the network speed. Please feel free to use it.
golang version: change Password = "123456" at the beginning of const paragraph in server\golang\fetch.go, upload fetch.go again, and then configure password = 123456 under gae item in proxy.ini. Python version: first modify__password__ = '123456' at the beginning of server\python\fetch.py, upload fetch.py again, and then configure password = 123456 under gae project in proxy.ini.
I heard that goagent confidentiality is weak. How to strengthen it?
Download the latest version of the client, edit the google_cn google_hk domain of proxy.ini, mode=https. The speed is also slower, eh?
For details, please see code.google.com/p/goagent/
ps: The latest version of GoAgent is 2.1.9-11, but if you want to use it, you have to install gevent. The gevent version in the Ubuntu software source is too low, and you need to compile it manually. It is very troublesome, and the new version has more problems, so it is recommended that you use version 1.8.11.
ps2: google ip is attached here, replace the ip in google_cn with the following address, and use google_cn faster:
173.194.72.90|173.194.72.91|173.194.72.92|173.194.72.93|173.194.72.94
That's all for "How to Install GoAgent in Linux", thanks for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.