1.

 : 다음의 URL을 통해서 GnuWin32 Complete package, except sources 내려받기

  > http://gnuwin32.sourceforge.net/packages/zip.htm


2.

 : 다음 버튼 클릭


3.

 : 동의 라디오 버튼 클릭 후 다음 버튼 클릭


4.

 : 설치 경로 확인 후 다음 버튼 클릭


5.

 : 설치 구성 확인 후 다음 버튼 클릭


6.

 : 시작 메뉴에 생성될 폴더 확인 후 다음 버튼 클릭


7.

 : 추가 아이콘 확인 후 다음 버튼 클릭


8.

 : 설치 버튼 클릭


9.


10.

 : 마침 버튼 클릭


11.


12.

 : 고급 탭에 환경 변수 버튼 클릭


13.

 : Admin에 대한 사용자 변수(U) 목록 중 Path를 찾아 편집 버튼 클릭, 여기서 Admin은 User Name 이므로 환경마다 다를 수 있음


14.

 : GnuWin32가 설치된 폴더 내에 bin 폴더 확인 후 해당 경로 복사


15.

 : 새로 만들기 버튼 클릭 후 복사한 경로 붙여넣기


16.

 : 확인 버튼 클릭


17.


18.

 : 설치 및 환경 변수 적용 여부를 확인하기 위해 zip 명령 실행

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
C:\Users\Admin>zip
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
Zip 3.0 (July 5th 2008). Usage:
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]
  The default action is to add or replace zipfile entries from list, which
  can include the special name - to compress standard input.
  If zipfile and list are omitted, zip compresses stdin to stdout.
  -f   freshen: only changed files  -u   update: only changed or new files
  -d   delete entries in zipfile    -m   move into zipfile (delete OS files)
  -r   recurse into directories     -j   junk (don't record) directory names
  -0   store only                   -l   convert LF to CR LF (-ll CR LF to LF)
  -1   compress faster              -9   compress better
  -q   quiet operation              -v   verbose operation/print version info
  -c   add one-line comments        -z   add zipfile comment
  -@   read names from stdin        -o   make zipfile as old as latest entry
  -x   exclude the following names  -i   include only the following names
  -F   fix zipfile (-FF try harder) -D   do not add directory entries
  -A   adjust self-extracting exe   -J   junk zipfile prefix (unzipsfx)
  -T   test zipfile integrity       -X   eXclude eXtra file attributes
  -!   use privileges (if granted) to obtain all aspects of WinNT security
  -$   include volume label         -S   include system and hidden files
  -e   encrypt                      -n   don't compress these suffixes
  -h2  show more help
 
cs



'Tools' 카테고리의 다른 글

Winlogbeat 6.1.1 for Windows 설치 및 구축  (0) 2018.03.16
Elasticsearch 6.2.2 for Windows 설치  (0) 2018.03.16


1.

 : vs code 실행


2.

 : Ctrl + Shift + X 키 혹은 좌측 탭에 확장 버튼을 클릭


3.

 : 작업에 적합한 플러그인 혹은 팩을 검색 후 설치 버튼 클릭


4.

 : 설치 이후 다시 로드 혹은 활성화하려면 다시 로드 클릭

* 이외에도 추가적으로 필요한 플러그인 및 팩이 있다면 위와 같은 과정으로 설치 후 다시 로드를 진행



'Tools > VS Code' 카테고리의 다른 글

VSCodeUserSetup-x64-1.28.2 설치  (0) 2018.10.20

* Windows 10 Pro


1.

 : https://code.visualstudio.com/download

 : Windows 버튼을 클릭 시 기본 64bit 버전을 내려받음


2.


3.


4.


5.


6.

 : 추가할 작업이 있을 경우 선택, 여기서는 그대로 진행


7.


8.


9.


10.



'Tools > VS Code' 카테고리의 다른 글

VS Code Extensions  (0) 2018.10.20

PEM: Privacy-enhanced Electronic Mail

PPK: PuTTY Private Key


* 다음 작업을 진행하기 위해 pem 파일이 필요.


1.

 : puttygen 파일을 다운로드, 이하 링크에서 다운로드 가능

 : https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html


2.

 : puttygen.exe 실행


3.

 : 상단 메뉴 바에서 File > Load private key 클릭 후 준비된 pem 파일을 로드


4.

 : 다음과 같은 알림창 출력 시 로드 성공


5.

 : 하기 이미지와 키 값 정보는 상이할 수 있음, Save private key 버튼 클릭


6.

 : 예 버튼을 클릭 후 적절한 위치에 ppk 파일 저장


'Tools > PuTTY' 카테고리의 다른 글

PuTTY 라인 수 설정  (0) 2018.06.22


1. conda 업데이트

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
(base) C:\Users\Admin>conda update -n base conda
Solving environment: done
 
## Package Plan ##
 
  environment location: C:\Users\Admin\Anaconda3
 
  added / updated specs:
    - conda
 
 
The following packages will be downloaded:
 
    package                    |            build
    ---------------------------|-----------------
    conda-4.5.8                |           py36_0         1.0 MB
 
The following packages will be UPDATED:
 
    certifi: 2018.4.16-py36_0 conda-forge --> 2018.4.16-py36_0
    conda:   4.5.5-py36_0     conda-forge --> 4.5.8-py36_0
 
Proceed ([y]/n)? y
 
 
Downloading and Extracting Packages
conda-4.5.8          |  1.0 MB | ########################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
 
cs


2. 텐서플로우 설치

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
(base) C:\Users\Admin>pip install tensorflow
Collecting tensorflow
  Downloading https://files.pythonhosted.org/packages/e7/88/417f18ca7eed5ba9bebd51650d04a4af929f96c10a10fbb3302196f8d098/tensorflow-1.9.0-cp36-cp36m-win_amd64.whl (37.1MB)
    100% |████████████████████████████████| 37.1MB 503kB/s
Collecting protobuf>=3.4.0 (from tensorflow)
  Downloading https://files.pythonhosted.org/packages/75/7a/0dba607e50b97f6a89fa3f96e23bf56922fa59d748238b30507bfe361bbc/protobuf-3.6.0-cp36-cp36m-win_amd64.whl (1.1MB)
    100% |████████████████████████████████| 1.1MB 1.8MB/s
Collecting tensorboard<1.10.0,>=1.9.0 (from tensorflow)
  Downloading https://files.pythonhosted.org/packages/9e/1f/3da43860db614e294a034e42d4be5c8f7f0d2c75dc1c428c541116d8cdab/tensorboard-1.9.0-py3-none-any.whl (3.3MB)
    100% |████████████████████████████████| 3.3MB 3.0MB/s
Requirement already satisfied: wheel>=0.26 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (0.31.1)
Collecting grpcio>=1.8.6 (from tensorflow)
  Downloading https://files.pythonhosted.org/packages/d5/c6/15728549704f9c03db7179b7f99303b91b7703e18a50f5e7b47e59b289ea/grpcio-1.13.0-cp36-cp36m-win_amd64.whl (1.4MB)
    100% |████████████████████████████████| 1.4MB 2.5MB/s
Collecting absl-py>=0.1.6 (from tensorflow)
  Downloading https://files.pythonhosted.org/packages/57/8d/6664518f9b6ced0aa41cf50b989740909261d4c212557400c48e5cda0804/absl-py-0.2.2.tar.gz (82kB)
    100% |████████████████████████████████| 92kB 3.2MB/s
Collecting astor>=0.6.0 (from tensorflow)
  Downloading https://files.pythonhosted.org/packages/35/6b/11530768cac581a12952a2aad00e1526b89d242d0b9f59534ef6e6a1752f/astor-0.7.1-py2.py3-none-any.whl
Collecting gast>=0.2.0 (from tensorflow)
  Downloading https://files.pythonhosted.org/packages/5c/78/ff794fcae2ce8aa6323e789d1f8b3b7765f601e7702726f430e814822b96/gast-0.2.0.tar.gz
Requirement already satisfied: numpy>=1.13.3 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (1.14.3)
Requirement already satisfied: six>=1.10.0 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (1.11.0)
Requirement already satisfied: setuptools<=39.1.0 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (39.1.0)
Collecting termcolor>=1.1.0 (from tensorflow)
  Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Requirement already satisfied: werkzeug>=0.11.10 in c:\users\admin\anaconda3\lib\site-packages (from tensorboard<1.10.0,>=1.9.0->tensorflow) (0.14.1)
Collecting markdown>=2.6.8 (from tensorboard<1.10.0,>=1.9.0->tensorflow)
  Downloading https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl (78kB)
    100% |████████████████████████████████| 81kB 2.8MB/s
Building wheels for collected packages: absl-py, gast, termcolor
  Running setup.py bdist_wheel for absl-py ... done
  Stored in directory: C:\Users\Admin\AppData\Local\pip\Cache\wheels\a0\f8\e9\1933dbb3447ea6ef57062fd5461cb118deb8c2ed074e8344bf
  Running setup.py bdist_wheel for gast ... done
  Stored in directory: C:\Users\Admin\AppData\Local\pip\Cache\wheels\9a\1f\0e\3cde98113222b853e98fc0a8e9924480a3e25f1b4008cedb4f
  Running setup.py bdist_wheel for termcolor ... done
  Stored in directory: C:\Users\Admin\AppData\Local\pip\Cache\wheels\7c\06\54\bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6
Successfully built absl-py gast termcolor
distributed 1.21.8 requires msgpack, which is not installed.
Installing collected packages: protobuf, markdown, tensorboard, grpcio, absl-py, astor, gast, termcolor, tensorflow
Successfully installed absl-py-0.2.2 astor-0.7.1 gast-0.2.0 grpcio-1.13.0 markdown-2.6.11 protobuf-3.6.0 tensorboard-1.9.0 tensorflow-1.9.0 termcolor-1.1.0
 
cs



아나콘다 주피터 노트북을 사용 시 아래와 같이 해당 패키지 라이브러리를 찾을 수 없다는 메세지가 출력될 경우
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-5-825f67b3e58c> in <module>()
      5 password = 'python'
      6 database = 'python'
----> 7 mc = create_engine("mysql+pymysql://" + user + ":" + password + "@192.168.0.21/" + database)
      8 connection = mc.raw_connection()
      9 cursor = connection.cursor()
 
~\Anaconda3\lib\site-packages\sqlalchemy\engine\__init__.py in create_engine(*args, **kwargs)
    422     strategy = kwargs.pop('strategy', default_strategy)
    423     strategy = strategies.strategies[strategy]
--> 424     return strategy.create(*args, **kwargs)
    425 
    426 
 
~\Anaconda3\lib\site-packages\sqlalchemy\engine\strategies.py in create(self, name_or_url, **kwargs)
     79                 if k in kwargs:
     80                     dbapi_args[k] = pop_kwarg(k)
---> 81             dbapi = dialect_cls.dbapi(**dbapi_args)
     82 
     83         dialect_args['dbapi'] = dbapi
 
~\Anaconda3\lib\site-packages\sqlalchemy\dialects\mysql\pymysql.py in dbapi(cls)
     60     @classmethod
     61     def dbapi(cls):
---> 62         return __import__('pymysql')
     63 
     64     if py3k:
 
ModuleNotFoundError: No module named 'pymysql'
 
 
cs

아나콘다 프롬프트를 실행시킨 후 다음과 같이 해당 모듈을 찾아서 설치를 진행합니다.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
(base) C:\Users\Admin>conda install -c anaconda pymysql
Solving environment: done
 
## Package Plan ##
 
  environment location: C:\Users\Admin\Anaconda3
 
  added / updated specs:
    - pymysql
 
 
The following packages will be downloaded:
 
    package                    |            build
    ---------------------------|-----------------
    pymysql-0.9.1              |           py36_0         139 KB  anaconda
 
The following NEW packages will be INSTALLED:
 
    pymysql: 0.9.1-py36_0 anaconda
 
Proceed ([y]/n)? y
 
 
Downloading and Extracting Packages
pymysql-0.9.1        |  139 KB | ############################################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
 
(base) C:\Users\Admin>
 
cs


'Tools > Anaconda' 카테고리의 다른 글

tensorflow 설치  (0) 2018.07.19
[에러] ModuleNotFoundError: No module named 'bcolz'  (0) 2018.07.02


아나콘다 주피터 노트북을 사용 시 아래와 같이 해당 패키지 라이브러리를 찾을 수 없다는 메세지가 출력될 경우

1
2
3
4
5
6
7
8
9
10
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-a4dce0c7ec11> in <module>()
      1 import dask.array as da
----> 2 import bcolz as bc
      3 import numpy as np
      4 import dask
      5 
 
ModuleNotFoundError: No module named 'bcolz'
 
cs


아나콘다 프롬프트를 실행시킨 후 다음과 같이 해당 모듈을 찾아서 설치를 진행합니다.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
(base) C:\Users\Admin>conda install -c anaconda bcolz
Solving environment: done
 
## Package Plan ##
 
  environment location: C:\Users\Admin\Anaconda3
 
  added / updated specs:
    - bcolz
 
 
The following packages will be downloaded:
 
    package                    |            build
    ---------------------------|-----------------
    bcolz-1.2.1                |   py36h830ac7b_0         516 KB  anaconda
    openssl-1.0.2o             |       h8ea7d77_0         5.4 MB  anaconda
    certifi-2018.4.16          |           py36_0         143 KB  anaconda
    conda-4.5.4                |           py36_0         1.0 MB  anaconda
    ca-certificates-2018.03.07 |                0         155 KB  anaconda
    ------------------------------------------------------------
                                           Total:         7.2 MB
 
The following NEW packages will be INSTALLED:
 
    bcolz:           1.2.1-py36h830ac7b_0 anaconda
 
The following packages will be UPDATED:
 
    ca-certificates: 2018.03.07-0                  --> 2018.03.07-0      anaconda
    certifi:         2018.4.16-py36_0              --> 2018.4.16-py36_0  anaconda
    conda:           4.5.4-py36_0                  --> 4.5.4-py36_0      anaconda
    openssl:         1.0.2o-h8ea7d77_0             --> 1.0.2o-h8ea7d77_0 anaconda
 
Proceed ([y]/n)? y
 
 
Downloading and Extracting Packages
bcolz-1.2.1          |  516 KB | ############################################################################## | 100%
openssl-1.0.2o       |  5.4 MB | ############################################################################## | 100%
certifi-2018.4.16    |  143 KB | ############################################################################## | 100%
conda-4.5.4          |  1.0 MB | ############################################################################## | 100%
ca-certificates-2018 |  155 KB | ############################################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
 
(base) C:\Users\Admin>
 
cs


'Tools > Anaconda' 카테고리의 다른 글

tensorflow 설치  (0) 2018.07.19
[에러] ModuleNotFoundError: No module named 'pymysql'  (4) 2018.07.03


1. putty 초기 라인 관련 설정값은 2000 라인으로 설정되어 있습니다.


2. 아래과 같이 10만 라인으로 설정을 변경


3. 이후 접속 시에도 설정을 적용하기 위해 "Saved Sessions" 이하 목록에 리스트를 클릭하고 Save 버튼을 눌러 적용합니다.



'Tools > PuTTY' 카테고리의 다른 글

pem 파일을 ppk 파일로 변환  (0) 2018.09.28


기존의 사용하던 서버 및 단말의 정보를 변경 후 아래와 같은 문제 발생 시

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# pssh -h dept.hosts -i ls
[1] 14:06:49 [FAILURE] root@192.168.0.26 Exited with error code 255
Stderr: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:qo/WOgVXbxSOZIivYXQJ4ZcxmZ88lqgRYwivbObzHYc.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:4
ECDSA host key for 192.168.0.26 has changed and you have requested strict checking.
Host key verification failed.
 
cs



다음의 명령어로 초기화

1
2
3
4
5
# ssh-keygen -R 192.168.0.26
# Host 192.168.0.26 found: line 3
/root/.ssh/known_hosts updated.
Original contents retained as /root/.ssh/known_hosts.old
 
cs



확인

1
2
3
4
[3] 14:12:01 [SUCCESS] root@192.168.0.26
anaconda-ks.cfg
initial-setup-ks.cfg
 
cs



'Tools > PSSH' 카테고리의 다른 글

CentOS PSSH 설치  (0) 2018.06.01


1.

1
2
3
4
5
6
7
8
9
10
11
12
# wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/parallel-ssh/pssh-2.3.1.tar.gz
--2018-06-01 11:39:06--  https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/parallel-ssh/pssh-2.3.1.tar.gz
Resolving storage.googleapis.com (storage.googleapis.com)... 216.58.200.176, 2404:6800:4004:816::2010
Connecting to storage.googleapis.com (storage.googleapis.com)|216.58.200.176|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23427 (23K) [application/octet-stream]
Saving to: ‘pssh-2.3.1.tar.gz’
 
100%[===========================================================================>] 23,427      --.-K/s   in 0.04s
 
2018-06-01 11:39:06 (539 KB/s) - ‘pssh-2.3.1.tar.gz’ saved [23427/23427]
 
cs



2.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# tar -xvzf ./pssh-2.3.1.tar.gz
pssh-2.3.1/
pssh-2.3.1/setup.py
pssh-2.3.1/man/
pssh-2.3.1/man/man1/
pssh-2.3.1/man/man1/pslurp.1
pssh-2.3.1/man/man1/pssh.1
pssh-2.3.1/man/man1/pscp.1
pssh-2.3.1/man/man1/prsync.1
pssh-2.3.1/man/man1/pnuke.1
pssh-2.3.1/INSTALL
pssh-2.3.1/ChangeLog
pssh-2.3.1/bin/
pssh-2.3.1/bin/pscp
pssh-2.3.1/bin/prsync
pssh-2.3.1/bin/pnuke
pssh-2.3.1/bin/pssh-askpass
pssh-2.3.1/bin/pssh
pssh-2.3.1/bin/pslurp
pssh-2.3.1/COPYING
pssh-2.3.1/AUTHORS
pssh-2.3.1/psshlib/
pssh-2.3.1/psshlib/psshutil.py
pssh-2.3.1/psshlib/askpass_client.py
pssh-2.3.1/psshlib/manager.py
pssh-2.3.1/psshlib/version.py
pssh-2.3.1/psshlib/__init__.py
pssh-2.3.1/psshlib/color.py
pssh-2.3.1/psshlib/task.py
pssh-2.3.1/psshlib/cli.py
pssh-2.3.1/psshlib/askpass_server.py
pssh-2.3.1/PKG-INFO
pssh-2.3.1/test/
pssh-2.3.1/test/test.py
 
cs



3.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# python setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/psshlib
copying psshlib/psshutil.py -> build/lib/psshlib
copying psshlib/askpass_client.py -> build/lib/psshlib
copying psshlib/manager.py -> build/lib/psshlib
copying psshlib/version.py -> build/lib/psshlib
copying psshlib/__init__.py -> build/lib/psshlib
copying psshlib/color.py -> build/lib/psshlib
copying psshlib/task.py -> build/lib/psshlib
copying psshlib/cli.py -> build/lib/psshlib
copying psshlib/askpass_server.py -> build/lib/psshlib
running build_scripts
creating build/scripts-2.7
copying and adjusting bin/pssh -> build/scripts-2.7
copying and adjusting bin/pnuke -> build/scripts-2.7
copying and adjusting bin/prsync -> build/scripts-2.7
copying and adjusting bin/pslurp -> build/scripts-2.7
copying and adjusting bin/pscp -> build/scripts-2.7
copying and adjusting bin/pssh-askpass -> build/scripts-2.7
changing mode of build/scripts-2.7/pssh from 644 to 755
changing mode of build/scripts-2.7/pnuke from 644 to 755
changing mode of build/scripts-2.7/prsync from 644 to 755
changing mode of build/scripts-2.7/pslurp from 644 to 755
changing mode of build/scripts-2.7/pscp from 644 to 755
changing mode of build/scripts-2.7/pssh-askpass from 644 to 755
running install_lib
creating /usr/lib/python2.7/site-packages/psshlib
copying build/lib/psshlib/psshutil.py -> /usr/lib/python2.7/site-packages/psshlib
copying build/lib/psshlib/askpass_client.py -> /usr/lib/python2.7/site-packages/psshlib
copying build/lib/psshlib/manager.py -> /usr/lib/python2.7/site-packages/psshlib
copying build/lib/psshlib/version.py -> /usr/lib/python2.7/site-packages/psshlib
copying build/lib/psshlib/__init__.py -> /usr/lib/python2.7/site-packages/psshlib
copying build/lib/psshlib/color.py -> /usr/lib/python2.7/site-packages/psshlib
copying build/lib/psshlib/task.py -> /usr/lib/python2.7/site-packages/psshlib
copying build/lib/psshlib/cli.py -> /usr/lib/python2.7/site-packages/psshlib
copying build/lib/psshlib/askpass_server.py -> /usr/lib/python2.7/site-packages/psshlib
byte-compiling /usr/lib/python2.7/site-packages/psshlib/psshutil.py to psshutil.pyc
byte-compiling /usr/lib/python2.7/site-packages/psshlib/askpass_client.py to askpass_client.pyc
byte-compiling /usr/lib/python2.7/site-packages/psshlib/manager.py to manager.pyc
byte-compiling /usr/lib/python2.7/site-packages/psshlib/version.py to version.pyc
byte-compiling /usr/lib/python2.7/site-packages/psshlib/__init__.py to __init__.pyc
byte-compiling /usr/lib/python2.7/site-packages/psshlib/color.py to color.pyc
byte-compiling /usr/lib/python2.7/site-packages/psshlib/task.py to task.pyc
byte-compiling /usr/lib/python2.7/site-packages/psshlib/cli.py to cli.pyc
byte-compiling /usr/lib/python2.7/site-packages/psshlib/askpass_server.py to askpass_server.pyc
running install_scripts
copying build/scripts-2.7/pssh -> /usr/bin
copying build/scripts-2.7/pnuke -> /usr/bin
copying build/scripts-2.7/prsync -> /usr/bin
copying build/scripts-2.7/pslurp -> /usr/bin
copying build/scripts-2.7/pscp -> /usr/bin
copying build/scripts-2.7/pssh-askpass -> /usr/bin
changing mode of /usr/bin/pssh to 755
changing mode of /usr/bin/pnuke to 755
changing mode of /usr/bin/prsync to 755
changing mode of /usr/bin/pslurp to 755
changing mode of /usr/bin/pscp to 755
changing mode of /usr/bin/pssh-askpass to 755
running install_data
creating /usr/man
creating /usr/man/man1
copying man/man1/pssh.1 -> /usr/man/man1
copying man/man1/pscp.1 -> /usr/man/man1
copying man/man1/prsync.1 -> /usr/man/man1
copying man/man1/pslurp.1 -> /usr/man/man1
copying man/man1/pnuke.1 -> /usr/man/man1
running install_egg_info
Writing /usr/lib/python2.7/site-packages/pssh-2.3.1-py2.7.egg-info
 
cs



4.

1
2
# vi ./dept.hosts
 
cs



5.

1
2
3
4
5
192.168.0.24 root
192.168.0.25 root
192.168.0.27 root
192.168.0.26 root
 
cs


6.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# pssh -h dept.hosts -i ls
[1] 11:49:36 [SUCCESS] root@192.168.0.24
anaconda-ks.cfg
initial-setup-ks.cfg
[2] 11:49:36 [SUCCESS] root@192.168.0.27
anaconda-ks.cfg
initial-setup-ks.cfg
[3] 11:49:36 [SUCCESS] root@192.168.0.25
anaconda-ks.cfg
initial-setup-ks.cfg
[4] 11:49:36 [SUCCESS] root@192.168.0.26
anaconda-ks.cfg
initial-setup-ks.cfg
 
cs



'Tools > PSSH' 카테고리의 다른 글

SSH 접속 시 SHA 공유키 충돌 문제 발생 시  (0) 2018.06.01

+ Recent posts