Presentation is loading. Please wait.

Presentation is loading. Please wait.

System Administration HW2 - File System Server

Similar presentations


Presentation on theme: "System Administration HW2 - File System Server"— Presentation transcript:

1 System Administration HW2 - File System Server
cychao

2 FTP Install a FTP server for FreeBSD Settings Anonymous Login
Pure-FTPd: /usr/ports/ftp/pure-ftpd/ ProFTPD: /usr/ports/ftp/proftpd/ Settings Anonymous Login Chrooted (/home/ftp is your root directory) Can download from /home/ftp/public Can upload & mkdir but no download or delete from /home/ftp/upload Hidden directory /home/ftp/hidden There is a directory called “treasure” inside Client can’t list in /home/ftp/hidden/ but can in hidden/treasure

3 FTP Settings (cont’d) Create a system user “sysadm” (2%)
Could login by ssh Password is your student id Create a virtual user “ftp-vip” Chrooted (/home/ftp is your root directory) Password is your student-id Can login from & your ip only Full access to /home/ftp Hidden directory is visible to ftp-vip

4 Samba Install Samba /usr/ports/net/samba35 Share a directory on FreeBSD as normal Windows folders Windows user can direct access (drag & drop) files on FreeBSD via 網路芳鄰, but only owner can read/write files. Admin can read/write all files .exe .bin .vbs could not upload Guest account could browse FreeBSD mount windows partition

5 ZFS Create a zfs file system with mirror Do zfs snapshot
Do zfs rollback Set compression Reboot and everything is fine (zfs still mount)

6 Requirement ZFS on /home/ftp Samba share /home/ftp/public to windows
Mount windows directory at /home/ftp/windows

7 How to hand in DEMO

8 Deadline 2011/10/25 18:00 You do not need to submit anything

9 Help IRC channel #nctuNASA on freenode Newsgroup cs.course.sysadmin
BBS bs2.to board CS-SysAdmin Goto CSCC to ask professional 3F!


Download ppt "System Administration HW2 - File System Server"

Similar presentations


Ads by Google