执行远程ssh命令
curl https://xxxxx.txt|sh
脚本内容:
echo y | sudo yum install xorg-x11-fonts-Type1 echo y | sudo yum install xorg-x11-fonts-75dpi sudo wget https://xxx.rpm -O wkhtmltox.rpm sudo rpm -ivh wkhtmltox.rpm sudo cp /usr/local/bin/wkhtmlto* /usr/bin/ sudo mkdir -p /usr/share/fonts/zh sudo wget https://xx.ttf -O /usr/share/fonts/zh/simhei.ttf sudo fc-cache -fv