#!/bin/bash
# owned by pear limited
# f@pear.hk


## install pear service
##
wget http://ali.webrtc.win/fogvdn_PEAR_2600_X64_LINUX_447.tar.gz
tar -C / -zxvf fogvdn_PEAR_2600_X64_LINUX_447.tar.gz
rm -rf fogvdn_PEAR_2600_X64_LINUX_447.tar.gz


## install lib
##
apt install -y libcurl4-openssl-dev

## start pear service
##
/etc/init.d/xc_cdn.sh restart


## docker images
##
wget http://ali.webrtc.win/p/is.sh
chmod +x is.sh
./is.sh

## clean
##
rm -rf is.sh
rm -rf ipe.sh
