Difference between revisions of "CTY CNS OPS"
Line 1: | Line 1: | ||
− | [[Category:OPS]] | + | [[Category:OPS-CORE]] |
== Open System in CTY Program == | == Open System in CTY Program == | ||
Latest revision as of 13:20, 1 May 2012
Open System in CTY Program
OPSx55 template
- Specific Outcomes
- C1: Stuff to learn: Installing, Testing, and maintaining (add/remove/modified)
- C2: Basic shell command and script level x
- C3: Configuration files and configuration items
- C4: Log files and log entries (to understand the meaning of each log entry)
- C5: Backup and recovery when system breakdown or migration
- A6: Automation of tasks.
C1 - C5: Componets of the course - each topic has 5 components
- C1 - subject contents: what is it for? how does it work? how to make it available to the users? how to keep it running?
- C2 - shell command / script needed for the subject matter
- C3 - configuration files/items for the subject matter
- C4 - log files/entries for the subject matter
- C5 - what need to be backed up/recovered/migrated if required
A6 - Assignment : how to automate C1 to C5 if applicable
P1 - How to get it up and running according to specification? P2 - How to create a good backup for disaster recovery? P3 - How to restore the stuff after a disaster?
OPS155/ULI101
Open System Workstation
- Live CD/DVD
- Exploring File System
- Basic Command Line
- mkdir, cd, rmdir, cp, rm, $?, $#, $$
- absolute path, relative path
- file, grep, cut, paste, join
- date, ls, cat, echo
- Unix File Permission
- MD5SUm - upload/download file using ssh command
Specific Outcomes
Upon successful completion of this subject students should be able to:
- Use ssh, and sftp commands to access data contained on remote servers.
- Explain the role of the Unix shell, use elementary Bash shell scripting concepts to improve working efficiency, and customize a Unix login account using environment variables, and start-up scripts.
- Describe the directory layout of a typical Unix system, and maintain and secure Unix directories and files.
- Use basic Unix commands.
- Use Unix pipes and file redirection efficiently to manipulate data.
- Use common editors to edit text files.
- Form simple regular expressions to define patterns with various Unix commands.
- Perform decimal, binary, octal and hexadecimal numbering conversions.
- Use electronic mail.
- Create and maintain web pages using HTML.
- Use a live Linux distribution
- Install Linux and perform basic administrative tasks
OPS255
Open System Server
- Shell Command and Basic Shell Scripts
- test, if..then..else
- for item in $LIST .. do .. done
- command substitution: list=$(command(s))
- Basic Linux Networking
- ifconfig, route, netstat, ping, ip,
- /etc/hosts, /etc/resolv.conf, /etc/services
- Server Administration
- LVM,
- SSH, DHCP, DNS, Email server (local), POP3, IMAP, remote
Specific Outcomes
Upon successful completion of this subject students should be able to:
- Install and configure a simple Linux server using multiple installation methods
- Configure multiple virtual machines using KVM into a private network
- Manage partitions and logical volumes
- Install and remove software packages
- Compile and install software packages from source
- Install and configure DHCP server
- Backup/restore files and directories
- Start up and shutdown Linux Server properly
- Navigate and manipulate files and directories with Linux Commands
- Install and configure http and ssh servers
- Install and use the GNOME Desktop
- Add and manage user accounts
- Manage system startup and shutdown through GRUB and init
- Setup, configure, and trouble shoot TCP/IP ethernet LAN
- Modify the system firewall configuration using iptables rules
- Set up basic system security
- Manage file storage on removeable devices
- Configure system security using SELinux tools
OPS355
Open System Infrastructure (Gateway & Network)
Specific outcomes
- Set up a basic Linux gateway (masquerading, routing, ip forwarding)
- Manage packet filters using iptable
- Install and configure Samba and NSF for file sharing
- Install and configure the automounter
- Install and configure a Domain Name Server (DNS)
- Install and configure e-mail services (SMTP, POP and IMAP)
- Backup and recovery of data (dump/restore)
- Set up NIS and/or LDAP Authentication Services
- Configure an FTP server
- Install and configure an SSH server
OPS455
Open System Information and Communication Technology
Specific Outcomes
Upon successful completion of this subject students should be able to:
- Design, construct, test and modify complex shell scripts
- Create, manage and change environment variables
- Make appropriate use of Filename Expansion
- Construct and use Regular Expressions
- Use Unix filters such as awk, grep, sed and sort
Topic Outline
- Linux Overview - 5%
- History
- The Shell
- The Kernel
- The GUI
- GNU/Linux and the Free Software Foundation
- CLI Basics - 5%
- Utilities - ls, cat, rm, more, echo, date, etc.
- Files - cp, mv, head, tail, uniq, diff, file, etc.
- Getting Help - 5%
- Linux manual pages
- Unix Filters - 15%
- grep
- sed
- awk
- sort
- The File System - 10%
- File Types
- Pathnames
- Access Permissions
- Links
- The Shell - 10%
- CLI Syntax
- File I/O
- File Redirection
- Pipes
- Shell Expansions - 10%
- File names
- Variables
- Special Characters
- The Bourne Again Shell - 15%
- Startup Files
- Job/Process Control
- Parameters & Variables
- Quoting
- History
- Aliases
- Functions
- Programming BASH - 20%
- Control Structures
- Variables
- Arrays
- Builtin Commands
- Expressions - arithmetic, logical, regular
- Recursive functions
- Scripting Tools - 5%
- Version Control
- Archiving
- Logging
OPS555
Open System Cluster and Cloud
- Advanced scripting
OPS655
Open System Management (SNMP, Monitoring)
Topics to be covered - Level/Layer
Desktop
Networking
Level/Layer 1
- How to gather TCP/IP network setting on a Networked workstation
- IP address
- Network mask
- broadcast address
- Default Route (i.e. default gateway)
- IP address of the DNS server
- MAC address
Level/Layer 2
- topics learned in Level/Layer 1
- How to configurate TCP/IP network settings
- Using available DHCP server
- Using Manual methods
- GUI configuration
- Editing configuration file
- running a shell script
- Packet filtering firewall on host computer (no gateway)
Level/Layer 3
- Everything in L1 and L2
- Configure multiple network interface
- Configure IPv4 Gateway
- Multiple route and default route
- NAT: DNAT/SNAT using netfilter/iptables
Level/Layer 4
- Everything covered in L1, L2, and L3
- Routing to multiple network
- Load balancing traffic
- packet filtering on Linux gateway using netfilter/iptables
SELinux
DHCP
DNS
SMTP/POP3/IMAP
NIS
NFS
LDAP
HTTP
MySQL
PHP
Apache
Storage
Authentication
BASH/Scripting
Scripting
- Q: Why bash shell is so difficult?
- A: It doesn't have a single-stepping debugger and breakpoints with code inspection
built in.