1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
| apk add iproute2 ss -ptl apk add drill
crond crontab -l -e
apk add xxx apk search -v xxx apk info -a xxx apk info echo -e "http://mirrors.aliyun.com/alpine/v3.6/main\nhttp://mirrors.aliyun.com/alpine/v3.6/community" > /etc/apk/repositories apk update
ibu
echo "shortname" > /etc/hostname hostname -F /etc/hostname /etc/hosts /etc/resolv.conf modprobe ipv6 echo "ipv6" >> /etc/modules iface apk add iptables ip6tables iptables-doc /etc/init.d/networking restart apke add iputils traceroute6 ipv6.google.com awall
/etc/apk/repositories apk add cherokee --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted apk search -v --description 'NTP' apk info -a zlib apk info -vv|sort apk info -r -R apk version -v -l '<' apk upgrade -U -a apk add -u xxx
/etc/runlevels apk add openrc rc-update add xxx rc-service xxx start rc-status
adduser xxx passwd xxx
apk add ansible ssh-keygen /etc/ansible/hosts apk add python ssh-copy-id
apk add man man-pages mdocml-apropos less less-doc export PAGER=less /etc/rc.conf apk add bash bash-doc bash-completion apk add util-linux pciutils usbutils coreutils binutils findutils grep apk add build-base gcc abuild binutils binutils-doc gcc-doc apk add cmake cmake-doc extra-cmake-modules extra-cmake-modules-doc apk add ccache ccache-doc
apk add docker rc-update add docker boot rc-service docker start apk add py-pip pip install docker-compose ln -s /usr/bin/docker-compose /usr/bin/doc
apk add openssh rc-update add sshd /etc/init.d/sshd start /etc/sshd_config apk add dropbear
|