Created
December 1, 2014 14:15
-
-
Save karschsp/502d255ace8797f02bfa to your computer and use it in GitHub Desktop.
Set up a blank BuyVM web server
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
apt-get update | |
apt-get install nano | |
mkdir .ssh | |
cd .ssh | |
nano authorized_keys | |
apt-get install apache2 | |
apt-get install dialog | |
apt-get install mariadb-server mariadb-client | |
apt-get install php5 php5-mysql libapache2-mod-php5 | |
cd /var/www | |
cd /etc/apache2/site-available | |
cp 000-default.conf stevekarsch.com.conf | |
nano stevekarsch.com | |
apt-get install git | |
cd /var/www | |
mkdir -p stevekarsch.com/{docroot,sql,log} | |
a2ensite stevekarsch.com/ | |
service apache2 restart | |
git clone --branch=8.0.x http://git.drupal.org/project/drupal.git /var/www/stevekarsch.com/docroot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment