Created
October 31, 2015 04:11
-
-
Save nandomoreirame/7129e572dc147c59ae63 to your computer and use it in GitHub Desktop.
Bash Script to easy create or delete apache virtual hosts on ubuntu
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
# Bash Script to easy create or delete apache virtual hosts on ubuntu | |
# https://github.com/RoverWire/virtualhost | |
# Instalation | |
sudo su | |
cd /usr/local/bin | |
wget -O virtualhost https://raw.githubusercontent.com/RoverWire/virtualhost/master/virtualhost.sh | |
chmod +x virtualhost | |
# Usage | |
sudo virtualhost create hostname.dev /var/www/laravel/public/ | |
sudo virtualhost delete hostname.dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment