2009/06/26 14:06

[EDARS] 모자이크, 서브셋

에고..
어다스 지형 열고.
마우스 오른쪽. box 클릭. rect잡아주세요...그러고 DataPrep ->서브셋 하면 되구요,

자른놈, 원래놈 두개를 열어요..그리고.. 짜른놈 rect를 box해서 잡아내고요.
원래놈 내가 끼워넣고싶은 부분에 rect를 box로 찾아내요..(일단 짜른놈 rect로 박스크기를 정하고 박스를 움직이는거죠.)
짜른놈 i누르면 인포나와요..거기서 헤더정보를 바꿔줘요..(rect를 원래놈 내가 끼워넣고싶은 부분 rect로
바꿔주는거죵..)그려면...? 되겠죠?


고 짜른놈을 옮길꺼예요..
DataPrep ->모자이크 선택하고 모자이크 툴 클릭
Eidt->Addimage로 수정할 이미지를 잡아줘요...



다하면 런모자이크 해주세용~

아, 헤깔려..왜 어다스는 툴팁도 엄꼬... 사용하기 여간..힘든게 아니네...그런거 강좌있음 진짜좋겠다.



'회사' 카테고리의 다른 글

[EDARS] 모자이크, 서브셋  (0) 2009/06/26
Trackback 0 Comment 0
2009/06/23 10:07

Listview Item Moving


http://www.bigresource.com/VB-Listview-Item-moving-8clESLU9mL.html


See Related Forum Messages: Follow the Links Below to View Complete Thread
Moving A Listview Item And Its Subitems To A New Listview
Hey Guys,

Having a bit of trouble. I am attemping to move a selected item and its subitems from one listview to another. I have no problem getting the contents of the first column, but I can't seem to get the subitems over.

Example: I have this in the first listview:

Code:
|Item |Quanity|Price |PQ |
Bananas 2 $.50 $1.00

Then when I try to move that whole row to the other listview I can only seem to get this:

Code:
|Item |Quanity|Price |PQ |
Bananas

No subitems . Any links or help would be appreciated.

Regards,

Max_Power

Moving The Selected Item In Listview
****
I solved the problem, thanks to all for your attempt at helping.

Here is the code:

Set ListView.SelectedItem = ListView.ListItems(i)
****

I have a Listview populating from a database and sorts the data alphabetically.

Now when the user deletes an item from the database, it also refreshes the listview.

The question I have is, the listview always sets focus to the last item it added, however it does not add them alphabetically, so after there added and the listveiw sorts them, the item selected could be anywhere!? How can I have this list view set focus to the first entry? Or better yet one that I specify or has been saved (IE save the record ID when they exit the prog, so when they come back I can pull that and set focus to that item)??

Thanks for the help.
Bryan

[This message has been edited by Bryan (edited 01-12-2000).]

Stop Item Dragging/moving In ListView
Is there any way you can stop the user from moving the item position in a listview?? I need them to stay the same as i added them first by code, with them being fixed for the user and not allowing any movement of item position!

thanks!

Click Item In Listview Then Show That Item In Combo As Index = 0
Hi guys,

I have a listview (lvwUserPunchedOut) that is populated with records in a database (persons first name in one column and last name in the second column), what I am looking to do is if I select a persons name by clicking on it in the listview on frmMain, and then bring up frmSearchCriteria, i would like to show that selected name in the combobox as default (cboEmployee.ListIndex = 0) on frmSearchCriteria (the combobox is sorted = True and is also populated with first name and last name of the person)

How would this be done? Hope I make sense. Thanks in advance.

Moving To The Next Item In A Pivotfield
I have some code which runs in this For loop.


Code:
For Each PivotItem In ActiveSheet.PivotTables("PivotTable1").PivotFields("Questions").PivotItems
Sheets("Pivot Table").Select
Range("A4").Select
Range(Selection, Selection.End(xlToRight)).Select
Selection.Copy
Sheets("Chart Data").Select
ActiveCell.Select
ActiveSheet.Paste
Sheets("Pivot Table").Select
Selection.End(xlDown).Select
Range(Selection, Selection.End(xlToRight)).Select
Selection.Copy
Sheets("Chart Data").Select
ActiveCell.Offset(1, 0).Select
ActiveSheet.Paste
ActiveCell.Offset(3, 0).Select

Next

The item "Questions" is in the page field at the top.

I'd like the code to move to the next item in the page field, and perform the code.

Any idea how it's done?

Moving Item From One Listbox To Another
Hey all

I am trying to move an item from one listbox to another. The first listbox has items where the RowSourceType = "Field List" and the second one is value list. This is my code:

Private Sub DisplayAllFields_DblClick(Cancel As Integer)

If ListOfFieldsSelected.RowSource = (List0.Value & "." & DisplayAllFields.Value) Then
MsgBox ("You cannot select a field more than once. Please select another field")
Else
ListOfFieldsSelected.AddItem (List0.Value & "." & DisplayAllFields.Value)
End If
End Sub

When I double click the same value in the first list again, it brings up the msgbox once but it doesn't do that once it has added another field to ListOfFieldsSelected. I would use the RemoveItem method so user can't click the field again but DisplayAllFields is set to Field List so it can't remove item unless set to "Value list". Any suggestions on this?

Any help will be greatly appreciated.

Many thanks

Rupa

ListBox, Moving From First Item To Second And So On
Hey, im working on a media player, the media player works great but the playlist is screwey! Im having troubble with this:

You select an item for play - 100% ok
it plays it - 100% ok
it then goes to the next item on the list - BUGGY!

it wont move to the next item and when it does, it wont update the selected item eg, it will play the next item then when thats done it will play the one before that not the next on (constant loop between two files). Please help

Moving A Item In A List Box Up Or Down
I have two buttons on a form and I want the be able to click the up button then move the selected item up or click the down button and have the item go down.

Any Ideas?

Moving Item Between List Boxes
I have a command button with the Caption ">". When clicked I want the selection the user has made in ListBox1 to be moved to ListBox2.

Anyone ever do something like this before?

thx..

When Moving Item Down In The Listbox The Text Disappears
Okay dont know why but the text is dissapearing when an item is moved down the list box.

Image1 displays before the move down
Image2 displays after the move down
Code is also attached. I am very confused I have been through this code througherly and I am sure there is not an error in the code.




Code:
' check: only proceed if there is a selected item
' check: last item can't be moved down
' save items text and items indexvalue
' remove item
' place item back on new position
' if you keep that item selected
' you can keep moving it by pressing cmdDown
' for arLoopCount adds the new playlist entrys from
' lstPlayList.
' list1 refreshes
' lstPlayList refreshes
Dim tempStr As String
Dim iIndex As Integer
Dim arLoopCount As Integer
List1.Clear ' Debugging orriented object to display the contents of arFilePlayList Array
If lstPlayList.SelCount = 1 Then
If lstPlayList.ListCount - 1 = lstPlayList.ListIndex Then
Exit Sub
Else
tempStr = lstPlayList.List(List1.ListIndex)
iIndex = lstPlayList.ListIndex
lstPlayList.RemoveItem lstPlayList.ListIndex
lstPlayList.AddItem tempStr, iIndex + 1
lstPlayList.Selected(iIndex + 1) = True
End If
End If
For arLoopCount = 0 To lstPlayList.ListCount
arFilePlayList(arLoopCount) = lstPlayList.List(arLoopCount)
List1.AddItem arFilePlayList(arLoopCount)
Next arLoopCount
List1.Refresh
lstPlayList.Refresh

Simple! Moving A Listbox Item For One Lsitbox To Another.
How can I move an item from

lstbox 1 ---> lstbox 2

I want the item to be removed from lstbox 1 and added to lstbox 2

Thanks for anyone who helps.

Questions: BitBit Moving, Walkmasks And Item Pickups.
Ok, so far have i quickly created a small program where a picture(the guy you control) moves instantly to the location of your click. Theres 3 things i must now:
1. How can i make my guy move slowly to the targeted location? not instantly.

2.How can i create walkmasks? Forexample if i create a tree, and i dont want my guy to walk right through the tree but around it.

3.How can i make my character pick up items? Forexample how can i make my guy get 10 score-points when he moves over an item, which in reality is a picture.

Edit*
I use BitBit.
This is not going to be a real game, iam just testing things out before i start creating a game.
Nothing is animated.

Moving Through A Listview
Hi!

Does anyone have any idea for coding, to move through a listview (it's in Report Mode). I essentially need to know the statments for:

a) set listview to the 1st item (anything like ListView1.BOF?)
b) move to next listitem
c) do until Listview is at the end (anything like ListView1.EOF?

Any Ideas?

I'm trying to loop through a listview, to check for values. So I'll need to set the listview to select the first item, and then DO UNTIL it's at the last item.

Thanks everyone!

-Matthew-
www.comperfection.com

Moving In A Listview
a) I pass the number of item in a listview to a variable
irecordcount = ListView4.ListItems.Count

b) I (i suppose) set the view to the first item
ListView4.ListItems(ListView4.SelectedItem.Index + 0).Selected = True 'Posicionar en el registro 0
c) In that position a call a routine to save the data
Call DetalleSuscripcionDireccion(txtsuscripcion, Me)
d) the i move to the next item in the view
ListView4.ListItems(ListView4.SelectedItem.Index + 1).Selected = True ' Avanzar

i do a loop from 1 to the number of item in the view.

WHY it is not moving?
What i am doing wrong?

Moving On A Listview
How can i move to the next record on a listview automatic?
I mean read the whole listview from record one to n

Get A Sub Item Of An Item On A ListView
Awhile go I used a Listview before on a project and I remember most of it. There is one thing I am having trouble with though. The list get's populated when the form is loaded. It has 2 headers "Item" and "Number". What I want to do, is when a button is pushed, msgbox the selected items number (In other words the sub item). How do I go about doing that?

Moving Through Items In A Listview
Am I being a complete , or what? I'm trying to move through the items in a listview, so that I can insert the entries one-by-one in to DB - ie each item in the listview represents a new record in a DB table.

Now, I would have expected (as with all things VB) this to be quite straight forward. Something along the lines:

ListView1.selecteditem.movenext

I know this a bit hopeful, but I can't believe there's no way to incrementally move through all the items.

I've been through MSDN and searched this entire forum for a similar thing but I cant find anything.

I must be missing something really obvious here!

Moving Things From One Listview To Another
Hey guys I have one listview called report on a form call antivirus. This listview has checkboxes.

I have another listview with no check boxes on a form call resuls.

What I would like to do is when an item or items is checked, whatever is in the first column of the report listview on the antivirus form goes in the results listview on the resuls form. The same as the second column, I would like that repeated as well.

But the twist is if the user checks a problem and then presses the delete button. I would like the 3rd column of the results listview on the resuls form to say "Deleted" for that checked item.

OR if the user checks a problem and presses ignore then it would just say Ignored by the item in the 3rd column.


Can anyone tell me how I could do all that?

Thanks!

Listview, Moving Columns?
Well, i cant really explain the title in just a few words. I want to add 2 more rows to my listview, but i dont want to add them at design time (alot of code to change then).

The problem is, that i want the two rows that i add, i want to move them so they are positioned in-between two columns that are already there.
So, i added rows 12,13 to my listview during design time. I want 12 and 13 to appear to be inbetween columns 1,2.

Hope it makes sense

Listview - Moving A Selected Row Up Or Down
Hi,

I want to allow the user to order items in a listview according to their choice. So I need to move a selected row in a listview up or down (by pressing up or down command button). How can this effect be acheived ?

TIA

mecracked

Moving Items In A ListView
Hi,
I'm using a ListView to show information. I want the user to be able to click and drag one of the ListView items to move it higher or lower on the ListView. Is there any way to do this? I know that you can do it with command buttons, but is there a way to do it with the mouse?

Thanks!

Disable Moving Of Image In Listview???
I use ListView in Microsoft Windows Common Controls 6.0 (SP6). I can add image to fill background but when i scroll-down, the image is moved!

I want image not to move. How i have to do?

pls help!

Thanks

Moving Things From A Listview To A Textbox?
Hey guys I have a listview called report and it has check boxes. I have another form called form2 with a text2.text.

Is there a way when I check one item and press a button that checked item goes in the text2 of the form2?

Its just the item from the first column of the report listivew.

Thanks!

Moving Multiple Listview Items Up Or Down At Once
Hi, does anybody know how to move multiple selected listview items up or down at once?

I found the subs below, but they only move one item up or down, even if I have selected multiple items.

Thanks.


vb Code:
Private Enum menmDirections    MoveUp = 1    MoveDown = 2End Enum Private Sub MoveItem(ByVal penmDirection As menmDirections)Dim lvwItem     As ListItemDim lvwNew      As ListItemDim lvwSubItem  As ListSubItemDim lngIndex    As Long    Set lvwItem = lstView.SelectedItem    If Not (lvwItem Is Nothing) Then        If penmDirection = MoveUp Then            lngIndex = lvwItem.Index + 2        ElseIf penmDirection = MoveDown Then            lngIndex = lvwItem.Index - 1        End If        If lngIndex > 0 And lngIndex <= lstView.ListItems.Count + 1 Then            Set lvwNew = lstView.ListItems.Add(lngIndex, , lvwItem.Text)            For Each lvwSubItem In lvwItem.ListSubItems                lvwNew.ListSubItems.Add , lvwSubItem.Key, lvwSubItem.Text, lvwSubItem.ReportIcon, lvwSubItem.ToolTipText            Next lvwSubItem            lvwNew.Selected = True            Set lvwNew = Nothing            lstView.ListItems.Remove lvwItem.Index        End If        Set lvwItem = Nothing    End IfEnd Sub



