Update 'lamp.sh'

This commit is contained in:
Sarimoko 2021-07-05 06:15:46 +00:00
parent 983fbe60fc
commit 1ffc655a20
1 changed files with 19 additions and 1 deletions

20
lamp.sh
View File

@ -18,4 +18,22 @@ echo "# --------------------------------------------------------------------- #"
echo "# please wait...."
sudo apt upgrade -y
echo "# Upgrade COMPLETE!"
clear
clear
#!/bin/bash
echo "# ===================================================================== #"
echo "# Apache Config"
echo "# ===================================================================== #"
echo "# E X A M P L E"
echo "# ===================================================================== #"
echo "# /etc/apache2/sites-available/example.conf"
echo "# --------------------------------------------------------------------- #"
echo "# Type example NOT example.conf"
echo "# --------------------------------------------------------------------- #"
echo "# EXISTING FILES IN /etc/apache2/sites-available"
echo "# --------------------------------------------------------------------- #"
sudo ls /etc/apache2/sites-available
echo "# --------------------------------------------------------------------- #"
read -p "Enter filename: " apache_file
sudo nano /etc/apache2/sites-available/$apache_file.conf
sudo sudo service apache2 reload