Aliyun
Deploying Rocket.Chat on Aliyun
Deploying Rocket.Chat on Aliyun
You can install Rocket.Chat to Ubuntu VPS on Aliyun.
The recommended VPS configuration is:
2 GB RAM
10 GB disk
2 or 4 cores
However, lower performance configuration has been tested on a VPS with:
1 GB RAM
10 GB disk
1 core
Follow these steps to install Rocket.Chat.
After you ssh to the VPS:
Run the command:
followed by:
Run this command:
Docker should be installed, verify it:
For release 1.5.0, you can use:
(if or when this is blocked, you'll have to obtain Linux-x86_64 docker-compose binary via other means)
Next, allow execution of docker-compose:
First,
Then,
Make two more directories for the mongodb database:
Create a docker-compose.yml
file with the following content:
Make sure you customize the file with your-ip-address
in the MONGO_URL
env variable.
This will download the required docker images, and may take some time.
This is done only the first time, or when you want to update Rocket.Chat.
Run:
Wait a couple of minute for mongo to start properly.
Run:
This container's job is just to run the command to initialize the replica set. It will run the command and remove itself (it will not stay running)
Now start the Rocket.Chat server:
Rocket.Chat should be ready in a minute or two.
Your Rocket.Chat server can now be accessed over the Internet via:
Install docker-compose, follow the
Mongo supports 24 x 7 operations and live backup. You should not need to restart it too frequently. See for proper operation and management of a mongo server.