会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小黑狐狸1001
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
13
下一页
2022年11月13日
sed 、awk、grep实操
摘要: |grep -E 'match1|match2' grep查找多个关键字 |awk -F': ' '{print $2}'` |awk {'print $3'}` 从输出以冒号为分隔符打印第二列 从输出(以空格或制表符?)打印第三列 sed -n '/^[1-99]\:/p' for i in {1
阅读全文
posted @ 2022-11-13 21:01 小黑狐狸1001
阅读(62)
评论(0)
推荐(0)
2022年11月12日
锐捷交换机设置
摘要: ###1、硬件连接: 把Console线一端连接在计算机的串行口上,另一端连接在网络设备的Console口上。 ###2、软件安装: 在计算机上需要安装一个终端仿真软件来登录网络设备,如xshell、secureCRT等。 连接的接口应点选一下下拉按钮,选择如“COM1”、“COM3”,端口的速率应
阅读全文
posted @ 2022-11-12 11:02 小黑狐狸1001
阅读(1957)
评论(0)
推荐(0)
2022年11月9日
frp 使用心得 亲测
摘要: ##涉及一共三种设备: 中转服务器 运行frps 受控服务器 运行frpc 操作终端 运行ssh ##原理及步骤 ####1. 中转服务器 运行frps 开启运行frps服务后,开放frps监听端口(7000),接收frps的连接 ####2. 受控服务器 运行frpc 开启运行frpc服务后,连接
阅读全文
posted @ 2022-11-09 20:58 小黑狐狸1001
阅读(220)
评论(0)
推荐(0)
2022年11月2日
bat 使用特定编码
摘要: .bat解决指定utf-8编码问题 在bat开头加上这行: CHCP 65001 echo 哈哈哈参考:https://zhuanlan.zhihu.com/p/262582210
阅读全文
posted @ 2022-11-02 22:13 小黑狐狸1001
阅读(146)
评论(0)
推荐(0)
systemd 输出到特定tty
摘要: [Unit] Description=some program Wants=network-online.target After=network.target network-online.target [Service] ExecStart=<someprogram> StandardOutpu
阅读全文
posted @ 2022-11-02 22:10 小黑狐狸1001
阅读(269)
评论(0)
推荐(0)
2022年10月21日
cenots9 网络bond
摘要: 亲测: https://www.server-world.info/en/note?os=CentOS_Stream_9&p=bonding 其他: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/ht
阅读全文
posted @ 2022-10-21 18:32 小黑狐狸1001
阅读(40)
评论(0)
推荐(0)
linux 查看网卡型号(grep -A 1 用法)
摘要: 需要grep -A 1显示多一行,否则显示一行只能看到芯片组型号 lspci -v | grep Ethernet -A 1 3b:00.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5] Subsyste
阅读全文
posted @ 2022-10-21 17:46 小黑狐狸1001
阅读(1365)
评论(0)
推荐(1)
nfs 防火墙firewalld 开放 + windows挂载nfs
摘要: yum -y install nfs-utils rpcbind #安装nfs,nfs依赖rpc工作 systemctl start rpcbind #开启rpc 再开启nfs服务 systemctl start nfs systemctl enable rpcbind #设置开机启动rpc nfs
阅读全文
posted @ 2022-10-21 12:48 小黑狐狸1001
阅读(495)
评论(0)
推荐(1)
firewalld
摘要: 打开防火墙firewalld systemctl start firewalld 列出所有开发端口、服务 firewall-cmd --list-all 永久开放某tcp端口 firewall-cmd --zone=public --add-port=445/tcp --permanent 永久开放
阅读全文
posted @ 2022-10-21 12:46 小黑狐狸1001
阅读(43)
评论(0)
推荐(0)
2022年10月17日
fstab 改动导致boot启动失败
摘要: /etc/fstab 里加入选项nofail 亲测centos9 ok
阅读全文
posted @ 2022-10-17 15:51 小黑狐狸1001
阅读(27)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
13
下一页
公告