what I learnt 29-03-2020

1. Use axel instead of wget

$ sudo apt install axel
axel -n 1000 url

2. Using Nginx as a file server

https://www.yanxurui.cc/posts/server/2017-03-21-NGINX-as-a-file-server/

3. Using supervisor and autossh to keep a tunnel being alive all time

[program:autossh]
command=autossh -M0 -N
    -o "ExitOnForwardFailure yes"
    -o "ServerAliveInterval 15"
    -o "ServerAliveCountMax 4"
    -o "ControlPath none"
    -o "UserKnownHostsFile=/dev/null"
    -o StrictHostKeyChecking=no
    -R 18022:localhost:22
    -R 18080:localhost:80
    -R 18443:localhost:443
    user_name@user_ip_or_domain
autostart=true
autorestart=true
startretries=999
redirect_stderr=true
stdout_logfile = /var/log/supervisor/autossh.log
stdout_logfile_maxbytes = 10MB

source

4. Using shadowsocks + polipo to implement http/https proxy in Ubuntu 18.04

5. Show System Info / Hardware Details on the Command Line (Ubuntu)

  1. $ sudo apt install inxi
  2. $ inxi -F

Guide

Comments

  1. Markdown is allowed. HTML tags allowed: <strong>, <em>, <blockquote>, <code>, <pre>, <a>.