伟大的开源操作系统
这个世界上总有那么几个人做出了软件的不平凡。软件始终是一个新旧迭代很快的技术,很多优秀的产品或者是技术也会慢慢被时代所磨灭,消失在记忆里……
软件不同于艺术品或者是建筑物,软件的生命周期注定了他的保留时间。
Linux这一伟大的软件产品却闪烁着伟大的光芒,由于他的开源、社区支持、包容让它走到现在。感谢Linus Benedict Torvalds,Linux将来也会越来越好。
Ubuntu 查看内存信息
2023年02月25日
最近服务器新增加两根 8G 内存,登录 Ubuntu 系统之后,需要查看内存是否增加成功。Ubuntu操作系统下,可使用 dmidecode 的相关命令来查看机器的内存信息,以免拆机查看。dmidecode是一款Linux命令行工具,它可以读取系统的DMI(Desktop Management Interface)信息,并将其以可读的方式输出。DMI是一种可管理系统硬件信息的标准接口,由系统BIO...
Ubuntu 如何查看端口 IP 连接
2023年02月20日
你可以使用 netstat 命令查看哪些 IP 连接了你的 Ubuntu 系统的端口。打开终端(Terminal)应用程序。输入以下命令查看所有当前连接的 IP 和端口:sudo netstat -tunap解释一下这个命令:sudo 命令用于提升用户权限,因为 netstat 命令需要 root 权限才能运行。-t 参数用于显示所有 TCP 连接。-u 参数用于显示所有 UDP 连接。-n 参数...
/bin/sh: 3: cmake: not found
2023年02月16日
在编译 Nginx http/3 模块的时候出现了如下错误:/bin/sh: 3: cmake: not foundmake[1]: *** [objs/Makefile:1603: ../quiche/deps/boringssl/.openssl/include/openssl/ssl.h] Error 127make[1]: Leaving directory '/root/nginx-1....
./configure: error: the HTTP image filter module requires the GD library.
2023年02月16日
今天在编译 Nginx http/3 模块的时候出现了如下错误:./configure: error: the HTTP image filter module requires the GD library.You can either do not enable the module or install the libraries.出现错误的原因:缺少 GD 依赖包。解决方案:安装 GD 依...
error: the HTTP gzip module requires the zlib library
2023年02月16日
今天在 Ubuntu 20.04 服务器编译安装 Nginx 的时候出现了如下错误:./configure: error: the HTTP gzip module requires the zlib library.You can either disable the module by using --without-http_gzip_moduleoption, or install the...
./configure: error: the HTTP rewrite module requires the PCRE library.
2023年02月16日
按照这篇文章:Experiment with HTTP/3 using NGINX and quiche 构建 http/3 的时候出现了如下错误:./configure: error: the HTTP rewrite module requires the PCRE library.You can either disable the module by using --without-htt...
Ubuntu C compiler cc is not found
2023年02月16日
今天在 Ubuntu 20.04 服务器安装 Nginx http/3 支持的时候,出现了错误,具体错误内容:./configure: error: C compiler cc is not found出现问题的原因:当您的服务器上没有安装 C/GCC 编译器时,通常会发生这种情况。您所要做的就是安装gcc以解决此问题。解决方案:运行如下命令:sudo apt-get install build-...
Ubuntu 20.04 上设置静态 IP 地址
2022年12月30日
前言Ubuntu 20.04 上设置静态 IP 地址,记录一下配置的步骤。环境说明Ubuntu Server 20.04$ cat /etc/issue Ubuntu 20.04.2 LTS \n \l 配置Ubuntu 20.04 配置网络,默认使用 netplan 方式进行设置。netplan 方式的配置为 yaml 格式$ sudo vi /etc/netplan/00-installe...