You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear author:
This is wei, I am very interested in the rich text support function provided in your WideChat/Rocket.Chat. I have encountered a problem when downloading the source file through Github for installation. I hope you can give me some help, thank you very much!
The problem is:
There is no main.js file in Rocket.chat root directory after complete installation.
System info include:
Centos8
node v12.18.4
npm v6.14.6
WideChat v4.6.3
Dear author:
This is wei, I am very interested in the rich text support function provided in your WideChat/Rocket.Chat. I have encountered a problem when downloading the source file through Github for installation. I hope you can give me some help, thank you very much!
The problem is:
There is no main.js file in Rocket.chat root directory after complete installation.
System info include:
Centos8
node v12.18.4
npm v6.14.6
WideChat v4.6.3
Install steps:
1.centos8 update
dnf update -y
2.install NodeJS
dnf install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_12.x | bash
dnf install -y nodejs
3.install GraphicsMagick
dnf install -y epel-release
dnf install -y GraphicsMagick
sudo npm install -g inherits n && sudo n 12.18.4
4.install MongoDB
sudo apt update
sudo apt install wget curl gnupg2 software-properties-common apt-transport-https ca-certificates lsb-release
curl -fsSL https://www.mongodb.org/static/pgp/server-5.0.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/mongodb.gpg
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
sudo apt update
sudo apt install mongodb-org
sudo systemctl restart mongod
systemctl status mongod
sudo systemctl enable mongod
5.install git
yum install git -y
6. Install RC
wget https://github.com/WideChat/Rocket.Chat/archive/refs/tags/v4.6.3.widechat-0.tar.gz
tar -xvf Rocket.Chat-4.6.3.widechat-0.tar.gz
cd /tmp/Rocket.Chat-4.6.3.widechat-0/server
npm install ### (Does it means to run install in the server directory?)
sudo mv /root/Rocket.Chat-4.6.3.widechat-0 /opt/Rocket.Chat
useradd -M rocketchat
usermod -L rocketchat
chown -R rocketchat:rocketchat /opt/Rocket.Chat
vi /lib/systemd/system/rocketchat.service
[Unit]
Description=The Rocket.Chat server
After=network.target remote-fs.target nss-lookup.target nginx.target mongod.target
[Service]
ExecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js ### (There is no main.js file after installation)
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=rocketchat
User=rocketchat
Environment=MONGO_URL=mongodb://localhost:27017/rocketchat?replicaSet=rs01 MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=rs01 ROOT_URL=http://localhost:3000/ PORT=3000
[Install]
WantedBy=multi-user.target
systemctl enable --now rocketchat.service
firewall-cmd --permanent --add-port=3000/tcp
firewall-cmd --reload
7. Login RC
http://URL:3000
It will be highly appreciated if you could give some instructions.
The text was updated successfully, but these errors were encountered: