mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 09:13:49 +08:00
feat: 安装脚本优化
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user