Created
March 25, 2022 23:25
-
-
Save jakedolan443/0ad2cc29f62e1c823a6b26d0cf2ef6a4 to your computer and use it in GitHub Desktop.
SwiperProxy install script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install build-essential cython python python-dev python-ipy | |
mkdir /opt/SwiperProxy | |
wget https://github.com/SwiperProxy/swiperproxy/archive/v1.1.tar.gz \ | |
-O /usr/local/src/swiperproxy-v1.1.tar.gz | |
tar -zxvf /usr/local/src/swiperproxy-v1.1.tar.gz | |
mv /usr/local/src/swiperproxy-v1.1 /opt/SwiperProxy/swiperproxy | |
/opt/SwiperProxy/swiperproxy/include/streamhtmlparser/configure | |
## EXECUTE AS SELF | |
$ make | |
$ make install | |
$ cd src/py-streamhtmlparser | |
$ make | |
$ make install | |
$ cp /usr/local/lib/python2.7/dist-packages/* /usr/lib/python2.7/dist-packages | |
$ ldconfig -v | |
$ mkdir /var/log/swiperproxy | |
$ addgroup --system swiperproxy | |
$ adduser --system swiperproxy --ingroup=swiperproxy --home=/opt/SwiperProxy/swiperproxy | |
$ chown swiperproxy:swiperproxy /var/log/swiperproxy | |
$ chown -R swiperproxy:swiperproxy /opt/SwiperProxy/swiperproxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment