1.Nginx负载均衡基本概述 ①为什么要使用负载均衡 当我们的Web服务器直接面向用户,往往要承载大量并发请求,单台服务器难以负荷,我使用多台Web服务器组成集 群,前端使用Nginx负载均衡,将请求分散的打到我们的后端服务器集群中,实现负载的分发。那么会大大提升系统的吞 吐率、请求性能、高容灾。 ...
分类:
其他好文 时间:
2020-04-19 00:31:59
阅读次数:
85
配置步骤: 1、虚拟机网络适配器选择为“NAT模式” 2、虚拟网络编辑器中配置VMnet8信息 3、配置虚拟机网络信息 4、配置域名解析文件 配置为VMnet8默认网关地址 5、重启虚拟机网卡服务 systemctl restart network 6、测试是否可上网 ping www.baidu. ...
分类:
系统相关 时间:
2020-04-18 14:18:54
阅读次数:
81
#1 服务启动相关 systemctl start | stop | restart | status rabbitmq-server # 2 管理命令行 rabbitmqctl help 可以查看更多命令 # 3 插件管理命令行 rabbitmq-plugins enable | list | d ...
分类:
其他好文 时间:
2020-04-18 13:32:53
阅读次数:
57
1.查看防火墙状态 [root@localhost ~]# systemctl status firewalld 2. 临时关闭 [root@localhost ~]# systemctl stop firewalld 3.永久关闭 [root@localhost ~]# systemctl dis ...
分类:
系统相关 时间:
2020-04-18 12:15:51
阅读次数:
77
0.安装依赖 需要安装的依赖有libcurl、sqlite3、DMD,使用Ctrl+Alt+T等方式打开终端,执行以下命令 sudo apt install libcurl4-openssl-dev sudo apt install libsqlite3-dev sudo snap install ...
分类:
系统相关 时间:
2020-04-16 19:27:34
阅读次数:
109
chrony 安装 Chrony 1.安装Chrony yum install chrony -y 启动chronyd进程 systemctl start chronyd.servicesystemctl enable chronyd.service 检查chronyd的进程状态 systemctl ...
分类:
其他好文 时间:
2020-04-16 13:06:07
阅读次数:
67
1确保您已将postgres密码设置为您知道的密码: [###@EMOO ~]$ sudo -u postgres ./psql psql (9.6.3) Type "help" for help. postgres=# ALTER ROLE postgres WITH PASSWORD 'post ...
分类:
系统相关 时间:
2020-04-15 12:26:33
阅读次数:
102
1、FTP的安装 #安装yum install -y vsftpd#设置开机启动systemctl enable vsftpd.service#启动systemctl start vsftpd.service#停止systemctl stop vsftpd.service#查看状态systemctl ...
分类:
其他好文 时间:
2020-04-14 22:13:19
阅读次数:
96
FROM centos maintainer Chris Collins <collins.christopher@gmail.com> LABEL Discription="基于centos的mongodb镜像" version="1.0" RUN mkdir -p /data/usr/mongo ...
分类:
其他好文 时间:
2020-04-14 01:05:39
阅读次数:
69
systemctl stop firewalld 关闭防火墙 systemctl status firewalld 查看状态 systemctl disable firewalld 不启动 systemctl enable firewalld 启动 如果使用 service iptables sto ...
分类:
其他好文 时间:
2020-04-12 10:25:32
阅读次数:
65