Skip to content

Instantly share code, notes, and snippets.

@xXxSPYxXx
xXxSPYxXx / 00.howto_install_phantomjs.md
Last active March 20, 2018 09:30 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu/Debian

Version: 2.1.1

Platform: x86_64

First, install or update to the latest system software.

apt update
apt install build-essential chrpath libssl-dev libxft-dev
@xXxSPYxXx
xXxSPYxXx / set-up-l2tp-ipsec-vpn-on-debian.md
Last active January 9, 2018 16:24 — forked from mietek/set-up-l2tp-ipsec-vpn-on-debian.md
Set up L2TP/IPsec VPN on Debian 9

Set up L2TP/IPsec VPN on Debian 9

Set up IPsec

Set up networking

http {
map $http_user_agent $limit_bots {
default '';
~*(google|bing|yandex|msnbot) $binary_remote_addr;
}
limit_req_zone $limit_bots zone=bots:10m rate=1r/m;
server {
server {
listen 80;
server_name www.example.com;
root /var/www/vhosts/example.com/public/;
location /
{
index index.php index.html index.htm;
}