Code in this video: Rocket.Chat – Install and Configure Rocket.Chat Server on Ubuntu 22.04 LTS | 20.04 LTS | 18.04 LTS

Code in this video: Rocket.Chat – Install and Configure Rocket.Chat Server on Ubuntu 22.04 LTS | 20.04 LTS | 18.04 LTS

✳️ Thank You for watching and Don't forget to Subscribe to my channel

	sudo apt install gnupg2 gnupg git unzip build-essential curl software-properties-common graphicsmagick gcc g++ make net-tools -y

	curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -

	sudo npm install -g inherits n

	curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz

	tar -xzf /tmp/rocket.chat.tgz -C /tmp

	sudo mv /tmp/bundle /opt/Rocket.Chat

[Unit]
Description=The Rocket.Chat server
After=network.target remote-fs.target nss-lookup.target nginx.service mongod.service
[Service]
ExecStart=path_node /opt/Rocket.Chat/main.js
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=rocketchat
User=rocketchat
Environment=ROOT_URL=http://IP_SERVER-or_FQDN:3000
Environment=PORT=3000
Environment=MONGO_URL=mongodb://localhost:27017/rocketchat?replicaSet=rs01
Environment=MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=rs01
[Install]
WantedBy=multi-user.target

	wiredTiger

	replSetName: rs01

2 thoughts on “Code in this video: Rocket.Chat – Install and Configure Rocket.Chat Server on Ubuntu 22.04 LTS | 20.04 LTS | 18.04 LTS

  1. I am stuck on the following command: curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash –

    The error I am getting is below:

    Err:9 http://deb.nodesource.com/node_=14.x nodistro Release
    404 Not Found [IP: 104.22.5.26 80]
    Reading package lists… Done
    E: The repository ‘http://deb.nodesource.com/node_=14.x nodistro Release’ does not have a Release file.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    Error executing command, exiting

Leave a Reply

Your email address will not be published. Required fields are marked *