当前位置: 首页 > news >正文

网站建设 王卫洲无锡网站制作

网站建设 王卫洲,无锡网站制作,中国菲律宾南海开战,做微信公众号直接套用模板检查是否已经安装 $] rpm -qa |grep vsftpd vsftpd-3.0.2-29.el7_9.x86_64出现 vsftpd 信息表示已经安装#xff0c;无需再次安装 yum安装 $] yum -y install vsftpd此命令需要root执行或有sudo权限的账号执行 /etc/vsftpd 目录 ftpusers # 禁用账号列表 user_list # 账号列…检查是否已经安装 $] rpm -qa |grep vsftpd vsftpd-3.0.2-29.el7_9.x86_64出现 vsftpd 信息表示已经安装无需再次安装 yum安装 $] yum -y install vsftpd此命令需要root执行或有sudo权限的账号执行 /etc/vsftpd 目录 ftpusers # 禁用账号列表 user_list # 账号列表其通过 conf 中 userlist_deny 控制 vsftpd.conf # 主配置文件userlist_enable 默认为 YES表示启用 user_list 文件。 userlist_deny 默认为 YES表示禁止 user_list中的用户访问userlist_deny 为 NO 表示 user_list 为白名单允许 user_list 中的用户访问 禁用匿名登录 anonymous_enableNO此值默认为 YES。 启用本地登录 local_enableYES可以使用本地账号密码登录登录后默认在对应用户的 home 目录。要修改可通过 local_root 设置比如 local_root/opt/soft/es注如果设置 local_root 目录则登录的用户需要有此文件夹的访问权限以及操作权限 启动与停止服务 # 启动 systemctl start vsftpd.service # 停止 systemctl stop vsftpd.service# 查看允许状态 systemctl status vsftpd.service# 设置开机启动 systemctl enable vsftpd.service systemctl disable vsftpd.service# 重启 systemctl restart vsftpd.service完整的示例配置如下 # Example config file /etc/vsftpd/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults. # # READ THIS: This example file is NOT an exhaustive list of vsftpd options. # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpds # capabilities. # # Allow anonymous FTP? (Beware - allowed by default if you comment this out). anonymous_enableNO # # Uncomment this to allow local users to log in. # When SELinux is enforcing check for SE bool ftp_home_dir local_enableYES local_root/opt/soft/es # # Uncomment this to enable any form of FTP write command. write_enableYES # # Default umask for local users is 077. You may wish to change this to 022, # if your users expect that (022 is used by most other ftpds) local_umask022 # # Uncomment this to allow the anonymous FTP user to upload files. This only # has an effect if the above global write enable is activated. Also, you will # obviously need to create a directory writable by the FTP user. # When SELinux is enforcing check for SE bool allow_ftpd_anon_write, allow_ftpd_full_access #anon_upload_enableYES # # Uncomment this if you want the anonymous FTP user to be able to create # new directories. #anon_mkdir_write_enableYES # # Activate directory messages - messages given to remote users when they # go into a certain directory. dirmessage_enableYES # # Activate logging of uploads/downloads. xferlog_enableYES # # Make sure PORT transfer connections originate from port 20 (ftp-data). connect_from_port_20YES # # If you want, you can arrange for uploaded anonymous files to be owned by # a different user. Note! Using root for uploaded files is not # recommended! #chown_uploadsYES #chown_usernamewhoever # # You may override where the log file goes if you like. The default is shown # below. #xferlog_file/var/log/xferlog # # If you want, you can have your log file in standard ftpd xferlog format. # Note that the default log file location is /var/log/xferlog in this case. xferlog_std_formatYES # # You may change the default value for timing out an idle session. #idle_session_timeout600 # # You may change the default value for timing out a data connection. #data_connection_timeout120 # # It is recommended that you define on your system a unique user which the # ftp server can use as a totally isolated and unprivileged user. #nopriv_userftpsecure # # Enable this and the server will recognise asynchronous ABOR requests. Not # recommended for security (the code is non-trivial). Not enabling it, # however, may confuse older FTP clients. #async_abor_enableYES # # By default the server will pretend to allow ASCII mode but in fact ignore # the request. Turn on the below options to have the server actually do ASCII # mangling on files when in ASCII mode. The vsftpd.conf(5) man page explains # the behaviour when these options are disabled. # Beware that on some FTP servers, ASCII support allows a denial of service # attack (DoS) via the command SIZE /big/file in ASCII mode. vsftpd # predicted this attack and has always been safe, reporting the size of the # raw file. # ASCII mangling is a horrible feature of the protocol. #ascii_upload_enableYES #ascii_download_enableYES # # You may fully customise the login banner string: #ftpd_bannerWelcome to blah FTP service. # # You may specify a file of disallowed anonymous e-mail addresses. Apparently # useful for combatting certain DoS attacks. #deny_email_enableYES # (default follows) #banned_email_file/etc/vsftpd/banned_emails # # You may specify an explicit list of local users to chroot() to their home # directory. If chroot_local_user is YES, then this list becomes a list of # users to NOT chroot(). # (Warning! chrooting can be very dangerous. If using chroot, make sure that # the user does not have write access to the top level directory within the # chroot) #chroot_local_userYES #chroot_list_enableYES # (default follows) #chroot_list_file/etc/vsftpd/chroot_list # # You may activate the -R option to the builtin ls. This is disabled by # default to avoid remote users being able to cause excessive I/O on large # sites. However, some broken FTP clients such as ncftp and mirror assume # the presence of the -R option, so there is a strong case for enabling it. #ls_recurse_enableYES # # When listen directive is enabled, vsftpd runs in standalone mode and # listens on IPv4 sockets. This directive cannot be used in conjunction # with the listen_ipv6 directive. listenNO # # This directive enables listening on IPv6 sockets. By default, listening # on the IPv6 any address (::) will accept connections from both IPv6 # and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6 # sockets. If you want that (perhaps because you want to listen on specific # addresses) then you must run two copies of vsftpd with two configuration # files. # Make sure, that one of the listen options is commented !! listen_ipv6YESpam_service_namevsftpd userlist_enableYES tcp_wrappersYES userlist_denyNO启动后通过相应的客户端登录访问即可。
http://www.w-s-a.com/news/884548/

