Hello in this blog post i will show you how you can install Nginx on Linux. Be sure to like this post! Now let's get started!
What you will need:
A machine that runs Linux like a raspberry pi
Some Linux understanding
Port forwarding
Start by opening your terminal like this
And type:
sudo apt update && sudo apt upgrade
And when it's done type:
sudo apt install nginx
Now if you wanna add Html and Css go to this directory:
cd /var/www/html
If you wanna create an html file or any file that you want do:
touch index.html
Okay so now when you know how to make files you would probably wanna know how to port forward so other people can visit your website. You'll need to go to your local router's IP like this:
http://192.168.1.1
There are great tutorials on YouTube how to port forward. There is a high chance i don't have the same Router as what you have. If you liked this Blog post be sure to Like it and send it to your friend's! stay tuned for more posts like this.
Top comments (0)