7
System Administration System Administration HW1-1 HW1-1 changlp

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

Embed Size (px)

Citation preview

Page 1: 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

System Administration HW1-1System Administration HW1-1

changlp

Page 2: 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

Com

pu

ter C

en

ter, C

S, N

CTU

2

Requirements

Basic• Install up-to-date –RELEASE of FreeBSD

8.2-R

• Add a user and a group Group name should be identical to your username User should also be in the ‘wheel’ group

• Set your machine to current time zone and adjust current time

Optional• Enable sshd

Page 3: 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

Com

pu

ter C

en

ter, C

S, N

CTU

3

Timezone

sysinstall tzsetup Find right timezone file in /usr/share/zoneinfo and copy

to /etc/localtime

Page 4: 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

Com

pu

ter C

en

ter, C

S, N

CTU

4

SubmissionSubmission

Login with the user you created $ rm –f /tmp/sahw1-1.tmp

• Perform this as root if it cried about ‘Permission denied’

$ uname –a >> /tmp/sahw1-1.tmp $ date >> /tmp/sahw1-1.tmp $ id >> /tmp/sahw1-1.tmp $ mail –s ‘[SAHW1-1] 0005566’

[email protected] < /tmp/sahw1-1.tmp

$ : shell prompt

Page 5: 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

Com

pu

ter C

en

ter, C

S, N

CTU

5

FAQ (1/2)

Adjust current time• ntpdate(8) //non-continuous

or

• ntpd(8) //continuous http://www.freebsd.org/doc/en/books/handbook/network-ntp.html

• Server time.stdtime.gov.tw tick.stdtime.gov.tw tock.stdtime.gov.tw watch.stdtime.gov.tw

Page 6: 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

Com

pu

ter C

en

ter, C

S, N

CTU

6

FAQ(2/2)FAQ(2/2)

My network is not working• 強烈建議使用測試平台• Authentication

$ telnet 140.113.235.254 Enter your D2 login info

Page 7: 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

Com

pu

ter C

en

ter, C

S, N

CTU

7

Help!

Newsgroup cs.course.sysadm BS2 board CS-SysAdmin CSCC