Ubuntu: Postavljanje FTP poslužitelja
Pomoću FTP poslužitelja možete lako razmjenjivati podatke između poslužitelja i klijenta. Pokazat ćemo vam kako to postaviti na Ubuntu u praktičnom savjetu u nastavku.
Instalirajte FTP poslužitelj na Ubuntu
Ubuntu vam nudi jednostavan način instaliranja FTP servera na vaš sustav putem službenih izvora paketa. Jednostavno napravite sljedeće:
- Otvorite terminal klikom desne tipke miša na radnu površinu i odabirom opcije "Otvori terminal".
- Zatim ažurirajte svoj sustav "sudo apt-get update", a zatim "sudo apt-get upgrade".
- Sada možete instalirati vrlo siguran FTP poslužitelj "vsftpd" pomoću naredbe "sudo apt-get install vsftpd".
- Nakon instalacije, to je dostupno pod "ftp: // VAŠ IP ADRESA".
Postavljanje FTP poslužitelja na Ubuntu
Zatim biste trebali prilagoditi postavke FTP poslužitelja prema vašim željama. To se događa putem konfiguracijske datoteke:
- U standardnoj konfiguraciji svi se korisnici vašeg računala mogu prijaviti na poslužitelj i čitati datoteke.
- Za uređivanje konfiguracije morate pokrenuti naredbu "sudo gedit /etc/vsftpd.conf".
- Da biste aktivirali funkcije, morate ukloniti znak "#" ispred njih i spremiti konfiguraciju.
- Tada samo morate ponovno pokrenuti poslužitelj s "sudo service vsftpd restart" i promjene u konfiguraciji stupaju na snagu.
- Potpuni popis svih opcija konfiguracije može se naći na vsftpd početnoj stranici.