Detailed instructions for use are in the User's Guide.
Installing Flash Media Server 2
Trademarks 1 Step RoboPDF, ActiveEdit, ActiveTest, Authorware, Blue Sky Software, Blue Sky, Breeze, Breezo, Captivate, Central, ColdFusion, Contribute, Database Explorer, Director, Dreamweaver, Fireworks, Flash, FlashCast, FlashHelp, Flash Lite, FlashPaper, Flash Video Encoder, Flex, Flex Builder, Fontographer, FreeHand, Generator, HomeSite, JRun, MacRecorder, Macromedia, MXML, RoboEngine, RoboHelp, RoboInfo, RoboPDF, Roundtrip, Roundtrip HTML, Shockwave, SoundEdit, Studio MX, UltraDev, and WebHelp are either registered trademarks or trademarks of Macromedia, Inc. and may be registered in the United States or in other jurisdictions including internationally. Other product names, logos, designs, titles, words, or phrases mentioned within this publication may be trademarks, service marks, or trade names of Macromedia, Inc. or other entities and may be registered in certain jurisdictions including internationally. Third-Party Information This guide contains links to third-party websites that are not under the control of Macromedia, and Macromedia is not responsible for the content on any linked site. If you access a third-party website mentioned in this guide, then you do so at your own risk. Macromedia provides these links only as a convenience, and the inclusion of the link does not imply that Macromedia endorses or accepts any responsibility for the content on those third-party sites. Jabber is a registered trademark of the Jabber Software Foundation. SorensonTM SparkTM video compression and decompression technology licensed from Sorenson Media, Inc.
Copyright © 2002-2005 Macromedia, Inc. All rights reserved. This manual may not be copied, photocopied, reproduced, translated, or converted to any electronic or machine-readable form in whole or in part without written approval from Macromedia, Inc. Notwithstanding the foregoing, the owner or authorized user of a valid copy of the software with which this manual was provided may print out one copy of this manual from an electronic version of this manual for the sole purpose of such owner or authorized user learning to use such software, provided that no part of this manual may be printed out, reproduced, distributed, resold, or transmitted for any other purposes, including, without limitation, commercial purposes, such as selling copies of this documentation or providing paid-for support services. Acknowledgments Project Management: Suzanne Smith Writing: Suzanne Smith Editing: Rosana Francescato, Evelyn Eldridge, Lisa Stanziano Production Management: Adam Barnett Media Design and Production: Aaron Begley, Paul Benkman, John Francis, Mario Reynoso Special thanks to Erick Vera, Janice Pearce, Srinivas Manapragada, Asa Whillock, Claudia Schwirten, Tom Neuhold-Huber, and the Flash Media Server engineering and QA teams.
First Edition: October 2005 Macromedia, Inc. 600 Townsend St. San Francisco, CA 94103
Contents
Introducing Flash Media Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Overview of Flash Media Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 About the Flash Media Server documentation . . . . . . . . . . . . . . . . . . . . . 5 Flash Media Server support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Third-party resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Typographical conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Chapter 1: Installing Flash Media Server . . . . . . . . . . . . . . . . . . . . . 9 System requirements for Flash Media Server . . . . . . . . . . . . . . . . . . . . . . 9 Installing the server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 About the installed files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Files in the installation directory for Windows . . . . . . . . . . . . . . . . . . . 13 Files in the installation directory for Linux . . . . . . . . . . . . . . . . . . . . . . 14 Installing edge servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Uninstalling Flash Media Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3
4
Contents
Introducing Flash Media Server
Macromedia Flash Media Server 2 is a development framework and a deployment environment for rich media applications. Developers can use Macromedia Flash and Flash Media Server to write media applications, and then use Flash Media Server to deploy the applications. Macromedia Flash Player is the end user's interface.
Overview of Flash Media Server
Flash Media Server provides you with streaming media capabilities and a powerful, flexible development environment. This enables you to create and deliver a wide range of interactive media applications. Use Flash Media Server to create traditional media delivery applications such as video-on-demand, live web event broadcasts, or MP3 streaming. You can also design communication applications like video blogging, video messaging, and multimedia chat environments. Flash Media Server is part of Macromedia's complete solution for database connectivity, directory systems, and presence services, and is the only server that can deliver audio and video to the popular Flash Player.
About the Flash Media Server documentation
The Flash Media Server documentation is designed to be used with the documentation for Macromedia Flash, namely Using Flash and ActionScript 2.0 Language Reference Guide. All Flash Media Server documents are available in PDF (viewable and printable with Adobe Acrobat Reader) and as online help in the Flash Help panel.
5
Flash Media Server includes the following documentation:
This manual, Installing Flash Media Server, describes system requirements and explains how to install the server. Getting Started with Flash Media Server presents a short overview of Flash Media Server and the new features in version 2. You can find a printed copy of this guide in the product case. Developing Media Applications explains how to set up your development environment. It also describes how to use the Flash authoring environment and the Flash Media Server application programming interface (API) to create media applications. You can find the PDF version of this manual on the Flash Media Server CD (flashmediaserver_developing.pdf ).
Managing Flash Media Server explains the details of configuring and maintaining the server and using the management console. If you're an administrator, you can use the PDF version of this manual on the Flash Media Server CD (flashmediaserver_managing.pdf ).
Using Flash Media Server Edge Servers explains how to use Flash Media Server to run applications locally on an origin server or remotely on edge servers. You can find the PDF version of this manual on the Flash Media Server CD (flashmediaserver_edge.pdf ).
Client-Side ActionScript Language Reference for Flash Media Server 2 documents the ActionScript you can use to create client-side functionality. You can find the PDF version of this manual on the Flash Media Server CD (flashmediaserver_cs_asd.pdf ).
Server-Side ActionScript Language Reference documents the ActionScript you can use to create server-side functionality. You can find the PDF version of this manual on the Flash Media Server CD (flashmediaserver_ss_asd.pdf ).
The Server Management ActionScript Language Reference documents advanced ActionScript methods that you can use to extend the Flash Media Server management console or to make your own administration and monitoring tools. You can find the PDF version of this manual on the Flash Media Server CD (flashmediaserver_mgmt_asd.pdf ).
6
Introducing Flash Media Server
Flash Media Server support
You may want to explore these other sources of support for Flash Media Server:
The Flash Media Server Support Center at www.macromedia.com/go/ flashmediaserver_support_en provides TechNotes and up-to-date information about Flash Media Server. The Flash Media Server DevNet site at www.macromedia.com/go/ flashmediaserver_desdev_en provides tips and samples for creating Flash Media Server applications. The Flash Media Server Online Forum at www.macromedia.com/go/ flashmediaserver_forum_en provides a place for you to chat with other Flash Media Server users. For late-breaking information and a complete list of issues that are still outstanding, read the Flash Media Server release notes at www.macromedia.com/go/ flashmediaserver_releasenotes_en.
Third-party resources
Macromedia recommends several websites with links to third-party resources on Flash Media Server, including the following:
Macromedia Flash community sites Macromedia Flash books Object-oriented programming concepts
You can access these websites at www.macromedia.com/go/flashmediaserver_resources_en.
Typographical conventions
The following typographical conventions are used in this manual:
Code font indicates ActionScript statements, HTML tag and attribute names, and literal
text used in examples.
indicates placeholder elements in code or paths. For example, attachAudio(source) means that you should specify your own value for source; \settings\myPrinter\ means that you should specify your own location for myPrinter. Directory paths are written with forward slashes (/). If you are running Flash Media Server on a Windows operating system, replace the forward slashes with backslashes. When a path is specific to the Windows operating system, backslashes (\) are used.
Italic
Typographical conventions
7
8
Introducing Flash Media Server
CHAPTER 1
Installing Flash Media Server
Installing Macromedia Flash Media Server 2 is a straightforward process. This chapter provides the systems requirements, the steps to install the server on Windows or Linux, and and a list of installed files. In addition to installing the server files on your server computer, you install authoring extensions on your authoring computer to help you write and manage media applications in Macromedia Flash. For information about installing the authoring extensions on a Macintosh or Windows computer, please see the Macromedia website at www.macromedia.com/go/ flashmediaserver_en.
1
System requirements for Flash Media Server
The following software and hardware are the minimum required to run Flash Media Server 2:
Supported operating systems
Windows 2000 Server Windows 2003 Server, Standard Edition Linux Red Hat Enterprise, Version 3.0 Linux Red Hat Enterprise, Version 4.0
Hardware requirements
X86-compatible CPU (Pentium III, 1 GHz or better) 512 MB available RAM 50 MB of available disk space
9
The following software and hardware are recommended for production computers:
Supported operating systems Hardware requirements
Windows 2003 Server, Standard Edition Linux Red Hat Enterprise, Version 3.0 X86-compatible CPU (Pentium 4, 3.2 GHz or better) 2 GB available RAM 1 GB Ethernet card 200 MB of available disk space
Installing the server
Installing the server is easy. Be prepared to choose an administrator user name and password during the installation. You can use the management console to change the administrator user name and password later, if necessary.
Software designed to make network connections mimic modems or DSL lines in order to save bandwidth, such as NetLimiter, can intercept system calls and break Flash Media Server socket actions. The error message "Failed to Attach Completion Port, the parameter is incorrect" appears. Before installing Flash Media Server, remove this type of software. Also, do not install this type of software after Flash Media Server is installed. You may use this type of software on the client, but do not use it on the same machine as the server.
N OT E
To install Flash Media Server on Windows:
1.
Locate the installation file, FlashMediaServer2.exe. This file is on your installation CD, or you may have downloaded it. Double-click the installer icon. The installer launches. Follow the prompts in the installation wizard. Accept the License Agreement to continue the installation process. Enter a user name and password for the first valid server administrator. These values are written to the fms.ini file. (You can use the management console to add other administrators later.) Enter the server ports that Flash Media Server should use. Accept the default location for the Flash Media Server files, or enter a new location to which Flash Media Server should be installed.
2.
3. 4. 5.
6. 7.
10
Installing Flash Media Server
8. 9.
Accept the default location for the Flash Media Server program shortcuts, or enter a new location to which the shortcuts should be installed. Review your installation choices. Click Back to make any necessary changes. Install. The final installation step gives you the opportunity to view the Readme.htm file, s ...