sdelements / lets-chat

Self-hosted chat app for small teams
http://sdelements.github.io/lets-chat
MIT License
9.77k stars 1.58k forks source link

RHEL 7.1 Walkthrough #610

Closed peasead closed 9 years ago

peasead commented 9 years ago

RHEL 7.1 Walkthrough

You may have slightly different variations and whatnot, but here's what I did to get this running on RHEL 7.1.

  1. yum update
  2. yum install libicu-devel git curl gcc-c++ make
  3. yum groupinstall 'Development Tools' # I'm sure these aren't all needed, but installing this helped with some errors
  4. curl --silent --location https://rpm.nodesource.com/setup | bash -
  5. yum install nodejs
  6. vi /etc/yum.repos.d/mongodb-org-3.0.repo
  7. Enter:
  [mongodb-org-3.0]
  name=MongoDB Repository
  baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.0/x86_64/
  gpgcheck=0
  enabled=1
  1. yum install mongo-org
  2. Download the most recent branch of Let's Chat git clone https://github.com/sdelements/lets-chat in /opt/
  3. cd /opt/lets-chat/ && npm install passport.socketio@3.5.1 --save
  4. npm install
  5. npm install lets-chat-ldap
  6. cp settings.yml.sample settings.yml # ldap authentication needs to be configured here or you can use the default local
  7. firewall-cmd --add-port=5000/tcp --add-port=5222/tcp --permanent && firewall-cmd --reload
  8. LCB_HTTP_HOST=0.0.0.0 npm start
  9. Browse to http://localhost:5000
peasead commented 9 years ago

Made a separate pull request.

Closing this as it isn't an Issue.