'Linux'에 해당되는 글 308건

  1. BonnMotion [A mobility scenario generation and analysis tool] 2008/11/20
  2. Ubuntu 8.04 Dual mornitor with NVIDIA 860GT (2) 2008/05/02
  3. 유분투(데비안)에 SnortSnarf 설치 하기 (5) 2007/11/06
  4. 유분투 7.10에 perl 설치 하기 (11) 2007/11/06
  5. ctags & cscope 설치 및 사용 (5) 2007/10/06
  6. Ubuntu에 자바 jdk 설치 하기... (5) 2007/09/30
  7. 리눅스에서 윈도우 공유 폴더 접근하기..이미지 설명 추가 (4) 2007/08/04
  8. Ubuntu 파일 압축 풀기를 하나로... (1) 2007/07/10
  9. 유분투를 Partimage를 이용하여 백업 & 복구 하기 (7) 2007/07/10
  10. Ubuntu 7.04에 MATLAB 설치 하기 (2) 2007/07/06
  11. 리눅스를 주 운영체제로 갈아 타기 위해 공부 할것들... (4) 2007/06/22
  12. [Kernel] system call 추가 방법 (2) 2007/06/11
  13. Cygwin 설치시 용량 적게 (8) 2007/05/09
  14. [구현] WindowsXP에서 IPv6기반 IPSec 구현하기 (5) 2007/04/20
  15. [구현] 리눅스에서 IPSec6 구현하기 (3) 2007/04/20
  16. IPSec 구현전 참고 링크 (7) 2007/03/24
  17. 유분투 새로 깔고 할일들.... (5) 2007/03/03
  18. Linux Kernel, Embedded Linux, Real Time Linux 관련 사이트 (6) 2007/01/04
  19. Regular Expression Quick Reference v1.00 (2) 2006/12/19
  20. AWK 기초 (8) 2006/12/19
  21. ubuntu XGL 설정법.. (6) 2006/11/29
  22. Ubuntu Linux 5.10(Breezy)기반에서 RTLinux 설치하기 (5) 2006/11/26
  23. 내가 사용하는 bashrc 설정 파일 (7) 2006/11/25
  24. 내가 사용하는 vim 설정 파일 (3) 2006/11/22
  25. Snort 한글 메뉴얼 2006/10/19
  26. 리눅스에서 인터넷 익스플로러 돌리기 (6) 2006/10/15
  27. NS-NAM으로 해보는 네트워크 시뮬레이션 (1) 2006/09/25
  28. OLSRv2 설치 하기 (4) 2006/09/24
  29. linksys 라우터 접속법 (1) 2006/09/20
  30. 리눅스에 넷필터 (netfilter)설치 확인법 (8) 2006/09/20


BonnMotion

A mobility scenario generation and analysis tool

Information

Copyright ? 2002-2005 University of Bonn
This software is distributed under the terms of the GNU General Public License which is included in the archive.

BonnMotion is a Java software which creates and analyses mobility scenarios. It is developed within the Communication Systems group at the Institute of Computer Science IV of the University of Bonn, Germany, where it serves as a tool for the investigation of mobile ad hoc network characteristics. The scenarios can also be exported for the network simulator ns-2 and GlomoSim/QualNet. Several mobility models are supported, namely

  • the Random Waypoint model,
  • the Gauss-Markov model,
  • the Manhattan Grid model and
  • the Reference Point Group Mobility model.

For further information consult the documentation. Please send questions and feedback concerning BonnMotion to Christian de Waal or Michael Gerharz.

Download

Download BonnMotion v1.3a (2005-10-07) as complete ZIP archive (376K) or as gzipped patch to version 1.3 (1K; re-run compile after applying the patch).

If this is of any use for you, you can also download a script to scale the time axis of a BonnMotion scenario, which might be included in future versions of BonnMotion.

Change Log

Changes from version 1.3 to 1.3a:

  • Fixed the bug that prevented the wrapper from executing the OriginalGaussMarkov module.

