From the course: AWS: Disaster Recovery

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Set file permissions on the Apache web server

Set file permissions on the Apache web server - Amazon Web Services (AWS) Tutorial

From the course: AWS: Disaster Recovery

Start my 1-month free trial

Set file permissions on the Apache web server

- [Instructor] In the previous video, we had figured our EC2 Instance to act as an Apache Web server. Now we need to apply some permissions to that server in order to prepare it for our demo environment. So the first thing that I'm going to do is to add the www group to the EC2 Instance and I'm going to do that with the sudo groupadd www command and I'll press Enter. So now I'm going to add the ec2-user to the www group and I'm going to do that by using the sudo usermod command with the A and G switches followed by the name of the group, which is www and the name of the user which is ec2-user, and I'll go ahead and press Enter and so now we need to log out and log back in in order for that change to take effect. So I'm going to pause the video for a moment and I'm going to reboot the server and we'll pick it up here in just a moment. So I've logged out and logged back in, and now I want to make sure that the group that I…

Contents