osctrl icon indicating copy to clipboard operation
osctrl copied to clipboard

how to install osctrl on ubuntu directly

Open arimb00r opened this issue 5 years ago • 5 comments

I 'm looking for documentation to install osctrl on ubuntu directly [not using docker]

arimb00r avatar Feb 22 '20 20:02 arimb00r

sudo apt-get install git
git clone https://github.com/jmpsec/osctrl.git
cd osctrl/
./deploy/provision.sh -s $(pwd) -m dev -t self -p all -n -P -M -E --all-hostname $(hostname -f)

That pretty much installs it from scratch on 18.04 LTS. (Dev configuration, self signed cert, self enrolled server, nginx, postgress)

You NEED to go through the provision script options to configure it for your env before you run it, https://osctrl.net/usage/provision.sh/

*added the hostname

edub0 avatar Apr 03 '20 04:04 edub0

Just pushed some fixes for the provision in mode prod, there were few things broken and now it all works well. Updating the documentation as well!

https://github.com/jmpsec/osctrl/pull/60

javuto avatar Apr 08 '20 07:04 javuto

Fiz todos os procedimentos porem ao tentar logar. no painel WEB ele me informa que as credenciais estão incorretas,

user: admin senha: admin

rollcalcifer avatar Jan 27 '22 15:01 rollcalcifer

I did all the procedures but when trying to log in. in the WEB panel it informs me that the credentials are incorrect,

user: admin password: admin

rollcalcifer avatar Jan 27 '22 15:01 rollcalcifer

Did you use provision.sh to complete all setup? Can you confirm with osctrl-cli that the user admin is created? You can do that with the following command:

./osctrl-cli -d -D db.json user list

javuto avatar Feb 06 '22 10:02 javuto