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
# Ignore configuration files that may contain sensitive information. | |
sites/*/*settings*.php | |
# Ignore paths that contain generated content. | |
files/ | |
sites/*/files | |
sites/*/private | |
# Ignore default text files | |
robots.txt |
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 | |
domain=$1 | |
serverRoot=$2 | |
createRootFolder=$3 | |
vhostPath=/etc/apache2/sites-available/ | |
vhostFile=${domain}.conf | |
function print_usage { |
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 | |
accountName=$1 | |
accountPass=$2 | |
dbUserName=$3 | |
dbPass=$4 | |
dbName=$5 | |
siteName="$6" | |
contextRoot=$7 | |
drupalVer=$8 |
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 | |
# Interactive drupal installation | |
### Allow only root users to use the script | |
if [ "$EUID" -ne 0 ]; then | |
echo "Script must be run as a root." | |
exit 1 | |
fi |
OlderNewer