1 telnet svcs a grep telnet svcadm disable
1. 텔넷 ( telnet ) 서비스 사용 • 원격 접속 서비스 활성화 및 비 활성화 # svcs –a | grep telnet # svcadm disable telnet # svcadm enable telnet • 일반 사용자 원격 접속 # useradd -d /export/wylee -m wylee # passwd wylee • 텔넷 접속 # telnet localhost
2. SSH ( Secure Shell ) 서비스 사용 • 서비스 활성화 및 비 활성화 # svcs –a | grep ssh # svcadm disable ssh # svcadm enable ssh • 시스템 관리자 ( root ) 원격 접속 # vi /etc/sshd_config Permit. Root. Login=yes
anonymous FTP 사용하기 • Anonymous FTP는 익명의 FTP 서비스로 써 ID는 anonymous 혹은 ftp 암호는 개인 의 e-mail주소로 사용한다. • ftp site : ftp. sunfreeware. com • Intel 버전의 top 프로그램 다운로드
#mkdir /down # cd /down # ftp. sunfreeware. com Id : anonymous Pw : hook 97@naver. com Ø dir ( 기본적으로 ls 이지만 여기서는 dir ) Ø pwd Ø cd pub ( 익명의 ftp는 기본적으로 pub 디렉터리 안에 데이터를 다운로드 받아갈 수 있도록 한다. ) Ø cd freeware/intel/10 Ø dir
Ø dir top* -rw-r--r--rw-r--r--rw-r--r-- 1 1 1 staff staff 55428 May 17 54035 May 17 66275 May 17 117461 May 17 100983 May 17 2008 top-3. 5 -sol 10 -intel-local. gz 2008 top-3. 5. 1 -sol 10 -intel-local. gz 2008 top-3. 5 beta 12. 5 -sol 10 -intel-local. gz 2008 top-3. 6 -sol 10 -x 86 -local. gz 2008 top-3. 6. 1 -sol 10 -x 86 -local. gz Ø bin ( ascii : text 파일 다운로드, bin : 텍스트 이외의 파일 ) Ø hash ( 다운로드 상태를 샾(#) 표시 해준다. ) Ø get top-3. 6. 1 -sol 10 -x 86 -local. gz Ø bye get 파일 : 하나의 파일 다운로드 mget 파일 : 여러 개의 파일 다운로드 ftp 프로그램 종료
4. 시스템 정보 모으기 ( Sun Explorer ) • Sun Explorer 프로그램 다운로드 http: //www. sun. com/service/stb/index. jsp
• install_stb. sh 자료실에서 다운로드 # ls install_stb. sh # chmod +x install_stb. sh #. /install_stb. sh # pkginfo -l SUNWexplo # cd /opt/SUNWexplo/bin #. /explorer -g ( 시스템 정보 설정 ) #. /explorer -w default, fru ( 5분내지 10분정도 소요 )
# cd /opt/SUNWexplo/output # ls explorer. 호스트id. 생성날짜. tar. gz
- Slides: 16