
环境搭建
文章平均质量分 63
CMLX1218
你知道的越多,你不知道的越多
展开
-
RocketMq
RocketMq安装及练习2m-2s-sync集群搭建2m-2s-sync集群搭建集群各角色介绍Producer:消息发送者Consumer:消息接收者Broker:暂存和传输消息NameServer:管理BrokerTopic:区分消息的种类;一个发送者可以发送消息给一个或者多个Topic;一个消息的接收者可以订阅一个或者多个Topic消息集群工作流程启动NameServer,NameServer起来后监听端口9876,等待Broker、Producer、Consumer连原创 2021-08-09 14:52:57 · 504 阅读 · 0 评论 -
部署Zookeeper集群
下载https://downloads.apache.org/zookeeper/下载后缀带 bin的是被编译过的不然需要自己编译安装解压到指定目录cp conf/zoo-example.cfg zoo.examplevim zoo.example 添加如下配置server.1=192.168.10.101:2188:2888server.2=192.168.10.102:2188:2888server.3=192.168.10.103:2188:2888分别在三台服务器上执行原创 2021-07-22 16:31:33 · 109 阅读 · 0 评论 -
CentOS7磁盘空间以及文件系统扩容
查看当前文件系统的空间分配情况 现在挂载点为根目录的文件系统/dev/mapper/centos-root 空间为37G,现在想加入一块500G磁盘,将新的磁盘全部挂载到这个文件系统中(37G+500G)查看当前磁盘空间 红框内就是我们新加入的400G磁盘PV前期工作 这里我们只划分一个分区将新分区修改成逻辑卷格式化PV使用lvm创建PV将新的PV加入VG 将新的PV加入其中,或者创建自己新的VGLV扩容 给根目录挂载点的LV扩容 上面的意思是将100%空间全部转载 2021-04-23 17:36:40 · 610 阅读 · 0 评论 -
Linux安装Nginx[常用配置清单]
安装Nginx准备工作yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel下载 官网下载Nginx tar包编译安装tar -zxvf nginx-x.x.x.tar.gzcd nginx./configure --prefix=/usr/local/nginxmakemake install开机自启vim /lib/systemd/system/vim nginx.service原创 2021-04-22 18:42:20 · 278 阅读 · 0 评论 -
Linux 搭建Gitlab服务器
Linux 搭建Gitlab服务器一、安装并配置相关依赖二、下载安装gitlib三、服务管理四、汉化一、安装并配置相关依赖安装ssh:sudo yum install -y curl policycoreutils-python openssh-server设置ssh自启:sudo systemctl enable sshd启动ssh:sudo systemctl start sshd添加http服务到firewalld,pemmanent表示永久生效,若不加–permanent系统下次启动后就转载 2021-04-16 18:53:07 · 171 阅读 · 0 评论 -
Liunx搭建Nexus私服仓库
Liunx搭建Nexus私服仓库使用场景下载安装启动|停止Nexus 仓库介绍本地远程仓库配置发布项目至Nexus 远程仓库使用场景使用场景 a.公司不能连接公网,可以用私服统一连接 公司内部jar 共享下载安装下载安装 a.下载地址:https://www.sonatype.com/products/repository-oss-download解压并设置环境变量 a.解压:tar -zxvf nexus-3.30.0-01-unix.tar.gz -C /opt/module/n原创 2021-04-16 15:02:15 · 147 阅读 · 0 评论 -
基于Harbor搭建自己的私有镜像仓库
下载安装Harborharbor下载地址:https://github.com/goharbor/harbor/releases将下载的安装包上传到服务器并解压:tar -zxf harbor-offline-installer-v2.1.1.tgz解压后进入安装目录harbor编辑配置文件修改hostname为127.0.0.1或者自己ip地址或域名:vim harbor.cfg安装Harbor./prepare./install.sh# 如果需要支持存储helm的chart包,添加转载 2021-04-16 11:24:02 · 243 阅读 · 0 评论 -
Centos7配置防火墙
CentoOs配置防火墙修改防火墙管理工具 a.停用防火墙:systemctl stop firewalld b.注销防火墙:systemctl mask firewalld c.安装iptables-services:yum install -y iptables-services d.设置开机启动:systemctl enable iptables e.常用命令:systemctl stop iptablessystemctl start iptablessystemctl res原创 2021-04-14 16:56:47 · 121 阅读 · 0 评论 -
Linux安装rabbitmq(单机|集群)
Linux安装rabbitmq单机版安装单机版安装下载 erlang 和 rabbitmq erlang下载地址:https://packagecloud.io/rabbitmq/erlang rabbitmq下载地址:https://www.rabbitmq.com/install-rpm.html#downloads环境准备 安装socat:yum -y install socat 安装编译环境:yum -y install make gcc gcc-c++ kernel-devel m原创 2021-04-12 20:09:35 · 168 阅读 · 0 评论 -
Linux 安装redis(含redis开机自启)+redis相关应用
Linux 安装redis下载Redis官网下载:https://redis.io/download wget http://download.redis.io/releases/redis-5.0.7.tar.gz解压并安装Redis解压:tar -zxvf redis-5.0.7.tar.gz -C /opt/module/redis编译:cd /opt/module/redis/redis-5.0.7 make安装:make PREFIX=/opt/module/re转载 2021-04-12 15:07:47 · 191 阅读 · 0 评论 -
Centos7安装mysql5.7
Centos7安装mysql5.7安装开启防火墙卸载linux上的mysql转载安装更新yum本都缓存yum clean codeyum makecache查看系统中是否已经安装mysqlyum list installed | grep mysql卸载系统自带的mysql及其依赖(防止冲突)yum -y remove mysql-libs.x86_64下载wget命令yum install wget -y给centos添加rpm源,并且选择比较新的源wg转载 2021-04-12 11:49:03 · 108 阅读 · 0 评论