We deploy the real environment, you take the scenario-based labs on us. Self-paced, from anywhere, at any time.
This lab is supplemental to the Deploy to AWS with Terraform and Ansible course and will provide you with a small portion of the course that you can use to deploy your very own Wordpress site!
Scripts required for the Live! Lab. (These scripts can also be found in the "Downloads" section of the course.)
You will be provided with a single Linux Academy Ubuntu 16.04 LTS image. This will allow you to:
1. Install Docker and start the service
2. Add the tools and utilities to build the image
3. Download the associated files from Github
4. Create the Docker image
5. Deploy and Test the Docker container from that image
In this lab, we are going to learn to connect a Red Hat 7 machine to an AD LDAP domain.
NOTE: You will need to refer to the following information during your scenario:
Domain FQDN: ad.linuxacademy.com
Domain Administrator: Administrator
Domain Admin Password: LinuxAcademy123!
SSO Username: test
SSO User password: LinuxAcademy123
Use Open LDAP and autofs to create a single sign on-solution. When completed, you can log in to your Linux server using SSO from the OpenLDAP server. Upon logging in using your SSO the user's home directory is also automatically added to the Linux system.
Use ansible-vault to manage a vault encrypted file. Do the following tasks that build on tasks performed in lab 1. If using a different or new server then first perform the tasks in Lab 1.
Edit an encrypted file.
Rekey an encrypted file.
View an encrypted file.
Decrypt an encypted file.
Encrypt the file again.
Use the file in a playbook again.
Create a playbook that creates a new user on the server. Check to ensure that user has been created. Then copy a file you have created to that users home folder. Change the permissions of the file to 0755. Check to ensure its been created there. file is called program1.sh and should be in /opt/ folder.
Create a playbook that uploads a file (you create empty) to the target server with 0755 permissions. Adds a line to the file with the ansible hostname and use the lineinfile module to look for the words hostname2= and if not there then add that to the file.
Check to see if the file was created and has the content.
Create a template with a variable for server hostname. Create a playbook that installs apache and uses a template to create the /var/www/html/index.html file on the target server. The hostname must be in the index.html file. ADD multiple variables to the template and export them to the index.html