Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
communication-install-scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fabrizio bianchi
communication-install-scripts
Commits
c04f36ec
Commit
c04f36ec
authored
4 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
fixes to Canvas script
parent
4386a8eb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Canvas.sh
+9
-0
9 additions, 0 deletions
Canvas.sh
with
9 additions
and
0 deletions
Canvas.sh
+
9
−
0
View file @
c04f36ec
...
...
@@ -18,6 +18,8 @@
# This script has been tested on Trisquel 9
# References https://github.com/instructure/canvas-lms/wiki/Production-Start
HOSTNAME
=
canvas.foo.bar
# Install basic packages for this script
...
...
@@ -71,6 +73,7 @@ for config in amazon_s3 dynamic_settings database \
su canvas
-c
"sed 's/your_password/
$DBPASS
/' -i /srv/canvas/config/database.yml"
su canvas
-c
"sed 's/12345/
$(
pwgen 50
-n1
)
/' -i /srv/canvas/config/security.yml"
su canvas
-c
"sed 's/canvas.example.com/
$HOSTNAME
/' -i /srv/canvas/config/domain.yml"
gem
install
bundler
-v
1.13.6
npm
install
-g
coffee-script@1.6.2
...
...
@@ -152,3 +155,9 @@ EOF
# Configure your email output by editing /srv/canvas/config/outgoing_mail.yml
service apache2 restart
# Enable background job processing
ln
-s
/srv/canvas/script/canvas_init /etc/init.d/canvas_init
update-rc.d canvas_init defaults
/etc/init.d/canvas_init start
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment