Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 668 Bytes

File metadata and controls

49 lines (32 loc) · 668 Bytes

Web Server Setup Script

Instructions

2. Make the Script Executable

Run the following command to grant execution permissions:

chmod +x installsh

3. Run the Script

To set up the web server, use:

./installsh [web_server]

Replace [web_server] with either:

  • nginx for Nginx
  • apache2 for Apache

Examples

Install and configure Nginx:

./installsh nginx

Install and configure Apache2:

./installsh apache2

4. Access the Web Page

Once the script completes, access the web page using the server's public IP:

http://<your-public-ip>