A. Learning objectives:
B. Preparation of Tools and Materials:
-VMware Workstation/VMware Player
-ISO Debian 11 (can be downloaded from https://www.debian.org/distrib/)
Minimum Specifications:
RAM: 2 GB (recommended 4 GB)
Storage: 20 GB
Processor: Dual-core
Installation process:
1 First, go to cd /etc/bind, to see our files.
2. Then go to the db.domain directory so we can enter the ftp that we will configure.
3. Then type systemctl restart bind9, then we ping the domain that we entered above.
4. Then we enter the host directory by typing the command nano/etc/hosts
5 This means that the hostname satria.com and the alias satria both point to the IP address 192.168.247.95
6. Then we install proftpd to create a user account for the client, with the command apt install proftpd, then type y and enter.
7. Then we go to cd/home to create mkdir, to create a new directory, which we will later use for ftp. Enter the command mkdir ftpsatria, then ls, then ls -al.
8. Then we go to chmd to give full access to the owner. By entering the command chmod 777 ftpsatria/.
9. then change the directory to proftpdew2. then we create a backup file with the command below.
10. Adding Default Root /home/fileftp/file in proftpd.conf serves to limit (jail) FTP user access to only that folder.
Its purpose is to increase security by preventing users from accessing other directories outside of the allowed folders.
11. then we enter the exit command to exit the ongoing session, then type su -l to re-enter the session that has been exited, then we add a user for our client user, then we create a password and then re-enter the password. then click enter until y/n is entered.
12. The cd /etc/proftpd/ command is used to change the working directory to the /etc/proftpd/ folder , where the ProFTPD configuration files are usually stored.
13. Then we enter the command systemctl restart bind9, and systemctl status bind9 to check whether bind9 is active or not.
14. If it is active, we go to the client and then we ping ftp.satria.com, if it is successful we continue to the next.
15. then we enter the ftp command ftp.satria.com, then login with satria2 , then successfully log in to the FTP server ftp.satria.com , create a new directory named testcli , and make sure the directory is successfully created. After that, the user exits the FTP session with the bye command .
16. Then we go to the file manager, then we enter ftp://ftp.satria.com/
17. Then we log in with the user we have created, then we log on.
18. Then we create a new folder, with the testgui format, by right-clicking on the mouse, or double-clicking the touchpad on your laptop.
19. Then we enter the browser with the command ftp://ftp.satria.com/, then the results will appear as below.