Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 884 Bytes

README.md

File metadata and controls

40 lines (35 loc) · 884 Bytes

Web Server Setup

About

For Seting Up You Apache Server for PHP Project

Files Introduction

  • update.sh

    For Updating required Packages and Dependencies

  • apache2.sh

    For installing apache2 Server

  • nginx.sh

    For installing nginx Server

NOTE: You should use only apache or only nginx not both.

  • php.sh

    For Installing PHP and Composer

  • mysql.sh

    For Installing mySQL and PHPMyAdmin

  • node.sh

    For Installing nodejs and npm

  • certbot.sh

    For installing certbot for domain ssl

  • ssl.sh

    For active ssl for your domain with certbot

Installation Process

First need to permission for run these file. Give execute permission to all script:

sudo chmod +x ./*

And to Run your Script

sudo ./{scriptname}.sh

Example

sudo ./php.sh