欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

twisted安装 博客分类: twisted twistedinstall 

程序员文章站 2024-03-19 09:59:04
...

下载最新版 twisted:

http://twistedmatrix.com/trac

 

得到:

写道
Twisted-13.1.0.tar.bz2
解压:
tar -jxf Twisted-13.1.0.tar.bz2
build:
 cd Twisted-13.1.0/
python setup.py  build
install:
sudo python setup.py  install
输入 twisted  看到帮助信息:
写道
libin@libin-ThinkPad-T420:~/software/twisted/Twisted-13.1.0$ twistd
Usage: twistd [options]
Options:
--savestats save the Stats object rather than the text output of the
profiler.
-o, --no_save do not save state on shutdown
-e, --encrypted The specified tap/aos file is encrypted.
-n, --nodaemon don't daemonize, don't use default umask of 0077
--originalname Don't try to change the process name
--syslog Log to syslog, not to file
--euid Set only effective user-id rather than real user-id.
(This option has no effect unless the server is running
as root, in which case it means not to shed all
privileges after binding ports, retaining the option to
regain privileges in cases such as spawning processes.
Use with caution.)
 

 安装成功!

 

 

 

相关标签: twisted install