-
Notifications
You must be signed in to change notification settings - Fork 313
Ubunto 12.0.4 Setup (Automated) & Crowd Hoster Configuration
rmostafa edited this page Jan 14, 2014
·
3 revisions
Get started by
- Downloading a .zip file of the bash file from here to your local machine
- Extract the zip file and place it in the required folder for Crowdhoster
After you've got the bash file on your local machine open terminal and execute commands below note that some messages will appear while executing the railsScript you'll need to press Y in it
$ cd {Directory}
$ sudo bash
$ ./railsScript.sh
that's it now you have rails installed & configured also you will find a clone of the Crowdhoster folder placed
from the instructions (written by Charles Cary) cover setting up crowdhoster on EC2
# configure postgres - NOT NECESSARILY SAFE FOR PRODUCTION (lets just get this working)
cd /etc/postgresql/9.1/main
sudo vim pg_hba.conf
#change the md5 to trust for these three entries
# "local" is for Unix domain socket connections only
# local all all trust
# IPv4 local connections:
# host all all 127.0.0.1/32 trust
# IPv6 local connections:
# host all all ::1/128 trust
# restart postgres
sudo /etc/init.d/postgresql restart
#now you need to create a role for the user you will run as (this will use your username)
sudo -u postgres createuser --superuser $USER