diff --git a/install/centos-7.sh b/install/centos-7.sh index 31b8488b6..cd09bcb48 100644 --- a/install/centos-7.sh +++ b/install/centos-7.sh @@ -5,6 +5,10 @@ echo "CENTOS IS NOT RECOMMENDED TO USE." echo "PLEASE USE UBUNTU INSTEAD." echo "THIS SCRIPT MAY NOT WORK PROPERLY." echo "Will continue installation in 10 secs, press Ctrl-C to exit" +echo "非常不推荐使用CentOS!" +echo "请切换到 ubuntu 操作系统!" +echo "此脚本可能无法正常工作" +echo "使用 Ctrl-C 退出该脚本。" sleep 10 db_password=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20) MINIO_ACCESS_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20) diff --git a/install/ubuntu-1604.sh b/install/ubuntu-1604.sh index a540e1c37..dd8049ca1 100644 --- a/install/ubuntu-1604.sh +++ b/install/ubuntu-1604.sh @@ -1,6 +1,12 @@ #!/bin/bash name=xenial echo "Running Hydro Installer for ubuntu 16.04" +echo "此脚本已不再维护,推荐使用新版安装工具:" +echo "wget https://s3.undefined.moe/public/install -O install && chmod +x install && ./install" +echo "详情请参阅文档 -> https://hydro.js.org" +echo "使用 Ctrl-C 退出该脚本,或是等待十秒后继续。" +echo "Will continue installation in 10 secs, press Ctrl-C to exit" +sleep 10 MINIO_ACCESS_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20) MINIO_SECRET_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20) diff --git a/install/ubuntu-1804.sh b/install/ubuntu-1804.sh index 9e8803e5d..a24f9cdde 100644 --- a/install/ubuntu-1804.sh +++ b/install/ubuntu-1804.sh @@ -1,6 +1,12 @@ #!/bin/bash name=bionic echo "Running Hydro Installer for ubuntu 18.04" +echo "此脚本已不再维护,推荐使用新版安装工具:" +echo "wget https://s3.undefined.moe/public/install -O install && chmod +x install && ./install" +echo "详情请参阅文档 -> https://hydro.js.org" +echo "使用 Ctrl-C 退出该脚本,或是等待十秒后继续。" +echo "Will continue installation in 10 secs, press Ctrl-C to exit" +sleep 10 MINIO_ACCESS_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20) MINIO_SECRET_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20) diff --git a/install/ubuntu-2004.sh b/install/ubuntu-2004.sh index 272309be2..8c574181d 100644 --- a/install/ubuntu-2004.sh +++ b/install/ubuntu-2004.sh @@ -1,6 +1,12 @@ #!/bin/bash name=focal echo "Running Hydro Installer for ubuntu 20.04" +echo "此脚本已不再维护,推荐使用新版安装工具:" +echo "wget https://s3.undefined.moe/public/install -O install && chmod +x install && ./install" +echo "详情请参阅文档 -> https://hydro.js.org" +echo "使用 Ctrl-C 退出该脚本,或是等待十秒后继续。" +echo "Will continue installation in 10 secs, press Ctrl-C to exit" +sleep 10 MINIO_ACCESS_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20) MINIO_SECRET_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20)