Created
November 18, 2023 09:53
-
-
Save izmilia-prastika/ccaabe78b05ace7c93663ec3cdff35d2 to your computer and use it in GitHub Desktop.
contoh konfigurasi untuk melakukan instalasi dan menjalankan web server dengan aplikasi PHP
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