1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-03-09 15:40:18 +00:00

Doc first start

This commit is contained in:
Tlams 2018-05-01 10:54:19 +01:00
parent 2c2195b83a
commit 9c47ed7c9f

View file

@ -0,0 +1,35 @@
# First Start
Now, we are ready to start !
In root, you can start directly HyperProxmox using the dedicated user.
``` bash
# Start & generate your key (root user/sudo)
runuser -l hyperproxmox -c '/usr/bin/python3.5 /opt/HyperProxmox/code/scripts/main/startup.py'
```
You should have this output:
``` bash
No key found, auto-generation started ...
```
If you don't have this output, probably that you miss a task (delete old keys) in "Backend" page.
``` bash
Need a passphrase to start the generation:
This action can take some minutes, please wait.
Your new key has been generate !
- Private Key: private/keys/Ragnarok.pvt.key
- Public Key: private/keys/Ragnarok.pvt.key
You MUST save your passphrase hash in a security place !
Start API server...
http://127.0.0.1:8080/
```
Passphrase will be ask at each start.
Without it, the privite key can be read and the access cannot be load in the memory.
If you loose it, you must delete the keys and delete the different entries in the collection "clusters_conf" in mongoDB database.
Currently there are not system to provide a full reset function. Use MongoDB shell to do it.
[Config](04-configs.md) <-- Previous | Next --> [Usage - Logs](05-first_start.md)