软路由系统iStoreOS 一键安装 docker compose

本文介绍了在软路由系统iStoreOS上快速安装Docker Compose v2.32.4的方法。 文章提供了一个一键安装命令,并详细说明了如何验证安装结果。 用户可以通过替换版本号来获取最新版本。文章还鼓励用户分享经验,并提供支持渠道以帮助解决安装过程中遇到的问题。


Linux 配置虚拟内存

This bash script creates and activates a swap file on a Linux system. It defaults to a 4GB swap file (/usr/swap/swapfile), but this size can be adjusted via a command-line argument. The script uses `dd` to create the file, `mkswap` to format it, and `swapon` to activate it. While the script includes commented-out lines for setting the swap file to activate on boot via `/etc/fstab`, this feature is not enabled by default. The script also displays the size of the created swap file using `du`.


LINUX | 防火墙开放端口

使用firewall-cmd命令可以检查和管理Linux防火墙的端口。首先,使用`firewall-cmd --query-port=80/tcp --zone=public`检查端口80是否开启,返回yes表示开启,no表示未开启。要开启端口,运行`firewall-cmd --zone=public --add-port=80/tcp --permanent`命令,修改端口号即可。若防火墙未运行,需先运行`systemctl start firewalld`启动防火墙,并确认启动成功。最后,记得重启服务器使更改生效。


proj编译安装

This article details the compilation and installation of PROJ (Cartographic Projections library) version 9.4.1 on a Linux system. It outlines the steps involved: downloading the source code, extracting the archive, installing necessary dependencies (sqlite-devel, libtiff-devel, libcurl-devel using yum), configuring the installation prefix using cmake, compiling the code using make, and finally installing the compiled library using make install. The installation directory is specified as /usr/local/proj_9.


Linux升级python

Linux升级python (编译安装) 当前环境 系统:Centos 7 x86_64 python版本:Python 2.7.5 (default, Nov 16 2020, 22:23:17) gcc版本: gcc version 11.2.0 (GCC) 安装步骤 1. 下载升级文件 py


Java获取操作系统信息

该Java代码使用Maven依赖oshi-core和hutool-all库,获取操作系统信息,包括CPU型号、内存总量、可用内存、使用率、显卡信息以及网络上传/下载速度。代码通过oshi库获取硬件信息,hutool库提供IO和字符串工具类,计算CPU使用率和网络传输速度,并格式化输出结果。


更新make到最新版本4.3

本文描述了如何在 CentOS 7 x86_64 系统上将 make 更新到最新版本 4.3 的步骤。首先,下载 make-4.3.tar.gz 安装包,解压后配置,使用 ./configure --prefix=/usr 指令指定安装路径。接下来,依次执行 make, make check, make install 命令进行编译安装。最后,使用 make -v 命令验证安装结果。


Centos 一键安装MySQL脚本

一键安装脚本内容 #!/bin/bash # https://blog.csdn.net/qq_41054313 #数据库密码 mysqlPWD="lhDream@123" echo "--MySQL5.7安装--" echo "下载依赖环境" yum -y install wget wget