😎StaticWeb

Configuration

Install Package

apt install git -y

Open a browser and go to GitHub to look for the repository link that we will clone to the local server. For example, I will use a repository link from my own GitHub and will put it in a static directory. Let's see how to clone a GitHub repository

Clone Repository From Github

git clone https://github.com/ryzwan29/portfolio.git /var/www/static

Restart Apache2

systemctl restart apache2

Last updated