[水] 关于goagent以及python

缘起

     用Ubuntu快一年了,突然想去城外的世界看看,就试了试goagent,刚开始做的时候,受了一下误导,后来换了台机器有试了一遍,发现多装了一些无用的东西。

正文

    起初,参考 ubuntu下使用goagent-ubuntu 13.10+goagent3.1.0 ,确实安装成功了,后来看到了https://code.google.com/p/goagent/ 上没有前者说的第二步“安装gevent”,就找了台机器又试了一遍,确实第二步是多余的。第二步截图如下:

[水] 关于goagent以及python_第1张图片

   这里我要吐槽一下,原博主就不能说明一下,上述的两个步骤是二选一的,结果我两个全装了一遍(可能我自己比较苯,怨不得别人,只能怨天了,偏偏今天天气特别好);而且,第一步使用apt-get安装的东西也太多了吧,不仅仅是装了gevent,附带加了一堆。

    由于我自己有点轻度强迫症,觉得自己被骗安装了一些多余的东西,心理特别不舒服,饭也吃不好,觉也睡不着,就想着找怎么将多装的gevent删掉,找了很久,发现手动安装的gevent貌似没办法删掉,官方安装包提供的setup.py脚本里只支持build和install,不支持uninstall,这不是坑爹吗!具体参数如下:

Common commands: (see '--help-commands' for more)

  setup.py build      will build the package underneath 'build/'
  setup.py install    will install the package

Global options:
  --verbose (-v)      run verbosely (default)
  --quiet (-q)        run quietly (turns verbosity off)
  --dry-run (-n)      don't actually do anything
  --help (-h)         show detailed help message
  --no-user-cfg       ignore pydistutils.cfg in your home directory
  --command-packages  list of packages that provide distutils commands

Information display options (just display information, ignore any commands)
  --help-commands     list all available commands
  --name              print package name
  --version (-V)      print package version
  --fullname          print <package name>-<version>
  --author            print the author's name
  --author-email      print the author's email address
  --maintainer        print the maintainer's name
  --maintainer-email  print the maintainer's email address
  --contact           print the maintainer's name if known, else the author's
  --contact-email     print the maintainer's email address if known, else the
                      author's
  --url               print the URL for this package
  --license           print the license of the package
  --licence           alias for --license
  --description       print the package description
  --long-description  print the long package description
  --platforms         print the list of platforms
  --classifiers       print the list of classifiers
  --keywords          print the list of keywords
  --provides          print the list of packages/modules provided
  --requires          print the list of packages/modules required
  --obsoletes         print the list of packages/modules made obsolete

    对于这种卸不掉的软件怎么办?我想想了,算了,刚好打算学习一门脚本语言,就决定学Python了,然后,找找文档研究研究gevent是个什么玩意,研究研究如何使用这个玩意。以下是关于gevent的相关信息的搜索,先标记一下,以后有空学习学习。

    gevent官方地址: http://www.gevent.org/

    gevent学习指导: http://sdiehl.github.io/gevent-tutorial/  

    gevent 学习指导中文翻译版:http://blog.csdn.net/ewing333/article/details/761174 

   最近,项目要结题了,想想都觉得悲伤,因为,我的心还停留在开题的那个点上,拿什么来拯救你,我的项目,不说了,说多了都是泪。

若干月后,我又配置了一下Firefox,主要参考官方教程和ubuntu12.04系统下firefox利用goagent+foxy proxy Cross the GFW教程(缺少设置pac的过程),一开始,没成功,后来看到别人的博客后,想起忘记导入证书了。用firefox的一个缺点就是,装了插件要重启,这一点chrome做的就比较好,即装即用。

后记

1.goagent使用最全最精确的教程: https://code.google.com/p/goagent/wiki/InstallGuide 

2.goagent 的官方地址: https://code.google.com/p/goagent/ 

3. 道听途说的间接经验往往是有问题的,即使最后恰好可行,总是不是偏了就是拐了,了解一个事物,比如安装goagent,就需要找到权威并且正确的信息。

若干天后,我再次需要在一个新的环境中部署froxy+ goagent,事实证明,我把自己给坑了。因为,google和google code都被墙了,还怎么去看那最新最全的教程,后来找了个到了替代的方案。

1. baidu贴吧上的教程的复制版:http://tieba.baidu.com/p/2530678879

安装了Ubuntu Kylin之后,发现自带的浏览器为chromium,很好奇chromium和chrome的关系,就搜到如下的文章:详解Chrome、Chromium及各版本区别

你可能感兴趣的:(python,chrome,firefox,goagent,gevent)