在服务器上安装python? [英] installing python on a server?

查看:138
本文介绍了在服务器上安装python?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁能告诉我在我的

服务器上安装Python有多复杂,所以我可以将它用于网络应用程序?这是一次性的过程,还是需要维护的东西?


谢谢。

解决方案

John Salerno:

有谁能告诉我在我的服务器上安装Python有多复杂,所以我可以将它用于网络应用程序?


2,从1到10的等级。

这是一次性流程,还是需要维护的东西?




两个:-)


我在Linux上从源代码安装了Python 2.2 - 2.4没有问题

无论如何。我现在计划每个新版本安装时间约为5分钟,

即用2分钟制作咖啡,2分钟用于浏览发行说明和

README和1分钟观看./configure;使; make install做它'

magic。


有一些细节要注意,比如有必要的

库和安装前包含文件,以启用特定的

功能(例如套接字中的SSL支持)。但这没什么大不了的。


-
$ b $bRenéPijlman


Rene Pijlman写道:

John Salerno:

有谁能告诉我在我的服务器上安装Python有多复杂,所以我可以将它用于网络应用程序? / blockquote>

2从1到10的等级。

这是一次性过程,还是需要维护的东西?

<两个:-)
我在Linux上从源代码安装了Python 2.2 - 2.4,没有任何问题。我现在计划每个新版本的安装时间约为5分钟,即2分钟制作咖啡,2分钟浏览发行说明和
README,1分钟观看./configure;使; make install做它的魔力。

需要注意一些细节,例如在安装之前拥有所需的库和包含文件,以启用特定的
功能(例如套接字中的SSL支持)。但这没什么大不了的。




嗯,听起来很简单,但我不知道从哪里开始。我实际上用什么来b * b用于将它安装到服务器上?我以前从未处理过服务器的东西

,所以我可能不熟悉这个术语。


你提到过使用python for web应用程序:使用哪个框架?

(TurboGears,CherryPy,Subway,Django等)或仅适用于cgi?


使用哪个Web服务器? (Apache,Twisted,Zope等)


在哪个linux平台上? (Slackware,Debian,Fedora / RedHat,Suse等)


我想你以前必须考虑其他问题。


在具有包管理的系统上(几乎所有这些系统,除了

Slack)安装只需几个命令。并且你可以自动化它,

显然。


-

再见,

Renato


Can anyone tell me how complicated it might be to install Python on my
server so I can use it for web apps? Is it a one-time process, or
something to maintain?

Thanks.

解决方案

John Salerno:

Can anyone tell me how complicated it might be to install Python on my
server so I can use it for web apps?
2 on a scale from 1 to 10.
Is it a one-time process, or something to maintain?



Both :-)

I installed Python 2.2 - 2.4 from source on Linux with no problem
whatsoever. I now plan about 5 minutes installation time per new release,
that''s 2 minutes to make coffee, 2 minutes to skim the release notes and
README and 1 minute to watch ./configure; make; make install do it''s
magic.

There are some details to watch out for, such as having the required
libraries and include files around before installation, to enable specific
functionality (e.g. SSL support in socket). But that''s no big deal.

--
René Pijlman


Rene Pijlman wrote:

John Salerno:

Can anyone tell me how complicated it might be to install Python on my
server so I can use it for web apps?



2 on a scale from 1 to 10.

Is it a one-time process, or something to maintain?



Both :-)

I installed Python 2.2 - 2.4 from source on Linux with no problem
whatsoever. I now plan about 5 minutes installation time per new release,
that''s 2 minutes to make coffee, 2 minutes to skim the release notes and
README and 1 minute to watch ./configure; make; make install do it''s
magic.

There are some details to watch out for, such as having the required
libraries and include files around before installation, to enable specific
functionality (e.g. SSL support in socket). But that''s no big deal.



Hmm, sounds easy, yet I don''t know where to start. What do I actually
use to install it onto the server? I''ve never dealt with server stuff
before, so I might not be familiar with the terminology.


You mentioned using python for web apps: with which framework?
(TurboGears, CherryPy, Subway, Django, whatever) Or only for cgi?

With which web server? (Apache, Twisted, Zope, etc.)

On which linux platform? (Slackware, Debian, Fedora/RedHat, Suse, etc)

I think you''ll have to think about other questions before.

On systems with package management (pretty much all of them, except
Slack) install is a matter of a few commands. And you can automate it,
obviously.

--
bye,
Renato


这篇关于在服务器上安装python?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