I hereby claim:
- I am travis103 on github.
- I am travis103 (https://keybase.io/travis103) on keybase.
- I have a public key ASB4RHcfJvx-IctjGlhuMChzKumJ-TK8hPjh_7DquBX0qgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
timedatectl set-timezone Asia/Hong_Kong | |
yum install -y docker git | |
systemctl start docker | |
systemctl enable docker | |
export DOCKER_COMPOSE_VERSION=`git ls-remote --tags git://github.com/docker/compose.git | awk '{print $2}' |grep -v "docs\|rc" |awk -F'/' '{print $3}' |sort -V |tail -n1` | |
mkdir -p /opt/bin/ |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
## Place this file in "/etc/sysctl.d/network-tuning.conf" and | |
## run "sysctl -p" to have the kernel pick the new settings up | |
# Avoid a smurf attack | |
net.ipv4.icmp_echo_ignore_broadcasts = 1 | |
# Turn on protection for bad icmp error messages | |
net.ipv4.icmp_ignore_bogus_error_responses = 1 | |
# Turn on syncookies for SYN flood attack protection |
{ '微笑': '😀', '大笑': '😁', '笑哭': '😂', '哈哈': '😄', '尴尬': '😅', '好玩': '😆', '挂了': '😇', '好的': '😉', '笑笑': '😊', '啦啦': '😋', '安逸': '😌', '色色': '😍', '秋波': '😘', '亲亲': '😙', '调皮': '😜', '偷笑': '😝', '酷': '😎', '得意': '😏', '呵呵': '😶', '额': '😑', '好吧': '😒', '脸红': '😳', '唉': '😞', '惊讶': '😟', '生气': '😠', '发火': '😡', '无助': '😔', '不开心': '😕', '挣扎': '😣', '折磨': '😖', '难受': '😫', '火大': '😤', '天呐': '😮', '惊恐': '😱', '震惊': '😨', '汗颜': '😰' } |
#!/bin/bash | |
timedatectl set-timezone Asia/Hong_Kong | |
apt update | |
apt install apt-transport-https ca-certificates curl software-properties-common -y | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | |
apt update | |
apt-cache policy docker-ce | |
apt install docker-ce -y |