-
How I Upgraded MongoDB 6 Directly to 8
Long story short, I had a server running Ubuntu 20.04 and unsurprisingly it’s been there for more than 4 years. For no reason I decided to give it an upgrade, actually 2 upgrades, ie. 20.04 –> 22.04 –> 24.04. And I totally regretted. The Ubuntu Linux system upgrade went well and I completely ignored the…
-
Ubuntu Server 20.04 on ThinkPad W520
10 years ago, I would dream for a ThinkPad W520 laptop: imagine 4 cores, 8 threads, 32GB memory and 160GB SSD in 2012! I saw one of these old battleship-class laptops Gumtree the other day so I bought it without much hesitation – It’s still very good as a mini server even in 2022. In…
-
Ubuntu Server 11.04 + TP-LINK WN821N
用Ubuntu Desktop版, 连接wifi非常容易, 甚至比Windows还容易: 因为你基本不用去找wifi无线网卡的驱动了. 但如果是只有CLI命令行的Server版呢? 当然有人会反问, 谁会用无线方式连接一台服务器呢? 我有一套旧的Atom330, 闲着也是闲着, 就拿它做个测试服务器玩玩. 但是我又不能容忍它在身边的嗡嗡声(风扇不够高级呵呵). 于是我把它放到阳台上, 只连上电源线, 网络就靠wifi了. 首先要看看Ubuntu Server是否支持WN821N这个USB-wifi适配器. 接好后, 运行: $ifconfig -a 如果结果里有’wlan0’的一段, 说明系统已支持. 我安装的Ubuntu Server 11.04版无需修改已支持WN821N. 下一步是修改网络接口配置文件/etc/network/interfaces. 未经过配置的interfaces文件大致是这样吧: auto lo iface lo inet loopback 修改后的如下(修改需要sudo): auto lo iface lo inet loopback auto wlan0 iface wlan0 inet static address 192.168.1.18 gateway 192.168.1.1 netmask 255.255.255.0 network 192.168.1.0…
-
无意中的发现
我在一台比较老的AMD AM2电脑上装Ubuntu Server 9.10用作测试,结果很意外的发现缺省安装就有系统温度显示出来了。主板是Abit(已经玩完)AN-M2,应该是nForce芯片组的。 BTW,安装US的时候我选好了亚洲时区,但是之后时区又变成美洲的了。Bug?好在容易改: $ sudo dpkg-reconfigure tzdata 🙂