vb Code:
Private Sub MoveUp(lv As ListView)    Dim itm As ListItem, itmNew As ListItem, i As Long    If lv.SelectedItem.Index > 1 Then        Set itm = lv.SelectedItem        Set itmNew = lv.ListItems.Add(itm.Index - 1, , itm.Text, itm.Icon, itm.SmallIcon)        For i = 1 To itm.ListSubItems.Count            With itm.ListSubItems(i)                Call itmNew.ListSubItems.Add(, .Key, .Text, .ReportIcon, .ToolTipText)            End With        Next        lv.ListItems.Remove itm.Index        itmNew.Selected = True        lv.SetFocus    End IfEnd Sub Private Sub MoveDown(lv As ListView)    Dim itm As ListItem, itmNew As ListItem, i As Long    If lv.SelectedItem.Index < lv.ListItems.Count Then        Set itm = lv.SelectedItem        Set itmNew = lv.ListItems.Add(itm.Index + 2, , itm.Text, itm.Icon, itm.SmallIcon)        For i = 1 To itm.ListSubItems.Count            With itm.ListSubItems(i)                Call itmNew.ListSubItems.Add(, .Key, .Text, .ReportIcon, .ToolTipText)            End With        Next        lv.ListItems.Remove itm.Index        itmNew.Selected = True        lv.SetFocus    End IfEnd Sub

LISTVIEW(stoping Icons From Moving..)
i have been seaching for a way to disable moving of icons in a listview.. and i haven't found anything yet. I see it possible in other programs.. but how is it done??? that i don't know. So i am asking you all if there is a way.. a non API approach would be much better.

Listview Report Moving Items Up &amp; Down
Hi everyone ,

I know how to move the first column field up and down in a listview report.

But now i have 10 columns and the user wants to select a row and puts it one down (if its not already at the bottom) or one up (if its not already at the top).

thx

ListView - Stop Icons Moving
Hi,
I'm using a listview control in the Icon mode, to display a control panel for my application. The only problem is that when a user clicks an icon, when you move the mouse it moves the icon as well.

Is there any way to stop the user moving the icon?

Moving ListView Column Headers
Is there a way that the user can move the Column headers of a list view control. Additionally a way to select the whole line rather than the first column.

Thanks.

Moving Columns On A Listview (Report View)
I want to programmatically set the Position of the columns in a list view.

This is an "after thought" so I am trying to do it on already loaded listviews.


I see from a little experimentation that I can easily move the column headers by simply changing the .position property.

But that does not bring over the data for that column. (Just the header)

Do I have to manually move the data or there an easier way?


