`

How to start a ftp service

 
阅读更多
  • How to start a ftp service
  1.  Login as root 
  2.  Vi /etc/vsftpd.conf

            local_enable=YES
            write_enable=YES

    3.Then start vsftpd service

            service vsftpd start
    4.See if port 21 is open
    5.netstat –na|grep 21
            tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN   
    6.See attachment for details.

 

  • Open ftp service
  • 1. If ftp service is not open, open it following the last mail I sent before.
  • 2. Step 2, by default step 1 only open the normal user’s ftp privilege(like test), users like root, oracle are denied from the ftp user list.
  • So you have two choices:
  • 1) copy files from oracle user to test user. Then send files by test user from 99 to 15 node.
  • 2) Open oracle user’s ftp privilege. If so go to Step 3.
  • 3. Step 3, to open oracle user’s ftp privilege, do following:
  • 1) Login as root
  • 2) Vi /etc/ftpusers
  • #
  • # ftpusers      This file describes the names of the users that may
  • #               _*NOT*_ log into the system via the FTP server.
  • #               This usually includes "root", "uucp", "news" and the
  • #               like, because those users have too much power to be
  • #               allowed to do "just" FTP...
  • #oracle                    //mark oracle from the list.
  • 3) Save and done.

                           Then you can happy to copy files through ftp use the oracle user now.
  • 4) As the oracle user have too much power, it’s dangerous to open the ftp privilege. I suggest to closed it after you finished your job (move the mark from /etc/ftpusers).
分享到:
评论

相关推荐

    Cacti Linux How To

    ### Cacti Linux How To #### 目的 本文档旨在详细介绍如何安装 Red Hat 的 Fedora Core 2 并利用一系列应用程序进行基于网络的 SNMP 管理。文档将引导您逐步完成在新系统上安装 Linux 的过程,并配置所有必要的...

    滤波器设计软件FilterLab v2.0

    The file transfer site is available by using an FTP service to connect to: ftp://ftp.microchip.com The web site and file transfer site provide a variety of services. Users may download files for ...

    camel-manual-2.0

    Here’s a brief walkthrough of a sample code snippet to give a sense of how Camel can be configured and used: ```java CamelContext context = new DefaultCamelContext(); ``` This line initializes a ...

    2009 达内Unix学习笔记

    ftp工具 192.168.0.202 tools-toolss 老师测评网址 http://172.16.0.198:8080/poll/ 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ 一、注意事项 命令和参数之间必需用空格隔开,参数和...

    samba服务器

    Samba的服务启动脚本位于 `/etc/rc.d/init.d/smb`,可以通过命令 `service smb start` 或 `systemctl start smb` 启动服务。 配置文件通常包括: - `/etc/samba/smb.conf`: 主配置文件,控制Samba服务器的行为。 - ...

Global site tag (gtag.js) - Google Analytics