apisix

etcd 1 2 3 4 5 6 ETCD_VERSION='3.5.10' wget https://github.com/etcd-io/etcd/releases/download/v${ETCD_VERSION}/etcd-v${ETCD_VERSION}-linux-amd64.tar.gz tar -xvf etcd-v${ETCD_VERSION}-linux-amd64.tar.gz && \ cd etcd-v${ETCD_VERSION}-linux-amd64 && \ sudo cp -a etcd etcdctl /usr/bin/ nohup etcd >/tmp/etcd.log 2>&1 & etcd集群 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 nohup etcd --name infra0 --initial-advertise-peer-urls http://172.16.0.10:2380 \ --listen-peer-urls http://172.16.0.10:2380 \ --listen-client-urls http://172.16.0.10:2379,http://127.0.0.1:2379 \ --advertise-client-urls http://172.16.0.10:2379 \ --initial-cluster-token etcd-cluster-1 \

docker

docker 在线 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #containerd yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm #安装一些其他依赖 yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum makecache #安装docker-ce dnf -y install docker-ce --nobest #开启Docker服

jdk

卸载openjdk 1 2 3 4 5 6 rpm -qa | grep java rpm -e --nodeps java-1.8.0-openjdk-headless-1.8.0.292.b10-1.el7_9.x86_64 rpm -e --nodeps java-1.8.0-openjdk-1.8.0.292.b10-1.el7_9.x86_64 rpm -e --nodeps java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.el7_8.x86_64 rpm -e --nodeps java-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.x86_64 安装openjdk8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 yum install java-1.8.0-openjdk -y

nginx

安装 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 #在线 sudo yum install -y epel-release sudo yum -y update #离线:下载离线包http://nginx.o

openVpn

安装openVpn 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 yum install epel-release yum install snapd systemctl enable --now snapd.socket ln -s /var/lib/snapd/snap /snap snap install openfortivpn yum install openfortivpn mkdir openfortivpn vim config host = xxx port = 443 username = xxx password