(By "manually move the data" I mean set up a temp array, copy the column's data, update new column after moving other column into original col number)


Regards,

How To Get The First Item In A Listview
This should be fairly easy, but for some reason nothing I've tried seems to work. I'm trying to visually pull out certain criteria in a listview. I'm using the following code to change the forecolor of the items in the listview. I can change the subitems, but can't figure out how to change the first item in the row.
Code:
If Trim(Rs![F14]) = "D" Then
For Y = 1 To Lvw1.ColumnHeaders.Count - 1
itmX.ListSubItems(Y).ForeColor = vbBlue
Lvw1.Refresh
Next Y
End If
I thought this would be easy to do. I've tried

lvw1.ListItems(Y).Forecolor (changes the first item in every row)
lvw1.SelectedItem.Forecolor (always changes the first item in the first row)

This has got to be simple enough. Can anyone tell me what I'm missing?

ListView Add Item
Hi

No doubt a nice simple one for someone but I am trying to use the ListView to display a set of records.

Can somebody tell me how to add a value to the listview? I have a recordset and I asume I need to cycle through it adding each value to the listview - but how?

Cheers

ListView Item
When a row is selected in a listview is there a way to get the value which may be in column 3 of the selected row?

Get Item # For Listview
How do I get the number of the item that is selected in the listview?

Listview Add Item
I added a listview to my form and right clicked on it and properties > column headers > add column i typed in the text i did this for 3 columns then clicked apply and then ok and i had to columns . Is that how im suppous to add columns?

Listview Add Item
how do i add an item to the second, third, fourth, fifth, etc column of a listview?

Add Item To Listview
when i add data to listview, why then new data goes to the top line, not the bottom line? thanks

Add Item To Listview
when i add data to listview, why then new data goes to the top line, not the bottom line? thanks

Add Item In Listview
How do I add a item in listview with data in different columns??

please!!

Item In A Listview
I want to get an specific item in a listview. I mean: I have several information displayed on a listview. If the User click on the listview on item X, i want to get the value of column Y.

Set A ListView Item By Key?
VB Code:
lvItem.SubItems(1) = "Text"


The above sets a ListView list sub item by index, but can I code the above to work by the .Key property somehow?


VB Code:
lvItem.SubItems("KeyName") = "Text"


Doesn't work...

I just realised that the 1st version is a pain if I reorder the columns in the listview. So, I'd like to access it by key, if I can, but it doesn't seem to provide that interface...

1st Item In ListView
Can anybody tell me the code to select the 1st item in a listview control?

I've tried the GetFirstVisible method, but it doesnt always select the top most item...

cheers.

Get Listview's Item Value
when clicking on the item of a listview, i hope to get the value of the item and the following subitem. how to do that??

Going To Next Item In Listview.....
Hey, I was wondering how you can go to the next item in a listview. It's easy in listbox, but I tried

listview1.listindex +1, etc. and it doesn't work

Thanks for any tips.

Going To Next Item In Listview.....
Hey, I was wondering how you can go to the next item in a listview. It's easy in listbox, but I tried

listview1.listindex +1, etc. and it doesn't work

Thanks for any tips.

Getting The Item In A Listview
I have three columnheaders in my listview. I am adding the hwnds of every window with the code in the first column. Here is the description

columnheader1 - > hwnds of the windows
columnheader1 -> Classname of the windows
columnheader1 -> Titlebar text of the windows

When I have about 3 rows in my listview (3 hwnds), I want to show the window(containing that hwnd) in a loop. I am using this little code but it shows me an error message saying "index out of bound":


Code:
Private Sub showall_Click()
Dim i, a As Integer

i = ListView1.ListItems.Count
For a = 1 To i
Call ShowWindow(ListView1.ListItems(a).Text, SW_SHOW)
ListView1.ListItems.Remove (a)
Next
End Sub



Do you know what is rong with that?

How To Add Item To Listview??
I manage to add in item into the first colum but failed to add to the second column. Here is my code

With de.rsContacts
    Do While Not .EOF
    Set Contact = Me.ListView1.ListItems.Add(1, , !FirstName)
    Me.ListView1.SelectedItem = lvItem.ListSubItems.Add(2, , !MiddleName) '2nd column
    Me.ListView1.SelectedItem = lvItem.ListSubItems.Add(3, , !LastName) '3rd column
    .MoveNext
Loop
.Close
End With

I have an error message for the 2nd and 3rd column. Can anyone tell me how to solve
??

Listview Item
hi,

i want to show a selected item at the top of the Listview control while in report view .

or
make other items visible =false or height=0

do you know how?

Thanks
Orko

Add An Item In A Listview
Hi!

In one of my form i have some textBoxes. The user enter the data that he want and when he press save button i would like that the data in each of the textBoxes will be put after the last record alreaydy in the listview. But we never know exactly how records the user has in his listview.

How can i add a record automaticly at the end of the listview without knowing the exact value of the index? Is it possible to have something like a dynamic index?

Thanks a lot

Listview Get Currently Selected Item
Is there a way to get the currently selecteditems text for a listview. I'm using vb 2005 and I don't see how to get a listview currently selecteditem. Someone please help me

Thanks for any help
Chris Ara

'VB.net/DB/델파이' 카테고리의 다른 글

Listview Item Moving  (0) 2009/06/23
먜~! 요기요기~~vb.net기초  (0) 2008/12/11
[WPF]DockPanel, Grid, StackPanel  (0) 2008/11/10
[WPF]이벤트  (0) 2008/10/28
C#을 이용해서 DLL 만들기  (0) 2008/10/23
[C#]간단 메모장  (0) 2008/10/23
Trackback 0 Comment 0
2009/05/19 16:45

[arcSDE&oracle11g]SDE Connection And Get Workspace


흣. 이거 참조~!! 
http://blog.naver.com/PostView.nhn?blogId=ecaface&logNo=140065647909


해볼려고 해찌....근데. 할려면..또 오라클을 깔아야되네?
http://blog.naver.com/kokomo10?Redirect=Log&logNo=130001871057
http://blog.naver.com/salagswk?Redirect=Log&logNo=150045787010

---------->
http://blog.naver.com/wwgenii?Redirect=Log&logNo=62747240  요래만 하면 된다.

난 일단 접속해서 받기만 할꺼닝까. 클라이언트만 설치하고.
아잉..설치부터 오류야....이런 젱쟝.. 아래같은 오류가 나는거야...찾아보니...


http://database.sarang.net/?inc=read&aid=24261&criteria=oracle&subcrit=&id=&limit=20&keyword=%C1%A4%B7%C4%BC%F8%BC%AD&page=1
환경변수 지워주라네.. 나 한 5개 지웠거든?근데. 안되는거지.
그리고, 이봐. "D:\oracle\client1" 이거 17자야. 그래도 안되면. 딴문제 아니니?
에잇. 다른버전 깔아봐야지.

11g version을 일단 받았다. 아래 id로 받았구.... 
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
1. 오라클 회원 가입 페이지 :
https://profile.oracle.com/jsp/reg/createUser.jsp?act=5&src=1180588&tid=262&owner=3&nexturl=&language=kr

[출처] 오라클사이트 회원가입페이지|작성자 아이러니

2. sql developer 다운 받는 페이지 : http://www.oracle.com/technology/software/products/sql/index.html

3. 오라클 공용 아이디 : 20090144oracle@naver.com, oracle

- 회원 가입시 필수적인 정보를 입력하는 것이 없어서..아이디를 만들면 좋겠지만.

부득이한 경우 위 아이디와 패스워드를 사용하면 된다. ^^
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

http://tong.nate.com/chiwoo58/48887444
요거처럼 설치중이다...현재까진......잘 가고있는데...불안하다........
10g에 비해 11g가 엄청 오래걸리네. 하긴 2.7G나 되니. ...........아하하설치다했는데... 서버다.
무진장 느려. 할꺼많은데..아, 답답해.
더 자세한 정보는 비공개로..큭.

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[오라클 client 설치 ]

다운 받은 파일 내의 setup.exe를 실행시킨 뒤 순서에 따라 진행한다.
. 경로 지정 시, 경로 내에는 공백을 포함 하지 않아야 하며 영문으로 해야한다. 
   (서버의 사용자 계정(ex,윈도우의 사용자계정) 또한 영문이어야한다.)
. 암호 설정
. 필요 조건 검사
. 설치 요약 화면
. 설치 진행
. 오라클에 포함된 데이터베이스 관리 유틸리티 설치
   Orcle Database Configuration Assistant
   Oracle Net Configuration Assistant
. 데이터베이스 생성
. 암호관리 >> 사용할 암호에 대한 계정 잠금 해제 및 기본 암호 설정
. 설치종료


""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[오라클 client 설치 후]
실행창에서 cmd를 입력하시면
C:\Documents and Settings\Administrator> 라고 나올텐데 c:\라고 치고 c:\>으로 가셔서
C:\>sqlpluse scott/tiger 이라고 치시던가 sqlpluse라고 만 치면
아이디 패스워드 입력화면이 나옵니다 그� 치셔도 되고요 편하실대로 하시면 접속이 가능합니다.
scott <- 이 계정은 처음 oracle을 설치할때 생기는 초기 계정으로
SYS, SYSTEM, SCOTT 등이 있는데
SYS 계정은 관리자 계정으로 모든권한을 가지고 있는 계정이고
SYSTEM 은 데이터베이스 유지보수 계정으로 SYS와의 차이점은 DB생성권한이 없습니다.
SCOTT 은 오라클에 접근할 수 있도록 샘플로 만들어 놓은 계정으로 이것으로 공부를 하면됩니다 
그런데 설치시 실수로 SCOTT계정을 LOCK시켜놓으셨으면 SYSTEM 사용자 계정으로 들어가셔서
SCOTT 계정을 풀어놓아야 하는데
SYSTEM 계정비번은 설치시 설정해 두셨으면 그것으로 들어가셔서
SQL>alter user scott account unlock; 이라고 쳐 주시면 됩니다.
※ SQL은 대소문자를 구분하지 않기때문에 편하신것으로 치시면 됩니다. 다만 검색할때는 대소문자를
  구분하기 때문에 이점을 유의하시길 바랍니다.
그럼 지금 SYSTEM 계정에서 SCOTT계정으로 접속하려면 CONNECT라는 명령어를 사용하시면 됩니다.
SQL>CONNECT SCOTT/TIGER 이렇게 치시면 됩니다.

(기본계정)
SYS/CHANGE_ON_INSTALL
SYSTEM/MANAGER
SCOTT/TIGER
HR/HR

tnsname.ora 설정 : 파일에서 직접해도 되고.. net manager로 해도 되고.
http://blog.naver.com/479lgs?Redirect=Log&logNo=150017953686

XE =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.40.128)(PORT = 1521))
    (CONNECT_DATA =                  // vmware의 IP와 oracle의 포트번호
      (SERVICE_NAME = xe)           // 접속할 서비스명
    )
  )

