报错信息checking whether JNI programs can be compiled... configure: error: Cannot compile a simple JNI program. See config.log for details.Make sure you have Java Development Kit ……Continue reading » Jason 2 years ago (2023-06-28) 299Views 0Comments0个赞
[This tutorial is still working in progress]Start the VM on hardware eventIn my case, I don't use the SD card in daily workflow and it's nice to be used as a "switch". You can ……Continue reading » Jason 2 years ago (2023-05-15) 295Views 0Comments0个赞
问题描述开机后卡在如下界面:原因是装了gnome所以默认启动到了X....如果你是headless服务器的话就会影响使用了。解决办法首先新开一个登录界面:键盘按住Ctrl+Alt+F2,在登录页面登入root账号如果可以接受每次开机后这样使用的话就这样吧,或者也可以手动卸载gnome:apt autoremove gnome-core g……Continue reading » Jason 2 years ago (2023-05-13) 308Views 0Comments0个赞
记录一下,首先去这里安装megacli,注意一下要apt安装libncurses5和unzip:megacli -PDList -aAll | egrep "Enclosure Device ID:|Slot Number:|Inquiry Data:|Error Count:|state"#查看磁盘信息megacli -CfgForeign -Cle……Continue reading » Jason 3 years ago (2022-08-15) 522Views 1Comments0个赞
直接上代码,首先添加防火墙规则,vmid是1001到1191的VM,这里禁用mail功能for i in {1..191};do echo '[OPTIONS]enable: 1policy_in: ACCEPT[RULES]OUT Mail(REJECT) -log nolog' > /e……Continue reading » Jason 3 years ago (2022-08-01) 333Views 0Comments1个赞
CRProxy简介一个基于caddy的多节点CDN管理面板,大致功能如下:1. 安装和配置反代集群2. 同步配置到加速节点3. 同步DNS记录,支持分运营商线路解析到不同节点准备工作CRProxy运行环境任意主流Linux系统,CRProxy配置集群期间能联网,在完成集群配置后可以关机。可以是源站服务器,也可以是加速服务器。源站服务器网站所……Continue reading » Jason 3 years ago (2022-05-19) 399Views 0Comments1个赞
前言懒人直接看下面的跟着做就行了,想要自己编译的可以看这个配置caddy服务端wget https://www.liujason.com/wp-content/uploads/caddy_v2.5.1_cf_dnspod -O /usr/bin/caddychmod +x /usr/bin/caddymkdir /etc/caddy/e……Continue reading » Jason 3 years ago (2022-05-17) 375Views 0Comments0个赞
前言最近在折腾Caddy,发现挺多有趣的非标准模块,例如这个github.com/caddy-dns/cloudflare就非常必要,通过CF的dns来验证域名办法SSL证书。还有些WAF模块也不错。教程准备工作首先大多数人都是linux下跑caddy的吧,所以准备一台Linux的机器,我这里用的debian11。编译需要用到go环境,部分包要求1……Continue reading » Jason 3 years ago (2022-05-17) 381Views 0Comments0个赞
前言这段时间把旧游戏本改装了一下,然后跑上了PVE,GTX980M的显卡直通给ubuntu虚拟机做桌面办公机用。具体折腾经过如果有空的话后面再详聊。完成后顺便测试一下性能,看看时隔六年这个显卡如何。安装没啥好说的,用的是glmark2,debian和ubuntu直接apt安装即可。其他发行版可以找找对应的包,红帽系应该用yum就行了。sudo ……Continue reading » Jason 3 years ago (2022-05-08) 462Views 2Comments0个赞
在进行一些PVE节点设置,比如说更改节点host的时候,就需要重启PVE的相关服务,这里记录一下以备后用killall -9 corosyncsystemctl restart pve-clustersystemctl restart pvedaemonsystemctl restart pveproxysystemctl restar……Continue reading » Jason 3 years ago (2022-05-06) 348Views 0Comments0个赞