Installation via APT
May 30, 2022 ยท View on GitHub
As with all other OpenSAND packages, the web configuration tool is available in the Net4Sat PPA on GitHub. To install packets from there you must:
- Trust the Net4Sat GPG signing key:
curl -sS https://raw.githubusercontent.com/CNES/net4sat-packages/master/gpg/net4sat.gpg.key | sudo apt-key add -
- Add the repository to your APT sources:
echo "deb https://raw.githubusercontent.com/CNES/net4sat-packages/master/ focal stable" | sudo tee /etc/apt/sources.list.d/github.net4sat.list
- Install the package:
sudo apt-get update && sudo apt-get install opensand-deploy
- Browse to
localhost:80to access the web configuration tool.
Installation from sources
- Install the recommended version of NodeJS and Yarn to compile the frontend:
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/nullecho "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.listsudo apt-get update && sudo apt-get install nodejs yarn
- Build the frontend:
cd opensand/opensand-deploy/src/frontend; yarn install && yarn build
- Install OpenSAND to generate configuration files:
sudo apt-get install opensandopensand -g opensand/opensand-deploy/src/backend/
- Install uWSGI to serve both the frontend and the backend:
sudo apt-get install uwsgiuwsgi --plugin python3 --http-socket :8080 --wsgi-file opensand/opensand-deploy/src/backend/backend.py --callable app --check-static opensand/opensand-deploy/src/frontend/build/ --master --workers 5 --die-on-term --wsgi-disable-file-wrapper
- Browse to
localhost:8080to access the web configuration tool.