REDHAT7.2 linux 下部署vsftpd server 惨痛经历
耗时2小时,有点丢脸,不过还是有点心得安装包:vsftpd-1.2.0.tar.gz根据INSTALL 文件安装步骤无错误:makemake install/etc/xinetd.d下文件 vsftpd配置如下:# default: on# description:# The vsftpd FTP server serves FTP connections. It uses# normal, unencrypted usernames and passwords for authentication.# vsftpd is designed to be secure.service ftp{ socket_type = stream
linux中port转移的设定--(摘取resin文档)
alternative to making resin executable for binding to port 80 on Linux?Linux 2.2.xipchains -A input -i eth+ -j REDIRECT 8080 -p tcp --destination-port 80 Linux 2.4.xIP=192.168.0.1iptables -t nat -A PREROUTING -p tcp --dport 80 -d $IP -j DNAT --to $IP:8080iptables -t nat -A PREROUTING -p tcp --dport 443 -d $IP -j DNAT --to $IP:8080 #!/bin/shSCRIPTLOCATION="/usr/local/bin/iptables/"IPLIST="192.168.3.