39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
---
|
|
type: "topic"
|
|
created: "2024-01-28T04:48:03.346Z"
|
|
updated: "2024-01-29T18:47:51.859Z"
|
|
---
|
|
|
|
# GenieACS
|
|
|
|
DocDroid
|
|
Install GenieACS.txt
|
|
Report
|
|
Share
|
|
Download
|
|
1. Install node.js
|
|
curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh
|
|
sudo bash nodesource_setup.sh
|
|
sudo apt install nodejs
|
|
node -v
|
|
2. Install MongoDB
|
|
|
|
2.1 Install libssl1.1
|
|
echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
|
|
sudo apt-get update
|
|
sudo apt-get install libssl1.1
|
|
|
|
2.2 Install MongoDB
|
|
curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
|
|
apt-key list
|
|
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
|
|
sudo apt update
|
|
sudo apt install mongodb-org
|
|
sudo systemctl start mongod.service
|
|
sudo systemctl status mongod
|
|
sudo systemctl enable mongod
|
|
mongo --eval 'db.runCommand({ connectionStatus: 1 })'
|
|
|
|
3. Install GenieACS
|
|
http://docs.genieacs.com/en/latest/installation-guide.html#install-genieacs
|