c:\> lsnrctl status : 리스너가 구동중인지 확인


cmd>>sqlplus sys/manager@xe as sysdba  (xe=service_name)

sql>>conn sys/manager@192.168.40.128:1521/XE as sysdba    또는
       conn sys/manager@xe as sysdba
sql>>select * from tab;  <--상대방 테이블 보기
sql>>conn system/system <-- 상대방의 관리자 권한으로 접속
sql>>conn scott/tiger <-일반 사용자로 접속
sql>>select count(*) from hr.zipcode;

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

- tnsname.ora 
보통의 경우 위치는 $ORACLE_HOME/network/admin 이다.
tnsname.ora 는 로컬컴퓨터가 원격 서버로 접속할 방법을 서술하게 된다.
ORACLE_SERVER  =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 서버IP )(PORT = 서버오라클포트))
    )
    (CONNECT_DATA =
        
(SERVICE_NAME = ORCL)
       ( SID = ORCL )
    )
  )
여러 옵션이 있으나 주의 할 부분은 BOLD 부분이다.
SERVICE_NAME 과 SID 는 선택적이다. 둘다 적어도 되고 하나만 적어도 된다.
둘다 적었을경우 만약 한쪽을 잘못 적었다면 오라클 클라이언트는 접속이 되는부분을 찾아서 접속하게 된다.

 (SERVICE_NAME = XXXORCL)
 ( SID = ORCL ) <== 자동으로 이쪽으로 선택하여 접속
 
(SERVICE_NAME = ORCL) <== 자동으로 이쪽으로 선택하여 접속
 (SID = XXXORCL)  

여기서 반드시 알고 넘어야 할 부분이 있다.
SID= ORCL 부분은 위에서 조회해본 오라클의 SID 이다.
그러나 SERVICE_NAME 은 무엇인가?
SERVICE_NAME  은 접속할 오라클 서버의 리스너의 환경파일에서 GLOBAL_DBNAME  부분이 된다.아래의 listener.ora 에서 좀더 자세히 살펴보자

- listener.ora
보통의 경우 위치는 $ORACLE_HOME/network/admin 이다.
listener.ora 는 오라클서버에서 리스너를 스타트 할때 ( lsnrctl start )
사용하게 되는 환경 파일이다. 즉 클라이언트가 자신에게 접속할때 접속할 방법을 유도하는 것이다. 

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
        (GLOBAL_DBNAME = welcome.doamin)
          (ORACLE_HOME = /ora9i/product/920)
       
  (SID_NAME = ORCL)
     )
  ) 

SID_LIST 는 서버안에 DB INSTANCE 가 여러개일때 여러개로 나열해서 사용할수 있다.
( 오라클사는 xml 로 컨버젼했으면 하는 바램이 있다 ^^)
위에서 SID_NAME 는 당연히 오라클 서버의 sid 이고
주의할 곳은 바로  (GLOBAL_DBNAME = welcome.doamin)   이 부분이다.
여기서 GLOBAL_DBNAME 은
SELECT * FROM global_name 로 조회한 GLOBAL_NAME 일까?
예~ 라고 대답한 사람은 안타깝지만 틀렸다.
위의 GLOBAL_NAME  은 사용자가 맘대로 수정해서 적을수 있다.
( DB parameter 와 전혀 상관없이 독립적인 변수라는 뜻이다. )
listener.ora 안의 GLOBAL_NAME 은 자신에게 접속할 클라이언트의 tnsname.ora 에서
SERVICE_NAME = << >> 안에 기술되는 부분이다.
즉 만약 위의 서버에 접속할 클라언트는 아래의 tnsname.ora 를 가지게 될것이다.

(SERVICE_NAME = welcome.doamin)
( SID = ORCL )

두개를 모두 적을 필요 없이 하나만 적어도 된다고 했으니 무엇을 적는게 더 좋을까?
당연히 보안상 sid 보다는 service_name 을 tnsname.ora 에 기술하는게 좋다.
물론 서버 listener.ora 의 GLOBAL_DBNAME 이 변경될경우 모든 클라이언트의 service_name 을
수정해줘야 하지만 바꿀 일은 드물기도 하거니와 SID 를 노출시키는것보다 훨씬 낫다.

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 

  1. Public Sub connSDE()
        Dim pWorkspaceFactory As IWorkspaceFactory
        Dim pWorkspace As IWorkspace
           
        Dim pPropertySet As IPropertySet
        Set pPropertySet = New PropertySet
       
        With pPropertySet
       
            .SetProperty "SERVER", "GDHYO"         '--> Server의 호스트명
            .SetProperty "Instance", "esri_sde"     '--> SDE SERVICE 명  
            .SetProperty "User", "sd_seoul"           '--> Oracle사용자 명
            .SetProperty "Password", "sd_seoul"   '--> Oracle사용자 비밀번호
            .SetProperty "Version", "sde.DEFAULT" '--> SDE Version입력 - 특별한일이 없다면 DEFAULT 사용
        
        End With
       
        Set pWorkspaceFactory = New SdeWorkspaceFactory
        Set pWorkspace = pWorkspaceFactory.Open(pPropertySet, frmMain.hWnd)
           
        Set pFWorkspace = pWorkspace
       
    End Sub

'Java/오라클/ASP' 카테고리의 다른 글

[arcSDE&oracle11g]SDE Connection And Get Workspace  (0) 2009/05/19
[SQLite3]예제  (0) 2007/01/02
DataBase (SQLite.....링크)  (0) 2006/06/28
ODBC  (0) 2006/06/28
VC++오라클DB연결  (0) 2006/06/27
[먜]SQL간단 문법  (0) 2006/06/22
Trackback 0 Comment 0
2009/04/21 09:23

[초등학생 책가방]

아읏~ 다이뽀 다이뽀~~~!!!!
1. 헬로 키티
http://my.lotte.com/lotte/sitemap/goods/LCCategoryGoods.jsp?curGoodsNo=9222479&curDispNo=044008&orgDispNo=048008285003&curDepth=

