摘要: 平时经常去做替换,为节约时间随时Copy: yum install python3 -y mv /usr/bin/python /usr/bin/python.bak.$(date +%F).$(date +%R) ln -s /usr/bin/python3 /usr/bin/python sed 阅读全文
posted @ 2022-06-28 10:39 Linetwork 阅读(395) 评论(0) 推荐(0)
摘要: 1. 部署环境 CentOS 7.9 并关闭了Selinux [root@st1 ~]# getenforce Disabled [root@st1 ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 2. 安装creat 阅读全文
posted @ 2022-03-23 01:07 Linetwork 阅读(1122) 评论(0) 推荐(0)
摘要: 直接走案例 1. 搜索Linux目录下文件名含关键字的文件 [root@linetwork test]# ls 3filename filename1 filename2 [root@linetwork test]# find -name "file*" ./filename1 ./filename 阅读全文
posted @ 2020-06-19 18:12 Linetwork 阅读(7199) 评论(0) 推荐(0)
摘要: 1. 准备编译环境 yum groupinstall "Development Tools" 2. 下载内核文件 选择目标内核版本并下载: https://mirrors.edge.kernel.org/pub/linux/kernel/ (进入kernels常用存放目录) [root@linetw 阅读全文
posted @ 2020-06-17 16:16 Linetwork 阅读(3914) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-06-12 15:39 Linetwork 阅读(514) 评论(0) 推荐(0)
摘要: 1. 实验背景 如下是网络拓扑图: 我们使用GRETAP Tunnel 互联 A&B; GRE 是encapsulate为 IP packets; GRETAP encapsulate为 Ethernet frames,请留意 Linux GRETAP可与Cisco EoGRE建立互联。 2. 使用 阅读全文
posted @ 2020-04-04 20:25 Linetwork 阅读(4249) 评论(0) 推荐(1)
摘要: 1. 背景 一台云服务器 CentOS 7.X x64 最快速的安装,承载展示类应用 2. 安装过程 # 更新epel-release 依赖库 yum install epel-release -y # 强制YUM安装Nginx、Mariadb、PHP组件 yum -y install nginx* 阅读全文
posted @ 2020-04-04 13:46 Linetwork 阅读(194) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-04-04 12:25 Linetwork 阅读(846) 评论(0) 推荐(0)
摘要: 1. 背景与需求 数据中心A、Z两台Application Switch间,需全透传4096个VLAN; 当前数据中心A、Z两台Access Switch间,专线供应商网络可用率低,所以准备了2个不同供应商的单VLAN专线; 当前Access Switch A&Z为: H3C S5560S-28P- 阅读全文
posted @ 2020-04-03 21:12 Linetwork 阅读(1409) 评论(0) 推荐(0)