Closed peasead closed 9 years ago
You may have slightly different variations and whatnot, but here's what I did to get this running on RHEL 7.1.
yum update
yum install libicu-devel git curl gcc-c++ make
yum groupinstall 'Development Tools'
curl --silent --location https://rpm.nodesource.com/setup | bash -
yum install nodejs
vi /etc/yum.repos.d/mongodb-org-3.0.repo
[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
yum install mongo-org
git clone https://github.com/sdelements/lets-chat
/opt/
cd /opt/lets-chat/ && npm install passport.socketio@3.5.1 --save
npm install
npm install lets-chat-ldap
cp settings.yml.sample settings.yml
firewall-cmd --add-port=5000/tcp --add-port=5222/tcp --permanent && firewall-cmd --reload
LCB_HTTP_HOST=0.0.0.0 npm start
Made a separate pull request.
Closing this as it isn't an Issue.
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.
yum update
yum install libicu-devel git curl gcc-c++ make
yum groupinstall 'Development Tools'
# I'm sure these aren't all needed, but installing this helped with some errorscurl --silent --location https://rpm.nodesource.com/setup | bash -
yum install nodejs
vi /etc/yum.repos.d/mongodb-org-3.0.repo
yum install mongo-org
git clone https://github.com/sdelements/lets-chat
in/opt/
cd /opt/lets-chat/ && npm install passport.socketio@3.5.1 --save
npm install
npm install lets-chat-ldap
cp settings.yml.sample settings.yml
# ldap authentication needs to be configured here or you can use the default localfirewall-cmd --add-port=5000/tcp --add-port=5222/tcp --permanent && firewall-cmd --reload
LCB_HTTP_HOST=0.0.0.0 npm start