Last active
August 29, 2015 14:20
-
-
Save asiletto/50a7aba3ee54c2e093ae to your computer and use it in GitHub Desktop.
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
drush dl drupal | |
mv drupal-7.37/ d7dev | |
cd d7dev/ | |
drush si standard --db-url=mysql://root:root@localhost:3306/d7dev --db-su=root --db-su-pw=root --site-name="Test" | |
cat > /etc/apache2/sites-available/d7dev.conf | |
<VirtualHost *:80> | |
ServerName d7dev | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/www/d7dev | |
ErrorLog ${APACHE_LOG_DIR}/d7dev-error.log | |
CustomLog ${APACHE_LOG_DIR}/d7dev-access.log combined | |
</VirtualHost> | |
^D | |
a2ensite d7dev | |
service apache2 reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment