ILIAS-7-Install-Tutorial for Ubuntu 20.04
Node install
Install Node
The ILIAS-Chatsystem was completely new implemented in 5.2. So lets have a look how to get it work. It runs with node. The problem is: How to install node? There are a lot of pitfalls:
- If you installed it via apt-get install node node-legacy npm you run in the following problem:
- The version auf node 4.2.x is to low for the actual mathjax version and for etherpad-lite
- Hint for Plesk users: Please create a backup image bevor proceed (believe me, it`s important)
The first step is to check if node or npm are already installed.
node --version
nodejs --version
npm --version
To install it run:
cd /root
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
- Please do not go higher than node version 14 because of the chat does not support it
apt-get install -y nodejs yarn
export NODE_ENV=production
After the installation, check the versions:
- Check Node:
node --version
- Check NPM:
npm --version
- Check the nodeapath and keep the result in mind:
whereis node
- this could give the green nodepath: node: /home/ilias/local/bin/node or /usr/local/bin/node