一佳互联

展开菜单

nginx1.16.1+tomcat7部署,获取前端真实IP信息

nginx1.16.1+tomcat7部署,获取前端真实IP信息
nginx与tomcat使用同一台主机,nginx服务使用80端口,转发数据到后端tomcat 8080端口。先安装nginx软件。下载 ngx_cache_purge_2.3源码包,并解压到当前目录。[root@lnmp soft]# wget http://labs.frickle.com/files/ngx_cache_purge-2.3.tar.gz[root@lnmp soft]# tar zxvf ngx_cache_purge-2.3.tar.gz &...

云主机通过debian-installer远程dd安装Windows

云主机通过debian-installer远程dd安装Windows
系统:debian 9 64位。过程:1.apt install kexec-tools # 安装 kexec 热内核切换工具2.wget http://cdn-fastly.deb.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux # 下载 debian9 的网络安装文件3.wget h...

Centos6/RHEL6系统升级NTP到NTP-4.2.8p13解决漏洞问题

Centos6/RHEL6系统升级NTP到NTP-4.2.8p13解决漏洞问题
之前安装过NTP相关的RPM软件包,正在使用中,由于版本低,有漏洞 现在要升级到最新版本,可以直接停服务,再下载相关NTP4.2.8p13.tar.gz源码包,执行下面命令安装,最后启动服务。 [root@webserver opt]#   service ntpd stop  [root@webserver opt]#  yum install libcap-devel [root@webserver...

OpenVPN网桥模式实现LAN-TO-LAN

OpenVPN网桥模式实现LAN-TO-LAN
1 配置如下:[root@OpenVPN-S config]# cat  server.conflocal 172.18.1.132port 3889proto udpdev tap0ca /root/openvpn-2.3.3/config/ca.crtcert /root/openvpn-2.3.3/config/VPNS.crtkey /root/openvpn-2.3.3/config/VPNS.key  # This file...