04 2021 档案
摘要:#!/bin/sh export PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin user=root password="root" mysql -u$
阅读全文
摘要:已经有数据库,做主从复制 服务器 备注 数据库 192.168.137.6 Master 有2个数据库,不同步mysql数据库 192.168.137.3 Slave 没有数据库 Master操作 [mysqld] #############better########### log-bin = /
阅读全文
摘要:harbor.yml配置 [root@R420 harbor]# cat harbor.yml # Configuration file of Harbor # The IP address or hostname to access admin UI and registry service. #
阅读全文
摘要:问题描述http服务器:nginx,10.10.10.95,版本:1.10.1,请求使用协议为https,端口为18080。 服务服务器:tomcat,10.10.10.92,使用协议为http,端口为8080。 问题:当在业务服务器使用sendRedirect时,tomcat响应302给nginx
阅读全文
摘要:方式一: 说明:Docker安装Harbor,Nginx和Harbor在同一台服务器,Nginx反代到Docker的Harbor访问. 环境: IP地址(内网):192.168.193.121 服务器版本:CentOS Linux release 7.4.1708 (Core) Harbor版本:h
阅读全文
摘要:第一步,编写虚拟机挂起和开启的脚本. vm_stop.bat "D:\Program Files\VMware\vmrun.exe" suspend "E:\Shared Virtual Machines\C05-64\C05-64-111.vmx" "D:\Program Files\VMware
阅读全文
摘要:#! /bin/bash #by 2016/1/26 #v2改进: #(1)gbk和utf8自适应,不会乱码 #(2)判断如果是ubuntu跳过启动/停止wdcp常用服务 #v3改进: #兼容centos7 #功能:输出中文自适应编码,防止乱码 #前提:本shell文件必须以utf8编码的形式存储
阅读全文
摘要:默认路径:/var/lib/docker 新路径: /www/docker #数据剪切. Centos 6.*service docker stopCentos 7.8systemctl stop docker mkdir /www/docker mv /var/lib/docker/* /www/
阅读全文