- 博客(14)
- 收藏
- 关注
原创 svn-git
userinfo.txtsvnuser=gituser<gituser@gitlab.com>git svn clone http://xxx/svn/ --no-metadata --authors-file=userinfo.txtgit remote add origin https://gitlab.com/xxx.gitgit push -u origin master
2021-12-14 22:13:43
81
原创 mysql5.7安装
mysql 5.7安装[client]port=3306default-character-set=utf8[mysqld] # 设置为自己MYSQL的安装目录 basedir=D:/pf/mysql-5.7.35-winx64# 设置为MYSQL的数据目录 datadir=D:/pf/mysql-5.7.35-winx64/dataport=3306character_set_server=utf8sql_mode=NO_ENGINE_SUBSTITUTION,NO_AUTO_CRE
2021-10-18 17:07:12
85
原创 prometheus + grafana
prometheus + grafana下载https://prometheus.io/download/https://github.com/prometheus-community/windows_exporter/releaseshttps://grafana.com/grafana/download?edition=oss配置#windows_exporter - job_name: 'Windows' static_configs: - targets: ['loca
2021-09-26 21:10:48
122
原创 mysql主从配置(双主)
1.修改配置文件后重启主 ip 10.0.0.1[mysqld]#read-only=1server-id=1log-bin=mysql-bin从 ip 10.0.0.2[mysqld]read-only=1server-id=2log-bin=mysql-bin2.创建同步用户主操作CREATE USER 'repl' IDENTIFIED BY '1';GRANT REPLICATION SLAVE ON *.* TO 'repl';3.配置从结点向主结点同步从操作
2020-11-26 15:37:36
111
原创 centos mysql5.7
yum -y install yum-utilsrpm -ivh https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpmyum repolist all | grep mysqlyum-config-manager --disable mysql80-communityyum-config-manager --enable mysql57-communityyum install mysql-community-se
2020-11-23 17:44:30
92
原创 seafile centos7
docker run -d --name my_seafile1 --privileged -p 80:80 -p 8000:8000 -p 8082:8082 centos:centos7 /sbin/initdocker exec -i -t my_seafile1 /bin/bashwget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repomkdir seafilewget https://seaf
2020-11-17 17:31:53
109
原创 npm
/淘宝镜像npm config set registry https://registry.npm.taobao.orgnpm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass///验证npm config get registry//官方镜像npm config set registry http...
2020-01-19 08:31:38
170
原创 zabbix配置
模板<?xml version="1.0" encoding="UTF-8"?><zabbix_export> <version>4.4</version> <date>2020-01-15T11:39:09Z</date> <groups> <group>...
2020-01-15 19:41:47
156
原创 zabbix监控
zabbix server//docker zabbix-appliancedocker run --name my-zabbix-server -p 80:80 -p 10051:10051 -e PHP_TZ="Asia/Shanghai" -d zabbix/zabbix-appliance:alpine-4.4.4docker exec -i -t my-zabbix-server ...
2020-01-15 19:33:54
258
原创 crontab定时任务
ubuntu#服务状态service cron status#显示定时任务crontab -l#编辑定时任务crontab -e#添加命令* * * * * /root/test.sh脚本内容test.sh#!/bin/shcd /rootecho `date` > 1.txtkilall aaa./aaa -qws &...
2020-01-14 10:08:20
103
原创 ubuntu安装jdk8、maven gradle
(未安装可跳过)卸载openjdkapt-get remove openjdk*下载 jdk8,选择jdk-8u231-linux-x64.tar.gz(具体版本可能不一致)解压至欲安装位置(/java)tar -zxvf jdk-8u231-linux-x64.tar.gz4.设置环境变量vi /etc/profile在/etc/profile文件后添加以下内容ex...
2019-11-04 10:23:31
170
原创 命令行
curlpost jsoncurl -H "Content-Type:application/json" -d {\"key\":\"value\"} "localhost:8080/query" -v
2019-08-02 16:20:59
227
原创 maven\nginx配置文件
mavensettings.xml<?xml version="1.0" encoding="UTF-8"?><settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs...
2019-07-31 17:15:06
225
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人