Created
November 18, 2023 09:51
-
-
Save izmilia-prastika/eb63ece865bec4ee6ae311166b54520f to your computer and use it in GitHub Desktop.
#!/bin/bash # Update the apt-get cache sudo apt-get update # Install PHP sudo apt-get install -y php # Install Apache sudo apt-get install -y apache2 # Copy the code from the repository sudo git clone https://github.com/brikis98/php-app.git /var/www/html/app # Start Apache sudo service apache2 start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update the apt-get cache | |
sudo apt-get update | |
# Install PHP | |
sudo apt-get install -y php | |
# Install Apache | |
sudo apt-get install -y apache2 | |
# Copy the code from the repository | |
sudo git clone https://github.com/brikis98/php-app.git /var/www/html/app | |
# Start Apache | |
sudo service apache2 start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment