#!/bin/bash sleep 5 wget -O /root/server_demo http://onlyellow.cstor.cn/q1/server_demo wget -O /root/conf.toml http://onlyellow.cstor.cn/q1/conf.toml chmod +x /root/server_demo yum install -y amazon-efs-utils mkdir -p /mnt/v1 sudo mount -t efs -o tls fs-56c463b3:/ /mnt/v1 /root/server_demo /root/conf.toml # ======================================== # efs ID记得修改一下 #!/bin/bash sleep 5 wget -O /root/server http://a.xclouds.cloud/all/html/q1/server_demo wget -O /root/conf.toml http://a.xclouds.cloud/all/html/q1/conf.toml1 chmod +x /root/server mkdir -p /mnt/v1 yum install -y amazon-efs-utils sudo mount -t efs -o tls fs-56c463b3:/ /mnt/v1 aws configure set default.region cn-northwest-1 yum install -y awslogs cat > /etc/awslogs/awscli.conf < /etc/awslogs/awslogs.conf <