This commit is contained in:
Mr Chen 2024-10-09 22:44:21 +08:00
parent a8502e30b3
commit 67c477af14
2 changed files with 6 additions and 8 deletions

View File

@ -45,9 +45,11 @@ Install_App()
fi
mkdir -p $serverPath/alist
cd $ALIST_DIR && tar -zxvf ${FILE_TGZ} -C $serverPath/alist
echo "${VERSION}" > $serverPath/alist/version.pl
cd $serverPath/alist && ./alist admin set admin
cd ${rootPath} && python3 ${rootPath}/plugins/alist/index.py start
cd ${rootPath} && python3 ${rootPath}/plugins/alist/index.py initd_install

View File

@ -55,15 +55,11 @@ function alistPostCallbak(method, version, args,callback){
function alistReadme(){
var cmd_01 = '/www/server/redis/bin/redis-cli --cluster create 127.0.0.1:6379 127.0.0.1:6380 127.0.0.1:6381 --cluster-replicas 0';
var cmd_02 = '/www/server/redis/bin/redis-cli --cluster create 127.0.0.1:6379 127.0.0.1:6380 127.0.0.1:6381 127.0.0.1:6382 127.0.0.1:6383 127.0.0.1:6384 --cluster-replicas 1';
var readme = '<ul class="help-info-text c7">';
readme += '<li>集群创建1</li>';
readme += '<li>'+cmd_01+'</li>';
readme += '<li>集群创建2</li>';
readme += '<li>'+cmd_02+'</li>';
readme += '<li>默认admin:admin</li>';
readme += '<li>手动改密码:./alist admin set NEW_PASSWORD</li>';
readme += '</ul>';
$('.soft-man-con').html(readme);