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 |