Skip to content

Rails, PostgreSQL with Passenger + Nginx on Ubuntu 14.04 without RVM or rbenv

Notifications You must be signed in to change notification settings

nleo/rails-passenger-postgres-ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Rails, PostgreSQL with Passenger + Nginx on Ubuntu 14.04 without RVM or rbenv

  1. ssh-copy-id -i ~/.ssh/id_rsa.pub root@SERVER
  2. scp rails-passenger-postgres-nginx root@SERVER:/root/rails-passenger-postgres-nginx
  3. ssh root@SERVER "./rails-passenger-postgres-nginx app_name db_pass"

If you have error No PostgreSQL clusters exist you should configure locale:

in /etc/default/locale:

LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LC_CTYPE=en_US.UTF-8

run dpkg-reconfigure locales and after pg_createcluster 9.4 main --start

About

Rails, PostgreSQL with Passenger + Nginx on Ubuntu 14.04 without RVM or rbenv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages