system administration hw1-1 changlp. computer center, cs, nctu 2 requirements basic install...
TRANSCRIPT
System Administration HW1-1System Administration HW1-1
changlp
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
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
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
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
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
Com
pu
ter C
en
ter, C
S, N
CTU
7
Help!
Newsgroup cs.course.sysadm BS2 board CS-SysAdmin CSCC