mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
install: 默认使用清华源安装mongodb
This commit is contained in:
1 parent
728b49c553
commit
af70df2a5d
6 files changed
+10
-10
No files matched your search
@@ -10,7 +10,7 @@ apt-get -qq update
|
||||
echo "apt-get install curl wget gnupg -y"
|
||||
apt-get install -y curl wget gnupg >/dev/null
|
||||
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add -
|
||||
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu $name/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list
|
||||
echo "deb [ arch=amd64 ] https://mirrors.tuna.tsinghua.edu.cn/mongodb/apt/ubuntu $name/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list
|
||||
echo "apt-get update"
|
||||
apt-get -qq update
|
||||
mkdir -p /data/db /data/file
|
||||
|
||||
@@ -10,7 +10,7 @@ apt-get -qq update
|
||||
echo "apt-get install curl wget gnupg -y"
|
||||
apt-get install -y curl wget gnupg >/dev/null
|
||||
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add -
|
||||
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu $name/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list
|
||||
echo "deb [ arch=amd64 ] https://mirrors.tuna.tsinghua.edu.cn/mongodb/apt/ubuntu $name/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list
|
||||
echo "apt-get update"
|
||||
apt-get -qq update
|
||||
mkdir -p /data/db /data/file
|
||||
|
||||
@@ -10,7 +10,7 @@ apt-get -qq update
|
||||
echo "apt-get install curl wget gnupg -y"
|
||||
apt-get install -y curl wget gnupg >/dev/null
|
||||
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add -
|
||||
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu $name/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list
|
||||
echo "deb [ arch=amd64 ] https://mirrors.tuna.tsinghua.edu.cn/mongodb/apt/ubuntu $name/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list
|
||||
echo "apt-get update"
|
||||
apt-get -qq update
|
||||
mkdir -p /data/db /data/file
|
||||
|
||||
+5
-5
@@ -21,14 +21,14 @@
|
||||
"@shelf/jest-mongodb": "^1.2.3",
|
||||
"@types/cross-spawn": "^6.0.2",
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/node": "^14.14.27",
|
||||
"@types/node": "^14.14.28",
|
||||
"@types/semver": "^7.3.4",
|
||||
"@typescript-eslint/eslint-plugin": "^4.14.2",
|
||||
"@typescript-eslint/parser": "^4.14.2",
|
||||
"@typescript-eslint/eslint-plugin": "^4.15.1",
|
||||
"@typescript-eslint/parser": "^4.15.1",
|
||||
"cross-spawn": "^7.0.3",
|
||||
"eslint": "^7.19.0",
|
||||
"eslint": "^7.20.0",
|
||||
"eslint-config-airbnb-typescript": "^12.0.0",
|
||||
"eslint-import-resolver-typescript": "^2.3.0",
|
||||
"eslint-import-resolver-typescript": "^2.4.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"globby": "^11.0.2",
|
||||
"jest": "^26.6.3",
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"lodash": "^4.17.20",
|
||||
"p-queue": "^6.6.1",
|
||||
"shell-quote": "^1.7.2",
|
||||
"systeminformation": "^5.3.0",
|
||||
"systeminformation": "^5.3.3",
|
||||
"yargs": "^16.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"serialize-javascript": "^5.0.1",
|
||||
"sockjs": "^0.3.20",
|
||||
"superagent": "^6.1.0",
|
||||
"systeminformation": "^5.3.0",
|
||||
"systeminformation": "^5.3.3",
|
||||
"terminal-kit": "^1.47.0",
|
||||
"yargs": "^16.2.0"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user