Administrasi Sistem Jaringan ❘ DNS and FTP Configuration
A. Learning Objective
- Know how to doing FTP Configuration
- Know how the local repository work
- Learn how the client's Mac address is registered in order to get a static ip address.
B. Learning Material
C. Learning Preparation
It would be beneficial to have some preparation before learning about DHCP server configuration. Some tools and materials could be useful for that, such as:5. PuTTY
6. VMware (for virtual machine)
D. Topology
E. Configuration
1. . Remote server using PuTTY or other remote ssh applications, then in the hostname or ip address column enter the server ip, namely 172.18.0.44 then select the Connection type, namely SSH. If you have clicked Open..
2. If there is a question like this, click accept to agree to the security alert from the PuTTY.
3. Now if so, login as user and enter the password, then type the su command to enter root mode and enter the root password. If it's like this, it means we have successfully installed Debian Server and remote using SSH.
4. Update existing packages on debian, using the apt update command.
5. Use the cd /etc/bind command to move to the bind directory, so we can add an ftp subdomain.
6. After that, open the file that was previously copied from the db.local file, for example here is asoy. If you have successfully entered, edit the file by adding the ftp subdomain by also adding 172.18.0.44. Then CTRL X> Y> Enter to save changes.
7. Then restart the bind9 package to update the contents of the bind directory using the systemctl restart bind9 command. After that, try pinging ftp and make sure the result is a reply.
8. Download the proftpd package with the apt install proftpd command, then if there is a question whether to continue or not, just type y or yes. And just wait until the installation process is complete.
9. Enter the home directory to add a new directory as an ftp file location, if so, create a directory for ftp with the mkdir ftpshare command. To see if it has entered or not use the ls command to see the folder has entered or not.
10. Use the ls -al command to see the details of each file. Then change the permissions of the ftpshare folder with the chmod 777 ftpshare/ command.
11. Enter the proftpd directory with the cd /etc/proftpd command, then view the file list with the ls command. Then backup the files from proftpd.
12. Edit the proftpd.conf file then look for the word defaultroot as we will be editing that section.
13. Enter the directory that we created for the ftp file.
14. Then add a new user and do not use the same user as before, for example here we use the user gemoy. Enter the password and retype the new password. If all information is correct type y or yes.
15. Enter the proftpd directory again and type the usermod -d /home/asoy/ftshare/ gemoy command to change the user's home directory to access files in ftp.
16. In a virtual machine, open the Windows 10 client.
17. Open the control panel then check the ip details on the windows client.
18. And this is the ip details of our windows client.
19. Then, open a command prompt on the windows client and test ping to ftp.kelasoy.com and the result should be a reply.
20. Then, access ftp with cli with the command ftp ftp.kelasoy.com if it is connected, enter the user that we just added, namely gemoy. And enter the password. If the user gemoy has successfully logged in, type the ls command to see what the contents of the ftp file are. Then create the tescli folder, with the command mkdir tescli.
21. Then type the bye command, to terminate ftp access via cli.
22. Open the file manager and in the search bar type ftp://ftp.kelasoy.com to access ftp through the gui.
23. Login with a new user the same as in cli, enter the user and password as well.
24. If you are already logged in, right-click and then add a new folder. This is the ftp configuration with the gui.
25. If it has been added then the result will be like this. There are two folders: tescli and tesgui.
26. Also access the internet explorer using the domain ftp://ftp.kelasoy.com/ then log in again with the same user and password.
27. And this is the result, on the internet explorer there are two folders that we previously added, namely tescli and tesgui.
0 Komentar