VSftpd连接错误425 Security: Bad IP connecting解决方法

服务器安装的是VSftpd,连接的时候出现错误425 Security: Bad IP connecting原因:估计是网络通信方面存在问题触发了安全机制,比如ip变动等原因导致被安全机制拦截了。解决方法:vi /etc/vsftpd/vsftpd.conf添加:pasv_promiscuous=YESservice vsftpd restartpasv_promiscuous选项参数说明:此选项激活时,将关闭PASV模式的安全检查。该检查确保数据连接和控制连接是来自同一个IP地址。小心打开此选项。此选项唯一合理的用法是存在于由安全隧道方案构成的组织中。默认值为NO。其他方案:可以修改f...

FTP 2019-07-29 PM 692℃

ubuntu重启网卡失败Job failed while stopping

执行命令,如下两种都可以root@ubuntu:~# sudo ifdown --exclude=lo -a && sudo ifup --exclude=lo -a root@ubuntu:~# ifdown --exclude=lo -a && ifup --exclude=lo -a

Linux 2019-06-05 PM 433℃

iostat iostop pidstat

yum install -y sysstatiostat -x 1iotop -oaPpidstat -d 1根据进程id查看调用的文件strace -f -t -e trace=file -p 1976

Linux 2019-05-10 PM 321℃

linux 强制中断某个用户ssh连接

[root@ebs-58123 ~]# whoroot     pts/0        2019-05-10 09:06 ()root     pts/1        2019-05-10 09:10 ()root     pts/2        2019-05-10 09:31 ()[root@ebs-58123 ~]# pkill -kill -t  pts/0...

Linux 2019-05-10 PM 327℃

win2008 安装iis失败-2147021879 (80070bc9)

部分服务被禁用导致,启动以下服务Remote RegistryTCP/IP NetBIOS HelperWindows Management Instrumentation

Windows,IIS 2019-05-07 PM 393℃

[转]记一次mysql占用大量写I/O的优化

转自http://www.hongyanzi.top/1033.html近两天收到性能监控报警,每到业务高峰期就出现服务器IO写超高,导致整个业务速度变慢        登陆服务器用iotop查看磁盘I/O发现占用较大的是mysql进程进入mysql查看show full processlist,发现基本上每次io队列较高时都是在update时,以为是更新语句有问题,于是打开mysql慢查询日志,观察一段时间磁盘io仍然较高,但是发现并没有慢查询语句;查找关于mysql IO问题优化资料,看到 sync_bi...

MySQL 2019-03-19 AM 381℃

web.config 取消禁止asp或者aspx执行权限、取消脚本权限

<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <handlers> <!-- 取消asp文件执行--> <remove name="ASPClassic" /> <!-- 取消aspx 执行--> <remove name="PageHandlerFactory-ISAPI-4.0_64bit" /> <remove name="PageHand...

IIS,web.config 2019-02-20 AM 965℃

安装阿里云yum源、epel源

阿里云yum源1、备份mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/CentOS 5 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo CentOS 6 wget -O /etc/...

Linux 2019-02-11 PM 751℃

ubuntu 18.04 netplan yaml配置IP

ubuntu从17.10开始,已放弃在/etc/network/interfaces里固定IP的配置,即使配置也不会生效,而是改成netplan方式 ,配置写在/etc/netplan/01-netcfg.yaml或者类似名称的yaml文件里,18.04的server版本安装好以后,配置文件是:/etc/netplan/50-cloud-init.yaml,修改配置以后不用重启,执行 netplan apply 命令可以让配置直接生效。以前的重启网络服务命令/etc/init.d/networking restart或者services network restrart也都会提示为无效命...

Linux 2019-02-11 AM 536℃

linux下paping 持续检测端口

./paping -p 80 -c 10 www.baidu.cn (该示例命令为进行10次的 目标IP 80 端口的连通性测试)[root@ss bin]# ./paping -V paping v1.5.5 - Copyright (c) 2018 Mike Lovell Syntax: paping [options] destination Options:  -?, --helpdisplay usage  -p, --port Nset TCP port N (required)      -...

Linux 2019-01-23 PM 570℃