![]() Step 5 – Create Rocket.Chat serviceĬreate Rocket.Chat service unit file. Once the user has been created then you can proceed to create the service. Sudo chown -R rocketchat:rocketchat /opt/Rocket.Chat sudo useradd -M rocketchat & sudo usermod -L rocketchat Sudo mv /tmp/bundle /opt/Rocket.Chat Step 4 – Create Rocketchat system userĬreate a rocketchat user and assign ownership to the Rocket.Chat folder. In this guide, we shall install it in /opt directory cd /tmp/bundle/programs/server & npm install Install Rocket.Chat to a directory of your choice. usr/bin/n -> /usr/lib/node_modules/n/bin/nĪdded 2 packages from 2 contributors in 0.628sĬreate a symbolic link for the node binary file to sudo ln -s /usr/bin/node /usr/local/bin/node Step 3 – Install Rocket.Chat on Ubuntu 20.04ĭownload the latest version of Rocket.Chat with the following curl -L -o /tmp/Įxtract the downloaded file to /tmp folder tar -xzf /tmp/ -C /tmp To check the installed version: $ node -version ![]() You should only install a version that is same as the base version or create a symbolic link to the base version. Installing a different version of node than the base version installed causes conflicts with Rocket.Chat in Ubuntu 20.04. Install Node.js, MongoDB, build tools and graphicsmagick: sudo apt-get install -y build-essential mongodb-org nodejs graphicsmagick Update your Ubuntu 20.04 system sudo apt-get -y update Step 2 – Install Required package dependenciesĪdd MongoDB GPG signing key: wget -qO - | sudo apt-key add -Īdd MongoDB repository echo "deb focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt//mongodb-org-4.4.listĬonfigure Node.js to be installed through the Ubuntu package manager: sudo apt-get -y update & sudo apt-get install -y curl & curl -sL | sudo bash.
0 Comments
Leave a Reply. |