【TongWeb7】commandstool命令的使用

张开发
2026/4/17 6:42:19 15 分钟阅读

分享文章

【TongWeb7】commandstool命令的使用
TongWeb 提供以 commandstool 命名的手动部署及管理应用的工具。命令行的启动脚本位于${TongWeb_HOME}/bin 目录下有 batWindows和 shLinux/Unix两个版本。Commandstool 支持 TongWeb 启动或者不启动的情况下运行分别为“在线模式”和“离线模式”。-- offline默认为false-- offlinetrue时可在TongWeb不启动的情况下进行执行Commandstool 用户名和密码如下所示。⚫ 用户名cli⚫ 初始密码cli123.com您可以根据需要进行修改注意首次使用“cli”用户时需要使用“change-admin-password”修改密码。修改密码密码必须包含数字、小写字母、大写字母和特殊字符[rootlocalhost bin]# pwd /opt/TongWeb7.0.4.9_M10_Enterprise_Linux/bin [rootlocalhost bin]# [rootlocalhost bin]# ./commandstool.sh change-admin-password Please enter the admin user namecli Please enter the old admin passwordcli123.com Please enter the new admin passwordZxc124.com Please enter the new admin password againZxc124.com Command change-admin-password executed successfully.修改thanos密码./commandstool.sh config-password --usercli --adminuserthanos --adminoldpasswordthanos123.com --adminnewpasswordThanos124.com[rootlocalhost bin]#./commandstool.sh config-password--usercli--adminuserthanos--adminoldpasswordthanos123.com--adminnewpasswordThanos124.com Please enter the admin passwordZxc124.com Command config-password executed successfully.[rootlocalhost bin]#

更多文章