简体   繁体   中英

pocketbase: command not found

I am trying to set up a pocketbase on a Debian server.

on the server I created a dir called pb and scp over the pocketbase file which I downloaded from https://pocketbase.io/docs/

I downloaded all three linux packages pocketbase_0.10.2_linux_amd64.zip , pocketbase_0.10.2_linux_arm64.zip and pocketbase_0.10.2_linux_armv7.zip

I download the file, unzip it and then move the pocketbase file over to the server.

Note, Ive downloaded these onto a windows machine and then SCP pocketbase file over to my server.

When I run pocketbase serve I get the error command not found.

I can't find a good solution to this issue.

Execute it as instructed by pocketbase's documentation if you are within the same directory as the bin file:

./pocketbase serve

If you want to run it as pocketbase serve alone you will need to move the bin file under /usr/bin or ideally /usr/local/bin which should be under your system's $PATH variable.

https://pocketbase.io/docs/

Run ./pocketbase --help or ./pocketbase [command] --help for more assistance.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM