본문 바로가기

Solaris

Solaris 이 글은 스프링노트에서 작성되었습니다.
[solaris] network duplex mode변경 네트워크의 negotiation network 상에서 negotiation 이란 네트워크 장비와 서버간의 속도를 맞춰주는 것을 말한다. 이는 10/100/1000 이냐 아니면 half/full duplex 인가를 맞춰주는 것이다. hme interface는 디폴트로 네트웍에 연결된 상대방의 interface에 negotiation하여 10/100 half/full duplex에 맞게 연결이 된다. 그러나 이 negotiation 기능이 없는장비나 다른 이유로 하여 negotiation을 하지 못 하여 interface가 UP 되지 못할 경우가 있다. 이 경우에는 negotiation 기능을 사용하지 말고, 연결될 장비의 setting에 맞추어 수동으로 10/100 half/full duplex 설정하여야..
[solaris] root로 ssh 접근 가능하게 하기. #vi /etc/ssh/ssd_config PermitRootLogin yes #vi /etc/ssh/ssd_config PermitRootLogin no (root접근 차단)
[solaris] scp 사용시 장애발생 처리. ssh[4690]: Kerberos mechanism library initialization error: No profile file open. unable to initialize mechanism library [/usr/lib/gss/gl/mech_krb5.so] unable to initialize mechanism library [/usr/lib/gss/gl/mech_krb5.so] 위와 같은 메세지 발생시. GSSAPIAuthentication=no GSSAPIKeyExchange=no 추가 /etc/ssh/ssh_config /etc/ssh/sshd_config /etc/init.d/sshd restart
[solaris] duflex설정 qfe interface는 디폴트로 네트웍에 연결된 상대방의 interface와 negotiation하여 10/100 half/full duplex에 맞게 연결이 된다. 그러나 이 negotiation 기능이 없는 장비나 다른 이유로 하여 negotiation을 하지 못 하여 interface가 UP 되지 못할 경우가있다. 이 경우에는 negotiation 기능을 사용하지 말고, 연결될 장비의 setting에 맞추어 수동으로 10/100 half/full duplex 설정하여야 한다. qfe interface의 parameter를 변경하기 위한 방법에는 2 가지가 있다. a) ndd 명령어를 사용하는 방법 b) /etc/system 화일을 수정하는 방법 1. ndd 명령어를 사용하여 변경 1.1. qfe..
[solaris]dhcp클라이어트 설정 시스템 마다 network interface가 틀림을 숙지. 다음과 같이 touch 명령어로 파일을 만듭니다. # touch /etc/hostname.le0 # touch /etc/dhcp.le0 # ls -l /etc/*.le* -rw-r--r-- 1 root other 0 Nov 12 18:26 dhcp.le0 -rw-r--r-- 1 root root 3 Apr 19 2001 hostname.le0 자 이제는 iconfig 명령어를 사용 하여 interface를 사용 합니다. # ifconfig le0 dhcp start # ifconfig -a le0:1: flags=4843 mtu 1500 inet 192.240.240.1 netmask ffffff00 broadcast 192.240.240.25..
[solaris]root telnet접속 허용 #vi /etc/default/login CONSOLE=/dev/console 여기다 주석 #CONSOLE=/dev/console
[solaris] 네트워크 설정 변경 1. Basic Network Setup Solaris를 설치한후 해야하는 기본적인 네트워크 셋업 설명. Host Name / IP Address 변경 # sys-unconfig reboot (Y/N) yes System Halt ok ok boot 위와 같이 한후 부팅하면 부팅과정에서 Host Name / IP Address / NIS / Subnet / TIMEZONE설정을 할수 있다 sys-unconfig를 사용한 후에는 /etc/TIMEZONE 파일내에 . LANG=ko . 라는 것을 넣어 주어야 locale 이 korea 로 설정. ============================================================================================..