System Administration HW1 huanghs. Computer Center, CS, NCTU 2 Requirements  Basic Install FreeBSD and upgrade to up-to-date –RELEASE Recompile your.

Slides:



Advertisements
Similar presentations
Drivers and the kernel1-1 Drivers and the kernel UNIX system has three layers: m The hardware m The operating system kernel m The user-level programs Kernel.
Advertisements

Module 1: Installing Windows XP Professional
 Two technologies › Packages › Ports  Packages › contains pre-compiled copies of all the commands for the application, as well as any configuration.
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.
Lesson 15 – INSTALL AND SET UP NETWARE 5.1. Understanding NetWare 5.1 Preparing for installation Installing NetWare 5.1 Configuring NetWare 5.1 client.
Installing Applications in FreeBSD. Computer Center, CS, NCTU 2 Overview  Two technologies Packages Ports  Packages contains pre-compiled copies of.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 1 Introduction to Managing the SUSE Linux Enterprise Server.
Hardening Linux for Enterprise Applications Peter Knaggs & Xiaoping Li Oracle Corporation Sunil Mahale Network Appliance Session id:
1 Module 2 Installing Windows NT. 2  Overview Preparing for Installation Installing Windows NT Performing a Server-based Installation Troubleshooting.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Linux Operations and Administration
Microsoft ® Official Course Module 12 Monitoring, Managing, and Recovering AD DS.
Installing and maintaining clusters of FreeBSD servers using PXE and Rsync Cor Bosman XS4ALL
Chapter 2: Installing and Upgrading to Windows Server 2008 R2 BAI617.
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.
SUSE Linux Enterprise Desktop Administration Chapter 1 Install SUSE Linux Enterprise Desktop 10.
Thrive Installation.
Chapter 7 Microsoft Windows XP. Windows XP Versions XP Home XP Home XP Professional XP Professional XP Professional 64-Bit XP Professional 64-Bit XP Media.
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.
1 SAM & OLAR. 2 Upon completion of this module, you will be able to: List significant changes to system administration tasks in HP-UX 11i Determine system.
Hands-On Microsoft Windows Server Security Enhancements in Windows Server 2008 Windows Server 2008 was created to emphasize security –Reduced attack.
Chapter SIx Maintaining a Computer Part I: Configuring, Updating, and Upgrading the OS.
CHAPTER NT Installation Screens. Chapter Objectives Explain the installation in detail Focus on the three stages of installation Use screen images to.
Drivers and the Kernel. Computer Center, CS, NCTU 2 Roles of Kernel  Components of a UNIX System User-level programs Kernel Hardware  Two roles of kernel.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
11 MANAGING AND DISTRIBUTING SOFTWARE BY USING GROUP POLICY Chapter 5.
Module 1: Installing and Configuring Servers. Module Overview Installing Windows Server 2008 Managing Server Roles and Features Overview of the Server.
1 FreeBSD Installation ISOC/AfNOG Michuki Mwangi (Original materials by Hervey Allen – NSRC)
Maintain Installed Applications. Computer Center, CS, NCTU 2 In Ports Tree  / Makefile  COMMENT pkg-descr  WWW pkg-message  Shown after installed.
Linux Administration. Pre-Install Different distributions –Redhat, Caldera, mandrake, SuSE, FreeBSD Redhat Server Install –Check HCL –Significant issues.
Module 5: Upgrading to SQL Server 7.0. Overview Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level.
Recover Your Data Quickly: Disaster Recovery Techniques with ARCserve  Disaster Recovery.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Overview Managing a DHCP Database Monitoring DHCP
Module 15 Managing Windows Server® 2008 Backup and Restore.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
Module 1: Implementing Active Directory ® Domain Services.
1 FreeBSD Installation AFNOG X Cairo, Egypt May 2009 Hervey Allen.
1350 TAC Training © 2000, Cisco Systems, Inc. Wireless Lab.
Drivers and the Kernel. Computer Center, CS, NCTU 2 Roles of the Kernel – (1)  Components of a UNIX System User-level programs Kernel Hardware  Kernel.
Linux+ Guide to Linux Certification Chapter Six Linux Filesystem Administration.
System Administration HW5 - Micro Computer Center yihshih / lctseng.
STEP BY STEP INSTALLATION By Eng. BASSEM ALSAID. Step 1: Boot from windows server 2008 installation DVD, windows will load needed files for starting installation.
1 FreeBSD Installation AFNOG Chix 2011 Blantyre, Malawi 31 st Oct - 4 th Nov 2011 Dorcas Muthoni and Evelyn Namara.
LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,
PIKA Technologies Warp Upgrade procedure for 2.2.x Alain Gauthier
Linux Operations and Administration
System Administration Practice Homework6 - LDAP login + Puppet + Jail yench / lctseng / chchang2222.
2/05/2003 Lecture 1 Computer System Administration Lecture 1 Setup and Installation.
FreeBSD. Computer Center, CS, NCTU 2 Outline  FreeBSD version 8.1-RELEASE  Installing FreeBSD From CD-ROM  Build world and kernel Update source Rebuild.
Installing Applications in FreeBSD lctseng. Computer Center, CS, NCTU 2 Before we start  Permission issue root: the super user Like administrator in.
HOW TO INSTALL WINDOWS 7? This step-by-step guide demonstrates how to install Windows 7 Ultimate. The guide is similar for other versions of Windows 7.
Post Install Configuration FreeBSD SANOG 9 January 14, 2007 Colombo, Sri Lanka Hervey Allen.
SA-NA Junction FreeBSD. Computer Center, CS, NCTU 2 Outline  FreeBSD version  Installing FreeBSD  Update source and make world  Rebuild kernel.
/alexwaston14/fix-pc-error u/0/b/ /pages/Fix-PC- Error/
C Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Additional Installation Topics.
Drivers and the Kernel. Computer Center, CS, NCTU 2 Introduction – UNIX Kernel and Shell interpret.
Configuration Manager Deploying Surface Pro 3 with Configuration Manager Niall Brady ECM MVP
Updating FreeBSD Unix System Administration. Objectives At the end of this session you should be able to: 1. Understand the differences between the CURRENT.
Homework #01 FreeBSD Installation
FreeBSD.
Drivers and the kernel UNIX system has three layers: Kernel
System Administration Practice Homework 1-1 : FreeBSD Base
CONFIGURING HARDWARE DEVICE & START UP PROCESS
IS3440 Linux Security Unit 7 Securing the Linux Kernel
Configuration Of A Pull Network.
SUSE Linux Enterprise Desktop Administration
Post Install Configuration FreeBSD
System Administration HW1
Presentation transcript:

