Aeroese
2018-03-04 22:20:21 +08:00
以下为阿里云 ubuntu16.04 64 位安装 EFB2.0
apt update
apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev
apt-get install libmagic-dev ffmpeg
apt-get install software-properties-common
add-apt-repository ppa:jonathonf/python-3.6
apt-get update
apt-get install python3.6
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2
update-alternatives --config python3 (选 0 即 py3.6 auto)
pip3 install ehforwarderbot
pip3 install efb-telegram-master
pip3 install efb-wechat-slave
mkdir /root/.ehforwarderbot/profiles/default
mkdir /root/.ehforwarderbot/profiles/default/blueset.telegram
vi /root/.ehforwarderbot/profiles/default/config.yaml
token: "12345678:1a2b3c4d5e6g7h8i9j"
admins:
- 402325165
master_channel: "blueset.telegram"
slave_channels:
- "blueset.wechat"
vi /root/.ehforwarderbot/profiles/default/blueset.telegram/config.yaml
token: "12345678:1a2b3c4d5e6g7h8i9j"
admins:
- 402325165
flags:
option_one: 10
option_two: false
option_three: "foobar"
ehforwarderbot (最后运行 EFB 扫描打印出的二维码)