This file contains hidden or 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 | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "You must be a root user" 2>&1 | |
| exit 1 | |
| fi | |
| echo "<VirtualHost *:80> | |
| ServerAdmin admin@example.co.nz | |
| ServerName $1 |
This file contains hidden or 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 | |
| # This bash script works JUST with WP-CLI | |
| # You can get it from here: | |
| # http://wp-cli.org/ | |
| # | |
| # If you don't know what to do with this file: | |
| # | |
| # 1) Install wp-cli on your workspace | |
| # 2) Create a file call wpinstall.sh |
NewerOlder