virtualbox exception centos7 syncing
CentOS7.9快速配置服务器网卡聚合双bond方法
说明:服务器双口,分别为em1-2个口em1、em2 1、 开启 NetworkManager systemctl start NetworkManager yum install bridge-utils 2、备份配置文件 mkdir -p /data/bak/ cp -r /etc/syscon ......
Centos7更换yum源
备份系统自带yum源配置文件 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载国内yum源配置文件(这里我们下载163的yum源) wget -O /etc/yum.repos.d/Cen ......
解决CentOS7 重启网卡出现Failed to restart network.service: Unit network.service not found.
问题描述 克隆CentOS7 虚拟机后, 修改完/etc/hosts配置文件后, 运行systemctl restart network重启网卡, 出现Failed to restart network.service: Unit network.service not found. 解决 在新版本 ......
centos7升级自带的mariadb数据库
#查看版本 [root@guangzhou local]# mysql --version mysql Ver 173)">15.1 Distrib 5.5.64-MariaDB, for Linux (x86_64) using readline 5.1 #查看使用状态 [root@guangzh ......
CentOS7 yum 安装 PostgreSQL
yum install -y wget wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/l/libzstd-1.5.4-1.el7.x86_64.rpmyum install -y libzstd-1.5 ......
Centos7实现Redis主从模式搭建
1、假设在四个虚拟机分别安装redis;ip地址分别为: A: 192.168.2.66 (主机) B: 192.168.2.67 C: 192.168.2.67 D: 192.168.2.67 2、四个虚拟机全部开启防火墙6379端口 # firewall-cmd --zone=public -- ......
在centos7中安装docker,启动靶场
1.敲命令安装docker curl -sSL https://get.daocloud.io/docker | sh2.docker服务操作# 启动service docker start# 配置自动启动systemctl enable docker.service# 重启systemctl re ......
CentOS7默认的防火墙不是iptables,而是firewalle.
CentOS7默认的防火墙不是iptables,而是firewalle. 安装iptable iptable-service #先检查是否安装了iptables service iptables status #安装iptables yum install -y iptables #升级iptabl ......
VirtualBox 安装 ubuntu后安装增强工具无效的解决办法 亲测好用
点击设备-安装增强功能后显示无法挂载光盘什么的。上网查询后弹出光盘,再次点击安装依旧没有反应。 解决办法: 1. 安装Oracle VM VirtualBox Extension Pack 在Oracle VM VirtualBox官网下载对应版本的Oracle VM VirtualBox Exte ......
Centos7 安装Docker(yum在线版)
使用root登录服务器 1. 卸载旧应用 yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logro ......
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular view path [jxsr2]:
报错如下: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular view path [jxsr2]: would dispatch back to th ......
Centos7系统在开启进入系统报错:Give root password for maintenance(or type Control-D to continue):解决方法
报错信息: 在进入系统时,不能正常进入系统,出现了Give root password for maintenance(or type Control-D to continue):的报错。 报错原因: 1、在之前写入的/etc/fstab文件有问题,导致系统在读取的时候识别不到从而报错。 解决方法 ......
Centos7 下的SVN安装与配置
```Centos7 下的SVN安装与配置1.关闭防火墙 临时关闭防火墙 systemctl stop firewalld 永久防火墙开机自关闭 systemctl disable firewalld 临时打开防火墙 systemctl start firewalld 防火墙开机启动 systemc ......
Centos7配置普通用户的sudo命令权限
sudo英文全称为super user do,意思为以超级用户(root用户)的方式来执行命令。本文主要介绍如何在Centos7中配置普通用户的sudo命令权限。 ......
若依微服务连接redis 一段时间报错,后来改成连接池后也是报错 Redis command timed out; nested exception is io.lettuce.core.RedisCommandTimeoutException: Command timed out after 10 second(s)
springBoot版本是2.x 所以呢redis客户端是lettuce,而不是jedis; lettuce支持异步,而且是线程安全的。 jedis是同步的,线程不安全需要每个线程一个Jedis实例,所以一般通过连接池来使用Jedis。 我这里用的是lettuce连接池的配置还是报错了呢: spri ......
centos7 安装node环境
https://nodejs.org/download/release/v12.19.0/ https://blog.csdn.net/weixin_44106306/article/details/127895962 ......
Centos7防火墙的开放和关闭
Centos7防火墙的开放和关闭 一、防火墙的开启、关闭、禁用命令 (1)设置开机启用防火墙:systemctl enable firewalld.service (2)设置开机禁用防火墙:systemctl disable firewalld.service (3)启动防火墙:systemctl ......
Centos7 安装、配置、使用Supervisor
名词解释 supervisor:要安装的软件的名称。 supervisord:装好supervisor软件后,supervisord用于启动supervisor服务。 supervisorctl:用于管理supervisor配置文件中program 安装依赖 yum install epel-rel ......
Centos7之Rsyslog服务器部署
Centos7之Rsyslog服务器部署 一、目标 centos7平台下部署Rsyslog服务器监视linux端、windows端、juniper SSG 520 二、平台 [root@kahn ~]# cat /etc/redhat-release CentOS Linux release 7.6 ......
CentOS7 template for Docker
selinux、iptables、firewalld相关介绍 https://blog.csdn.net/weixin_47019016/article/details/109535074 [apollo@localhost ~]$ su - root Password: Last login: M ......
深入理解Go语言中的sync.Cond
1. 简介 本文将介绍 Go 语言中的 sync.Cond 并发原语,包括 sync.Cond的基本使用方法、实现原理、使用注意事项以及常见的使用使用场景。能够更好地理解和应用 Cond 来实现 goroutine 之间的同步。 2. 基本使用 2.1 定义 sync.Cond是Go语言标准库中的一 ......
centos7安装zabbix 5.0
环境说明 名称 版本 下载地址 zabbix 5.0 LTS https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm centos 7.9 postgresql-server 9.2.2 ......
CentOS7.9 搭建内部yum源服务器同步阿里yum源
CentOS7.9 搭建内部yum源服务器同步阿里yum源 环境说明: 1、企业内网需求:企业内部许多服务器是不能连接互联网,但每台centos主机安装软件包时都配置本地yum源很麻烦,也缺少第三方yum源,因此在内网搭建一台yum源服务器满足这一需求,同时网络层面策略只允许此yum源服务器每周日晚 ......
ABP微服务学习系列-修复System.Text.Json不支持序列化Exception
前面我们已经把服务都启动了,然后我们试试请求API。发现请求出现500 返回错误 System.NotSupportedException: Serialization and deserialization of 'System.Reflection.MethodBase' instances a ......
concurrent-map 和 sync.Map,我该选择哪个?
concurrent-map 和 sync.Map,我该选择哪个? 官方的map并不是线程安全的,如果我们在多线程中并发对一个map进行读写操作,是会引发panic的。解决方案除了使用锁来对map进行保护外,还有两种方式: 一,开源项目 concurrent-map 提供了可以用来做并发安全的map ......
周末折腾了两天,踩了无数个坑,终于把win7装成了centos7
上周五的时候,突发奇想,想把自己的Thinkpad E430C的操作系统装成linux。 熟悉电脑的都知道Thinkpad E430C很古老了,现在算来从2012年买来,到现在已经经历了10个年头了。原厂是4G内存,买了两年后自己买了一个4G内存条插上,变成了现在的8G。这台笔记本跟随我有6年左右的 ......
Centos7系统编译Hadoop3.3.4
1、背景 最近在学习hadoop,此篇文章简单记录一下通过源码来编译hadoop。为什么要重新编译hadoop源码,是因为为了匹配不同操作系统的本地库环境。 2、编译源码 2.1 下载并解压源码 [root@hadoop01 ~]# mkdir /opt/hadoop [root@hadoop01 ......
Centos7搭建hadoop3.3.4分布式集群
1、背景 最近在学习hadoop,本文记录一下,怎样在Centos7系统上搭建一个3个节点的hadoop集群。 2、集群规划 hadoop集群是由2个集群构成的,分别是hdfs集群和yarn集群。2个集群都是主从结构。 2.1 hdfs集群规划 | ip地址 | 主机名 |部署服务| |--|--| ......
CentOS7加入AD域(winbind)
作者:独笔孤行 官网: http://anyamaze.com 公众号:云实战 前言 AD域(Active Directory)是Windows服务器的活动目录,在目录中可以收录公司的电脑账号,用户账号,组等信息,以提供更好的安全性和更便捷的管理能力。域的最大好处之一就是其安全性 – 所有 ......
CentOS7下搭建JumpServer(v2.28.6) 堡垒机
JumpServer 部署架构图 JumpServer 功能架构图 JumpServer 是广受欢迎的开源堡垒机,是符合 4A 规范的专业运维安全审计系统。 JumpServer 使用 Python 开发,配备了业界领先的 Web Terminal 方案,交互界面美观、用户体验好。 JumpServ ......