Install the Rails gem if you haven't done so before
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum update -y | |
yum install -y httpd | |
instanceId=$(curl http://169.254.169.254/latest/meta-data/instance-id) | |
echo "<h1>Hello World from $instanceId</h1>" > /var/www/html/index.html | |
systemctl start httpd | |
systemctl enable httpd |
Current [-]. Completed [X]
Learn a variety of commonly-used programming languages:
- [] Write a program in Ruby
- [] Write a program in Python
- [] Write a program in C
- [] Write a program in C++
- [] Write a program in Java
- [] Write a program in Objective-C