background picture of the home page

Hi,Friend

Linux使用Arthas查看Java进程

简介 Arthas 是一款线上监控诊断产品,通过全局视角实时查看应用 load、内存、gc、线程的状态信息,并能在不修改应用代码的情况下,对业务问题进行诊断,包括查看方法调用的出入参、异常,监测方法执行耗时,类加载信息等,大大提升线上问题排查效率。 背景 通常,本地开发环境无法访问生产环境。如果在生

thumbnail of the cover of the post

Linux搭建SVN

一、检查SVN是否安装 rpm -qa subversion 如果没有则通过yum安装 yum install subversion -y 二、检查已安装版本 svnserve --version 三、创建SVN版本库(也就是项目要存放的仓库) 1、创建所有项目的根目录 mkdir -p /h

thumbnail of the cover of the post

Linux搭建GitLab

1、添加gitlab镜像 # --no-check-certificate (以不安全的方式下载) wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm --n

thumbnail of the cover of the post

window下设置mysql开机自动启动

问题: 安装完MySQL后,虽然在“计算机--管理-服务”中,MySQL服务设置了“自动”,但是每次需要用到数据库,还是需要去手动打开MySQL服务。 解决办法: 1.以管理员的身份打开cmd命令窗口 2.切换到mysql的bin目录下 3.输入 mysqld -nt --install ,再回车

thumbnail of the cover of the post

tomcat开启远程管理

1. 开启远程访问 a.打开若没有则新建/conf/Catalina/localhost/manager.xml 内容为: <Context privileged="true" antiResourceLocking="false" docBase="${catalina.h

thumbnail of the cover of the post

logback配置文件

<?xml version="1.0" encoding="UTF-8"?> <configuration debug="true"> <!-- 配置参数logDir读取application.yml中的log-dir属性,如果没有配置,默认是只logs --> <springPro

thumbnail of the cover of the post

Redis搭建cluster集群

1、安装redis # 下载redis安装包 wget -c http://download.redis.io/releases/redis-6.0.8.tar.gz # 安装redis依赖组件 yum -y install gcc yum -y install centos-release-scl

thumbnail of the cover of the post

Docker Compose安装Redis

# 新建一个文件夹redis,然后在该目录下创建出data文件夹、redis.conf文件和docker-compose.yaml文件 # redis.conf protected-mode no port 6379 timeout 0 save 900 1 save 300 10 save 60

thumbnail of the cover of the post

Docker安装mysql

# 自定义桥接网络 docker network create halo-net # 安装mysql docker pull mysql:8.0.27 # 创建映射文件夹 mkdir -p ~/.mysql80/mysql docker run --name some-mysql -p 33

thumbnail of the cover of the post