System Administration HW1 huanghs

Computer Center, CS, NCTU 2 Requirements  Basic Install FreeBSD and upgrade to up-to-date –RELEASE Recompile your kernel with pf (Packet Filter) support and enable it (not by kernel module) Change kernel IDENT Set your machine to current time zone and adjust current time  Optional Enable sshd Customized kernel

Computer Center, CS, NCTU 3 Update FreeBSD (1/3)  Update source tree Backup original supfile or copy to other directory  Prepare /usr/local/etc/src-supfile && /usr/local/etc/ports-supfile /etc/make.conf  SUP_UPDATE= yes  SUP= /usr/bin/csup  SUPFLAGS= -L 2  SUPHOST= freebsd.cs.nctu.edu.tw  SUPFILE= /usr/local/etc/src-supfile  PORTSSUPFILE= /usr/local/etc/ports-supfile  KERNCONF= SABSD  CPUTYPE?= core2 Run “make update” in /usr/src

Computer Center, CS, NCTU 4 Update FreeBSD (2/3)  Edit kernel config (with pf support) Copy /usr/src/sys/arch/conf/GENERIC to name-you-want  arch maybe is i386, ia64, amd64…..depend on your cpu Change IDENT Add the following  device pf //Enable support for the “Packet Filter” firewall  device pflog //Can be used to store the logging information to disk  device pfsync //Monitor “state changes”  options ALTQ //Enable the ALTQ framework(not supported by all of the available network card drivers)  options ALTQ_CBQ //enables Class Based Queuing (CBQ) References   

Computer Center, CS, NCTU 5 Update FreeBSD (3/3)  Build new world & kernel

Computer Center, CS, NCTU 6 Timezone  tzsetup  sysinstall  Find right timezone file in /usr/share/zoneinfo and copy to /etc/localtime

Computer Center, CS, NCTU 7 Hint: Kernel Config  Customized kernel Remove unneeded kernel config  IPv6 support, scsi device, firewire …etc. What I need ?  /var/run/dmesg.boot  Don’t remove em in config file

Computer Center, CS, NCTU 8 FAQ (1/4)  make: don't know how to make buildworld. Stop in /usr/src Makefile Fetch source first (at least Makefile & Makefile.incl in /usr/src)  Copy Makefile & Makefile.incl from other host and make update  Use sysinstall -> Configure -> Distributions -> src -> all or base and choose installation media … update: # # do something when make update # kernel: buildkernel installkernel …

Computer Center, CS, NCTU 9 FAQ (2/4)  /usr is empty or Read-only file system in single user mode Only root filesystem will be mounted and is readonly Mount other fs manually by mount –a  Mount failed “Filesystem is not clean - run fsck” fsck –y //Filesystem check, -y is auto repair

Computer Center, CS, NCTU 10 FAQ (3/4)  Error when make buildkernel Some device/option is necessary or require by others Read comment before remove it # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device ae # Attansic/Atheros L2 FastEthernet device age # Attansic/Atheros L1 Gigabit Ethernet device alc # Atheros AR8131/AR8132 Ethernet ….

Computer Center, CS, NCTU 11 FAQ (4/4)  Adjust current time ntpdate(8) //non-continuous or ntpd(8) //continuous  Server  time.stdtime.gov.tw  tick.stdtime.gov.tw  tock.stdtime.gov.tw  watch.stdtime.gov.tw

Computer Center, CS, NCTU 12 Help!  Newsgroup cs.course.sysadm  BS2 board CS-SysAdmin  CSCC