随笔分类 - OS
摘要:OS-Ubuntu-显卡驱动异常导致花屏-nomodeset Ubuntu系统,显卡驱动异常,导致启动后花屏或无法正常显示输出。 解决方法:设置nomodeset 系统启动项页面(grub菜单页面),按e键编辑,在splash后面增加nomodeset参数 /etc/modprobe.d/black
阅读全文
摘要:OS-Ubuntu-grub-启动项菜单更新 Ubuntu18.04.5 系统启动时,启动项菜单有多个ubuntu系统,其中部分系统的磁盘已经格式化,系统不可用,但仍然在启动菜单中。 /etc/default/grub:grub配置项 sudo update-grub:更新grub启动项菜单,自动识
阅读全文
摘要:OS-Ubuntu-gcc-源码安装gcc7.5.0 GNU Mirror List FTP server of the the GNU project--gcc Gcc-依赖 下载GCC源代码 wget https://ftp.gnu.org/gnu/gcc/gcc-X.Y.Z/gcc-X.Y.Z
阅读全文
摘要:OS-Ubuntu-从源查询拉取安装包依赖-apt-cache&apt download 引用: Ubuntu apt-get apt-cache 命令使用 apt-get下载包及所有依赖 指令 apt-cache depends --no-* --no-pre-depends --no-sugge
阅读全文
摘要:OS-Ubuntu-系统版本信息查询及含义与源配置 引用 https://blog.csdn.net/ix_fly/article/details/138271843 指令 lsb_release -a Demo: lsb_release -a Distributor ID: Ubuntu Desc
阅读全文
摘要:OS-Windows11-系统盘安装-DVD[4.7GB] 背景 安装Windows11操作系统。 Download Windows 11 (microsoft.com) 安装方法 MediaCreationTool_Win11_23H2.exe 使用系统U盘或下载ISO镜像 直接下载ISO镜像,然
阅读全文
摘要:Linux-基本硬件情况 了解自己的Linux基本硬件情况 - 二进制咬不到猫的文章 - 知乎 CPU 查看CPU详细信息: $cat /proc/cpuinfo CPU ①物理CPU数(physical id):主板上实际插入的cpu数量,可以数不重复的 physical id 有几个 ②CPU核
阅读全文
摘要:OS-Linux-程序安装与依赖 从源下载安装包 sudo apt download mysql 查看安装依赖:apt-cache apt-cache depends xxx 查看已安装程序依赖,如nginx sudo apt-get install --reinstall -d'apt-cache
阅读全文
摘要:OS-Linux-zip&unzip zip -rP passwork filename.zip filename 加密 unzip -O GBK XXX.zip 或GBK18030 中文乱码
阅读全文
摘要:OS-Kylin-银河麒麟操作系统 查询系统版本信息指令 cat /etc/.kyinfo
阅读全文
摘要:# OS-Ubuntu 主机掉电后再开机不进系统 原因:var/log下有log文件占满磁盘。 ## Steps 1. 界面显示:`booting insecure code` 2. 按一次`Esc` 3. 使用Grub的菜单,进Rrecovery Mode,使用root,进入系统删除var/log
阅读全文
摘要:# OS-双系统-Windows+Ubuntu 在已有的Windows10上安装Ubuntu。 ## Ubuntu Image >https://ubuntu.com/download Ubuntu 22.04.2 LTS ubuntu-22.04.2-desktop-amd64.iso ## Ub
阅读全文
摘要:OS-Linux-端口占用 当Linux应用程序提示端口被占用,解决方案是先查询端口占用进程的pid,然后kill pid。 netstat -tlnap |grep port lsof -i:port查看端口占用的进程 kill-9 pid kill占用端口的进程
阅读全文
摘要:OS-Ubuntu-thunderbird包版本过低不兼容 在安装搜狗输入法时,遇到过thunderbird包版本过低不兼容的问题, 问题的格式如下: thunderbird-local-zh-hans: depends: thunderbird(<1:31 build 12.04.... but
阅读全文
摘要:OS-Ubuntu-安装搜狗拼音输入法 搜狗输入法Linux版本:sogoupinyin_4.2.1.145_amd64.deb 下载地址:https://shurufa.sogou.com/linux 安装指南:https://shurufa.sogou.com/linux/guide sogou
阅读全文
摘要:OS-Linux-环境变量-LD_LIBRARY_PATH Linux中PATH、 LIBRARY_PATH、 LD_LIBRARY_PATH的区别 运行时动态库的搜索路径的先后顺序是: 编译目标代码时指定的动态库搜索路径; 环境变量LD_LIBRARY_PATH指定的动态库搜索路径; 配置文件/e
阅读全文
摘要:OS-Linux-Ubuntu22.04x64-Python-C++调用Python缺少Python.h 使用 C 或 C++ 扩展 Python 扩展和嵌入 Python 解释器 Python 3.10.11 Python/C API 参考手册 Python 3.11.3 Python/C API
阅读全文
摘要:OS-Linux-Ubuntu-apt-get https://help.ubuntu.com/community/AptGet/Howto Package management via apt-get runs hand-in-hand with the /etc/apt/sources.list
阅读全文
摘要:VMware Workstation-Ubuntu虚拟机-异常关闭后网卡无法工作 参考https://blog.csdn.net/lhx526080338/article/details/129360808 虚拟机镜像ubuntu-22.04.2-desktop-amd64.iso 虚拟机启动之后,
阅读全文
摘要:OS-Linux-Tool-可视化比较与合并工具Meld 在Linux系统上有时会需要进行文件比较与合并,Meld能提供相关功能。 http://meldmerge.org/ http://meldmerge.org/help/ Meld Visual diff and merge tool Mel
阅读全文