随笔分类 -  Linux

openEuler 22.03 安装 .NET 8.0
摘要:// 查看内核信息 1、cat /proc/version 2、查看主机信息 hostnamectl 3、openEuler 安装 rpm 源 sudo rpm -Uvh https://packages.microsoft.com/config/centos/8/packages-microsof 阅读全文

posted @ 2024-12-11 18:17 zyp_java_net 阅读(109) 评论(0) 推荐(0) 编辑

Linux下添加静态路由和动态路由
摘要:route -n显示现在所有路由 root@Ubuntu:~# route -n1添加静态路由添加一条路由(发往172.26.126这个网段的全部要经过网关172.26.126.92) route add -net 172.26.126.0 netmask 255.255.255.0 gw 172. 阅读全文

posted @ 2024-10-25 16:11 zyp_java_net 阅读(6) 评论(0) 推荐(0) 编辑

Centos7常用命令
摘要:话不多说,跟我学习Centos7常用命令! 目录和文件 # 创建目录 mkdir 名称 => mkdir /data # 创建目录及子目录 mkdir -p 名称 => mkdir -p /data/node # 创建一个或多个(用空格分开即可) touch 文件1 文件2 => touch 1.t 阅读全文

posted @ 2024-04-11 12:13 zyp_java_net 阅读(15) 评论(0) 推荐(0) 编辑

华为欧拉服务器安装docker
摘要:安装docker欧拉源库里面自带了docker: yum search docker yum list | grep docker 关闭selinux setenforce 0 开始安装 yum install docker 阅读全文

posted @ 2024-02-05 18:24 zyp_java_net 阅读(275) 评论(0) 推荐(0) 编辑

如何配置YUM源?
摘要:如何配置YUM源? cat /etc/os-release (查看配置) https://support.huaweicloud.com/csg_faq/csg_04_1209.html CSG推荐用户使用EulerOS操作系统,在配置YUM源前需获取对应版本YUM源软件包,x86_64推荐使用Eu 阅读全文

posted @ 2024-01-01 20:49 zyp_java_net 阅读(63) 评论(0) 推荐(0) 编辑

安装 .NET7 sdk
摘要:Centos Linux 安装 .NET 之前,请运行以下命令,将 Microsoft 包签名密钥添加到受信任密钥列表,并添加 Microsoft 包存储库。 打开终端并运行以下命令:sudo rpm -Uvh https://packages.microsoft.com/config/centos 阅读全文

posted @ 2023-12-27 18:04 zyp_java_net 阅读(87) 评论(0) 推荐(0) 编辑

xshell连接显示timed out waiting for input: auto-logout
摘要:使用xshell连接服务器时过一会儿总会显示timed out waiting for input: auto-logout修改配置文件vi /etc/profileTMOUT=60 #or the number of seconds you want将TMOUT的值改成0保存退出后source / 阅读全文

posted @ 2023-12-27 16:46 zyp_java_net 阅读(353) 评论(0) 推荐(0) 编辑

华为euleros 配置YUM源
摘要:一、要查看操作系统信息,请在终端中运行以下命令: [root@localhost yum.repos.d]# cat /etc/os-releaseNAME="EulerOS"VERSION="2.0 (SP5)"ID="euleros"ID_LIKE="rhel fedora centos"VER 阅读全文

posted @ 2023-12-27 15:48 zyp_java_net 阅读(870) 评论(0) 推荐(0) 编辑

如何解决yum安装软件时报错This system is not registered with an entitlement server. You can use……
摘要:Red Hat、基于red hat源代码所编译的cent os 都会遇到这种问题,红帽需要对当前的系统进行注册后才能使用yum安装软件,解决方法多种多样,如直接注册+订阅/换yum源/干掉Red Hat Subscription Manager订阅管理器 解决方法:这里介绍最简单的一种:禁用Red 阅读全文

posted @ 2023-12-08 15:01 zyp_java_net 阅读(1210) 评论(0) 推荐(0) 编辑

ubantu 22 服务器 记录
摘要:chl master@1234 sudo wget -O gitea https://dl.gitea.io/gitea/1.19.3/gitea-1.19.3-linux-amd64 useradd chlusermod -a -G sudo chlusermod -s /bin/bash chl 阅读全文

posted @ 2023-05-21 21:16 zyp_java_net 阅读(18) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示