System Administration HW2 - File System Server. Computer Center, CS, NCTU 2 FTP  Install a FTP server for FreeBSD Pure-FTPd: /usr/ports/ftp/pure-ftpd.

Slides:



Advertisements
Similar presentations
System Administration Final Project - Micro Computer Center hchung, hwchiu.
Advertisements

FTP Using FileZilla CS10001 – Computer Literacy. Step 1: Understanding the Interface Quickconnect Bar Message Log Area Local site navigation (either lab.
Homework 5b: Samba. Computer Center, CS, NCTU 2 Network-based File Sharing (1)  NFS (UNIX-based) mountd is responsible for mount request nfsd and nfsiod.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Using FileZilla to FTP CS10001 – Computer Literacy Kent State University.
Information About Homework 1. Homework 1 To take a survey of IGF (Internet Governance Forum) and consider the following issues. – Describe the progress.
Sharing Files Richard Newman based on Smith “Elementary Information Security”
Computers in Principle and Practice Servers and Operating Systems.
System Administration HW1-1 changlp. Computer Center, CS, NCTU 2 Requirements  Basic Install up-to-date –RELEASE of FreeBSD  8.2-R Add a user and a.
The Network Management Lab pc pc pc pc pc Virtual Servers Your Laptop.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
CNIT 132 Intermediate HTML and CSS Publish Web Page.
CSN08101 Digital Forensics Lecture 1B: Essential Linux and Caine Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak.
Mid 1960 ’ s - Multics - proposed by AT&T, Honeywell, GE & MIT; funded by DARPA Thompson & Ritchie create Unix 1978 to 84 - Bill Joy & Chuck Haley.
System Administration HW2 - FTP, Samba, BT, ZFS jwbai.
Final Project – NFS and NIS jwbai. Computer Center, CS, NCTU 2 Goal master.passwd passwd group netgroup amd.conf userA, /nis/home/userA userB, /nis/home/userB.
VNC Greg Fankhanel Jessica Nunn Jennifer Romero. What is it? Stands for Virtual Network Computing It is remote control software which allows you to view.
A few Linux basics Network Monitoring & Management.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 5 1 Downloading and Storing Data Using FTP and Other Services to Transfer and.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
System Administration HW1-2 Build your FreeBSD Desktop huanghs.
FTP File Transfer Protocol. Computer Center, CS, NCTU 2 FTP  FTP File Transfer Protocol Used to transfer data from one computer to another over the internet.
System Administration HW3 Shell Script changlp. Computer Center, CS, NCTU 2 Requirements  User socket statistic (20%) Use one-line command to show per-user.
Web Server/Services Web Server/Services pyhsu. Computer Center, CS, NCTU 2 FAMP(FreeBSD+Apache+MySQL+PHP)  Apache 2.2 (40%) /usr/ports/www/apache22 apache22_enable="YES"
Internet Business Foundations © 2004 ProsoftTraining All rights reserved.
Turning Windows 7 into a Web Server Ch 28. Understanding Internet Information Services.
System Administration Practice Homework 1-2 : X Window System lctseng.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
Homework 02 NAT 、 DHCP 、 Firewall 、 Proxy. Computer Center, CS, NCTU 2 Basic Knowledge  DHCP Dynamically assigning IPs to clients  NAT Translating addresses.
Homework 03 - Hint DNS. Computer Center, CS, NCTU 2 Architecture ns.a.nctucs.net a.a /24 ns.b.nctucs.net b.b /24.
FTP Server API Implementing the FTP Server Registering FTP Command Callbacks Data and Control Port Close Callbacks Other Server Calls.
Homework 03 DNS. Computer Center, CS, NCTU 2 Architecture ns.a.nctucs.net a.a /24 ns.b.nctucs.net b.b /24 slave.
FTP File Transfer Protocol. Computer Center, CS, NCTU 2 FTP  FTP File Transfer Protocol Used to transfer data from one computer to another over the internet.
System Administration HW2 - File System Server ylin.
System Administration HW5 - Micro Computer Center yihshih / lctseng.
File Transfer Protocol (FTP) FTP host stores files Client logs into host Client program sends command to get a file FTP host downloads the file with error.
FTP Using FileZilla CS10001 – Computer Literacy. Step 1: Understanding the Interface Quickconnect Bar Message Log Area Local site navigation (either lab.
Basic Service & Settings xclin. Computer Center, CS, NCTU 2 If you want to transfer a file…
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
System Administration Practice Homework6 - LDAP login + Puppet + Jail yench / lctseng / chchang2222.
VIRTUAL HOSTING WITH PureFTPd And MYSQL (Quota And Bandwidth Management) BY Odoh Kenneth Emeka Sun Yu Patrick Appiah.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
System Administration HW3 - Shell Script chenyp. Computer Center, CS, NCTU 2 Requirements  File statistics (20%+10%) use one-line command to show files.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
Installing Applications in FreeBSD lctseng. Computer Center, CS, NCTU 2 Before we start  Permission issue root: the super user Like administrator in.
File Transfer Protocol (FTP) CIS 130. File Transfer Protocol (FTP) Copy files from one internet host (server) to your account on another host –Need domain.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
Web Server/Services Web Server/Services huanghs. Computer Center, CS, NCTU 2 FAMP(FreeBSD+Apache+MySQL+PHP)  Apache 2.2 (35%) /usr/ports/www/apache22.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
System Administration Practice Homework 1-3 : Chinese World lctseng.
Linux Online Training. Introduction to LINUX Linux is the open source operating system and Linux is a clone of UNIX. Thousands of application programs.
1 E-Site - FTP Services Setup / install guide. 2 About FTP services can run on any desired port(s) Runs as a windows service Works for all sites installed.
PRESENTED BY ALI NASIR BITF13M040 AMMAR HAIDER BITF13M016 SHOIAB BAJWA BITF13M040 AKHTAR YOUNAS BITF13M019.
System Administration HW3 - Shell Script hchung. Computer Center, CS, NCTU 2 Requirements  User connect time statistic script (10%) Use one-line command.
Setting up FTP for CAST Click on Manage Sites
Homework 3 frank.
Exercise 7 Samba.
FTP - File Transfer Protocol
System Administration Practice Homework 1-1 : FreeBSD Base
Services Provided by Network Operating Systems
Presented by, Mr. Satish Pise
System Administration HW1-3 Chinese World
Final Project– NFS and NIS
Computer System Administration Homework 3 – File Server
System Administration HW5 - Micro Computer Center
System Administration HW3 - File System Server
System Administration Practice Homework2 - File System Server
System Administration HW2 - File System Server
IS 4506 Configuring the FTP Service
Presentation transcript:

System Administration HW2 - File System Server

Computer Center, CS, NCTU 2 FTP  Install a FTP server for FreeBSD Pure-FTPd: /usr/ports/ftp/pure-ftpd ProFTPD: /usr/ports/ftp/proftpd  Settings 1.Anonymous Login  Can download from /home/ftp/public  Can upload & mkdir from /home/ftp/upload  Can’t delete from /home/ftp/upload  Can only download the files which owner isn’t “ftp”  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

Computer Center, CS, NCTU 3 FTP  Settings (cont’d) 2.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 3.Create a system user “sysadm”  Could login by ssh  Password is your student id  Permission is same as ftp-vip 4.Your ftp server should support FTP over TLS 5.All accounts are chrooted (/home/ftp is the root directory)

Computer Center, CS, NCTU 4 Samba  Install Samba /usr/ports/net/samba36  Location Samba share /home/ftp/public to Windows Mount Windows directory at /home/ftp/windows  You should create at least 4 accounts  Admin Full access (read, download, delete, rename, mkdir, upload) to all files and directories  Guest Can only list the files and directories Can’t perform (read, download, delete, rename, mkdir, upload) to all files and directories

Computer Center, CS, NCTU 5 Samba  Test1 Can (read, rename, delete, download) to Test1’s files Can mkdir Can upload files to Test1’s directory and root directory /home/ftp/public Can’t do (read, rename, delete, download) to other files and directories  Test2 Can (read, download, delete, rename) to Test2’s files Can mkdir Can upload files to Test2’s directory and root directory /home/ftp/public Can’t do (read, download, delete, rename) to other files and directories

Computer Center, CS, NCTU 6 ZFS  ZFS on /home/ftp  Create a zfs file system with mirror  Do zfs snapshot  Do zfs rollback  Set compression  Reboot and everything is fine (zfs still mounted)

Computer Center, CS, NCTU 7 Reminder  Demo with root is not allowed  Please use sudo /usr/ports/security/sudo  File/directory permissions are important Owner, group, other Read, write, execute Set UID, set GID, sticky bit  Setting port forwarding to allow your services to be accessible over the Internet

Computer Center, CS, NCTU 8 Deadline  Demo sheet will be available next week  Demo week: 10/27~10/31

Computer Center, CS, NCTU 9 Need Help?  IRC channel #nctuNASA on freenode  Newsgroup cs.course.sysadmin  BBS bs2.to board CS-SysAdmin   Goto CSCC to ask professional 3F!