Skip to content

Instantly share code, notes, and snippets.

@EliEladElrom
Last active December 17, 2015 17:39
Show Gist options
  • Save EliEladElrom/5647290 to your computer and use it in GitHub Desktop.
Save EliEladElrom/5647290 to your computer and use it in GitHub Desktop.
Setting FMS live Webcam server

FMS live webcam server

Start an instance

http://help.adobe.com/en_US/flashmediaserver/amazonec2/flashmediaserver_4.5_amazonec2.pdf

Pick AMI from here:

http://helpx.adobe.com/adobe-media-server/kb/flash-media-server-amazon-machine.html

It's important to choose an AMI that is supported in the region you select and also the instance size you select, otherwise you will get the following message:

"fms Unable to launch image as the product code is not supported for the specified region, instance type and operating system combination" -- notice that you must pick a server that is at least "m1.large" so trying to deploy a small server will fail.

Than do the following:

Lunch instance > Classic Wizard > Community AMIs > parse AMI id (ami-08cd7261 for instance)

SSH server:

ssh -i [key] root@[ip address]

Copy default live application

cp -r /opt/adobe/ams/samples/applications/live /mnt/applications/

You can test using "Flash Media Live Encoder" http://www.adobe.com/products/flash-media-encoder.html

Admin console;

[amazonURL]/ams_adminConsole.htm

Manage administrators

http://help.adobe.com/en_US/flashmediaserver/configadmin/WS5b3ccc516d4fbf351e63e3d119f2925f73-7ffd.html

Add user:

/opt/adobe/ams/conf/Users.xml

Change admin:

vim /opt/adobe/ams/conf/ams.ini

You can add a user:

  <UserList>
      <User name="elad">   
        <Password encrypt="false">123456</Password>    
        <Allow></Allow>
        <Deny></Deny>
        <Order>Allow,Deny</Order>
      </User>
  </UserList>

Restart:

cd /opt/adobe/ams
./amsmgr adminserver restart
./server restart
./adminserver restart

Or reset password from here:

/opt/adobe/ams/amsadmin -console -user

(no need to restart!)

See:

http://help.adobe.com/en_US/flashmediaserver/configadmin/WS5b3ccc516d4fbf351e63e3d119f2926bcf-7ff9.html

See here for issues:

http://forums.adobe.com/thread/678832

SERVER.ADMINSERVER_HOSTPORT = [ip address]:1111

fmsadmin Command Line tool not working trying to change password from command line and not seeing changes in Users.xml

Find AMS/FMS exact version:

Open any log file from here:

/opt/adobe/ams/logs

such as access.03.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment