# Installing discourse on centos/apache and bridging with PHP script?

**URL:** https://meta.discourse.org/t/installing-discourse-on-centos-apache-and-bridging-with-php-script/21691
**Category:** Self-hosting
**Created:** [October 30, 2014, 10:25pm UTC](https://meta.discourse.org/t/installing-discourse-on-centos-apache-and-bridging-with-php-script/21691 "2014-10-30T22:25:29Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![accetturo](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@accetturo](https://meta.discourse.org/u/accetturo)
#### Post date: [October 30, 2014, 10:25pm UTC](https://meta.discourse.org/t/installing-discourse-on-centos-apache-and-bridging-with-php-script/21691/1 "2014-10-30T22:25:29Z")

</div>

Hey everyone, I really would like to get discourse up and running on our site. We have a Centos 6 dedicated server with all the resources we need. 16G ram as well as 8 dual core processors. The issue is configuring it. Our end goal is to configure it to run as a comment system.

We are developing a website directory that connects web developers together and works as a complete resource for business owners and JR web developers to connect and exchange ideas as well as connect with the users. Every websites listing we would like to integrate discourse so users can discuss websites. We also have some creative ideas of integrating social media. We do not want two logins system, so we want to bridge the two login systems if possible. This is our end goal, but we cant get off the ground with the idea.

What would be the best method of attack lol. So far it looks like we may have to virtualize an environment with vagrant, but can we do that without affecting our main site in a sub directory? We can also use Docker, but when we try that method its telling me I need a newer version of docker yet we already have the latest from our repo( ERROR: Docker version 1.1.2 not supported, please upgrade to at least 1.2.0, or recommended 1.2.0 ). **Can someone help me get started?** Also, if leaving advice, please PM me if you are interested in helping.

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [October 30, 2014, 10:32pm UTC](https://meta.discourse.org/t/installing-discourse-on-centos-apache-and-bridging-with-php-script/21691/2 "2014-10-30T22:32:10Z")

</div>

Docker is the only supported install.

This topic looks like it may help:

> [@Docker 1.2 and CentOS 6.5](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380):
>
> Hello. I wanted to test out Discourse on my local testing server (CentOS 6.5). Followed all the docs for the install but I’m having an issue with the Docker install. Basically, I can’t get the needed version of Docker to install even after I added the extra repos. Seems that only 1.1.2 will install and not the 1.2 that is needed to run Discourse. So, I’m at a roadblock setting it up. Any idea how I can get the 1.2 version on my testing server? I even tried to download the 1.2 rpm and that…

---

<div class="post-metadata">

### Author: ![accetturo](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@accetturo](https://meta.discourse.org/u/accetturo)
#### Post date: [October 30, 2014, 10:34pm UTC](https://meta.discourse.org/t/installing-discourse-on-centos-apache-and-bridging-with-php-script/21691/3 "2014-10-30T22:34:51Z")

</div>

Besides the supported server, is discourse a viable solution for our goals? Also, Is there anyway to buy a new server just for discourse and seamlessly use it in our site

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [October 30, 2014, 10:43pm UTC](https://meta.discourse.org/t/installing-discourse-on-centos-apache-and-bridging-with-php-script/21691/4 "2014-10-30T22:43:22Z")

</div>

Regarding integration with a PHP site and having a single login, you may want to read up on this too:

[https://meta.discourse.org/t/single-sign-on-help-class-for-php/13104](https://meta.discourse.org/t/single-sign-on-help-class-for-php/13104)

As for your larger business goals, not sure without digging deeper into what you’re trying to accomplish, but it’s probably worth exploring the forum here, searching around for similar ideas to see what people have been able to do with it.

---

<div class="post-metadata">

### Author: ![accetturo](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@accetturo](https://meta.discourse.org/u/accetturo)
#### Post date: [October 31, 2014, 3:31pm UTC](https://meta.discourse.org/t/installing-discourse-on-centos-apache-and-bridging-with-php-script/21691/6 "2014-10-31T15:31:08Z")

</div>

Can I host a discourse installation outside of my main server and still bridge databases. Host it on a domain just for forums?
