部署 nexus3使用容器方式部署 nexus3, docker 镜像站点 准备 docker-compose.yaml 文件 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 mkdir /opt/nexus3 cd /opt/nexus3 cat >docker-compose.yaml<<EOF version: '2.10.2' services: nexus3: image: sonatype/nexus3:3.42.0 container_name: nexus3 restart: always volumes: - ./data:/nexus-data ports: - 8081:8081 EOF 启动 nexus3 容器
使用前说明 破解补丁包针对版本为 Parallels Desktop 18.0.1-53056 安装成功后不要进行版本升级,否则之前的破解将失效 (可以通过偏好设置禁用更新检测) 如已安装 Parallels Desktop 请先卸载干净
macOS 版本 VMware Fusion 虚拟机软件没有像 Windows 那样提供图形化网络配置界面, 当我们需要自定义网络地址段时需要手动编辑配置文件实现 VMware Fusion 有三个网络配置文件:netw
简介CuteHttpFileServer/chfs是一个免费的、HTTP协议的文件共享服务器,使用浏览器可以快速访问。它具有以下特点: 单个文
安装 consul 1 2 3 yum install -y yum-utils yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo yum -y install consul 配置 consul修改 /etc/consul.d/consul.hcl 文件,配置如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 log_level = "INFO" log_file = "/var/log/consul/" log_rotate_bytes = 10485760 log_rotate_max_files = 3 connect = { enabled = true }
问题由于想放开系统最大连接数限制修改了 /etc/security/limits.conf 配置文件,配置如下 1 2 3 4 root soft nofile 6553500 root hard nofile 6553500 * soft nofile 6553500 * hard nofile 6553500 保存退出后, SSH 再也连不上了,通过网络搜索查
firewalld 端口转发 打开内核转发功能 1 2 echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf sysctl -p 开启防火墙伪装(开启后才能转发端口) 1 firewall-cmd --permanent --add-masquerade 配置端口转发 将访问本机 tcp/222 端口的流量转发到 172.16.174.101 的 tcp/22 端口
Redis 5.x 及以上版本配置分片集群不需要在使用 redis-trib.rb 脚本,默认 redis-cli 已集成集群配置指令 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
简单介绍高可用 在搭建集群时,会为每一个分片的主节点,对应一个从节点,实现 slaveof 的功能,同时当主节点 down,实现类似于 sentinel 的自动 failover 的功能。 redi
如果你没有域名的解析控制权,此方法就非常适合; 如果你有域名的控制权可以使用 acme.sh + dns_api 的方式自动申请 安装 acme.sh 1 curl https://get.acme.sh | sh -s email=my@example.com 如果上面官方下载地址 失败 或