No sudo perm for user
Also changed order on informing user that he'll be encountering errors that needs admin access before calling `rvm`.
This commit is contained in:
parent
49decfbcf8
commit
fedc32b477
|
@ -104,7 +104,6 @@ Create Discourse user:
|
||||||
# Run these commands as your normal login (e.g. "michael")
|
# Run these commands as your normal login (e.g. "michael")
|
||||||
sudo adduser --shell /bin/bash --gecos 'Discourse application' discourse
|
sudo adduser --shell /bin/bash --gecos 'Discourse application' discourse
|
||||||
sudo install -d -m 755 -o discourse -g discourse /var/www/discourse
|
sudo install -d -m 755 -o discourse -g discourse /var/www/discourse
|
||||||
sudo adduser discourse sudo
|
|
||||||
|
|
||||||
Give Postgres database rights to the `discourse` user:
|
Give Postgres database rights to the `discourse` user:
|
||||||
|
|
||||||
|
@ -135,10 +134,11 @@ Install RVM
|
||||||
# you've given discourse sudo permissions, which is *not* the default)
|
# you've given discourse sudo permissions, which is *not* the default)
|
||||||
# rvm requirements
|
# rvm requirements
|
||||||
|
|
||||||
# If discourse does not have sudo permissions (likely the case), run:
|
# NOTE: rvm will tell you which packages you (or your sysadmin) need
|
||||||
|
# to install during this step. As discourse does not have sudo
|
||||||
|
# permissions (likely the case), run:
|
||||||
rvm --autolibs=read-fail requirements
|
rvm --autolibs=read-fail requirements
|
||||||
# and rvm will tell you which packages you (or your sysadmin) need
|
# repeat untill it fully executes
|
||||||
# to install before it can proceed. Do that and then resume next:
|
|
||||||
|
|
||||||
Continue with Discourse installation
|
Continue with Discourse installation
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue