终极 SSH 工具方案:Windows Terminal + Trzsz-ssh 深度指南 参考文档 https://www.cnblogs.com/zkm1992/p/18843122 https://trzsz.github.io/cn/ssh 说明 Windows Terminal 是非常好用的工具,既可以操作 windows 命令行,也可以作为 ssh 工具。 而且还免费。 但问题是,Windows Terminal 不支持 rz、sz命令(xshell、SecureCRT是支持的,但是这两个软件都收费)。 所以,我们使用 trzsz-ssh ( tssh ) 作为为 ssh 客户端的直接替代品,并且支持 trz、tsz ...

系统基本信息 1$ lscpu 2Architecture: aarch64 3Byte Order: Little Endian 4CPU(s): 16 5On-line CPU(s) list: 0-3 6Off-line CPU(s) list: 4-15 7每个核的线程数:1 8每个座的核数: 4 9Socket(s): 1 10Model name: phytium FT1500a 11CPU max MHz: 1500.0000 12CPU min MHz: 1000.0000 13BogoMIPS: 3590.55 14Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32...

java8 的安装和设置 1tar -zxf jdk-8u441-linux-aarch64.tar.gz -C /data/data_d/programs 2 3echo -e '\n# java\nexport JAVA_HOME=/data/data_d/programs/jdk1.8.0_441\nexport CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar\nexport PATH=$JAVA_HOME/bin:$PATH' >> /etc/profile 安装 php-8.2.10 参考文档:...

假定有一个名为test.txt的文件(后面的示例皆以该文件为例),内容如下: 1[root@root]# cat test.txt 2apple 3bit 4exe 5create 6delect 7exe 8flow 9good Linux shell获得字符串所在行数及位置 方式一:用 grep -n 1[root@root]# cat test.txt | grep -n exe 23:exe 36:exe 4 5[root@root]# cat test.txt | grep -n exe | awk -F ":" '{print $1}' 63 76 方式二:用 sed -n /查询的字符串/=...

查看 CPU 信息 查看cpu实时使用率 1[root@localhost ~]# mpstat 2Linux 3.10.0-1160.el7.x86_64 (localhost.localdomain) 2024年12月26日 _x86_64_ (32 CPU) 3 412时34分13秒 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle 512时34分13秒 all 7.38 0.00 2.49 0.06 0.00 0.18 0.00 0.00 0.00 89.88 查看cpu在今天不同时间节点的使用率 1[root@localhost ~]#...

centos7 nas 关闭selinux 编辑 /etc/selinux/config,将SELinux属性设置为Disabled,如下所示: 1[root@localhost ~]# vi /etc/selinux/config 2 3# This file controls the state of SELinux on the system. 4# SELINUX= can take one of these three values: 5# enforcing - SELinux security policy is enforced. 6# permissive - SELinux prints warnings...

参考文档: https://blog.51cto.com/14156658/2472402 https://blog.51cto.com/andyxu/2168875 https://blog.csdn.net/wojiuwangla/article/details/112782715 关闭selinux 编辑 /etc/selinux/config,将SELinux属性设置为Disabled 运行以下命令安装vsftpd: 1[root@localhost vsftpd]# yum install -y vsftpd 运行以下命令设置FTP服务开机自启动: 1[root@localhost vsftpd]# systemctl...

wget:文件下载 lrzsz:把本地的文件上传(rz)到服务器或把服务器的文件下载(sz)到本地 zip:压缩成zip包 unzip:解压zip包 tar: 文件压缩和解压 参考文档:https://www.cnblogs.com/newcaoguo/p/5896975.html 1) tar 格式: 解压:tar -xvf test.tar 压缩:tar -cvf test.tar test 2) tar.gz 格式: 解压:tar -zxvf test.tar.gz 压缩:tar -zcvf test.tar.gz test 说明:在创建压缩文件时,创建的压缩文件会使用完整路径。如果只要压缩文件夹本身,加 -C 参数指定目标...

参考文档: https://cloud.tencent.com/developer/article/1602926 https://www.cnblogs.com/biehongli/p/13214542.html https://www.cnblogs.com/breezey/p/8849466.html GlusterFS 几种volume 模式说明: 一、 默认模式,既DHT, 也叫 分布卷: 将文件已hash算法随机分布到 一台服务器节点中存储。 gluster volume create test-volume server1:/exp1 server2:/exp2 二、 复制模式,既AFR, 创建volume...

参考文档: https://www.cnblogs.com/lfl17718347843/p/14131062.html https://www.jianshu.com/p/b860d26f2951 https://blog.51cto.com/u_13941177/2426215 https://www.cnblogs.com/xiajq/p/11395211.html https://www.cnblogs.com/canflyfish/p/11385613.html 安装nfs(如果rpcbind已经安装可不用安装) 1[root@k8s-master ~]# yum install nfs-utils rpcbind 注意:...