logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

nginx禁止高频ip访问

有时候我们会通过在一定时间内ip访问次数来判断用户是否恶性访问,来达到防刷的目的,下面借用nginx模块来限制。nginx模块限制ip#nginx.confhttp{...limit_req_zone $binary_remote_addr zone=limits:10m rate=50r/s;limit_conn_zone $binary_remote_addr zone=conn_zone:1

#nginx
ssh:使用ssh链接服务器的时候报错 Add correct host key in /root/.ssh/known_hosts to get rid of this message

使用ssh链接服务器的时候报错 Add correct host key in /root/.ssh/known_hosts to get rid of this message

#服务器#ssh#运维
rsync:错误 some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518)

1、问题在使用rsync同步操作时,rsync报错rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518) [generator=3.0.9]2、解决方法原因是有文件没有写的权限,导致备份权限不够,两种解决办法:1、将服务端rsyncd.conf配置文件的ui

rsync:链接失败 failed to connect to x.x.x.x: Connection refused

1、问题以前定时跑的一个脚本,有推送文件到远程服务器的命令,今天突然发现文件同步失败了,然后手动执行命令也失败了。[root@241 ~] rsync -a root@host::backup/ .rsync: failed to connect to 192.168.1.144 (192.168.1.10): Connection refused (111)rsync error: error

php使用smtp发送邮件(ssl链接方式)

在这里我要介绍的是如何使用smtp进行发送邮件,分别介绍了普通链接和ssl链接两种方式。一、准备材料smtp类下载地址:https://download.csdn.net/download/panjiapengfly/10688054二、代码实现简单粗暴,上代码:<?phpheader("Content-Type: text/html; c...

文章图片
#php#ssl
php和java之间aes加密的互通

php和java之间aes加密互通,亲测成功

#java
php和java之间rsa加密互通

以下是php封装好的类,引入即可使用<?php/*** 作者:pjp* 邮箱:vippjp@163.com*/class RSA{private $privateKey='';//私钥(用于用户加密)private $publicKey='';//公钥(用于服务端数据解密)public function __construct(){$this-&gt...

#java
php:如何在curl方式下url请求域名使用指定ip地址来访问某个服务器

域名指向ip,如何在curl方式下url请求域名使用指定ip地址来访问某个服务器

#php
ChatGLM:基于ChatGLM-6B使用ptuning进行微调,实现类instruction的效果

基于ChatGLM-6B使用ptuning进行微调,实现类instruction的效果

    共 25 条
  • 1
  • 2
  • 3
  • 请选择