RAS Infosystems. Powered by Blogger.

Tuesday, 15 September 2015

Discourse Installation In Centos 7 With Docker







For video tutorial watch the above You Tube video
https://youtu.be/OvUBAqAHd6Q

Discourse is an opensource software for discussion(forum) platform for more details visit www.discourse.org. Below step help you to install discourse in Centos 7 with Docker container, 
(Insert commands without hash)

Step 1. Before start installation update Centos
           "yum update -y"
Step 2. Install wget & git
           "yum install -y wget git"
Step 3. Enable EPEL repository so you can install some extra packages:
            "cd /tmp"
"wget http://dl.fedoraproject.org/pub/e/epel/7/x86_64/epel-release-5-7.noarch.rpm"
           "sudo rpm -Uvh epel-release-5*.rpm"
Step 4. Install Docker
            "sudo yum -y install docker-io"
Step 5. Start Docker as service
            "sudo service docker start"
Step 6. Configure Docker to start on startup
            "sudo chkconfig docker on"
Step 7. Install Discourse
            "mkdir /var/discourse"
            "git clone https://github.com/discourse/discourse_docker.git                   /var/discourse"
Step 8. Change directory
            "cd /var/docker"
            "cp samples/standalone.yml containers/app.yml"
Step 9. Edit app.yml
Add you smtp detail (use correct email details this required for activation)
Step 10. Discourse installation command
              "cd /var/discourse"
              "./launcher bootstrap app"
Step 11. Start Discourse
              "var /docker/launcher start app"
Step 12. Open browser and enter you server ip it will show discourse page
Signup for activating admin acount (Use the same email that you enter in app.yml)

After successful signup you got activation email.

Note : When ever you made a change in "app.yml" you should run
          "./launcher rebuild app"

You have successfully installed Discourse any doubts feel free to post on comment.

0 comments:

Post a Comment

Sponsers