fixes for web setup on ubuntu

This commit is contained in:
Timothy Prepscius 2013-09-01 18:48:43 -04:00
parent 993aaf9119
commit 1ae87ecb84
5 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,5 @@
cd ~
ln -fs deploy/www
ln -fs deploy/resources
ln -fs /var/log/nginx/error.log run.log
rsync -avz --delete www/ /var/local/www/

View File

@ -1 +1 @@
root
ubuntu

View File

@ -10,4 +10,6 @@ M_HOST=$1
./setup-mysql $M_HOST
./setup-tomcat $M_HOST
./setup-web $M_HOST
./enable-rsync $M_HOST
echo You may need to run: ./enable-rsync $M_HOST
echo If your debian is super minimal (no rsync)

View File

@ -5,4 +5,4 @@ M_HOST=$1
scp sudoers.d-web $M_ROOT@$M_HOST:
scp setup-web.remote $M_ROOT@$M_HOST:
ssh $M_ROOT@$M_HOST ./setup-web.remote
ssh $M_ROOT@$M_HOST sudo ./setup-web.remote

View File

@ -1,6 +1,6 @@
set -x
sudo apt-get install nginx --yes
apt-get install nginx --yes
cp sudoers.d-web /etc/sudoers.d/web
chmod 0440 /etc/sudoers.d/web