http://my.lotte.com/lotte/sitemap/goods/LCCategoryGoods.jsp?curGoodsNo=9222501&curDispNo=044008&orgDispNo=048008285003&curDepth=
-> 귀여운데 품절이란다. 헉. 더갖고싶어~! 아차...내꺼아니지..ㅎㅎ
http://www.11st.co.kr/product/SellerProductDetail.tmall?method=getSellerProductDetail&prdNo=13520305
여긔 판당~!


http://www.11st.co.kr/product/SellerProductDetail.tmall?method=getSellerProductDetail&prdNo=13520265
이것도 괜찮은뎅.


http://my.lotte.com/lotte/sitemap/goods/LCCategoryGoods.jsp?curGoodsNo=9215246&curDispNo=044008&orgDispNo=048008285003&curDepth=



2. 마이멜로디
http://my.lotte.com/lotte/sitemap/goods/LCCategoryGoods.jsp?curGoodsNo=9228789&curDispNo=044008&orgDispNo=048008285004&curDepth=

http://my.lotte.com/lotte/sitemap/goods/LCCategoryGoods.jsp?curGoodsNo=9228784&curDispNo=044008&orgDispNo=048008285004&curDepth=

'Wish List' 카테고리의 다른 글

[초등학생 책가방]  (0) 2009/04/21
[청바지]  (0) 2008/12/26
[가방] 언젠가는 살꺼.  (0) 2008/10/23
이건 꼭 사야해~!! 하는 것들......  (0) 2008/10/21
Wedding Present for My Friend &quot;Yang&quot;  (0) 2008/05/08
[괭이] 야옹~~~  (0) 2008/05/02
Trackback 0 Comment 0
2009/04/08 14:21

[ArcGis] 설치과정

먜는...아래 crack대로만 했음.참..여기서 하나 빠진게.
license.lic 이거 열고, 젤 윗줄.. "SERVER octopus any" 요걸... 내 pc이름으로.. 예를들면..
"SERVER miae any" 요로케...^^

 

--->miae: 노트북에서...설치하고 license manager 실행해서, 서비스 킬려니깐.."the sentinel superpro diver is not installed on this system."이란다.
http://www.safenet-inc.com/support/tech/sentinel.asp 요거 깔라는건가..
요건 머지............어허...............



Step 1: Mount the ESRI ArcGIS Desktop v9.1 image or run the setup from your burned copy now, and install as normal.

Step 2: Run the supplied LMSetup.exe from the CRACK dir on the CD, which installs the ESRI license server in ...\Program Files...\ESRI\License\arcgis9x
        Choose our supplied license.lic when the setup prompts for it, and DO NOT REBOOT when asked.

Step 3: Copy the supplied license.lic, and ARCGIS.EXE file from the CRACK dir to the path where the License manager was
        installed (mentioned in Step 1), and choose YES when prompted to overwrite any files (and ignore all the .lic files that reside in the dir!)
        NOW REBOOT!

Step 4: Install the supplied registry file ESRIFloat.reg, by doubleclicking it, and choosing YES when prompted if it should be installed in registry.

Step 5: Launch StartMenu -> ArcGIS -> License Manager 9x -> Run License Manager Tools

Step 6: Choose tab Service/License File, and check "Configuration using Services", and choose the ArcGIS License Manager.

Step 7: Switch to tab Configure Services, make sure ArcGIS License Manager is in the Service Name listbox.

Step 8: Browse to the correct License file path where you copied the license.lic file (propably the dir mention in step 1), and choose it as license.

Step 9: Check Start Server at Power up.

Step 10: Click Save Service to save the settings.

Step 11: Test the server by choosing the Start/Stop/ReRead tab, Click Stop server, then ReRead license file, then Start Server.
         After that move to the tab Server Diagnostics and press the Perform Diagnostics button. If everything is done right, it should list all ok features.

Step 12: Have a cup of coffee and enjoy ESRI ArcGIS Desktop v9.1... =)

-BiN 2005

===============================

출처 : http://blog.naver.com/ifreegeo?Redirect=Log&logNo=120023482594


Install License Manager

1. Insert CD #1.

 

2. Installation Type에서 Install License Manager 선택하고 Next.

 

3. Import License File에서 I received the license file by fax 선택하고

   Create  클릭합니다.

 

4. License File Summary에서 Edit 클릭하고, 임의의 대문자 영문을 입력합니다.

    (ex. I LOVE YOU. 대문자 영문이면 아무거나 입력해도 됩니다.)

[주의!] 재부팅이 필요하다는 메시지가 떠도 절대 재부팅하지 말고 계속 진행합니다!

 

5. C:\Program Files\ESRI\License\arcgis9x 폴더로 이동.

     arcgis.exe license.dat 파일을 삭제.

 

    CD #1 Crack 폴더에 있는 arcgis.exe license.dat 파일을 폴더로 복사.

    (다시 말해, 기존 2 파일을 Crack폴더에 있는 2 파일로 교체하는 것입니다.)


6. license.dat파일을 메모장 등으로 열어 첫줄에 SERVER ELOI ANY 27000 부분 수정.

   ELOI 부분을 전체 컴퓨터 이름으로 수정합니다.

   전체 컴퓨터 이름 시작 - 설정 제어판 시스템 네트워크설정으로 이동.

(ex. 전체 컴퓨터 이름이 ‘INTERNET’ 이면, SERVER INTERNET ANY 27000 으로 수정.)

 

7. 재부팅을 합니다.

 

 

License Manager Setting

1. 시작 프로그램 – ArcGIS – License Manager (9.x) – License Manager Tools

    실행

 

2. Service/License File 탭을 선택하고 Configuration using Services 클릭.

   ARCGIS License Manager 클릭.

 

3. Configure Services 탭을 선택하고 경로 지정.

    Path to the lmgrd.exe

    C:\Program Files\ESRI\License\arcgis9x\Lmgrd.exe

 

    Path to the license file

    C:\Program Files\ESRI\License\arcgis9x\license.dat

 

    Path to the debug log file

    C:\Program Files\ESRI\License\arcgis9x\ARCGIS_LM.LOG

 

4. Save Service 클릭.

 

5. Start/Stop/Reread 선택하고 Start Server 클릭.

 

6. Server Diagnostic 선택하고 Perform Diagnostics 클릭.

 

7. 종료.


 

Install ArcGIS Desktop & ArcInfo

 

주의사항

0. ArcGIS Desktop, ArcInfo 중에서 ArcGIS Desktop부터 설치합니다.

 

