简体   繁体   中英

How do I configure AMS admin permissions on EC2 AWS?

I created a fresh Adobe Media Server 5 (aka Flash Media Server) instance on Amazon EC2 AWS , I connected over SSH and changed the default password, everything looks ok. But the amsadmin account doesn't seem to have enough access to administrate the instance. I can read most of the files and folders (access denied for /lib; /lost+found and /root).

I can connect ok

ssh -i key.pem amsadmin@public-dns.amazonaws.com  

I can upload to the media folder

scp -i key.pem test.f4v amsadmin@public-dns.amazonaws.com:/mnt/applications/vod/media  

I can't upload content to webroot ; for example if I wanted to add a crossdomain.xml file to the web root.

scp -i key.pem crossdomain.xml amsadmin@public-dns.amazonaws.com:/mnt/webroot/  

I can't create a directory ; I want to setup S3 to store content , step 5 says to:

Create a directory on the instance to mount the S3 bucket, for example, /mnt/s3fs.

But under the amsadmin account I get an access denied error, is this expected?

How can I get access to these restricted areas?

Update:

I tried executing the commands with sudo and I entered the correct password for amsadmin, got "Sorry, try again".

Do I need to setup a root account?

弄清楚了,通过SSH连接到实例后,我需要使用sudo sh运行命令。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM