搜索看看
Linux系统非root用户可以启动agent吗?可以
如果start.sh、stop.sh、wgcloud-agent-release没有可执行权限,记得先附加可执行权限
root@vultr:/wgcloud/agent-linux-amd64-v3.4.7# chmod +x wgcloud-agent-release root@vultr:/wgcloud/agent-linux-amd64-v3.4.7# ll total 12256 drwxr-xr-x 4 root root 4096 Nov 15 2022 ./ drwxr-xr-x 4 root root 4096 May 12 12:19 ../ drwxr-xr-x 2 root root 4096 Apr 27 2022 config/ drwxr-xr-x 2 root root 4096 May 17 00:00 log/ -rw-r--r-- 1 root root 974 May 12 12:22 README.txt -rwxr-xr-x 1 root root 552 Jan 23 11:24 start.sh* -rwxr-xr-x 1 root root 385 Jan 23 11:24 stop.sh* -rwxr-xr-x 1 root root 12517447 May 16 20:40 wgcloud-agent-release* root@vultr:/wgcloud/wgcloud-v3.4.7/agent# ./start.sh