相关文章:

  • 如何承接网站建设外包wordpress产品布局
  • 洛阳建站洛阳市网站建设视觉设计专业
  • 婚恋网站建设分析网站建设硬件需求
  • 北京做网站电话wordpress如何换图片
  • 电影网站做cpa深圳信息网
  • 单县网站建设优化大师电脑版官网
  • 番禺区住房和建设局物业网站浦东新区网站设计
  • 外贸网站外包WordPress仿牌
  • 如何设计网站logohtml5开发
  • 金坛建设银行总行网站网站开发费用如何记账
  • 贵阳企业网站设计制作湛江知名网站建设电话
  • 网站建设安全性高清效果图网站
  • 上海网站排名推广黄山公司做网站
  • 全国网站建设公司实力排名单页面网站建设
  • 网站建设方案 规划wordpress 要备案吗
  • 一个完整的网站 技术网站建设中 敬请期待.
  • 如何建一个公司的网站网上怎么推广公司产品
  • 十大旅游电子商务网站影楼网站制作
  • 深圳网站建设代理商网业打开慢的原因
  • 旅游网站经营模式在屈臣氏做网站运营
  • 做管理信息的网站com域名查询
  • 免费推广网站推荐外贸推广平台哪个好
  • 腾宁科技做网站399元全包企业校园网站建设
  • 海外医疗兼职网站建设公司取名字大全免费
  • 龙口市规划建设局网站vi设计和品牌设计的区别
  • 企业网站的总体设计网站建设评审验收会议主持词
  • 网站建设完成推广响应式网站设计开发
  • 电商网站用php做的吗网站开发流程可规划为那三个阶段
  • flash网站怎么做音乐停止深圳网站建设金瓷网络
  • 哪个网站可以做房产信息群发怎么做国内网站吗