|
@@ -9,14 +9,21 @@ mkdir -p /mnt/v1
|
|
|
sudo mount -t efs -o tls fs-56c463b3:/ /mnt/v1
|
|
sudo mount -t efs -o tls fs-56c463b3:/ /mnt/v1
|
|
|
/root/server_demo /root/conf.toml
|
|
/root/server_demo /root/conf.toml
|
|
|
|
|
|
|
|
|
|
+# ========================================
|
|
|
|
|
|
|
|
|
|
+# efs ID记得修改一下
|
|
|
|
|
|
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
sleep 5
|
|
sleep 5
|
|
|
wget -O /root/server_demo http://a.xclouds.cloud/all/html/q1/server_demo
|
|
wget -O /root/server_demo http://a.xclouds.cloud/all/html/q1/server_demo
|
|
|
-wget -O /root/conf.toml http://a.xclouds.cloud/all/html/q1/conf.toml
|
|
|
|
|
-chmod +x /root/server_demo
|
|
|
|
|
|
|
+wget -O /root/conf.toml http://a.xclouds.cloud/all/html/q1/conf.toml1
|
|
|
|
|
+
|
|
|
|
|
+chmod +x /root/server
|
|
|
mkdir -p /mnt/v1
|
|
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
|
|
aws configure set default.region cn-northwest-1
|
|
|
|
|
|
|
|
yum install -y awslogs
|
|
yum install -y awslogs
|