手機(jī)搭建的alist如何分享給朋友訪問?白嫖replit服務(wù)器&內(nèi)網(wǎng)穿透!

- 注冊 https://replit.com/?
- 安裝搭建alist:
https://github.com/alist-org/alist-replit?alist
3.數(shù)據(jù)庫:
https://freedb.tech/ 會休眠
https://db4free.net/ 推薦
4.監(jiān)控:
https://monitor.dnspod.cn/
https://nodepanels.com/server (不重要)
https://gitee.com/HServer/hp
http://ksweb.club:9090/
三、IPV6 ddns-go
https://www.coolapk.com/feed/40477991?shareKey=MmU4ZDM2ZTk5MWMyNjM4MjM1YWY
也可以在shell使用以下命令來安裝alist:
#創(chuàng)建bash項目后修改main.sh為該腳本
#刪除alist即重新運(yùn)行即可更新alist版本
#添加aria2c功能需要在控制臺中輸入aria2c回車再輸入y回車
if [ ! -f "alist" ];then
?curl -L https://github.com/alist-org/alist/releases/latest/download/alist-linux-musl-amd64.tar.gz -o alist.tar.gz
??tar -zxvf alist.tar.gz
???rm -f alist.tar.gz
????mv alist-linux-musl-amd64 alist
????fi
????aria2c --enable-rpc --rpc-allow-origin-all&./alist server --no-prefix
數(shù)據(jù)庫代碼:
{
?"DB_TYPE":"mysql",
?"DB_HOST":"sql.com",
?"DB_PORT":"3306",
?"DB_USER":"MySQL 用戶名",
?"DB_PASS":"MySQL 密碼",
?"DB_NAME":"MySQL 數(shù)據(jù)庫名稱",
?"DB_TABLE_PREFIX":"alist_",
?"DB_SLL_MODE":"true"
}
更新方法:
replit搭建alist的更新方法:
1.備份:
先進(jìn)入alist后臺備份數(shù)據(jù)
下載/data里面的 config.json 和 data.db
2.更新:
刪除第一行代碼的 # 重新運(yùn)行代碼
如果數(shù)據(jù)丟失,上傳備份恢復(fù)。
termux搭建alist的更新方法:
1.換源:termux-change-repo
2.更新:pkg upgrade alist
參考:
https://www.coolapk.com/feed/41241095?shareKey=NGQzNzJkYjBiNGEwNjM4MjM1ZGM
https://www.coolapk.com/feed/40028189?shareKey=MTBmYmI2YzM1YTNkNjM4MjM2OTk