# 大家好,我是乌萨奇。
这篇文章是整合[乌萨奇整活HostBrr储存盒爽玩Alist ](https://www.nodeseek.com/post-237407-1) 和 [乌萨奇整活储存盒爽玩Alist,本地Apache反代篇](https://www.nodeseek.com/post-237703-1) 的内容,让大家看得更舒服,一文搞好。
照例,[坛友的AFF](https://my.hostbrr.com/order/forms/a/OTkxMg==),在Black Friday 2024\StorageBox中,也需要一台保活鸡来screen储存盒的alist。
你的保活小鸡
~~~
apt update
apt install screen -y
screen -S hostbrralist
ssh 你的hostbrr
mkdir alist
cd alist
wget https://github.com/AlistGo/alist/releases/download/v3.41.0/alist-linux-amd64.tar.gz
tar -zxvf alist-linux-amd64.tar.gz
rm alist-linux-amd64.tar.gz
chmod +x alist
./alist server
~~~
此时此刻,很大几率会退出,因为5244可能已经被别人拿去玩了
那么我们修改
./data/config.json的文件
~~~
"http_port": 5244,中的5244改一下别的端口
~~~
那么再次运行
~~~
./alist server
~~~
记住这个上面的端口和admin密码哈,接着你在hostbrr的面板上开一个子域名
在该子域名的文件夹下
开一个.htaccess,里面写
~~~
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ http://127.0.0.1:你的alist端口/$1 [P]
</IfModule>
~~~
记得挂解析
大概率就可以了,这次不需要就frp来反代alist的端口出去了。
那么乌萨奇的整活记+1
致谢:
[Alist](https://github.com/AlistGo/alist)
坛友@AKEBI-NUKUI 坛友@zile
发表回复