Changes from version 1.2b to 1.3:

  • Changed the semantics of attraction points: While in previous versions, it was the distance from an attraction point which was normally distributed with mean zero (with uniformly distributed directions), it is now the deviation from the attraction point in each dimension which is normally distributed (resulting in distances which follow a Ricean distribution).
  • Fixed a bug in the LinkDump module that caused links which go down after simulation end not to be printed.
  • Added the OriginalGaussMarkov module, which is more closely related to the Gauss-Markov model as originally proposed (for details please consult the README file).
  • Added some features to the previous GaussMarkov model (for details please consult the README file).

Changes from version 1.2a to 1.2b:

  • Fixed another bug in the Manhattan Grid model that caused the nodes to move out of the simulation area. Also changed the implementation so that nodes do not start at (0,0) but at random positions using random directions, so the choice of the initialisation phase is less critical.

Changes from version 1.2 to 1.2a:

  • Fixed a bug in the Manhattan Grid model that occured when using a pause probability greater than zero and caused mobile nodes to move slower rather than really pausing.

Changes from version 1.1 to 1.2:

  • Added the XML schema proposed by Horst Hellbr?ck <horst.hellbrueck@i-u.de> as a standardised mobility file format for the research program "Schwerpunktprogramm 1140" of the DFG (Deutsche Forschungsgemeinschaft).
  • Fixed a bug in the Statistics module. This bug resulted in a wrong calculation of the average node degree. (The higher the node count, the smaller was the deviation from the correct value.)
  • Added the "Qualnet mode" to the GlomoFile module (starts numbering nodes with 1, not with 0).

Changes from version 1.0 to 1.1:

  • Fixed a severe bug in the RPGM implementation.
  • Fixed a bug in the Statistics application that lead to wrong calculations of the "partitioning degree".
  • Added GlomoSim/Qualnet support (thanks to the University of Karlsruhe).
  • Slightly modified the LinkDump application (formerly LinkDurationDump) which is now more intuitive to use.
  • Fixed a bug in GaussMarkov that messed up the field size when using parameters from another scenario (using -I).

The development of this software was supported in part by the German Federal Ministry of Education and Research (BMBF) as part of the IPonAir project.

출처 :http://web.informatik.uni-bonn.de/IV/Mitarbeiter/dewaal/BonnMotion/
2008/11/20 13:11 2008/11/20 13:11

Note that installing the nVidia driver will fix some screen resolution problems.

  1. Go to the System > Administration menu, click on Hardware Drivers, and then enable the nVidia Graphics Driver checkbox in the Device Driver tree. If you need to set up multiple monitors, go to step 3. Otherwise, just restart the computer and you're done!
  2. (alternative) If the previous step didn't work, you can manually install and enable the nVidia driver:
    sudo apt-get install nvidia-glx-new
    sudo nvidia-xconfig
    Note: If you have a GeForce4 video card, you may need to use nvidia-glx instead of nvidia-glx-new. And if you have a very old card, like a TNT, you may need to use nvidia-glx-legacy instead.
  3. Power off your computer, connect all monitors, and then turn the computer back on. When you get to the GRUB menu, select the option to boot into Ubuntu in recovery mode. You will eventually get to a menu where you can choose to drop into a root shell. Once you're at the root shell prompt, enable the nVidia driver:
    sudo nvidia-xconfig --separate-x-screens
    Finally, exit the root shell by pressing CTRL+D, and choose the Resume normal boot option.
  4. You can further modify screen resolution, dual monitor setup, Xinerama, etc. using the nvidia-settings package:
    sudo apt-get install nvidia-settings
    sudo nvidia-settings
    You can change the settings in the "X Server Display Configuration" section and then click the "Save to X Configuration" button and save the file as /etc/X11/xorg.conf.
2008/05/02 17:39 2008/05/02 17:39

1. snortsnarf 최신버젼 다운

 http://www.snort.org/dl/contrib/data_analysis/snortsnarf/


