Linux serverNETWORK ADMINISTRATIONS

Discourse Installation Centos 7 with Docker

You can check the installation details on my blog

http://www.rastricks.com

http://www.rastricks.com/2015/09/discourse-installation-in-centos-7-with.html

CentOs update
yum update -y

Install wget & git
yum install -y wget git

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

Install Docker
sudo yum -y install docker-io

Start Docker as service
sudo service docker start

Configure Docker to start on startup
sudo chkconfig docker on

Install Discourse
mkdir /var/discourse
git clone https://github.com/discourse/discourse_docker.git /var/discourse

Change directory
cd /var/docker/

cp samples/standalone.yml containers/app.yml

Edit app.yml
add you smtp detail (use correct email details this details required for activation)

Discourse installation command
cd /var/discourse
./launcher bootstrap app

Start Discourse
/var/docker/launcher start app

Open browser and enter you server ip it will show DISCOURSE page

Signup for activating admin account (Use the same email that you enter in app.yml )

After Successfull Signup you got activation email.

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

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *