본문 바로가기
반응형

전체 글36

리눅스 yum을 활용한 rpm 다운 받기 리눅스 yum을 활용한 rpm 다운 받기 openssl 취약점 문제로 인해서 서버에 패치 할 일이 생겼습니다. 그래서 하는 패치 or 업데이트를 하는 방법을 알아보겠습니다. 서버가 리눅스계열이고, 인터넷만 된다면 yum update openssl 명령을 수행하면 간단히 openssl에 대해서 패치가 가능합니다. 하지만 인터넷이 안되면?!!! 방법 yum 을 이용하여 업데이트 된 rpm을 다운 받아 설치하면 됩니다. 1. 인터넷 되는 서버에서 yum plugin을 설치 - # yum install yum-downloadonly 2. 사용방법 패키지명 다운로드받기 다운로드 받을경로 # yum update oepnssl -y --downloadonly --downloaddir=/tmp 해당경로에 파일이 다운로.. 2014. 6. 18.
우분투에 paramiko 설치시 오류 우분투에 paramiko 설치시 오류 error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 해결방법 1. sudo apt-get install python-dev 2. sudo apt-get install libevent-dev 3. python setup.py install 2014. 6. 17.
Paramiko 라이브러리 사용하여 ssh 통신 및 hash 값 체크 Using SSH in Python with Paramiko http://sujitpal.blogspot.kr/2010/11/using-ssh-in-python-with-paramiko.html Source code for ironic.common.utils http://docs.openstack.org/developer/ironic/_modules/ironic/common/utils.html The Threading Modulehttp://ilab.cs.byu.edu/python/threadingmodule.html 2014. 6. 16.
리눅스 and 윈도우 빈파일 생성하기 리눅스 and 윈도우 빈파일 생성하기 리눅스 dd명령어 dd if=/dev/zero of =/파일경로/파일명.확장자 bs=파일크기 count=반복횟수 ex) dd if=/dev/zero of =/tmp/test.png bs=1024M count=1 윈도우 fsutil명령어 1.관리자 권한으로 cmd 실행 2. fsutil file createnew 드라이브\경로\파일명 파일사이즈(단위는 바이트) ex) fsutil file createnew C:\test.avi 5370000000 5G의 동영상 파일이 생성됨 2014. 4. 8.
반응형