@@ -28,13 +28,12 @@ The official install guide can be found here: https://rvm.io/rvm/install
2828
2929Install PGP key:
3030
31- sudo apt-get install -y dirmngr gnupg
32- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7
33- sudo apt-get install -y apt-transport-https ca-certificates
31+ sudo apt-get install -y dirmngr gnupg apt-transport-https ca-certificates curl
32+ curl https://oss-binaries.phusionpassenger.com/auto-software-signing-gpg-key-2025.txt | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/phusion.gpg >/dev/null
3433
3534Add apt repository:
3635
37- sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger bionic main > /etc/apt/sources.list.d/passenger.list'
36+ sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger noble main > /etc/apt/sources.list.d/passenger.list'
3837 sudo apt-get update
3938
4039Install Apache module:
@@ -50,7 +49,7 @@ Check everything worked:
5049
5150 sudo /usr/bin/passenger-config validate-install
5251
53- The official install guide can be found here: https://www.phusionpassenger.com/library/install/ apache/install/oss/bionic/
52+ The official install guide can be found here: https://www.phusionpassenger.com/docs/advanced_guides/install_and_upgrade/ apache/install/oss/noble.html
5453
5554## Create user
5655
@@ -68,15 +67,19 @@ Switch over to the `tess` user:
6867
6968 sudo su - tess
7069
71- and clone the TeSS repo (for this guide we will put it in the ` tess ` user's home directory ` /home/tess/TeSS ` ).
70+ and clone the TeSS repo (for this guide we will put it in the ` tess ` user's home directory ` /home/tess/tess-app ` ).
7271
73- git clone https://github.com/ElixirTeSS/TeSS.git
72+ git clone https://github.com/ElixirTeSS/TeSS.git tess-app
73+
74+ ...You also need to ensure the directory hierarchy has execute permissions:
75+
76+ sudo chmod +x /home /home/tess /home/tess/tess-app
7477
7578## Install Ruby
7679
7780Enter the TeSS directory we just cloned, and install TeSS' current Ruby version via RVM:
7881
79- cd TeSS
82+ cd tess-app
8083
8184 rvm install `cat .ruby-version`
8285
@@ -150,9 +153,9 @@ By default, solr should be running at localhost:8983
150153
151154### Create a solr "collection"
152155
153- Next, create a collection for TeSS to use (assuming TeSS is checked out at ` /home/tess/TeSS ` ):
156+ Next, create a collection for TeSS to use (assuming TeSS is checked out at ` /home/tess/tess-app ` ):
154157
155- sudo su - solr -c "/opt/solr/bin/solr create -c tess_production -d /home/tess/TeSS /solr/conf"
158+ sudo su - solr -c "/opt/solr/bin/solr create -c tess_production -d /home/tess/tess-app /solr/conf"
156159
157160` tess_production ` here is the collection name, which should match what is configured in your ` config/sunspot.yml `
158161under the ` path ` parameter, following ` /solr/ ` .
@@ -188,7 +191,7 @@ _Note: Ensure you have started Solr before running this command!_
188191
189192Install yarn globally via npm:
190193
191- npm install --global yarn@1.22.22
194+ sudo npm install --global yarn@1.22.22
192195
193196Install JS dependencies:
194197
@@ -220,8 +223,8 @@ ServerName appropriately):
220223 PassengerPreloadBundler on
221224 PassengerRuby /usr/local/rvm/rubies/tess/bin/ruby
222225
223- DocumentRoot /home/tess/TeSS /public
224- <Directory /home/tess/TeSS /public>
226+ DocumentRoot /home/tess/tess-app /public
227+ <Directory /home/tess/tess-app /public>
225228 # This relaxes Apache security settings.
226229 Allow from all
227230 # MultiViews must be turned off.
@@ -247,24 +250,30 @@ modules for Apache, so run:
247250 sudo a2enmod headers
248251 sudo a2enmod expires
249252
250- Now enable the TeSS site, and disable the default that is installed with
251- Apache, and restart:
253+ Now enable the TeSS site, and disable the default that is installed with Apache:
252254
253255 sudo a2ensite tess
254256 sudo a2dissite 000-default
257+
258+ Check the Apache config is OK:
259+
260+ sudo apache2ctl configtest
261+
262+ ...and if so, restart apache:
263+
255264 sudo service apache2 restart
256265
257266If you wish to restart TeSS, maybe after an upgrade, without restarting Apache
258- you can do so by running (as the ` tess ` user)
267+ you can do so by running (as the ` tess ` user in the TeSS app directory):
259268
260- touch /home/tess/TeSS/ tmp/restart.txt
269+ touch tmp/restart.txt
261270
262271### Configuring for HTTPS
263272
264- We would strongly recommend using [ Lets Encrypt] ( https://letsencrypt.org/ ) for free SSL certificates.
273+ We would recommend using [ Lets Encrypt] ( https://letsencrypt.org/ ) for free SSL certificates.
265274
266275Certbot is a commandline tool can be used to request an SSL certificate and automatically configure Apache.
267- [ See this guide for more information] ( https://certbot.eff.org/instructions?ws=apache&os=ubuntufocal ) .
276+ [ See this guide for more information] ( https://certbot.eff.org/instructions?ws=apache&os=snap ) .
268277
269278## Configure Sidekiq
270279
0 commit comments