Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save izmilia-prastika/ccaabe78b05ace7c93663ec3cdff35d2 to your computer and use it in GitHub Desktop.
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
#!/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