Created
August 8, 2015 17:08
-
-
Save ellipsonic/eb8e6c6658503fc38d60 to your computer and use it in GitHub Desktop.
Meteor Rocket Chat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update | |
sudo apt-get -y update | |
# Install git and curl | |
sudo apt-get -y install curl | |
sudo apt-get -y install git | |
sudo apt-get -y install mongodb | |
# Install meteor | |
sudo curl https://install.meteor.com/ | sh | |
# Set Locale | |
export LANG=C | |
export LC_ALL=C | |
# Clone the repo | |
git clone https://github.com/RocketChat/Rocket.Chat.git | |
cd Rocket.Chat | |
# Map the private IP to public IP | |
private_ip=$(hostname -i) | |
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to-destination $private_ip:3000 | |
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT | |
sudo meteor <&- & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how can i add jitsi for video chat and call?