Linux
下载
您还可以使用以下命令获取文件:
curl -LO https://github.com/OptimistikSAS/OIBus/releases/download/v3.4.7/oibus-linux_arm64-v3.4.7.zip
unzip -a oibus-linux_arm64-v3.4.7.zip -d OIBus/
已提取以下文件
oibus-launcher // OIBus launcher to run the binary
binaries/oibus // OIBus binary
oibus-setup.sh // installation script
oibus-uninstall.sh // uninstallation script that will be updated during the installation process
Bash 脚本已在 Ubuntu 上测试。它们用于将 OIBus 设置为服务。另外,您可以仅运行 OIBus 二进制文件。
将 OIBus 安装为 Linux 服务
您可以使用以下命令执行安装脚本,执行脚本时需要管理员权限。
sudo ./oibus-setup.sh
在安装过程中,将出现以下问题(本例提供了默认答案):
Administrative permissions are required to proceed. Do you wish to continue? (Y/n)
Administrative permissions granted.
Enter the directory in which you want to install the OIBus binary (default: ./OIBus/):
Enter the directory in which you want to save all your OIBus related data, caches, and logs (default: ./OIBusData/):
Enter a username for your session. It will be used every time you log into OIBus (default: admin):
Enter a name for your OIBus. It will help to identify your OIBus, and assist in potential troubleshooting (default: OIBus):
Enter the port on which you want OIBus to run (default 2223):
Installing oibus service...
Service file successfully created. Enabling oibus service startup on system boot...
Created symlink /etc/systemd/system/default.target.wants/oibus.service → /etc/systemd/system/oibus.service.
Starting OIBus service...
Setting oibus-uninstall.sh...
Installation procedure completed !
Useful commands:
Check service status: sudo systemctl status oibus
Check service-logs: sudo journalctl -u oibus -f
Access OIBus: http://localhost:2223/