mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
fix some bugs, bump ver(2.15.0), update install
This commit is contained in:
1 parent
4d031eb9ab
commit
bd8ff05387
29 files changed
+226
-162
No files matched your search
@@ -2,6 +2,8 @@
|
||||
|
||||
echo "Running Hydro Installer for centos 7"
|
||||
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)
|
||||
MINIO_SECRET_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20)
|
||||
|
||||
# Basic
|
||||
mkdir -p /etc/yum.repos.d
|
||||
@@ -52,6 +54,13 @@ pm2 start "mongod --auth"
|
||||
echo 'Installing g++'
|
||||
apt-get install -y g++ >/dev/null
|
||||
|
||||
# Install MinIO
|
||||
echo 'Installing MinIO'
|
||||
wget https://dl.min.io/server/minio/release/linux-amd64/minio
|
||||
chmod +x minio
|
||||
mkdir -p /data/file
|
||||
pm2 start "./minio server /data/file" --name minio
|
||||
|
||||
# Install HydroOJ
|
||||
# TODO: install basic addons?
|
||||
echo "Installing Hydro"
|
||||
|
||||
Reference in new issue
Block a user