CMPS 261 Server Management - Module 2: Getting Started with FreeBSD Server

Mark Voortman, Ph.D.

Course Modules

Module 2

Objectives

Readings

Install Xfce 4

Part A

Overview

Shells

Shell Example

Shell Architecture

The shell has a strategic role
The shell has a strategic role

Shell Advantages

Shell Disadvantages

Shell Concepts

Common Shell Commands I

Common Shell Commands II

Common Shell Commands III

Common Shell Commands IV

Common Shell Commands V

Common Shell Commands VI

Piping and Redirection I

Piping and Redirection II

Processes, daemons and signals

Additional Commands

Getting Help

Text Editors

Assignment

Part B

Overview

The FreeBSD Directory Structure

Overall Schematic

/

/bin/

/boot/

/dev/

/etc/

/home/

/mnt/

/proc/

/root/

/tmp/

/usr/

/var/

Storage Management

Disk Organization

Storage Management Layers

Server storage can be a complex configuration
Server storage can be a complex configuration

Looking at Disk Free Space

Looking at Disk Usage

Finding Files

Looking at Partition Information

fstab Contents

Mounting and Unmounting File Systems

Mount Command

Unmount Command

fstab File

fstab Contents

Here is an example of a more complex fstab file, taken from a Linux system with two hard drives and two network connections to NAS boxes
Here is an example of a more complex fstab file, taken from a Linux system with two hard drives and two network connections to NAS boxes

Class Activity: Adding a Hard Drive

Miscellaneous Commands I

Miscellaneous Commands II

Accounts I

Accounts II

Passwords

The Super User

Command Summary

Add User Command

Remove User Command

Change User Information Command I

Change User Information Command II

Changing Passwords

Group Membership Changes

User Information

Command Summary

FreeBSD File Permissions I

FreeBSD File Permissions II

The output of a long directory listing
The output of a long directory listing

FreeBSD File Permissions III

Meaning of the permission display
Meaning of the permission display

FreeBSD File Permissions IV

Meaning of the permission display
Meaning of the permission display

FreeBSD File Permissions V

Meaning of the permission display
Meaning of the permission display

FreeBSD File Permissions VI

Meaning of the permission display
Meaning of the permission display

File Permissions Encoding I

Three octal digits are used to represent permissions
Three octal digits are used to represent permissions

File Permissions Encoding II

Three octal digits are used to represent permissions
Three octal digits are used to represent permissions

File Permissions Calculator

Symbolic Permissions

Characters can be used instead of numbers
Characters can be used instead of numbers

chmod: Change Permissions

chown: Change Ownership

chgrp: Change Group

Access Control Lists I

Access Control Lists II

Some Thoughts on Permissions

Assignment

Thank You!