摘要: 参考官网安装步骤: https://docs.jumpserver.org/zh/v3/installation/setup_linux_standalone/requirements/ 1. 环境要求 操作系统 支持主流 Linux 发行版本(基于 Debian / RedHat,包括国产操作系统 阅读全文
posted @ 2023-12-28 17:06 Macoffee 阅读(165) 评论(0) 推荐(0) 编辑
摘要: yum安装nginx没有某一模块,该如何添加第三方模块? 本文将以添加--with-stream模块为例,演示如何去添加新的模块进去。 需求:生产有个接口是通过socket通信。nginx1.9开始支持tcp层的转发,通过stream实现的,而socket也是基于tcp通信。 实现方法:Centos 阅读全文
posted @ 2023-12-28 11:37 Macoffee 阅读(279) 评论(0) 推荐(0) 编辑
摘要: # nginx tar包下载地址 http://nginx.org/download/ 先说nginx正向代理配置: server { listen 3128; # dns resolver used by forward proxying resolver 114.114.114.114; # f 阅读全文
posted @ 2023-12-28 11:24 Macoffee 阅读(1380) 评论(0) 推荐(0) 编辑
摘要: 我们在安装centos 服务器时,可能会有以下情况: 局域网内有若干台服务器,但是只有一台服务器可以连接外网,其余服务器都不可以连接外网,但通过局域网与外网机器联通。 那么我们再使用 yum 安装软件时,可以采用以下方式 搭建本地 yum 源 使用nginx 代理 yum 源 介绍使用方法2。方法1 阅读全文
posted @ 2023-12-28 11:10 Macoffee 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 一、压测工具vegeta 1、介绍 Vegeta 是一个用 Go 语言编写的多功能的 HTTP 负载测试工具,它提供了命令行工具和一个开发库。 官方地址:https://github.com/tsenart/vegeta 2、安装 Vegeta wget https://github.com/tse 阅读全文
posted @ 2023-12-28 11:01 Macoffee 阅读(222) 评论(0) 推荐(0) 编辑