Hi community i have been trying to use cerbos for ...
# community
Hi community i have been trying to use cerbos for authorization purpose in python.. but i'm stuck in between .. and i'm not able make cerbos localhost connection..! "Failed to connect to remote host" i have installed the binaries for the respective BUNDLE using the command need some help in installing the cerbos in linux curl -L -o cerbos.tar.gz "https://github.com/cerbos/cerbos/releases/download/v0.31.0/BUNDLE" tar xvf cerbos.tar.gz chmod +x cerbos can anyone help to resolve this issue.!
Are you replacing
with a correct version?
For example:
Copy code
curl -L -o cerbos.tar.gz "<https://github.com/cerbos/cerbos/releases/download/v0.31.0/cerbos_0.31.0_Linux_x86_64.tar.gz>"
tar xvf cerbos.tar.gz
chmod +x cerbos
yes! and also downloaded and extracted the linux pakage for cerbos cerbos_0.31.0_Linux_x86_64.tar.gz but not need to know how further steps to run cerbos in local
Just type
in your terminal, hit enter and you should be good to go.
but getting "~$ cerbos cerbos: command not found"
Run this
./cerbos server
Make sure to run
mkdir policies
before it, otherwise you might run into an error
It should look like this when it's running.
ok got it .. it's running now Thank a lot..
i was trying with "cerbos" command and it wasnot working and tried checking status also using sudo systemctl status cerbos, this also didn't work at that time so..
systemctl status cerbos
won't work as you haven't installed Cerbos as a service and are directly running it via the binary file.
is there any document or video source link where i can refer for installing cerbos as a service?
Hi @Praveen Naik, We have a quick start page in our docs where we describe how to run cerbos in a container. https://docs.cerbos.dev/cerbos/latest/quickstart
Yeah, I was gonna say the same. Go with Docker and you won't have to set up services and the like.
ok, Thanks for the info guys