使用nginx最初的目的是为了解决iis7下无法配置多个443端口的问题,iis7下不同的域名无法同时绑定443端口,据说iis8是可以的,但是iis8的话需要安装windowsserver2012,成本太高,不考虑。
Nginx是一款轻量级的Web服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器,并在一个BSD-like协议下发行。其特点是占有内存少,并发能力强。下载地址:ht...
分类
Linux
标签
Nginx
by Nigel
2021-06-10 11:30:02
-###安装配置Java环境(如果没有)
```bash
#安装java9
cd/usr/local
#https://mirrors.tuna.tsinghua.edu.cn/AdoptOpenJDK/
#解压文件
#tar-zxvfxxxx.gz
#修改profile文件,更改java版本使用
#vi/etc/profile
JAVA_HOME=/usr/local/jdk-9.0....
分类
Linux
标签
CentOS
by Nigel
2021-05-26 09:15:46
一、查看防火墙状态
1、首先查看防火墙是否开启,如未开启,需要先开启防火墙并作开机自启
systemctl status firewalld
2、开启防火墙并设置开机自启
systemctl start firewalld
systemctl enable firewalld
一般需要重启一下机器...
分类
Linux
标签
CentOS
by Nigel
2021-03-22 14:25:37
firewallhttp服务开启
firewall-cmd --query-service http ##查看http服务是否支持,返回yes或者no
firewall-cmd --add-service=http ...
分类
Linux
标签
CentOS
by Nigel
2021-03-22 14:25:37
三种安装方式
brew安装
brew install supervisor
yum安装
yum install supervisor
pip安装
pip install supervisor
Supervisor配置
查看Supervisor示例配置:
echo_supervisord_conf
一般指定配置文件路径为/etc/super...
分类
Linux
标签
CentOS
by Nigel
2021-03-22 14:25:37
CentOS7中执行
service iptables start/stop
会报错Failedtostartiptables.service:Unitiptables.servicefailedtoload:Nosuchfileordirectory.
在CentOS7或RHEL7或Fedora中防火墙由firewalld来管理,如果要添加范围例外端口如1000-2000,语...
分类
Linux
标签
CentOS
by Nigel
2021-03-22 14:25:37
Linux操作系统各版本ISO镜像下载(包括oraclelinux\redhat\centos\ubuntu\debian等)
2015年2月25日,下午7:49
1、OracleLinux(下载地址)
(1)OracleLinux-Release6-Update0-x86_64-dvd.iso(2)OracleLinux-Release6-Update1-x86_64-dvd.iso(3)Or...
分类
Linux
标签
CentOS
by Nigel
2021-03-22 14:25:37