1. 설치를 시작하면 License종류를 선택하는 메뉴가 있습니다.

   Use License Manager on “전체 컴퓨터이름 선택합니다.

 

    만약 선택이 없다면 License Manager 제대로 설치되지 않았다는 뜻이므로,

    다시 한번 재부팅을 후에 다시 시도해보십시오.

 

2. ArcGIS Desktop 설치가 끝나면 추가설치 항목이 있습니다.

   

    ArcGIS Tutorial Data, ArcGIS Desktop Developer Kit,

    Crystal Reports Version 9.0 for ESRI.

 

    이 중에서 ArcGIS Tutorial Data 선택해 줍니다.

 

3. 모든 설치를 마치면 업데이트(서비스팩) 한글 패치를 해주셔야 합니다.

           1. ArcGIS Desktop 9.0

2. ArcGIS Desktop 9.0 Service Pack 3

3. ArcGIS Desktop 9.0 Korean Pack Patch 04

'uㅌㄹ 및 사이트' 카테고리의 다른 글

[ArcGis] 설치과정  (0) 2009/04/08
[RSS] hanrss, ...등 rss feed  (0) 2009/03/13
[svn] SVN 서버 설치  (0) 2009/03/12
[last.fm]my style music ?  (0) 2009/03/12
[NetBean6.5] JME2 설치  (0) 2009/03/05
[fraps, Window Media Encoder 9]설치와 사용  (0) 2008/12/03
Trackback 0 Comment 0
2009/03/23 17:00

[필수매개변수..어쩌고]

아이띠.
ocx연결시에 나는 오류.
오류나는 부분의 함수에는 매개변수가 없어.

도데체 이거 머야. 머야머야머야~~~
Trackback 0 Comment 0
2009/03/22 19:07

[진해 벚꽃축제]

http://blog.naver.com/seeyou2008?Redirect=Log&logNo=30043495730


http://gunhang.jinhae.go.kr/sub/02_02.asp
http://imagesearch.naver.com/search.naver?where=idetail&rev=4&query=%C1%F8%C7%D8%BA%A2%B2%C9%C3%E0%C1%A6&from=image&ac=-1&sort=0&res_fr=0&res_to=0&merge=0&spq=1&start=1&a=pho_l&f=nx&r=1&u=http%3A%2F%2Fblog.naver.com%2Fcute622%3FRedirect%3DLog%26logNo%3D60064493980

- 경로
 1)진해시립박물관 : 09:00 ~ 20:00, 제황산 공원 (진해탑산) 내
 2)남부 내수면 연구소 : 09:00 ~ 17:00, 민물고기 전시관
 3)해양공원 관람 : 09:00 ~ 20:00, 셔틀버스 운행(휴일운행시간: 10:00~19:00),제덕매립지
 - 군함전시관
 - 해전사 체험관
 - 해양생물테마파크
 4)해군진해기지사령부 영내 관람 : 16:30까지, 도보, 승용차, 버스 가능(단, 차량이용의 경우 하차 불가능, 주차 공간 없음)
5)행사 일정
http://gunhang.jinhae.go.kr/sub/02_06_02.asp
6)벗꽃 즐기기
http://gunhang.jinhae.go.kr/sub/04_01.asp
- 먹거리
- 이동
4)숙박
Trackback 0 Comment 0
2009/03/18 18:40

[lightscribe] 사용하기


http://blog.naver.com/sunid07?Redirect=Log&logNo=90007362848

요고처럼...
네로 6. 버전만 내장...드라이버도 설치해줘야하든뎅..
설치가 좀 귀찮은데...

압..나 할려다가 실패했당..왜지..바로 해야되나..취소눌렀는데..ㅠㅠ
Trackback 0 Comment 0
2009/03/13 16:11

[RSS] hanrss, ...등 rss feed


hanrss.com 이나 구글리더기 등등...
음..이게 머냐면....

그러니깐,
RSS : 우편물서비스? 블로그의 내용들을 사용자들은 자기만의 우체통으로 배달을 받는거지. 
         뉴스라던지 사진첩이라던지 동영상도 배달 받을 수 있다는데. 좋은거 같다.
         참고 : http://acdrain.tistory.com/10
트랙백 : 내가 다른사람 블로그 글 일고. 거기위에 틱.붙이고 오는거야. 포스트잇처럼. 간단한 메모?
            당신도 내꺼보러오라..머 이런거래.
           참고 : http://acdrain.tistory.com/11

- HanRSS를 이용해서 다른사람들의 블로그 구독
 참고 : http://acdrain.tistory.com/12

차마 쓰긴 귀찮아서..;;;; 무슨말인진 알겠지?

'uㅌㄹ 및 사이트' 카테고리의 다른 글

[ArcGis] 설치과정  (0) 2009/04/08
[RSS] hanrss, ...등 rss feed  (0) 2009/03/13
[svn] SVN 서버 설치  (0) 2009/03/12
[last.fm]my style music ?  (0) 2009/03/12
[NetBean6.5] JME2 설치  (0) 2009/03/05
[fraps, Window Media Encoder 9]설치와 사용  (0) 2008/12/03
Trackback 0 Comment 0
2009/03/12 11:51

[svn] SVN 서버 설치

http://blog.naver.com/windheim?Redirect=Log&logNo=90038902811

http://www.pyrasis.com/main/SVNSERVEManager

http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&expandFolder=91&folderID=260


그냥 위대로만 하면 된다.

VN 서버 설치법

2008.12.15 windheim at naver

긁어갈 수 있도록 설정해 놓았으니 긁어가도 상관없으나 출처는 꼭 밝혀주세요.
http://blog.naver.com/windheim

 

0. 들어가며

본 포스트에서는 SVN과 SVN서버를 손쉽게 관리할 수 있는 SVNSERVE Manager 설치방법 및 레포지터리 생성과 설정에 대해 다루도록 한다.
복잡한 설명은 가급적 생략하겠다. 예컨대 SVN이 뭐고 특장점은 뭔지 이런 것은 생략한다는 것이다.
본 포스트, 개인 PC 또는 노트북 Windows환경에서 SVN을 간단하게 설치하고 동료들과 같이 SVN 레포지터리를 공유하고 사용할 수만 있으면 된다 하는 정도의 설명만 담도록 하겠다.

예컨대 소규모의 프로젝트를 구성하는데 필요한 SVN 서버 설치의 간단한 가이드라인으로서 본 포스트를 봐주시면 될 것 같다.


한편 SVN이 무엇인지에 대한 ....

 


[다른쪽을 참고하시라..-_-...]

 

SVNSERVE Manager란?  - Pirasis님(PYRASIS.COM)이 만든 SVN 서버용 랩퍼툴을 말한다 이것을 통해 우리는 쉽게 SVN서버를 관리할 수 있다.
(PYRASIS님에게 감사를...)


