Comments (9)
I made a few changes in order to get it working on Debian 10.
Install Node 12 instead of 13. (which is unsupported) 12 is long term supported. Did not try 14.
curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
Add --unsafe-perm
to fix Node modules permission error.
sudo npm install --unsafe-perm > /dev/null && sudo npm install @angular/cli > /dev/null
Install pip modules using sudo and pip3.
sudo pip3 install -r requirements.txt
sudo pip3 install uvicorn
Run uvicorn using sudo. By now you need to have set the admin username and password environment variables. For my initial test I just set them when starting the server.
sudo ADMIN_USERNAME=admin ADMIN_PASSWORD=admin uvicorn main:app --host=0.0.0.0
sudo uvicorn main:app --host=0.0.0.0
from wg-manager.
Thanks! I'll update the documentation !
from wg-manager.
For bare metal installation, may i ask for some help?
how to make use of a server digital certficate?
how to start by boot time?
how to change login and password, i.e, make use of linux authentication?
Thx!
from wg-manager.
Id also like to know the answers to below
how to make use of a server digital certficate?
how to start by boot time?
how to change login and password, i.e, make use of linux authentication?
from wg-manager.
from wg-manager.
- Thanks ill follow up on it
- yeah dont quite follow the gunicorn stuff, i did mine based on bare metal without the virtual environment, so tried to fiogure out a superviser systemd file and failed miserably.
- the only application ove ever seen with a non-changeable easy to use login, anyone who finds the site can login and create a vpn tunnel.. this is what i call a security risk. be very nice to have it resolved.
from wg-manager.
from wg-manager.
Here's what I did for a unit: (Debian)
/etc/systemd/system/wg-manager.service
[Unit]
Description=wg-manager
After=network.target
[Service]
User=root
WorkingDirectory=/opt/wg-manager/wg_dashboard_backend
ExecStart=uvicorn main:app --host=0.0.0.0 --port=80
Restart=always
[Install]
WantedBy=multi-user.target
And then an override file containing the environment variables.
/etc/systemd/system/wg-manager.service.d/override.conf
[Service]
Environment=ADMIN_USERNAME=myusername
Environment=ADMIN_PASSWORD=mypassword
from wg-manager.
from wg-manager.
Related Issues (20)
- Cannot login "no such table: users" Bare metal installation HOT 6
- Enable/Disable Peer HOT 1
- Cannot find device wg0 HOT 2
- Tunnel description HOT 1
- Sql error on initial login
- Add client IP to list to clients if they are currently connected (or last known IP).
- On PhD Finish Up Leave. HOT 1
- sqlite3.IntegrityError) NOT NULL constraint failed: server.v6_subnet HOT 1
- Portainer and wg-manager -----newbie HOT 4
- Limit trafic user HOT 1
- username and password HOT 1
- [Enhancement] Move to an agent-based architecture for controlling interfaces HOT 1
- add MTU in config server
- problem with private key when importing configuration
- Startup Race Condition - Solution I used - Delay Docker Start HOT 1
- Automatic addition of a subnet
- docker: no user / db created HOT 2
- cannot change admin password after deployment in ui
- Wg0 can't start - Table does not exist (do you need to insmod?) Perhaps ip6tables or your kernel needs to be upgraded. HOT 4
- I can´t login using admin / admin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wg-manager.