1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-02-15 04:32:15 +00:00
HyperProxmox/doc/md/05-first_start.md
2018-05-01 12:41:19 +01:00

33 lines
1.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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.
[Setup - Config](04-configs.md) <-- Previous | Next --> [Usage - Logs](06-logs.md)