0% found this document useful (0 votes)
58 views3 pages

Instalasi FTP Server Dengan ProFTPD

This document provides instructions for installing an FTP server on Linux using ProFTPD. It includes steps to download and extract the ProFTPD package, configure the server, create a FTP user and home directory, edit the ProFTPD configuration file, start the FTP service, and test the FTP connection locally as an anonymous user and regular user. The configuration file setup includes enabling file overwrites, limiting the number of anonymous users, and restricting writes in the anonymous home directory. Testing confirms the FTP server is functioning properly and accessible to anonymous users.

Uploaded by

Benny Meddyanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views3 pages

Instalasi FTP Server Dengan ProFTPD

This document provides instructions for installing an FTP server on Linux using ProFTPD. It includes steps to download and extract the ProFTPD package, configure the server, create a FTP user and home directory, edit the ProFTPD configuration file, start the FTP service, and test the FTP connection locally as an anonymous user and regular user. The configuration file setup includes enabling file overwrites, limiting the number of anonymous users, and restricting writes in the anonymous home directory. Testing confirms the FTP server is functioning properly and accessible to anonymous users.

Uploaded by

Benny Meddyanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

.:: Instalasi Ftp Server dengan ProFTPD ::.

Instalasi Ftp Server dengan ProFTPD


===================================
Oleh hari-huhui (hari_huhui@yahoo.com)

Asumsi-asumsi:
==============
- Artikel ini hanyalah membahas basic configuration dari ftp server, untuk
pengembangan lebih lanjut silahkan baca-baca di www.proftpd.org.
- Paket proftpd yg digunakan adalah proftpd-1.2.4.tar.gz

Langkah-langkah instalasi:
==========================
- Download paket proftpd-1.2.4.tar.gz dari situs www.proftpd.org

- Ekstrak ke direktori yg anda suka:


tar zxvf proftpd-1.2.4.tar.gz -C /usr/local/src

- Pergi ke direktori baru hasil ekstrak:


cd proftpd-1.2.4
./configure; make; make install

- Buat user yang akan menjalankan proftpd:


useradd proftpd -s /dev/null

- Buat home directory untuk anonymous:


mkdir /home/ftp

- Edit file konfigurasi proftpd dengan text editor yg anda suka:


vi /usr/local/etc/proftpd.conf

- Contoh file konfigurasi proftpd.conf untuk basic ftp server:

# This is a basic ProFTPD configuration file (rename it to


# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "Hari-huhui"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.


Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes


# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

# Set the user and group that the server normally runs at.
User proftpd
Group proftpd

# Normally, we want files to be overwriteable.


<Directory /*>
AllowOverwrite on
</Directory>

# A basic anonymous configuration, no upload directories.


<Anonymous /home/ftp>
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# Limit the maximum number of anonymous logins


MaxClients 10

# We want 'welcome.msg' displayed at login, and '.message' displayed


# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot


<Limit WRITE>
DenyAll
</Limit>

</Anonymous>

- Jalankan proftpd:
[root@taubat proftpd-1.2.4]# /usr/local/sbin/proftpd

- Jika ada error, selalu lakukan cek di /var/log/messages, anda akan menemukan
informasi yg sangat berharga di situ :)
[root@taubat proftpd-1.2.4]# tail /var/log/messages

- Jika tidak ada error, lakukan test dengan mencoba ftp server baru anda :)

[root@taubat proftpd-1.2.4]# ftp localhost


Connected to localhost (127.0.0.1).
220 ProFTPD 1.2.4 Server (Hari-huhui) [taubat.nasuha.org]
Name (localhost:root): hari
331 Password required for hari.
Password:
230 User hari logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

- Lakukan test juga terhadap konfigurasi anonymous ftp server anda :)

[root@taubat proftpd-1.2.4]# ftp localhost


Connected to localhost (127.0.0.1).
220 ProFTPD 1.2.4 Server (Hari-huhui) [taubat.nasuha.org]
Name (localhost:root): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

Jika output yang keluar adalah seperti di atas, maka selamat, ftp server anda telah
berjalan dengan baik :)

Alhamdulillaahirabbil'aalamiin

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy