准备工作 下载Rabbitmq需要的三个rpm文件:https://origami.lanzoux.com/b0ckwy54d 密码:7e5v 上传到虚拟机上,如下: 搭建 1、安装 rpm -ivh erlang-22.0.7-1.el7.x86_64.rpm rpm -ivh socat-1.7.3.2-2.el7.x86_64.rpm rpm -ivh rabbitmq-server-3.7.18-1.el7.noarch.rpm
今天学习并且测试以下的命令 注意 命令区分大小写 1 echo lin...probe , /将lin..prebe输出到屏幕上 2 echo $SHELL /公屏显示当前所用的bash 3 date 查看日期时间 date “+%Y-%m-%d” /设置时间年月日
1 问题描述 由于通过VMwaer快速克隆了一台CENTOS7.9的虚拟机。 但启动时报如下错误信息 welcome to emergency mode!after logging in ,type “journalctl -xb” to view system logs,“systemctl reboot” to reboot ,“systemctl default” to try again to boot into default mo
一、 1、文件系统目录结构 2、root下文件目录的功能 3、特殊的光盘 cd /misc/cd,访问的时候会挂载光盘 yum -y install autofs //安装 systemctl status autofs //查看信息 75 systemctl enable autofs 76 systemctl status autofs //永久启动 syytemctl
一、安装docker 1.查看仓库中所有docker版本 yum list docker-ce --showduplicates | sort -r 2.yum安装 默认安装最新版本:yum install docker-ce 安装指定版本:yum install docker-ce-17.12.0.ce 3.验证是否安装成功 docker version 4.启动、设置开启开机启动 systemctl start do
Linux安装GitLab 官网: https://about.gitlab.com/ GitLab 是一个用于仓库管理系统的开源项目,使用Git作为代码管理工具,并在此基础上搭建起来的 web服务。 GitLab和GitHub一样属于第三方基于Git开发的作品,免费且开源(基于MIT协议),与Github类似, 可以注册用户,任意提交你的代码,添加
简介 Gitlab 是一个开源的仓库管理系统,和 GitHub 一样属于第三方基于 Git 开发的作品,开源免费(基于MIT协议),操作和 Github 类似 特点:可以部署到自己的服务器上,适合团队内部协作开发 安装 # 安装相关依赖 $ yum -y install policycoreutils openssh-server openssh-clients postfix
linux 运行级别 相关目录 CentOS8 相关目录由/etc/inittab变成 /etc/systemd/system/default.target [ranan@hadoop102 ~]$ cat /etc/systemd/system/default.target # SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # # systemd is free software;
10条命令完成在centos安装GitLab 1.yum -y install policycoreutils-cycoreutils openssh-server openssh-clients postfix 2.systemctl enable sshd && sudo systemctl start sshd 3.systemctl enable postfix && systemctl start postfix (如果关闭防火墙可省略下面三步) fir
安装docker # 1.使用uname -a 查看系统版本, 内核版本在3.10以上 # 2. yum update # 3. 替换阿里源 yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # 4. 安装D
CentOS7防火墙命令有变化: CentOS7: systemctl status firewalld.service 查看防火墙状态 systemctl stop firewalld.service 本次访问关闭防火墙 systemctl disable firewalld.service 从下次开始关闭防火墙 systemctl
一、yum安装和配置nginx 1、查看环境 cat /etc/redhat-release 2、添加yum源 sudo rpm -ivh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 3、安装 sudo yum install nginx 4、配置nginx服务 #开机启动 sudo systemctl enable
大概是docker容器设置restart-allways,然后重启Linux虚拟机后,发现很多进程。 但是这时候docker ps 就会报错 解决方法就是,需要reload 一下 daemon,然后restart docker,执行下面的两个命令 systemctl daemon-reload systemctl restart docker.service 然后docker ps 发现可以了
下载 官网地址:https://www.sonatype.com/ 可以直接通过下边链接下载最新版本:https://www.sonatype.com/oss-thank-you-tar.gz 可以通过后边的这个链接选择历史版本: https://help.sonatype.com/repomanager3/download/download-archives—repository-manager-3 安装 JDK: 1、搜索
安装前准备 # yum -y install epel-realease # vim /etc/selinux/config SELINUX=disabled # systemctl stop firewalld # systemctl disable firewalld 安装mysql 一、更新YUM源 # rpm -Uvh http://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm 二、安
1、安装git yum install git 2、安装Jenkins (1)sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo (2)sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key (3)yum install jenkins 3、找到JDK安装目录,创建软链
FTP服务器的安装与配置 https://www.cnblogs.com/116970u/p/10381593.html 查看是否安装ftp: rpm -qa |grep vsftpd 1、安装vsftp 1.1、安装vsftp,测试安装的vsftpd的版本是:vsftpd.x86_64 0:3.0.2-11.el7_2 yum -y install vsftpd 在linux中添加ftp用户,并设置相应的权限,操作步
0. 更改主机名,查看系统版本 1. 将以下代码复制粘贴到Linux保存后执行. 重启系统生效. #!/bin/bash set -ex # Install Zabbix repository systemctl stop firewalld systemctl stop NetworkManager systemctl disable firewalld NetworkManager rpm -Uvh https://repo.zabb
目标 本来想通过DNF直接安装redis的,但是dnf中的redis5.0的版本有点老旧,就需要使用redis源码方式安装。 步骤 安装编译工具 # 安装编译工具 sudo dnf group install "Development Tools" 编译redis wget https://download.redis.io/releases/redis-6.2.4.tar.gz tar xzf redi
在使用Xshell连接虚拟机连接不上,可能之前虚拟机关闭不当 登到虚拟机的中断使用ifconfig发现没有ens33 猜测是CentOS图形管理中的NetworkManager接管了网络配置, 执行以下命令关闭、重启网络服务: ifconfig ens33 up systemctl stop NetworkManager systemctl disable Networ
Zabbix Server安装 1,获取IP地址,关闭防火墙 [user@NewBieSlave2 ~]$ ifconfig | awk 'NR==2{print $2}' 192.168.1.99 [root@NewBieSlave2 ~]# systemctl stop firewalld.service [root@NewBieSlave2 ~]# systemctl status firewalld.service ● firewalld.service - firewall
报错截图: 服务启动报错截图 服务启动失败日志截图 docker卸载失败截图 解决方法命令:(重新启动containerd服务即可)#备注:我提前清除了docker目录,/var/lib/containerd目录 59 systemctl list-failed 60 systemctl --failed 61 systemctl status containerd 62 systemctl cat c
linux操作系统引导过程 开机自检:服务器主机开机以后,将根据主板BIOS中的设置对CPU、内存、显卡、键盘等设备进行初步检测,检测成功后根据预设的启动顺序移交系统控制权,大多时候会移交给本机硬盘。 总结:检测出第一个能够引导系统的设备,比如·硬盘或光驱 MBR引导:当从本机硬盘启动程
一、环境准备 在进行keepalived与haproxy部署之前,需要先进行环境方面的准备: 节点名称 ip master1 192.168.35.12 master2 192.168.35.13 node1 192.168.35.14 VIP 192.168.35.15 环境配置: #1、 关闭防火墙 [root@localhost ~]# systemctl stop firewalld # 临时
# NFS **Network File System 网络文件系统** 文件共享服务 网络文件系统。挂载的功能.将本地的资源挂着网络 ==NFS优势==:节省本地存储空间,将常用的数据,如:/home目录,存放在NFS服务器上且可以通过网络访问,本地终端将可减少自身存储空间的使用 ## nfs.ko NFS 是一个文件系统,是操作系