Download CMake from: https://cmake.org/download/
wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz
tar zxvf cmake-3.*
| TYPE=Ethernet | |
| PROXY_METHOD=none | |
| BROWSER_ONLY=no | |
| BOOTPROTO=static | |
| DEFROUTE=yes | |
| IPV4_FAILURE_FATAL=no | |
| IPV6INIT=yes | |
| IPV6_AUTOCONF=yes | |
| IPV6_DEFROUTE=yes | |
| IPV6_FAILURE_FATAL=no |
| # $ lsb_release -a | |
| # No LSB modules are available. | |
| # Distributor ID: Ubuntu | |
| # Description: Ubuntu 16.04.5 LTS | |
| # Release: 16.04 | |
| # Codename: xenial | |
| # $ uname -a | |
| # Linux xps 4.4.0-134-generic #160-Ubuntu SMP Wed Aug 15 14:58:00 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz
tar zxvf cmake-3.*
| sun.hac.lp1.d4c.nintendo.net | |
| beach.hac.lp1.eshop.nintendo.net | |
| aauth-lp1.ndas.srv.nintendo.net | |
| accounts.nintendo.com | |
| api.accounts.nintendo.com | |
| app-a04.lp1.npns.srv.nintendo.net | |
| aqua.hac.lp1.d4c.nintendo.net | |
| atum.hac.lp1.d4c.nintendo.net | |
| bcat-data-lp1.cdn.nintendo.net | |
| bcat-list-lp1.cdn.nintendo.net |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" | |
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>in.fourplex.aria2</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/local/bin/aria2c</string> |
| # root 密钥 | |
| openssl genrsa -des3 -out rootCA.key 2048 | |
| # root 证书 | |
| openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 2048 -out rootCA.pem | |
| # 添加信任 root 证书 | |
| # 组织:生成密钥并且申请函 | |
| openssl req -new -sha256 -nodes -out pikachu.csr -newkey rsa:2048 -keyout pikachu.key -config pikachu.csr.cnf |
| ssh -gN -D 6032 root@HOST | |
| # 本机socks5端口[6032]通过ssh隧道转发 | |
| # https://www.maoyuanrun.com/2014/10/05/ssh-l-r-d/ | |
| # curl 使用 socks5 作为代理 | |
| # https://blog.emacsos.com/use-socks5-proxy-in-curl.html | |
| curl --socks5-hostname H:P DistinHost |
| #文件描述符 | |
| cat /proc/sys/fs/file-max |