Linux/Ubuntu/CentOS/Shell
Linux/Ubuntu/CentOS/Shell
柳鲲鹏
建立了编程学(编程基本功、平台化编程)、六石管理学等几个流派。
每涉及一个领域,都是顶级砖家。在这些领域中,如果遇到问题,最后肯定是搜索到本博客。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LINUX:检查当前进程内存占用的C代码
LINUX:检查当前进程内存占用的C代码原创 2026-01-07 11:04:53 · 402 阅读 · 0 评论 -
通过LINUX服务启动运行脚本,经常被杀掉再重新启动,怎么办
通过LINUX服务启动运行脚本,经常被杀掉再重新启动,怎么办原创 2025-12-10 15:18:16 · 162 阅读 · 0 评论 -
LINUX:察看进程的组ID
LINUX:察看进程的组ID原创 2025-12-10 13:30:42 · 103 阅读 · 0 评论 -
LINUX用watch查看一个进程运行情况
LINUX用watch查看一个进程运行情况原创 2025-12-09 17:08:00 · 97 阅读 · 0 评论 -
LINUX SHELL脚本:获取当前脚本文件名、进程号
LINUX SHELL脚本:获取当前脚本文件名、进程号原创 2025-12-08 09:12:55 · 101 阅读 · 0 评论 -
LINUX分区大小数字,要符合什么要求
LINUX分区大小数字,要符合什么规律原创 2025-11-12 15:23:25 · 163 阅读 · 0 评论 -
LINUX:空间已满,没有剩余空间/No space left on device,查看目录占用情况
LINUX:空间已满,没有剩余空间/No space left on device,查看目录占用情况原创 2025-11-04 08:56:09 · 191 阅读 · 0 评论 -
真正有效解决办法:LINUX/ubuntu下,应用程序崩溃未产生coredump
LINUX/ubuntu下,应用程序崩溃未产生coredump,怎么办原创 2025-10-23 15:09:41 · 242 阅读 · 0 评论 -
CMake/CMakeLists.txt中集成pkgconfig查找.pc文件
CMake/CMakeLists.txt中集成pkgconfig查找.pc文件原创 2025-09-22 13:18:38 · 246 阅读 · 0 评论 -
Package libpcre was not found in the pkg-config search path.
Package libpcre was not found in the pkg-config search path.原创 2025-09-19 10:10:11 · 128 阅读 · 0 评论 -
LINUX SHELL:查找文件,全部删除或列出详细信息
LINUX SHELL:查找文件,全部删除或列出详细信息原创 2025-09-08 15:25:56 · 135 阅读 · 0 评论 -
autoheader: command not found
autoheader: command not found原创 2025-09-05 09:28:47 · 158 阅读 · 0 评论 -
libtool: Command not found
libtool: Command not found原创 2025-09-03 09:50:42 · 145 阅读 · 0 评论 -
Run-time dependency libcgroup found: NO (tried pkgconfig and cmake)
Run-time dependency libcgroup found: NO (tried pkgconfig and cmake)原创 2025-08-28 17:36:56 · 162 阅读 · 0 评论 -
ubuntu python3安装meson出错:error: externally-managed-environment
ubuntu python3安装meson出错:error: externally-managed-environment原创 2025-08-28 14:58:20 · 117 阅读 · 0 评论 -
UBUNTU安装使用meson编译
UBUNTU安装使用meson编译原创 2025-08-28 14:41:37 · 180 阅读 · 0 评论 -
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:5432
再次运行docker,正常。原创 2025-02-14 13:47:02 · 1199 阅读 · 1 评论 -
LINUX查看OpenGL信息
安装工具sudo apt install -y mesa-utils查看1$ glxinfo | grep "OpenGL version"OpenGL version string: 3.1 Mesa 20.0.8查看2$ glxinfo | grep "version"server glx version string: 1.4client glx version string: 1.4GLX version: 1.4 Max core profile version原创 2022-01-27 16:31:26 · 7601 阅读 · 0 评论 -
debian修改默认IP
所谓默认IP,就是我不设置静态IP,又希望联网后能使用这个IP。原创 2024-09-04 16:37:13 · 208 阅读 · 0 评论 -
SHELL函数返回值,不要使用echo,要使用return
使用echo,整个函数执行的所有echo,都会返回。所以要使用return返回。原创 2025-01-27 10:17:59 · 277 阅读 · 0 评论 -
LINUX复制目录时,保持链接属性并自动修改指向
今天看了一下,复制时链接都变成文件了。这显然不是我想要的。原创 2024-01-29 16:41:11 · 472 阅读 · 0 评论 -
给编译好的so修改rpath为当前路径
这几天调整安装,发现有些文件安装到/lib下。就想复制到安装目录,这样影响更少。然后发现rpaht有问题。修改为当前路径最好。在编译的时候,大多使用$ORIGIN。因为$有特殊含义,所以这里进行了转义。可以看到由编译的绝对路径,变成了相对路径。.或者$ORIGIN。原创 2024-01-23 11:36:12 · 1249 阅读 · 0 评论 -
Ubuntu下载最新的meson并编译(其实不需要)
【代码】Ubuntu编译meson(其实不需要)原创 2024-11-17 09:01:48 · 915 阅读 · 0 评论 -
CentOS更改时区
【代码】CentOS更改时区。原创 2023-04-18 16:48:14 · 122 阅读 · 1 评论 -
Java|IDEA 中添加编译参数 --add-exports
找到出错位置,ALT+回车,弹出窗口后选中即可自动完成方法1。原创 2023-12-19 09:31:47 · 1844 阅读 · 0 评论 -
LINUX编译mate-control-center/1.24.0
编译办法参考其他mate编译系列。测试原创 2022-01-25 11:30:48 · 396 阅读 · 0 评论 -
Ubuntu上cJSON下载编译
【代码】Ubuntu上cJSON下载编译。原创 2023-12-18 16:32:20 · 1010 阅读 · 0 评论 -
These critical programs are missing or too old: gawk bison
编译glibc的时候产生的。原创 2022-12-17 07:52:15 · 9455 阅读 · 2 评论 -
LINUX编译icewm
【代码】LINUX编译icewm。原创 2024-12-29 17:01:14 · 164 阅读 · 0 评论 -
在ubuntu上rmp打包:由二进制(安装后的目录)构建rpm包
显然,你现在已经有了所有安装资源。把安装后的目录内容,复制到BUILDROOT下。SPECS目录下创建ts-office.spec。原创 2023-12-13 17:16:29 · 997 阅读 · 0 评论 -
configure: error: gperf is needed
具体错误:configure: error: gperf is needed解决办法:sudo apt install gperf原创 2022-04-17 20:09:41 · 1292 阅读 · 0 评论 -
VirtualBox CentOS虚拟机中报错Kernel headers not found for target kernel
【代码】VirtualBox CentOS虚拟机中报错Kernel headers not found for target kernel。原创 2023-04-15 09:02:39 · 801 阅读 · 0 评论 -
高通平台复制编译结果的脚本copy_image.sh
当前目录应该类似:QCS8550_Linux_r079_Unpacking_Tool_0726。这个脚本能够自动判断文件大小和日期,避免重复复制。首先要已经编译过了,这些文件自然存在。原创 2024-12-05 09:19:36 · 222 阅读 · 0 评论 -
LINUX查看显卡信息
有哪些显卡$ lspci | grep -i vga00:02.0 VGA compatible controller: VMware SVGA II Adapter显卡信息$ lspci -v -s 00:02.000:02.0 VGA compatible controller: VMware SVGA II Adapter (prog-if 00 [VGA controller]) Subsystem: VMware SVGA II Adapter Flags: bus mast原创 2022-01-27 15:20:18 · 3162 阅读 · 2 评论 -
全网首发:嵌入式交叉编译libssh,正确编译脚本
注意ssh需要指定的版本。比如我编译libssh-0.11.1,需要的版本是openssl-1.1.1。原创 2025-01-12 15:33:42 · 633 阅读 · 0 评论 -
(standard input): No keywords in input file
GEN extras/keymap/keys-from-name.h(standard input): No keywords in input file!make: *** [Makefile:3685:extras/keymap/keys-from-name.h] 错误 1原创 2022-04-24 08:32:34 · 1205 阅读 · 4 评论 -
嵌入式交叉编译:Unable to find arm_neon.h
【代码】嵌入式交叉编译:Unable to find arm_neon.h。原创 2024-05-06 21:22:20 · 979 阅读 · 0 评论 -
linux获得秒、毫秒、微秒、纳秒
【代码】linux获得秒、毫秒、微秒、纳秒。原创 2025-02-10 14:55:01 · 492 阅读 · 0 评论 -
configure: error: Python headers not found. You probably want to set both the PYTHON_CFLAGS and PYTH
【代码】configure: error: Python headers not found. You probably want to set both the PYTHON_CFLAGS and PYTH。原创 2025-01-01 18:43:37 · 144 阅读 · 0 评论 -
嵌入式交叉编译:zlog
【代码】嵌入式交叉编译:zlog。原创 2024-12-11 11:33:10 · 333 阅读 · 0 评论
分享