Flash Communication Server配置翻译系列(1)
By 西沉 2005-6-13
Understanding basic server settings
理解服务器设置
When Flash Communication Server is first installed, it's configured in a generic way so that you can
当第一次安装Flash Communication Server,他保持一般的配置使你能够运行简单的客户端程
begin using it with the sample client applications. You should become familiar with this
序。你必须非常熟悉Flash Communication Server的配置文件,通过对他的配置来满足的你configuration so that you can make decisions about how to change it to suit your needs.
需要。
The server is installed with a set of configuration files in XML format. These files define a default
Flash Communication Server的配置文件以XML格式保存,该文件定义了默认的server adaptor
server adaptor, a default applications directory, default server administrators, and default settings
应用程序文件夹,默认的服务器管理员,默认的应用程序行为。
for application behavior.
The default server adaptor uses port 1935, the number assigned to Flash Communication Server
默认server adaptor使用1935端口,该端由Internet Assigned Numbers Authority分配给
by the Internet Assigned Numbers Authority. Although you can use any port number, this increases
Flash Communication Server使用。尽管你可以使用其他任意的端口,这可能会增大与其他程
the risk of conflicting with another application that may be assigned to the same port; for example,
序使用同样端口冲突的可能性。例如,
if you configure the server to use port 80 to support HTTP tunneling, the server might not run both
如果你为服务器分配80端口来支持HTTP通道技术,服务器将不能与同样在80端口的网
a web server and the Flash Communication Server bound to port 80. Applications must be authored
页服务器同时运行。应用程序利用NetConnection.connect声明通过同样的端口连接已运行的
to connect to the same port the server is using, in the NetConnection.connect statement. Be sure
服务器。但你必须保证端口没有被防火墙屏蔽。
the port is not blocked by a firewall.
The server is preconfigured with one adaptor containing one virtual host. The virtual host is
服务器被配置成一个adaptor包含一个虚拟主机(virtual host.)。相当于一个域名。
equivalent to a domain name. The default applications directory for the default virtual host is the
默认虚拟主机应用程序文件夹在Flash Communication Server的安装目录下。
the applications directory in the Flash Communication Server directory. You can view this location
你也可以在vhost.xml的<AppsDir>标记中找到该路径的定义。
by looking at the value for the <AppsDir> tag in the vhost.xml file. This directory is where the
服务器启动时在该目录下查找应用程序,
server will look for application subdirectories at startup; you must place an application subdirectory
你必须将你的应用作为子目录放置在该目录下,
here for each client application that you plan to connect to the server, and the client subdirectory
子目录名称必须和你创建的应用程序相同,
must have the same name as the client application. The presence of the application subdirectory
服务器使用子文件名称来创建应用程序。
registers the application with the server.
If you installed the sample applications, the applications directory includes sample applications
如果你安装了示例应用程序,每个示例程序在默认的应用程序文件夹下有一个以自己命名的
that are provided to illustrate the essential capabilities of the server. The server-side files for each
sample application reside in its self-named directory in the applications directory. The SWF files for
目录,示例程序的SWF文件既可以保存在网站发布目录,也可以在安装目录。
the sample applications are located in the samples subdirectory of either the web publishing
directory or the installation directory.
You can add adaptors and virtual hosts and change the location of the applications directory by
你可以添加adaptors和virtual hosts,改变应用程序的本地路径,通过编辑服务器配置文件。
editing the server's configuration files and creating directories in the server's conf directory. For
在服务器配置目录中创建文件夹。更多信息,见Configuring Flash Communication Server。
more information, see Configuring Flash Communication Server.
The default server administrator has the user name and password you chose during the Flash
默认的管理员用户名密码,是在你安装服务器的时候输入的。
Communication Server installation, and is defined in the Server.xml configuration file. The server
被定义在Server.xml配置文件中。服务器管理员可以连接管理员控制平台,
administrator can connect to the Admin service with the Administration Console and perform a
执行各种管理任务,包括关闭服务器,断开客户连接。
variety of server administration tasks, including shutting down the server and disconnecting client applications. (In the nomenclature of server administration, this server administrator is equivalent to the "superuser.")
Virtual host administrators can only perform tasks relating to the applications running on their own
虚拟主机管理员,只能够管理运行在该主机下的应用程序。
virtual host. There are no virtual host administrators defined when the server is first installed.
在服务器第一次安装的时候没有定义虚拟主机管理员。
Server administrators, including the default server administrator defined during installation, have
服务器管理员,包括在安装时候设定的,能够管理所有的虚拟主机。
access to all virtual hosts. Server administrators can add or delete virtual host administrators using
服务器管理员可以通过管理员控制平台添加删除服务器管理员,更多信息见Adding and editing administrators
the Administration Console. For more information about adding administrators, see Adding and editing administrators.
By 西沉 2005-6-13
Understanding basic server settings
理解服务器设置
When Flash Communication Server is first installed, it's configured in a generic way so that you can
当第一次安装Flash Communication Server,他保持一般的配置使你能够运行简单的客户端程
begin using it with the sample client applications. You should become familiar with this
序。你必须非常熟悉Flash Communication Server的配置文件,通过对他的配置来满足的你configuration so that you can make decisions about how to change it to suit your needs.
需要。
The server is installed with a set of configuration files in XML format. These files define a default
Flash Communication Server的配置文件以XML格式保存,该文件定义了默认的server adaptor
server adaptor, a default applications directory, default server administrators, and default settings
应用程序文件夹,默认的服务器管理员,默认的应用程序行为。
for application behavior.
The default server adaptor uses port 1935, the number assigned to Flash Communication Server
默认server adaptor使用1935端口,该端由Internet Assigned Numbers Authority分配给
by the Internet Assigned Numbers Authority. Although you can use any port number, this increases
Flash Communication Server使用。尽管你可以使用其他任意的端口,这可能会增大与其他程
the risk of conflicting with another application that may be assigned to the same port; for example,
序使用同样端口冲突的可能性。例如,
if you configure the server to use port 80 to support HTTP tunneling, the server might not run both
如果你为服务器分配80端口来支持HTTP通道技术,服务器将不能与同样在80端口的网
a web server and the Flash Communication Server bound to port 80. Applications must be authored
页服务器同时运行。应用程序利用NetConnection.connect声明通过同样的端口连接已运行的
to connect to the same port the server is using, in the NetConnection.connect statement. Be sure
服务器。但你必须保证端口没有被防火墙屏蔽。
the port is not blocked by a firewall.
The server is preconfigured with one adaptor containing one virtual host. The virtual host is
服务器被配置成一个adaptor包含一个虚拟主机(virtual host.)。相当于一个域名。
equivalent to a domain name. The default applications directory for the default virtual host is the
默认虚拟主机应用程序文件夹在Flash Communication Server的安装目录下。
the applications directory in the Flash Communication Server directory. You can view this location
你也可以在vhost.xml的<AppsDir>标记中找到该路径的定义。
by looking at the value for the <AppsDir> tag in the vhost.xml file. This directory is where the
服务器启动时在该目录下查找应用程序,
server will look for application subdirectories at startup; you must place an application subdirectory
你必须将你的应用作为子目录放置在该目录下,
here for each client application that you plan to connect to the server, and the client subdirectory
子目录名称必须和你创建的应用程序相同,
must have the same name as the client application. The presence of the application subdirectory
服务器使用子文件名称来创建应用程序。
registers the application with the server.
If you installed the sample applications, the applications directory includes sample applications
如果你安装了示例应用程序,每个示例程序在默认的应用程序文件夹下有一个以自己命名的
that are provided to illustrate the essential capabilities of the server. The server-side files for each
sample application reside in its self-named directory in the applications directory. The SWF files for
目录,示例程序的SWF文件既可以保存在网站发布目录,也可以在安装目录。
the sample applications are located in the samples subdirectory of either the web publishing
directory or the installation directory.
You can add adaptors and virtual hosts and change the location of the applications directory by
你可以添加adaptors和virtual hosts,改变应用程序的本地路径,通过编辑服务器配置文件。
editing the server's configuration files and creating directories in the server's conf directory. For
在服务器配置目录中创建文件夹。更多信息,见Configuring Flash Communication Server。
more information, see Configuring Flash Communication Server.
The default server administrator has the user name and password you chose during the Flash
默认的管理员用户名密码,是在你安装服务器的时候输入的。
Communication Server installation, and is defined in the Server.xml configuration file. The server
被定义在Server.xml配置文件中。服务器管理员可以连接管理员控制平台,
administrator can connect to the Admin service with the Administration Console and perform a
执行各种管理任务,包括关闭服务器,断开客户连接。
variety of server administration tasks, including shutting down the server and disconnecting client applications. (In the nomenclature of server administration, this server administrator is equivalent to the "superuser.")
Virtual host administrators can only perform tasks relating to the applications running on their own
虚拟主机管理员,只能够管理运行在该主机下的应用程序。
virtual host. There are no virtual host administrators defined when the server is first installed.
在服务器第一次安装的时候没有定义虚拟主机管理员。
Server administrators, including the default server administrator defined during installation, have
服务器管理员,包括在安装时候设定的,能够管理所有的虚拟主机。
access to all virtual hosts. Server administrators can add or delete virtual host administrators using
服务器管理员可以通过管理员控制平台添加删除服务器管理员,更多信息见Adding and editing administrators
the Administration Console. For more information about adding administrators, see Adding and editing administrators.
回复Comments
作者:
{commentrecontent}