参考的别人教程,怕后面找不到了记录一下
https://www.kejiland.com/post/273275c7.html
安装X-ray内核
https://github.com/XTLS/Xray-install
1bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
默认配置:
12/usr/local/etc/xray/config.json/etc/systemd/system/multi-user.target.wants/xray.service → /etc/systemd/system/xray.service.
Gemini写的脚本,有问题还没改
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 ...
共享文件发生原因:
更换了一次网络,所以网络从专用网络变成了公共网络,然后我把网络改为了专用网络,结果文件共享居然默认关闭了!默认关闭了!害我找了好久原因.....
使用脚本:
https://github.com/flame1ce/hysteria2-install
脚本的一些默认配置:
123Edit server config file at /etc/hysteria/config.yamlStart your hysteria server with systemctl start hysteria-server.serviceConfigure hysteria start on system boot with systemctl enable hysteria-server.service
用到的脚本:
https://github.com/mack-a/v2ray-agent
1wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
自选域名说明:
https://www.v2ray-agent.com/archives/1689439383686#heading-3
当前域名:
itunes.apple.com
实在是想吐槽一下这个离谱Bug…..
谁TM想出来的默认时间是0s的
3ce3209aed1442e87a94c41ce4df3cdfac79b4eff3369a239f864fef794cbb8c2b0b0cb2e22d3ab0d9a9f7454b9a8a57805fd5bcb51f1c5ac17f0c308253b604dc4cff0e830ba5f7d952edc8af147c3ef2acb796a67afd6ed1196b3a453b4c2e1b3f41ef28b2397f824324ffa5642e87c85a8666a697e4e92cef9a54037292ebd316491a6268c105acb405cba60278bd530673b2155e86ff247dd4a47bfc9b2efe636f815e42346586d834226d6170bbd6e68393e355ca60139be5861c0ca62494b0a8669d040391f374363c471517eb7ead8f756f2da471b1302de5ee2c68d6fdc4d242a941da9c4d3e6a4edd601e923c6082d4bf5105f5d ...
一直没写这个Hello World,今天抽空写一下
更换的博客的原因前景:用虚拟机跑了个黑群晖,然后就开始使用家里云
之前我是在Docker上运行的Halo博客,数据库是使用的云服务器的,但在使用期间博客会经常出现问题,经常直接就挂了,重启Docker才能正常访问,但是没过多久又挂了(有可能和主题有关系),后来实在受不了了就开始考虑博客迁移的事情。
经过考虑发现hexo挺适合我的,不需要单独的数据库,文件存放在GitHub,也不需要域名就能直接访问,所以就将之前的博客迁移到hexo了,目前用着还是挺好的。