sudo systemctl daemon-reloadĬonfirm service status $ systemctl status rvice Update systemd units and start rocketchat service. If you’re using a valid domain in DNS, set it on ROOT_URL. cat << EOF |sudo tee /etc/systemd/system/rviceĪfter=network.target remote-fs.target nss-lookup.target nginx.target mongod.targetĮnvironment=MONGO_URL=mongodb://localhost:27017/rocketchat ROOT_URL= PORT=3000ĮxecStart=/usr/local/bin/node /srv/rocketchat/Rocket.Chat/main.js We can now create a Systemd service unit file. sudo chown -R rocketchat:rocketchat /srv/rocketchat/Rocket.Chat/ Step 5: Create Systemd Unit file Make sure the ownership of the folder is correct. Move the bundle directory to /srv/rocket folder $ mv bundle Rocket.Chat Install Rocket.Chat server cd bundle/programs/server & npm install sudo useradd -r -m -U -d /srv/rocketchat rocketchat Step 4: Download and Install Rocket.Chatĭownload the latest Rocket.Chat version: su - rocketchatĮxtract downloaded archive file. We need a user that will be used to run Rocket.Chat server. Sudo systemctl enable rvice & sudo systemctl start rvice Step 3: Create rocketchat system user Sudo systemctl enable rvice & sudo systemctl start rvice Sudo add-apt-repository 'deb bionic/mongodb-org/4.0 multiverse' Sudo npm install -g inherits n & sudo n 8.11.4 Install MongoDB. If you don’t want repository Node.js, then use its official repository to install it. Sudo apt install -y build-essential curl software-properties-common nodejs npm nginx graphicsmagick Here we will install all the dependencies required to run Rocker.Chat on Debian / Ubuntu server. sudo shutdown -r now Step 2: Install Required Dependencies Start by updating all system packages on Ubuntu / Debian Linux server. Launch a terminal on either server to get started. This is more recommended as opposed to running Rocket.Chat server on plain http. If your server is on a private network, you can generate and use a self-signed certificate in place of Let’s Encrypt. We will use the following tools during setup: In this article, we will explain the complete steps required to Install and Configure Rocket.Chat Server on Debian 10 / Ubuntu 18.04. If you’re looking for an open-source messaging platform to host in a VPS running in the Cloud or your local data center, this solution is fit for you. Some cool features that come with Rocket.Chat free installation are file sharing, video conferencing, chats, audio messaging e.t.c. Rocket.Chat is a self-hosted chat platform that is open source and one of the most popular slack alternatives. You can now start customizing your instance or just start chatting with your friends or colleagues.įurther information can be found in the Rocket.In today’s guide, we will discuss how to Install Rocket.Chat Server on Debian 10 / Ubuntu 18.04. You now have a working basic Rocket.Chat installation. Step 5 - Exploring Rocket.ChatĪTTENTION The registration form is enabled by default! This and much more can be changed in the admin area of your Rocket.Chat instance. This is something you need to decide depending on your guidelines. In the last step, you can select whether the server should be registered in the Rocket.Chat Cloud or not. In the 3rd step you can enter the name of the chat instance, set a default language and select if new users should automatically use Two Factor via e-mail. Now Rocket.Chat should automatically open the setup wizard, where it asks for the credentials for the first user which automatically gets admin permissions.Īfterwards the setup wizard will ask for some organization info, you can enter these details or just skip the step by clicking on Continue. Open the web browser and navigate to the domain we have set up above. Now the Rocket.Chat instance is reachable through the configured domain and HTTP is redirected to HTTPS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |