<system.web>
<deployment retail="true"/>
</system.web>
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
| # First, install all of the things | |
| apt-get update | |
| apt-get install nginx | |
| /etc/init.d/nginx start | |
| apt-get install python-dev | |
| apt-get install python-pip | |
| apt-get install libjpeg-dev libpng-dev libtiff-dev libjasper-dev libgtk2.0-dev python-numpy python-pycurl libwebp-dev python-opencv libjpeg-progs | |
| ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib | |
| pip install pillow |
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
| #https://gist.github.com/ziadoz/3e8ab7e944d02fe872c3454d17af31a5 | |
| wget https://gist.githubusercontent.com/ziadoz/3e8ab7e944d02fe872c3454d17af31a5/raw/990d54467543d17e5c1874dccc3b7970a63d1ca4/install.sh | |
| sudo chmod +x install.sh | |
| ## Geckodriver | |
| wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz | |
| sudo sh -c 'tar -x geckodriver -zf geckodriver-v0.18.0-linux64.tar.gz -O > /usr/bin/geckodriver' | |
| sudo chmod +x /usr/bin/geckodriver | |
| rm geckodriver-v0.18.0-linux64.tar.gz |
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
| #!/bin/bash | |
| #renew ssl letsencrypt certificate on bitnami server | |
| #https://gist.github.com/printminion/6ec2fc0fefaba8e0a98a63a6d73b0802/edit | |
| sudo /opt/bitnami/ctlscript.sh stop apache | |
| cd /home/user/certbot | |
| #./certbot-auto certonly --standalone -w /opt/bitnami/apache2/conf/ -d example | |
| .com -d www.example.com | |
| ./certbot-auto renew | |
| sudo cp /etc/letsencrypt/live/example.com/fullchain.pem /opt/bitnami/apache2/conf/server.crt |