1. Tortoise (똘똘이) SVN Client 설치

그림처럼 똘똘이 SVN Client를 설치하자. 이 툴을 통해 Windows환경에서 간편하게 소스를 커밋하거나 체크아웃 또는 리비전 비교등이 가능해진다.

똘똘이는 여기서(http://tortoisesvn.net/downloads ) 구할 수 있다.


설치후 폴더에 커서를 두고 오른쪽 버튼을 눌러 관련 메뉴가 나오면 설치 완료.

 

2. SVN 및 SVNSERVE Manager 설치

아래 그림들처럼 SVN을 설치하자.

(최신파일은 http://subversion.tigris.org/getting.html#windows 에서 받을 수 있다)

 

 

 


[SVN의 설치]

 

 

SVNSERVE Manager는 PYRASIS님이 만든것으로 여기서 (www.PYRASIS.com) 구할 수 있다.

 

 

[SVNSERVE Manager의 설치]

 

3. SVN 매니저 설정

아래 그림처럼 트레이 아이콘이나 시작 메뉴를 통해 SVNSERVE Manager를 실행시키자

 

 

 

 


위 그림에서 자신의 서버가 될 컴퓨터의 레포지터리 루트 위치를 지정하자 참고로 필자의 위치는 D:\SVN_Repo로 정했다.
그리고 Setting에서 Run Mode를 선택할 수 있다. 일반적인 Windows 백그라운드로 실행시키고자 하면 Normal, Windows Service형태로 실행시키고자 한다면 Service를 선택하자.
컴퓨터 부팅시마다 자동으로 서버를 가동하고자 하면 바로 아래 체크 박스에도 체크를 하자.

설정을 마치고 Start를 누르면 서버가 가동되게 되고 외부에서의 접속을 허용할 수 있게 된다. XP에서 windows 방화벽 경고가 뜨기도 한다. 외부 접속을 허용하고자 하면 차단 해제를 선택하자.

서버만을 설치한것으로 서버를 사용할 수는 없다. 이제 레포지터리를 만들어보고 소스트리를 올려보도록 하자.

 

4. SVN 레포지터리 생성

이제 내 컴퓨터에 SVN 레포지터리를 생성해보자. 커맨드 창에서 아까 생성한 레포지터리 루트 위치(필자의 경우 D:\SVN_Repo)로 이동하고 아래와 같은 커맨드로 레포지터리를 생성하자.

svnadmin create --fs-type fsfs Test_Appl

svnadmin create --fs-type fsfs [자기가 원하는 레포지터리 명]

 

 

그러면 위 그림처럼 레포지터리가 [Test_Appl]이라는 디렉토리에 생성된다.

 

5. 레포지터리 설정과 유저등록

 

Test_Appl 디렉토리에 들어가보면

 

생성한 디렉토리 안에 'conf', 'dav', 'db', 'hooks', 'locks' 라고 하는 디렉토리가 들어있다.
conf는 레포지터리의 설정을 담당하는 디렉토리다.


우선 레포지터리 설정을 하도록 하자. 여기서는 유저의 권한 및 인증 방식을 설정한다.
conf 디렉토리에 들어가서 svnserve.conf라고 하는 파일을 편집하자.
레포지터리 설정은 다음과 같이 하도록 하겠다. 이것이 마음에 들지 않는다면 레퍼런스를 보고 자기 입맛에 따라 편집하자.

익명사용자 접근 - 불가
등록사용자 접근 - write 가능
유저등록 방식 - passwd 파일을 사용
레포지터리 명 - test repository

위 내용은 다음과 같은 스크립트로 적으면 된다.

anon-access = none
auth-access = write
password-db = passwd
realm = test repository

맨 밑 4줄처럼 위 내용을 등록하면 된다.

 

 


이제 사용자 등록을 해보도록 하자.
마찬가지로 conf 디렉토리의 passwd 파일을 편집하면 된다.

 


[맨 아래에 사용자 ID와 Passwd를 적어두자]

필자의 경우 ID: test paswd: testguy로 설정하였다.

 

6. 클라이언트 테스트 및 커밋 테스트

 

이제 똘똘이 SVN을 사용해 체크아웃을 테스트 해보자
임의의 디렉토리 Test를 만들고 아래 그림처럼 오른쪽 버튼을 눌러 체크아웃을 선택한다.

 

 

 

 

그러면 위 그림처럼 레포지터리의 URL을 치라는 다이얼로그 박스가 나타난다.
필자는 그림처럼 svn://127.0.0.1/Test_Appl 라고 적었는데 이는 127.0.0.1은 로컬호스트를 뜻하며 아까 생성한 Test_Appl 레포지터리의 소스를 가져오도록 하는 것이다.
즉 127.0.0.1 은 자기 자신의 아이피를 의미하며 자기가 원하는 SVN 서버가 설치된 주소를 적으면 된다.
OK를 누르면 Username과 Passwd를 입력하라고 나온다. 아까 passwd파일에 적은 내용을 입력하자.


위 그림처럼 revison 0 이라는 메세지가 뜨면 정상이다. 아직 어떤 소스도 올리지 않았기 때문에 revision 0이라고 나오는것이 정상이다.

 

이제 다음과 같은 test.c 파일을 Test 디렉토리에 만들어 넣어보자. c파일의 내용은 뭐든 상관없다. 어짜피 테스트 이니까.

 


 


그리고 Test 디렉토리를 오른쪽 버튼으로 클릭하고 SVN Commit을 선택하자.

 


위 그림 처럼 새로 새로운 리비전에 대한 로그를 적고 새로 리포지터리에 추가할 test.c 파일에 대한 체크박스를 체크하자.
OK를 누르면 ID/Passwd를 요구하고 다음과 같은 메세지가 뜨게 된다.


 

 

이제 우리가 테스트로 만든 레퍼지토리가 정상적으로 동작함을 확인했다. 이제 동료들과 코드를 공유하며 개발하도록 하자.


7. 그외

 

내용 질문과 오타지적은 언제나 환영합니다.
내용에 대한 개선점 및 반론에 대해서도 마찬가지입니다.



'uㅌㄹ 및 사이트' 카테고리의 다른 글

[ArcGis] 설치과정  (0) 2009/04/08
[RSS] hanrss, ...등 rss feed  (0) 2009/03/13
[svn] SVN 서버 설치  (0) 2009/03/12
[last.fm]my style music ?  (0) 2009/03/12
[NetBean6.5] JME2 설치  (0) 2009/03/05
[fraps, Window Media Encoder 9]설치와 사용  (0) 2008/12/03
Trackback 0 Comment 0