连接服务器
ssh root@服务器ip
安装程序
bash 程序文件
yum install 程序名
启动程序
systemctl start 程序名
设置开机自启
systemctl enable 程序名
激活环境变量
source ~/.bashrc
退出程序
exit()
将命令挂载在后台运行
nohup 程序名 --allow-root &
连接服务器
ssh root@服务器ip
安装程序
bash 程序文件
yum install 程序名
启动程序
systemctl start 程序名
设置开机自启
systemctl enable 程序名
激活环境变量
source ~/.bashrc
退出程序
exit()
将命令挂载在后台运行
nohup 程序名 --allow-root &