~ubuntu-branches/ubuntu/feisty/kubuntu-docs/feisty

« back to all changes in this revision

Viewing changes to kubuntu/build/kubuntu/serverguide/C/ftp-server.html

  • Committer: Bazaar Package Importer
  • Author(s): Matthew East, Jonathan Riddell, Matthew East
  • Date: 2006-05-21 21:32:00 UTC
  • Revision ID: james.westby@ubuntu.com-20060521213200-1i156mdu9sd9wuxz
Tags: 6.06-10
[ Jonathan Riddell ]
* Add links in each langauge to en/common, makes html files work when 
  viewed without help:/ ioslave

[ Matthew East ]
* Updated translations for everything (last update before the release)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
 
<html xmlns="http://www.w3.org/1999/xhtml">
4
 
  <head>
5
 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
 
    <title>FTP Server</title>
7
 
    <link rel="stylesheet" href="../../common/kde-default.css" type="text/css" />
8
 
    <link rel="stylesheet" href="../../common/kubuntu-default.css" type="text/css" />
9
 
    <meta name="generator" content="DocBook XSL Stylesheets V1.68.1" />
10
 
    <link rel="start" href="index.html" title="Ubuntu Server Guide" />
11
 
    <link rel="up" href="networking.html" title="Chapter 4. Networking" />
12
 
    <link rel="prev" href="openssh-server.html" title="OpenSSH Server" />
13
 
    <link rel="next" href="network-file-system.html" title="Network File System (NFS)" />
14
 
  </head>
15
 
  <body>
16
 
    <div xmlns="" style="background-image: url(../../common/top-middle.png); width: 100%; height: 131px;">
17
 
      <div style="position: absolute;                      right: 0px;">
18
 
        <img src="../../common/top-right-konqueror.png" style="margin: 0px" alt="" />
19
 
      </div>
20
 
      <div style="position: absolute; left: 0px;">
21
 
        <img src="../../common/top-left.png" style="margin: 0px" alt="" />
22
 
      </div>
23
 
      <div style="position: absolute;                         top: 25px;                          right: 100px;                          text-align: right;                          font-size: xx-large;                          font-weight: bold;                          text-shadow: #fff 0px 0px 5px;                          color: #444">FTP Server</div>
24
 
    </div>
25
 
    <div xmlns="" style="margin-top: 20px; background-color: #white;                        color: black;                       margin-left: 20px;                        margin-right: 20px;">
26
 
      <div style="position: absolute;                          left: 20px;">
27
 
        <a accesskey="p" href="openssh-server.html">Prev</a>
28
 
      </div>
29
 
      <div style="position: absolute;                          right: 20px;">
30
 
        <a accesskey="n" href="network-file-system.html">Next</a>
31
 
      </div>
32
 
      <div class="navCenter">Networking</div>
33
 
    </div>
34
 
    <div class="sect1" lang="C" xml:lang="C">
35
 
      <div class="titlepage">
36
 
        <div>
37
 
          <div>
38
 
            <h2 class="title" style="clear: both"><a id="ftp-server"></a>FTP Server</h2>
39
 
          </div>
40
 
        </div>
41
 
      </div>
42
 
      <p>File Transfer Protocol (FTP) is a TCP protocol for uploading and downloading
43
 
                files between computers. FTP works on a client/server model. The server component is
44
 
                called an <span class="emphasis"><em>FTP daemon</em></span>. It continuously listens for FTP requests
45
 
                from remote clients. When a request is received, it manages the the login and sets up
46
 
                the connection. For the duration of the session it executes any of commands sent by
47
 
                the FTP client.</p>
48
 
      <p>Access to an FTP server can be managed in two ways:</p>
49
 
      <div class="itemizedlist">
50
 
        <ul type="disc" compact="compact">
51
 
          <li>
52
 
            <p>Anonymous</p>
53
 
          </li>
54
 
          <li>
55
 
            <p>Authenticated</p>
56
 
          </li>
57
 
        </ul>
58
 
      </div>
59
 
      <p>In the Anonymous mode, remote clients can access the FTP server by using the
60
 
                default user account called 'anonymous" or "ftp" and
61
 
                sending an email address as the password. In the Authenticated mode a user must
62
 
                have an account and a password. User access to the FTP server directories and files is
63
 
                dependent on the permissions defined for the account used at login. As a general
64
 
                rule, the FTP daemon will hide the root directory of the FTP server and change it to
65
 
                the FTP Home directory. This hides the rest of the file system from remote
66
 
            sessions.</p>
67
 
      <div class="sect2" lang="C" xml:lang="C">
68
 
        <div class="titlepage">
69
 
          <div>
70
 
            <div>
71
 
              <h3 class="title"><a id="vsftpd-ftp-server-installation"></a>vsftpd - FTP Server Installation</h3>
72
 
            </div>
73
 
          </div>
74
 
        </div>
75
 
        <p>vsftpd is an FTP daemon available in
76
 
                    Ubuntu. It is easy to install, set up, and
77
 
                    maintain.  To install <span><strong class="application">vsftpd</strong></span> you
78
 
                can run the following command:
79
 
                </p>
