Created
September 2, 2011 21:19
-
-
Save brianjmiller/1189954 to your computer and use it in GitHub Desktop.
Camp installation notes
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
Per System: | |
open iptables to camp port ranges | |
set up Interchange::Deployment | |
set up camps | |
git clone | |
useradd camp | |
groupadd camp | |
createuser -PE camp | |
createdb camp | |
import the camp schema | |
create the camp user | |
Per camp type: | |
create record in camp_types table in camp db | |
create camp. and *.camp. DNS records | |
create camp. vhost | |
copy camp-index into cgi-bin for camp. vhost | |
set up base config | |
mkdir /home/camp/<type> | |
mkdir repo.git | |
git --bare init --shared=group | |
set up SSL key | |
keyfile=~camp/<type>/etc/camp.key | |
openssl genrsa 1024 > $keyfile | |
chmod go= $keyfile | |
useradd <type> | |
usermod -G camp <type> | |
createdb <type> | |
createuser -PE <type> | |
create bin/camp-dbdump.sh | |
create bin/re | |
create live instance | |
git clone /home/camp/<type>/repo.git live | |
In a camp of <type> | |
add submodules to repo | |
git submodule add git://github.com/Wiggins/interchange_ep.git interchange | |
git submodule add git://github.com/Wiggins/interchange_mvc.git mvc | |
add .gitignore | |
add bin/purge-ic-work-files | |
add crontab/<type> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment