背景
个人主机的最后一次折腾吧。
丝滑上网前提:singbox实践https://blog.csdn.net/qq_43652666/article/details/145190110
vmware
博通官网下载vmware workstation pro 17.5.1版本,注意一个新注册的账号只能下载一个win版本的vmware和一个linux版本的vmware
检查有无开启secret boot安全启动
bash
❯ mokutil --sb-state
SecureBoot disabled
# 输出结果是disable则省略签名步骤
报错
unable to find any local disks. you must be running as root to configure a physical
使用root用户运行vmware即可配置raw device
配置应用自启路径/usr/share/applications/
snipaste
官网下载appimage包后,配置desktop文件并取消缩放参数,加入开机自启即可。
bash
# 加入桌面/启动菜单
❯ cat /usr/share/applications/snipaste.desktop
[Desktop Entry]
Name=Snipaste
Comment=A simple and powerful snipping tool
Exec=env -u QT_SCREEN_SCALE_FACTORS /opt/Snipaste-2.10.3-x86_64.AppImage
Icon=snipaste
Terminal=false
Type=Application
Categories=Utility;
开机自启在设置-》开机与关机-》自动启动中配置
zsh主题配置
bash
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
typora
https://zahui.fan/posts/64b52e0d/
Troubleshooting
vmware
当时手工创建了空的/etc/vmware/networking
导致后面执行vmware-netcfg
时报错
Network configuration format is unsupported. Ensure that /etc/vmware/networking contains valid data.
解决
bash
❯ head -n 1 /etc/vmware/networking
VERSION=1,0
# 再次执行vmware-netcfg即可以正常弹出配置vmware网络界面
❯ vmware-netcfg
[AppLoader] Use shipped Linux kernel AIO access library.
An up-to-date "libaio" or "libaio1" package from your system is preferred.
一张桥接网卡,一张nat网卡
reference
snipaste截屏闪屏
https://blog.csdn.net/qq_36640955/article/details/144920000
安装vmware整体参考
https://www.cnblogs.com/Undefined443/p/18379641
kubuntu整体参考
https://www.sqlsec.com/2024/10/ubuntu.html#写在前面
剩下的各种小问题都是search and chatgpt