2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 09:13:49 +08:00

feat: 安装脚本优化

This commit is contained in:
耗子
2023-10-06 00:22:09 +08:00
parent be7063b4fc
commit 046c28a387
16 changed files with 34 additions and 34 deletions

View File

@@ -30,7 +30,7 @@ cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)
cd ${redisPath}
# 下载源码
wget -T 120 -O ${redisPath}/redis-${redisVersion}.tar.gz ${downloadUrl}/redis-${redisVersion}.tar.gz
wget -T 120 -t 3 -O ${redisPath}/redis-${redisVersion}.tar.gz ${downloadUrl}/redis-${redisVersion}.tar.gz
tar -zxvf redis-${redisVersion}.tar.gz
rm -f redis-${redisVersion}.tar.gz
mv redis-${redisVersion}/* ./ && rm -rf redis-${redisVersion}