Jump to content

Recommended Posts

Posted

Pasul 1

Instalam proftpd

# apt-get install proftpd
# service proftpd restart
# nano /etc/proftpd/proftpd.conf

proftpd.conf


Include /etc/proftpd/modules.conf[/i]

[i]UseIPv6 on[/i]
[i]IdentLookups off[/i]
[i]ServerName "Debian"
ServerType standalone
DeferWelcome off[/i]
[i]MultilineRFC2228 on
DefaultServer on
ShowSymlinks on[/i]
[i]TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200[/i]
[i]DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"[/i]
[i]DenyFilter \*.*/[/i]
[i]Port 21[/i]
[i]MaxInstances 30[/i]

[i]User proftpd
Group nogroup[/i]
[i]Umask 022 022[/i]
[i]AllowOverwrite on[/i]

[i]TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log[/i]

[i]QuotaEngine off[/i]

[i]Ratios off[/i]

[i]DelayEngine on[/i]
[i]ControlsEngine off
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock[/i]
[i]AdminControlsEngine off[/i]

Pasul 2

Verificam serverul FTP


# ftp slashlinux.info
Connected to slashlinux.info.
220 ProFTPD 1.3.2c Server (Debian) [::ffff:46.42.208.77]
Name (slashlinux.info:petrisor): joe
331 Password required for joe
Password:
230 User user1 logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> dir
200 PORT command successful
150 Opening ASCII mode data connection for file list

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.