1、服务器要求,8G内存以上,4核心cpu以上 2、 新建/etc/yum.repos.d/gitlab_gitlab-ce.repo,内容: [gitlab-ce]name=GitlabCERepositorybaseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el$releasever/gpgcheck=0enabled=1 3、安装依赖 sudoyuminstallcurlopenssh-serveropenssh-clientspostfixcroniesudoservicepostfixs...

1、停止gitlab gitlab-ctlstop 2、卸载gitlab rpm-egitlab-ce 3、查看gitlab进程 psaux|grepgitlab 4、杀掉第一个进程 kill-918777(18777是第一个进程的pid号,根据显示情况输入) 杀掉后,在psaux|grepgitlab确认一遍,还有没有gitlab的进程如果还有进程请用以下命令杀死所有进程 ps-ef|grepgitlab|xargskill-s9 5、删除所有包含gitlab文件 find/-namegitlab|xargsrm-rf ...

  0mVFGgeRrPTU   2023年11月02日   65   0   0 gitgitlabgitlab卸载gitlab卸载教程

因为默认使用的是firewall作为防火墙,把他停掉装个iptable systemctlstopfirewalld systemctlmaskfirewalld yuminstall-yiptables yuminstalliptables-services 然后就有iptables文件,就可以作配置 开启服务 systemctlstartiptables.service systemctlrestartiptables.service//重启防火墙使配置生效 systemctlenableiptables.service//设置防火墙开机启动 其他...

  0mVFGgeRrPTU   2023年11月02日   46   0   0 linux开机启动iptables重启

一安装 linux中locate查找命名依赖updatedb的协助, 安装updatedb命令需要使用mlocate包 yuminstallmlocate   mac上默认会有mdfind命令来替代locate命令   二定时执行 在/etc/crontab中增加   506updatedb    

1、加入端口,这里以3306为例 firewall-cmd--zone=public--add-port=3306/tcp--permanent(--permanent永久生效,没有此参数重启后失效) 2、重新载入 firewall-cmd--reload 3、查看 firewall-cmd--zone=public--query-port=3306/tcp 4、添加到iptables里面 vi/etc/sysconfig/iptables-ARH-Firewall-1-INPUT-mstate--stateNEW-mtcp-ptcp--dport3...

  0mVFGgeRrPTU   2023年11月02日   46   0   0 打开端口防火墙Centos7重启

系统:centos7 rabbitMQ版本:3.6.2-1 其他系统使用:$sudoapt-getinstallrabbitmq-server 安装步骤: 一、在安装rabbitt之前,要安装erlang开发环境   wget​​http://erlang.org/download/otp_src_18.3.tar.gz​​tar-xzvfotp_src_18.3.tar.gzcdotp_src_18.3/./configure--prefix=/opt/erlangmake&&makeinstallcd/opt/erlang/bin[root@iZ25e3b...

  0mVFGgeRrPTU   2023年11月02日   79   0   0 erlanglinuxRabbitMQCentos7

  1. 安装依赖包 yuminstallcurl-develexpat-develgettext-developenssl-develzlib-develperl-devel-y   2.安装Git yum-yinstallgit   3.创建git用户 useraddgitpasswdgit输入再次git用户的密码切换到git用户sugit 4.获取Gitolite版本库并安装配置    4.1 获取gitolite gitclonehttps://github.com/s...

  0mVFGgeRrPTU   2023年11月02日   122   0   0 gitolitegit版本库Centos7gitolite配置

1.firewall-cmd--permanent--add-port=5672/tcpfirewall-cmd--reloadsetsebool-Pnis_enabled1(关闭selinux)2.粗暴的方法systemctlstopfirewalldsystemctldisablefirewalldsetenforce0(记得/etc/selinux/config也改成disable,否则重启就不生效了)查看selinux状态/usr/sbin/sestatus-vSELinuxstatus:disabled

项目地址: ​​github地址​​ 配置方式 1.在restTemplate配置类里面添加一个bean,用于确认所属的负载均衡算法类类型,全部代码如下: packagecom.debuggg.cloud.cfg;importcom.netflix.loadbalancer.IRule;importcom.netflix.loadbalancer.RoundRobinRule;importorg.springframework.cloud.client.loadbalancer.LoadBalanced;importorg.springframework.context.annotat...

项目地址: ​​github地址​​ 步骤一:对consumer工程的pom添加坐标 <dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-starter-eureka</artifactId></dependency><dependency><groupId>org.springframework.cloud</groupId><artifactId>spri...

关注 更多

空空如也 ~ ~

粉丝 更多

空空如也 ~ ~