80
 
        <pre class="screen"> <span xmlns="" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span xmlns="http://www.w3.org/1999/xhtml"><strong class="command">sudo apt-get install vsftpd</strong></span></span> </pre>
81
 
        <p>
82
 
                </p>
83
 
      </div>
84
 
      <div class="sect2" lang="C" xml:lang="C">
85
 
        <div class="titlepage">
86
 
          <div>
87
 
            <div>
88
 
              <h3 class="title"><a id="vsftpd-ftp-server-configuration"></a>vsftpd - FTP Server Configuration</h3>
89
 
            </div>
90
 
          </div>
91
 
        </div>
92
 
        <p>
93
 
                You can edit the vsftpd configuration file,
94
 
                <code class="filename">/etc/vsftpd.conf</code>, to
95
 
                change the default settings.
96
 
 
97
 
                By default only anonymous FTP is
98
 
                allowed. If you wish to disable this option, you
99
 
                should change the following line:
100
 
</p>
101
 
        <pre class="programlisting">
102
 
anonymous_enable=YES
103
 
</pre>
104
 
        <p>
105
 
                to
106
 
</p>
107
 
        <pre class="programlisting">
108
 
anonymous_enable=NO
109
 
</pre>
110
 
        <p>
111
 
                By default, local system users are not allowed to
112
 
                login to FTP server. To change this setting, you
113
 
                should uncomment the following line:
114
 
</p>
115
 
        <pre class="programlisting">
116
 
#local_enable=YES
117
 
</pre>
118
 
        <p>
119
 
                By default, users are allowed to download files
120
 
                from FTP server. They are not allowed to upload
121
 
                files to FTP server. To change this setting, you
122
 
                should uncomment the following line:
123
 
</p>
124
 
        <pre class="programlisting">
125
 
#write_enable=YES
126
 
</pre>
127
 
        <p>
128
 
                Similarly, by default, the anonymous users are not
129
 
                allowed to upload files to FTP server. To change
130
 
                this setting, you should uncomment the following
131
 
                line:
132
 
</p>
133
 
        <pre class="programlisting">
134
 
#anon_upload_enable=YES
135
 
</pre>
136
 
        <p>
137
 
                The configuration file consists of many
138
 
                configuration parameters. The information about
139
 
                each parameter is available in the configuration
140
 
                file. Alternatively, you can refer to the man
141
 
                page, <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="" class="command"><span xmlns="http://www.w3.org/1999/xhtml"><strong class="command">man 5 vsftpd.conf</strong></span></span> for
142
 
                details of each parameter. 
143
 
                </p>
144
 
        <p> 
145
 
                Once you configure <span><strong class="application">vsftpd</strong></span> you
146
 
                can start the daemon. You can run following command to
147
 
                run the <span><strong class="application">vsftpd</strong></span> daemon:
148
 
                  </p>
149
 
        <pre class="screen"> <span xmlns="" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span xmlns="http://www.w3.org/1999/xhtml"><strong class="command">sudo /etc/init.d/vsftpd start</strong></span></span> </pre>
150
 
        <p>
151
 
                </p>
152
 
        <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
153
 
          <h3 class="title">Note</h3>
154
 
          <p>
155
 
                                Please note that the defaults in the configuration file are
156
 
                                set as they are for security reasons.  Each of the above
157
 
                                changes makes the system a little less secure, so make them
158
 
                                only if you need them.
159
 
                                </p>
160
 
        </div>
161
 
      </div>
162
 
    </div>
163
 
    <div xmlns="" style="background-color: #white; color: black;                  margin-top: 20px; margin-left: 20px;                  margin-right: 20px;">
164
 
      <div style="position: absolute; left: 20px;">
165
 
        <a accesskey="p" href="openssh-server.html">Prev</a>
166
 
      </div>
167
 
      <div style="position: absolute; right: 20px;">
168
 
        <a accesskey="n" href="network-file-system.html">Next</a>
169
 
      </div>
170
 
      <div align="center">
171
 
        <a accesskey="h" href="index.html">Home</a>
172
 
      </div>
173
 
    </div>
174
 
    <div xmlns="" style="background-color: #white;   color: black;         margin-left: 20px;   margin-right: 20px;">
175
 
      <div class="navLeft">OpenSSH Server </div>
176
 
      <div class="navRight"> Network File System (NFS)</div>
177
 
      <div class="navCenter">
178
 
        <a accesskey="u" href="networking.html">Up</a>
179
 
      </div>
180
 
    </div>
181
 
    <br xmlns="" />
182
 
    <br xmlns="" />
183
 
    <div xmlns="" class="bannerBottom" style="background-image: url(../../common/bottom-middle.png);                                        background-repeat: x-repeat;                                         width: 100%;                                         height: 100px;                                         bottom:0px;">
184
 
      <div class="BannerBottomRight">
185
 
        <img src="../../common/bottom-right.png" style="margin: 0px" alt="" />
186
 
      </div>
187
 
      <div class="bannerBottomLeft">
188
 
        <img src="../../common/bottom-left.png" style="margin: 0px;" alt="" />
189
 
      </div>
190
 
    </div>
191
 
  </body>
192
 
</html>