搭建maven环境——nexus
摘要:第一步:部署maven环境和jdk环境 第二步:安装nexus。(官网:https://www.sonatype.com/nexus-repository-oss) 下载——解压——启动服务。 第三步:在web页面登录 http://localhost:8081/nexus 【end】
阅读全文
rsync
摘要:rsync常用选项 平时使用的话一般用-a足够了,如果有特殊的同步,参考最后的几个选项! rsync -av test1/ 192.168.133.132:/tmp/test2/ rsync -av -e "ssh -p 22" test1/ 192.168.133.132:/tmp/test2/
阅读全文
搭建gogs
摘要:https://blog.csdn.net/hwm_life/article/details/82969005 服务器环境 CentOS 7 64位 安装Gogs所需的其它环境 需要安装的依赖有Nginx,Git,MySQL1.安装Nginx(这里不做讲解)和配置反向代理 server { list
阅读全文
rinetd做代理!redis做代理使外网直接远程连接
摘要:Centos7下Rinetd安装与应用 Linux下做地址NAT有很多种方法。比如haproxy、nginx的4层代理,linux自带的iptables等都能实现。haproxy、nginx就不说了,配置相对简单;iptables配置复杂,概念也比较多DNAT、SNAT、PREROUTING、POS
阅读全文
expect分发脚本
摘要:【分发系统】yum -y install expect ############### ################# ####### 执行: ./4.expect 192.168.11.18 /tmp/12.txt第二部分:构建文件分发系统1. 需求背景对于大公司而言,肯定时不时会有网站或者配
阅读全文
nginx的配置文件详解
摘要:nginx.conf的五大组成部分 1.全局部分(https://coding.net/u/aminglinux/p/nginx/git/blob/master/3z/global.md) 2.event,网络部分(https://coding.net/u/aminglinux/p/nginx/gi
阅读全文