运行install.sh 最后报错
运行start-ursim.sh没问题
删除install.sh的
#!/bin/bash语句后 至 source version.sh语句前的所有语句
运行install.sh,生成图标
Enable Modbus server in URSim
As per default, the Modbus server is activated. In case it is not then open the file starturcontrol.sh which is located in the installation folder using a file editor.
Modify this line:
HOME=$SCRIPT_DIR $SCRIPT_DIR/URControl &>$SCRIPT_DIR/URControl.log &
into:
echo <linux_password> | sudo -S HOME=SCRIPTDIRSCRIPT_DIR/URControl &>$SCRIPT_DIR/URControl.log &
where password is the login password for Linux
本文介绍了解决URSim安装过程中遇到的问题,包括如何修正install.sh脚本以成功生成图标,以及如何通过修改starturcontrol.sh文件中的特定行来确保Modbusserver在URSim中正确激活。
6851

被折叠的 条评论
为什么被折叠?



