DEV Community

Oluwole Owoeye
Oluwole Owoeye

Posted on

My HNG12 Task -Stage 0

This task contains installing and configuring nginx webserver, also, customizing the index.html page with the message "Welcome to DevOps Stage 0 - Oluwole Owoeye/wolecharles".

Actions taken to complete this task includes the following;

  • Create an ubuntu instance using AWS
  • launch and connect the instance
  • enter these commands

sudo apt-get update - to get patches up to date on ubuntu
sudo apt-get install nginx - to install nginx webserver
nginx -v - to confirm nginx is installed
sudo systemctl status nginx - to ensure nginx is ruunning

  • go to ip address of the server and confirm that nginx defult web page is shown

enter this command - cd /var/www/html will navigate to html

  • edit the index.html to your details
    "Welcome to DevOps Stage 0 - yourname/slackusername"
    use vi index.html to edit

  • quit and save

  • go to ip address of the server and confirm that customize web page is showing the details "Welcome to DevOps Stage 0 - yourname/slackusername"

Lesson learned;
I have learnt how to install and configure an nginx webserver using AWS ,also, customize html webpage .

AWS Solutions Architects https://hng.tech/hire/aws-solutions-architects
DevOps Engineers https://hng.tech/hire/devops-engineers

Top comments (0)