zoukankan      html  css  js  c++  java
  • linux ftp服务器搭建

    作为服务器的机器IP:192.168.124.129  主机名:Centos 操作系统:CentOS 5.5

    需求:匿名用户可以下载公共目录里边内容,本地用户登录有rwx权限

     软件安装

     

    1、  准备测试账号

    [root@Centos Server]# groupadd web

    [root@Centos Server]# useradd -g web tony

    [root@Centos Server]# useradd -g web james

    [root@Centos Server]# passwd tony

    [root@Centos Server]# passwd james

    2、  修改配置文件

    vi /etc/vsftpd/vsftpd.conf

     

    添加chroot_local_user=YES #禁锢本地用户在自己的家目录 使cd 切换目录不起作用

    3、  启动服务

    [root@Centos pub]# service vsftpd start

    Starting vsftpd for vsftpd:                                [  OK  ]

     

    4、  使用windows宿主机做客户端测试

    5,设置服务开机自启动

  • 相关阅读:
    Rate Control Mode
    帝国的困境:80-20法则
    ARM NEON 64bit 查找表替换
    Video Brightness Enhancement
    HDR(High Dynamic Range)
    C++ C++
    Machine Learning
    图像处理
    Facial landmark detection
    git
  • 原文地址:https://www.cnblogs.com/jamesbd/p/3567610.html
Copyright © 2011-2022 走看看