2. 적당한 곳에 다운 받은 뒤 압축을 해제한다.

tar xvzf (다운받은디렉토리)/SnortSnarf-050314.1.tar.gz


3. (root 권한이라고 가정함) mkdir /usr/local/snortsnarf


4. 압축해제 한 SnortSnarf 디렉토리 밑에 있는 snortsnarf.pl 을 위에 생성한 디렉토리로 복사한다.

cp snortsnarf.pl /usr/local/snortsnarf/


5. 필요한 패키지들을 설치한다.

    apt-get install perl-modules
   apt-get install libtimedate-perl
   apt-get install libperl-dev
   apt-get install libperl5.6
   apt-get install libtimedate-perl
   apt-get install libtime-modules-perl
   apt-get install libwww-perl


6. snarfsnort 실행시 필요한 include 파일을 /usr/lib/perl[버젼] 밑에 복사한다.

cp -a SnortSnarf-050314.1/include/* /usr/lib/perl5

cp -a SnortSnarf-050314.1/include/SnortSnarf/* /usr/lib/perl5


7. snortsnarf의 웹 페이지가 생성 될 디렉토리를 생성한다.

mkdir /var/www/snortsnarf


8. /usr/local/snortsnarf/snortsnarf.pl [alert 파일의 경로] -d /var/www/snortsnarf


9. /var/www/snortsnarf 밑에 생성된 index.html을 웹 브라우저를 통해 실행한다.


작성 : 20071106  by 이제민
참고 : 어느 일본사이트 -_-;

2007/11/06 19:38 2007/11/06 19:38
1] perl 다운 받기
-perl.org

2] Unterminated quoted string 에러 발생시 해결 하기
- /bin/sh 심볼릭 링크를  /bin/bash 로 변경  [참고]

3] 설치 하기 [참고]

설정하기 : sh Configure -des -Dcc=gcc
컴파일 하기 : make
설치 하기 : make install
확인 하기 : perl -v


작성 : 20071106 by 임헌정
http://www.4ellene.net

2007/11/06 19:24 2007/11/06 19:24
Tag // ,
ctags & cscope 설치 및 사용


참고 : http://blog.naver.com/ikariksj/140024963956

1. ctags 란 ?
   = >  ctags는 프로그래밍 소스 코드의 태그 (전역변수 선언, 함수 정의, 메크로 정의)들의
          데이터 베이스(tags파일)을 생성하는 명령어입니다.
          커널 소스 분석등 작업에서 탁월한 성능을 발휘합니다

2. ctags 버전 확인하기

    = > (쉘에서)  $ctags --version 이라고 입력한다 설치 돼어 있는경우 버전 정보가 나옵니다
    cannat commond find  => 깔려 있지 않을시 에러 출력
    ( 대부분 기본리눅스에서 디폴트로 깔려 있지 않을것이다 처음 설치시 전체 설치 또는..
      선택 설치로 ctags를 설치 한경우라면 몰라도 디폴트로는 거의 안깔려 있습니다.
      특히 ubuntu 의 경우 원래 데스크탑용으로 개발 돼고 있어서.. 개발 툴이 하나도 안깔려 있기
      때문에 별또 설치를 필요로 합니다 )

3. ctags 설치하기
    => ubuntu 의 경우 레드헷 이나 페도라 등 다른 리눅스에 비해 비교적 쉽게 설치할수 있습니다
        레드헷일 경우 rpm 버전을 따로 다운 받아 설치 해야 하는 방면 데비안 계열 명령어
        apt-get으로 간편하게 설치가 가능합니다

    ubuntu 설치 하기
      (쉘에서) $apt-get install  ctags  (자동으로 최신 버전으로 설치 됩니다 )

    redhat 설치하기 http://sourceforge.net/projects/ctags (rpm 버전을 다운 받은후)
        (쉘에서) $rpm -ivf 다운받은 rpm 파일명 (으로 설치 하실수 있습니다)

    설치 완료 후 2번 과정 버전을 확인 하면 버전 정보가 재대로 나오면 재대로 설치가 되었습니다.
    레드헷 일 경우 lib.so 에러가 발생할수 있는데 버전이 안맞는 것을 깔면.. 설치가 재대로
    돼지 않는 문제점이 발생합니다 위 링크에서 최신버전 5.6.1 의 경우 페도라 5 용 이므로
    레드헷일 경우 5.0 버전 이나 찾아보시고 하위 지원 돼는 버전을 설치 해야 합니다..
    확인 결과 5.0.1 은 재대로 설치가 가능하더라고요..

4. tags 파일 만들기
    = > 우선 커널이 있는 폴더로 이동 합니다
           $cd /usr/src/linux/ <== ( 전 linux로 심볼릭 링크가 돼어 있습니다 안돼어 있다면
           심볼릭 링크를 만드셔도 돼고 직접 경로를 다 입력 하셔도 상관없습니다)
           심볼릭 링크 만들기 -> ln -s  /usr/src/커널폴더명 linux
           커널 폴더로 이동했으면 ctags -R 을 입력하여 tags 파일을 생성합니다
           시간이 좀 걸리는데 ls로  tags 파일이 생성 된걸 확인 합니다

          $cd /usr/include 폴더로 이동 합니다
           마찬가지로 ctags -R 명령으로 include 폴더도 tags 파일을 생성 합니다
           정상적으로 파일이 생성 되었다면 다음 단계로 넘어갑니다

5. ctags 설정 하기
    = > 설치 가 완료 되고 tags파일이 생성 되었다면 작업이 거의 끝난거나 마찬 가지 입니다.
           매번 vi 에서 ex모드 에서 입력하는거도 한계가 있으므로 .vimrc 파일에
           tags 를 설정 해두는게 편합니다
           vimrc 파일에 다음 라인을 입력 한후 저장합니다
           set tags=./tags,/usr/src/linux/tags,/usr/include/tags
           (linux 의 경우 심볼릭 링크 한경우)  직접 폴더를 입력 하신분은 경롱에 맞게 설정 합니다


참고 : Joinc

일단 분석하고자 하는 쏘스의 디렉토리로 이동한다. 그리고 아래와 같은 방법으로 실행하면 된다.

[root@localhost user_admin_file]# ctags *
위에서 ctags 는 현재 디렉토리에 있는 모든 파일에 대해서 tags 정보를 작성하도록 했는데, 현재 디렉토리 뿐만 아니라 모든 하위디렉토리에 대해서 tags 정보를 작성하고자 한다면 "-R" 옵션을 사용하면 된다.
[root@localhost user_admin_file]# ctags -R
ctags 명령을 실행시키고 나면, ctags를 실행한 디렉토리에 tags 란 파일이 생길것이다. 여기에 각 함수가 어느파일에 설치되어 있는지에 대한 정보가 들어 있고, vi 를 실행 시키면 tags 파일을 참조하여 해당 함수가 정의되어 있는 파일로 자동으로 이동하게 된다.
tags 파일은 아래와 같이 구성되어 있다.
hello hello.c /^void hello(void)$/;" f
각필드는 "tab" 으로 구분된다. 첫번째 필드는 함수이름, 두번째 필드는 함수가 정의된 파일의 이름, 세번째 필드는(vi 를 좀 다룰줄 아는 유저 라면 익숙한 문장일 것이다), 해당 파일에서 vi가 함수명을 찾아가도록 하기위한 vi command 이다. 4번째 필드는 해당 함수의 타입이다. "f" 라면 일반 C 함수라는 뜻이며, "c" 는 클래스에 선언된 멤버함수, "d" 는 define 된 값이란 뜻이다.


이제 vi 로 분석하고자 하는 쏘스파일을 열어보자. 분석하는 중에 hello() 라는 알수없는 함수가 나와서 이 함수의 원형이 있는곳으로 이동하고 싶을 때는 hello() 함수에 커서를 위치시키고 "Ctrl + ]" 를 누르면 된다. 그러면 곧바로 hello() 함수의 원형으로 이동하게 된다.
hello() 함수에 대한 분석이 끝나서, 원래 분석하던 쏘스 파일로 돌아오고 싶다면 "Ctrl + t"키를 누르면 된다.



사용하기         
=====================================================
여기 까지 했다면 설치 및 설정은 완료 되었습니다..

이제 사용 하는거만 남았는데
복잡하게 책에는 여러 옵션이 많지만 보통 잘안쓰는 옵션들은.. 거의 쓸일이 없고..
자주 쓰는 것만 다루겠습니다.

ex 모드 -> vi 에서 : 을 눌러서 명령을 입력 하는 모드를 말합니다
ex 모드에서 :tj 함수명 이나 구조체명 (왜 tj 인가 ?  tags jump 약어)
(찾고자 하는 함수명이나 구조체 이름등을 입력 하면 관력 이름 함수나 구조제..정보가 나타 납니다 )
보통 한두가개 아닌경우 스페이스바를 누르면 목록이 더나오며 d 를 누를 경우 한페이지씩..
보여 줍니다 나갈때는 q로 나갈수 있습니다 그럼 <CR> 이 나오는데 여기서 찾은 함수나 구조체
번호를 입력 하면 자동으로 점프합니다

다른 방법으로 가는 방법은 커널 소스를 vi열어서 분석하다가 함수 원형이나 구조체 이름에서
ctrl + ] 를 누르면 자동으로 태그를 찾아 갑니다
이전으로 다시 돌아 올때는 ctrl + t 를 사용 해서 돌아 올수 있습니다

ex모드 : sts 함수명 , 구조체명
위에서 설명한 tj와 비슷 하지만 한가지 다른점이 수평창분활을 해서 결과를 보여 줍니다

이외 명령이 더 있지만 실제 이거만 알아도 충분 합니다 나머지 이전으로 돌아가기 이런건..
거의 실제 사용 되지도 않습니다 위에 설명한 4가지 방법이 주로 쓰는 방법입니다.


[tip] 헤더 파일 바로 읽어 오기

#include <linux/kernel.h> <- 헤더파일 이름에 커서를 위치 한후

Ctrl + wf 를 누르면 창이 수평 분할되어 헤더파일이 열립니다


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



cscope 를 이용한 2%로 채우기
    ctags만으로도 커널소스와 소규모 프로젝트롤 분석하는데 부족함은 없지만..
    2%로 부족한게 있다 ctags만으로는 지역변수나 전역변수가 사용된곳 은 찾기가 힘들다
    이때 cscope 사용하면 됩니다

cscope 설치 하기
    ubuntu = > $apt-get install cscope 로 간단히 설치 할수 있다 (데비안 계열의 강점)
    redhat
    (다운 로드)
    wget http://belnet.dl.sourceforge.net/sourceforge/cscope/cscope-15.3-1.i386.rpm
    설치 하기
    $rpm -ivf cscope-15.3-1.i386.rpmcscope 설정 하기   cscope 설정은 좀 손이 많이 갑니다 (ctags에 비해...)
    우선 mkcscope.sh 파일을 만들어야 합니다
  ============ mkcscope.sh 파일 내용 ================
    #!/bin/sh
    rm -rf cscope.files cscope.files

    find . \( -name '*.c' -o -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.s' -o -name

    '*.S' \) -print > cscope.files
    cscope -i cscope.files
    ============================================
    파일 생성 후 파일 퍼미션 설정
    $chmod 755 mkcscope.sh
    $mv mkcscope.sh /usr/bin    디렉토리 이동
   
$cd /usr/src/linux (심볼릭 링크 아닐시 전체 경로)
    mkcscope.sh 실행  하면 빌드 돼면서 데이터가 만들어 집니다
    빌드 종료시 값을 입력 하는게 나오는데
ctrl + d를 눌러서 종료 합니다.
   
    이후 .vimrc 파일에 다음 내용을 추가 합니다
    =============================================    set csprg=/usr/bin/cscope
    set csto=0(숫자 0)
    set cst
    set nocsverb

    if filereadable("./cscope.out")
       cs add cscope.out
    else
       cs add /usr/src/linux/cscope.out
    endif
    set csverb
   ==============================================   이제  설정은 끝이 났습니다    사용하기 ( cscope 의 명령 형식 )
    :cs find {질의종류} {심벌}
    ex) cs find s start_kernel

  
cscope 의 질의 종류
    0 or s  - > Find this C symbol
    1 or g  - > Find this definition
    2 or d  - >
Find functions called by this function
    3 or c  - > Find functions calling this function
    4 or t  - > Find assignments to
    6 or e  - > Find this egrep pattern
    7 or f   - > Find this File
    8 or i   - > Find files #including this file


cscope 를 활용 함으로써 더 완벽히 커널소스를 분석할수 있지만 ctags 만 사용하는거 보다
cscope 를 같이 사용 하니까 찾는데 시간이 더 오래 걸리는거 같네요..
.vimrc 파일에서 cscope 세팅 부분을 주석으로 해두고 사용하다가..
더 깊게 찾을 필요가 있을때 사용 하는게 더 편할듯 싶은데..
그냥 설정 된 체로 ctrl + ] 를 남발하면  ctags만 있을때는 더이상 찾을게 없으면
그냥 위치에서 멈처 있는데 cscope 가 세팅 돼어 있다면 계속 해서  파일을 검색해서
검색하는데 시간이 좀 걸려서..^^;; 거슬릴때가 있네요..

정리 할겸 만들어 봤는데 생각보다 시간이 오래 걸리는듯..
해보시고 안돼는거 있으면 댓글 달아 주세요..

기존 내용에서 추가 된 부분입니다..

Tlist 내용이 빠져서 다시 수정합니다..

뭐 크게 달라지는 내용은 없고요.. Tlist 가 먼지 모르는 분도 있을테니까요..

간단하게 Tlist 를 설명하지면 TagList 약자로써.. 이름에서 설명하는거 처럼..

해당 파일의 정의된 함수명,변수(#define), 등을 이름으로 효율적으로 보여주는 유틸리티 입니다.

ctag & cscope 와 연동해서 사용하면 무척 효율적이죠..

말로 설명하는게 감이 안오시는분은.. Visual C++에서요 Cpp 확장자로 작업하시면..

클레스 별로.. 함수 이름이 나와서 관리 할수 있잖아요.. 그거랑 똑같다고 보시면 돼요..

관련 문서는 인터넷에서 검색하면 쉽게 찾을수 있고요..

못찾겠다 싶은 분들은 제 게시판에 잘설명된게 있어서 퍼와서 올려 뒀어요.. 참고하세요..^^

http://blog.naver.com/ikariksj/140026617491

http://www.xinublog.com/287


=== 2차 수정부분 === [ 2006/09/21 ]mkcscope.sh 파일 생성시  띄워쓰기 주의를 하지 않으면..
문제가 발생하는게 확인 돼었습니다..
한줄로 붙여서 쓰면 보기 불편해서 두줄로 짤라뒀는데..
그부분을 그대로 복사해서 붙여 넣으면 오류가 발생하네요..
물론 직접 코딩하는거면 띄위쓰기 주의하면서 하면 괜찮은데..ㅎ
작성된지 좀
2007/10/06 01:52 2007/10/06 01:52
다른 분의 글을 정리 한것입니다...
항상 자바 설치 할때마다..찾아 헤매서리 -_-;


Ubuntu apt를 이용한 JDK,Tomcat,Apache,JK설치

[JDK설치]
$> sudo apt-get install sun-java5-jdk
$> sudo update-alternatives --config java <= 여기서 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java선택
경로정보 :
/usr/lib/jvm/java-1.5.0-sun <= 이것은 대표 링크이고, 실제 같은 디렉토리의 실제 경로가 존재한다.
/usr/bin/java
/usr/etc/alternative/java <= 대부분의 링크가 여기로 링크처리됨.
*** 각 필요한 경로들은 대부분 관련 링크를 가지게 된다.

참고 : http://blog.naver.com/no1ordie/50009874421



[ubuntu] 우분투에 Java 6 설치하자!!!

http://java.sun.com

공식 홈페이지에 가서 다운로드 페이지의 java2se에서

우분투는 데비안 계열이니 rpm 말고

Download Now! Linux self-extracting file jdk-6-linux-i586.bin 59.77 MB

이거 다운 받아요

터미널 창 열고

sudo mv (파일 절대 경로)/jdk-6-linux-i586.bin /usr/local/
sudo chmod a+x /usr/local/jdk-6-linux-i586.bin

글 쭈우욱 읽어 주시고
yes 엔터
그럼 알아서 압축 풉니다.

/usr/local/jdk1.6.0 이 생깁니다.

sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/jdk1.6.0/jre/bin/java" 1
sudo update-alternatives --config java

이제 확인
java -version 엔터

java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)


이클립스는 그냥 시냅틱으로 설치 ㅠㅠ

sudo -b gedit /etc/jvm

다른 경로들 지워주고

/usr/local/jdk1.6.0

sudo -b gedit /etc/eclipse/java_home

역시 다른 경로들 지워주고

/usr/local/jdk1.6.0

참고 : http://blog.naver.com/kasyou216/70012068141

2007/09/30 22:51 2007/09/30 22:51
Tag // ,
리눅스에서 윈도우 공유 폴더 접근하기

WindowsXP SP2
Ubuntu 7.04

사용자 삽입 이미지

1) [탐색기-도구-폴더옵션-보기] 에서 '모든 사용자에게 동일한 폴더 공유 권한을 지정(권장)' 항목의 체크를 지운다.


사용자 삽입 이미지

2) [제어판-관리도구-컴퓨터관리-시스템 도구-로컬 사용자 및 그룹-사용자] 에서 오른쪽 버튼을 눌러 새사용자를 추가한다.
*다음 로그온할 때 반드시 암호 변경'항목의 체크를 지우고 '암호 사용 기간 제한 없음'에 체크한다.

 
사용자 삽입 이미지

3) 탐색기에서 C:\에 대고 [오른쪽 마우스버튼 클릭-공유및보안선택-이 폴더를 공유함-새 공유 선택]
*공유 이름(꼭 기억)과 허용인원을 지정한후 확인
*밑에 밑에 있는 '사용권한'을 클릭한다.  Everyone은 제거하고 추가를 눌러 2)에서 지정한 ID를 '선택할 개체 이름 입력'에 입력한다. 확인을 누르고  '모든권한'을 부여하고 확인누름.


4) 리눅스에서 삼바 클라이언트 패키지가 설치되어 있나 확인한 후,
% mkdir /mountpoint
% smbmount '\\호스트IP주소(or Domain name)\공유이름(3번에서 기억하라고 한것)' /mountpoint -o username=xxx,password=xxx
예) %  smbmount '\\143.248.141.227\main' /mountpoint -o username=vampire,password=xxxx


4-1) samba 3.0.11이상 부터는 smbmount를 지원 하지 않으므로 다른 방식 사용
 mount -t auto -o username=rtuser,password=tlftlrks //10.22.11.218/share /mnt/share



작성 : 20070804 by 임헌정
참고 : 네이버 카페 [낙시군의 이야기]
http://www,4ellene.net

2007/08/04 00:10 2007/08/04 00:10
Tag // ,
리눅스에서 압축프로그램을 사용하는것은 그 다양성
2007/07/10 11:12 2007/07/10 11:12