This is an old revision of the document!
1) Refer following doc to install rbenv
2) Install ruby 2.2.2p95
rbenv install 2.2.2
rbenv global 2.2.2
3) Install the following gems
gem install bundler -v '1.11.2' gem install capistrano gem install capistrano-bundler gem install capistrano-harrow gem install capistrano-passenger gem install capistrano-rails gem install capistrano-rbenv gem install passenger -v 5.0.27
4) Copy /home/expbbbp/expmeeting and /home/expbbbp/bin to current server from meeting.expertus.com (Replace all urls)
5) Also copy /deploy/expertus_meeting to current server from meeting.expertus.com (Replace all urls)
6) cd /deploy/expertus_meeting/current
bundle install bundle exec rake db:create RAILS_ENV=production bundle exec rake db:migrate RAILS_ENV=production bundle exec rake db:seed RAILS_ENV=production
7) install mysql5.7.20 version ( standard installation)
make sure the exphosted.zip ( ssl) should be copied from qacollab box because it contains CA certificates. run as appuser ( expbbbp) gem install passenger -v “5.0.27”
8) (The below command let you know the root location of passenger )
passenger-config --root
sudo apt-get install -y dirmngr gnupg
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7
sudo apt-get install -y apt-transport-https ca-certificates
sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger xenial main > /etc/apt/sources.list.d/passenger.list'
sudo apt-get update
sudo apt-get install -y nginx-extras passenger
Refer the link ------ https://www.phusionpassenger.com/library/install/nginx/install/oss/xenial/
Refer the below link if the passenger not started ( this is only for aws instances )
https://stackoverflow.com/questions/3191509/nginx-error-99-cannot-assign-requested-address
9) done changes in /home/expbbbp/bin/expertus_meeting.sh to start and stop the passenger ( use be below statement as reference)
passenger start -a 0.0.0.0 -p 4000 -d -e production
cd /deploy/expertus_meeting/current
mv Passengerfile.json old-Passengerfile.json (or) rm Passengerfile.json
if mail delivary fails from app due to SMTP issue
check /deploy/expertus_meeting/current/config/mail.yml
10) gemlist *
airbrussh (1.3.1) bigdecimal (1.2.6) bundler (1.11.2) capistrano (3.4.0) capistrano-bundler (1.1.4) capistrano-harrow (0.5.3) capistrano-passenger (0.2.0) capistrano-rails (1.1.6) capistrano-rbenv (2.0.4) concurrent-ruby (1.1.5) i18n (0.7.0) io-console (0.4.3) json (1.8.1) minitest (5.4.3) net-scp (2.0.0) net-sftp (2.1.2) net-ssh (2.8.0) net-ssh-gateway (1.2.0) passenger (5.0.27) power_assert (0.2.2) psych (2.0.8) rack (2.0.7) rake (10.4.2) rdoc (4.2.0) sshkit (1.18.2) test-unit (3.0.8)