# cli **Repository Path**: edison2018/cli ## Basic Information - **Project Name**: cli - **Description**: No description available - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-15 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CLI 自动化部署工具 > 注意:需要远程服务器支持SSH连接 ```shell # 远程部署 MariaDB Server ./cli remote install root:pass@152.136.216.31 mariadb # 远程卸载 MariaDB Server ./cli remote remove root:pass@152.136.216.31 mariadb # 远程修改 MariaDB Server 密码 ./cli mariadb change root:pass@192.168.1.1 username@oldpass newpass # 设置远程访问 ./cli mariadb access root:pass@192.168.1.1 username@oldpass newpass # 远程部署 Openresty ./cli remote install root:pass@152.136.216.31 openresty # 远程卸载 Openresty ./cli remote remove root:pass@152.136.216.31 openresty # 远程部署 OpenJDK1.8 ./cli remote install root:pass@152.136.216.31 openjdk1.8 # 远程卸载 OpenJDK1.8 ./cli remote remove root:pass@152.136.216.31 openjdk1.8 # 远程安装 Metabase ./cli remote install root:pass@152.136.216.31 metabase # 远程卸载 Metabase ./cli remote remove root:pass@152.136.216.31 metabase # 清理远程缓存 ./cli clean root:pass@152.136.216.31 # 修改远程MariaDB服务器 密码 ./cli mariadb change root:pass@152.136.216.31 root@123456 abc ```