口号 时报centos7 because
centos7 挂载 windows 共享文件夹 ,显示主机关闭
1。执行 sudo mount -o username=***,password=*** //192.168.0.86/log/mesfile /home/gy 提示 mount: 将 //192.168.0.86/log/mesfile 挂载到 /home/gy 失败: 主机关闭 2、确认wind ......
Redis报错:(error) DENIED Redis is running in protected mode because protected mode is enabled and no password is set for the default user
一、报错内容 (error) DENIED Redis is running in protected mode because protected mode is enabled and no password is set for the default user. In this mode c ......
如何解决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 ......
Redis报错:WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128
报错内容: 1:C 08 Dec 2023 05:47:33.348 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 08 Dec 2023 05:47:33.348 # Redis version=7.0.5, bits=64, commit ......
CentOS7 yum安装配置RabbitMQ3.8.13
下载Erlang wget--content-disposition https://packagecloud.io/rabbitmq/erlang/packages/el/7/erlang-22.3.4.12-1.el7.x86_64.rpm/download.rpm 安装Erlang环境 yum ......
centos7.9升级内核
注意安装内核kernel5.4.261版本会与ssh9.4和9.5版本冲突,导致重启之后ssh链接不了 1.查看现在的内核 uname -r 3.10.0-1160.el7.x86_64 2.下载rpm内核,离线安装 下载页面 https://mirrors.coreix.net/elrepo-ar ......
CentOS7 常用命令集合
常用命令 文件与目录操作 以下是CentOS 7 防火墙的完整操作命令: 查看防火墙状态。systemctl status firewalld 开启/关闭防火墙。systemctl start/stop firewalld 查看已安装防火墙规则。firewall-cmd --list-ports 添 ......
VirtualBox下安装linux虚拟机(centos7)
下载VirtualBox 下载地址:https://www.virtualbox.org/wiki/Downloads 安装VirtualBox 安装虚拟机--centos7 CentOS是基于红帽的操作系统,所以可以选择Red Hat (64-bit) 内存设置为4G 硬盘设置为20G 网卡选择桥 ......
解决安装centos7后无法用ifconfig查IP的问题
问题点:刚安装完centos7后,通过虚拟机查看ip,用ifconfig指令无法查询,显示not found 解决办法:安装ifconfig和net-tools 1、执行命令:yum provides ifconfig 2、执行命令:yum install net-tools (中间需要手动确认y/ ......
CentOS7安装Docker
配置要求 系统:Centos7 Linux 内核:官方建议 3.10 以上 注意:本文的命令使用的是 root 用户登录执行,不是 root 的话所有命令前面要加 sudo 1.查看当前的内核版本 uname -r 2.更新 yum 包(使用 root 权限,生产环境中此步操作需慎重,耗时较长,该步 ......
CENTOS7_x86_64 网络配置
1.查看IP地址 ip add 2.进入网卡配置文件所在目录 cd /etc/sysconfig/network-scripts/ ll 注: ifcfg-ens33=ifcfg-网卡名 | ifcfg-lo : 网络回环文件 3.编辑网卡配置文件 vi /etc/sysconfig/network ......
CentOS7升级内核版本,以及解决升级内核后网卡不能使用的问题
CentOS7.9自带的内核版本为3.1,没有wireguard模块,遂决定升级内核版本 第一步升级内核,参考 https://www.cnblogs.com/iwalkman/p/9736856.html 除了内核还需要安装 kernel-ml-devel,否则待会编译网卡驱动会报错 yum -- ......
【C语言调用Python】Py_Finalize() 时报 GC 崩溃错误。
Py_Finalize() 时报 GC 崩溃错误。 记一次有趣的报错随笔。 报错现场 在使用如下的报错代码时,在释放阶段调用Py_Finalize(),报如下Assert崩溃。 原因 结论 在调用函数逻辑里的Exit0中,对变量pModuleDict和pClass进行了手动释放,引用计数-1(宏KL ......
centos7安装Jenkins
1、拉取镜像 docker pull jenkinsci/blueocean 2、创建目录 mkdir -p /home/data/jenkins chmod 777 /home/data/jenkins 3、启动容器 docker run -d -p 8099:8080 -p 50099:5000 ......
udb添加索引时报错
报错如下: ERROR: index row size 2728 exceeds btree version4 maximun2704 for index "idx_app" DETAIL: Index row references tuple(508199,31) in relation 'uni ......
CentOS7 安装 Oracle12c 详解
1. 安装前准备 中科大镜像站下载完整版CentOS7 Index of /centos/7/isos/x86_64/ (ustc.edu.cn) 安装时设置硬盘大小40G,选择GNOME桌面安装,勾选必要的一些东西 安装时选择只装root用户 重启后要求配置一个用户,设置用户名为oracle 下载 ......
centos7 安装vscode 的问题记录
为方便搭建C的开发环境,在windows下始终开发有些不方便,比如dll引用的测试等等问题,windows下对于新手太不友好,果断需要切换到linux环境下。 一 问题 centos7 在测试安装时最高兼容 1.74,相关的历史版本可以在微软的这个地址找到,https://code.visualst ......
hbase运行status时报错
在尝试运行status时出现了org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet的报错 解决方法—— 1.停止hbase集群 2. 在配置文件hbase-site.xml 文件中增加如 ......
centos7桌面版安装百度网盘
百度网盘官网下载Linux版本的软件 CentOS7的软件包格式为rpm # 安装依赖 yum -y install libXScrnSaver yum -y install libstdc++.so.6 cd /usr/local/lib64 # 下载最新版本的libstdc.so_.6.0.26 ......
centos7.9以docker形式安装redmine,并配置
一、准备 准备服务器联网,并且安装好docker 二、安装redmine 执行命令拉取docker镜像 docker pull redmine:latest Run Redmine with SQLite3 docker run -d --name redmine -p3000:3000 redmi ......
RabbitMQ高可用集群的搭建部署(Centos7)
高可用集群架构 节点域名 操作系统 RabbitMQ版本 Erlang版本 iamdemo.tp-link.com Centos7.9 3.8.28 23.3-2 iamdemo2.tp-link.com Centos7.9 3.8.28 23.3-2 iamdemo3.tp-link.com Ce ......
Centos7 防火墙开放端口,查看状态,查看开放端口
CentOS7 端口的开放关闭查看都是用防火墙来控制的,具体命令如下: 查看防火墙状态:(active (running) 即是开启状态) systemctl status firewalld [root@WSS bin]# systemctl status firewalld ● firewall ......
centos7 docker-ce
言Docker 使用越来越多,安装也很简单,本次记录一下基本的步骤。 Docker 目前支持 CentOS 7 及以后的版本,内核要求至少为 3.10。 Docker 官网有安装步骤,本文只是记录一下,您也可以参考 Docker CE Install on CentOS 环境说明CentOS 7(M ......
centos7.5 hadoop NAT 静态IP网络环境搭建
1 设置 VMware 网络环境 1. 选择VMNet8 并将子网IP 修改为 192.168.10.0,保证集群ip都在这个网段下 2. 选择NAT 设置,配置NAT的网关为 192.168.10.2 2 设置 windows11 网络环境 1. 打开 控制面板\网络和 Internet\网络连接 ......
centos7 安装vmware tool 遇到遇到 kernel-headers 问题修复
安装 vmware tool 步骤 1. cp VMwareTools-10.3.25-20206839.tar.gz 到 用户目录下 2. tar zxf VMwareTools-10.3.25-20206839.tar.gz 解压 3. 进入 vmware-tools-distrib 执行 su ......
CentOS7 云服务器上安装 Libmicrohttpd 库
本周 web 课的课程作业是实现一个类似 top 命令的网络服务,用于监控远程服务器的进程,其中使用的 web 服务器是 Libmicrohttpd,于是在此记录下我的下载安装流程,如有错误,欢迎指正! 1. Libmicrohttpd Libmicrohttpd 是一个小型的 C 语言库,用于嵌入 ......
Docker运行centos7
Docker 安装 centos7 : 步骤: 1.使用Docker创建虚拟网络: # 创建一个网段为192.168.0.0/24的虚拟网络,名字为centosNet docker network create --subnet=192.168.0.0/24 centosNet # 查看 docke ......
CentOS7 无法执行systemctl status ntpd的原因及解决方法
在 CentOS 7 中,NTP 的服务名为 ntpd.service,如果出现 Unit ntpd.service could not be found 的错误,可能是由于 NTP 没有安装或未正确启动所致。 你可以尝试以下步骤来解决此问题: 首先,检查系统是否已经安装 NTP。可以运行以下命令: ......
Centos查看开放端口及端口号命令
查看已开放的端口 ; firewall-cmd --list-ports 查看端口是否被占用 ; netstat -tunpl | grep "端口" 开放单个端口(开放后需要要重启防火墙才生效) ; firewall-cmd --zone=public --add-port=8080/tcp -- ......