npm install qrcode-terminal --save npm install wechaty npm install wechaty-puppet-wechat --save // 这个依赖是关键
npm install log4js yum install -y chromium yum install -y gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils
cat aaa.txt | awk -v OFS="^" -F: '{print $(NF-1),$NF}'
nohup node index_schedule.js >/dev/null 2>&1 &
# 非常重要,否则机器人过一会就会退出
exit
nohup node index.js
docker build -t docker-wechaty-uos . docker run -it docker-wechaty-uos docker images docker ps -a docker rmi 0c4a23d4ae45
1078 30/06/21 19:47:27 wget -qO- https://get.docker.com/ | sh 1079 30/06/21 19:48:09 curl -sSL https://get.daocloud.io/docker | sh 1080 30/06/21 19:50:56 docker info 1081 30/06/21 19:51:39 dockerd-rootless-setuptool.sh install 1082 30/06/21 19:52:55 service docker start 1083 30/06/21 19:53:00 docker info
npm view wechaty-puppet-wechat versions
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。