서버 등 운영체제(OS)/Linux (38) 썸네일형 리스트형 Short Tip: Get UUID of Hard Disks [Update] There is an update to this post available: UUIDs and Linux: Everything you ever need to know. The Universally Unique Identifier can be used to identify a device independent form its mount point or device name. This is more and more important as many devices today support hot-plugging or are external anyway. Therefore it makes sometimes sense to access a device (for example in fstab) not by devic.. yum update or yum install fails with package conflict between 64 bit and 32 bit package architectures ? Environment Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 64 bit architecture 32 bit packages installed sharing some files with the 64 bit ones Issue Files are conflicting between 64 and 32 bit packages, how to fix it ? yum update or yum install fails with package conflict between 64 bit and 32 bit package architectures. 32 bit package showing conflict problem with 64 bit package. RawTra.. CentOS 저장장치(HDD) 추가 하기 CentOS(리눅스)를 운영중인 장비에 하드디스크 등 저장장치를 추가 하면 디스크를 이용하기 위해서 다음과 같은 작업을 해줘야 합니다. 디스크 설치 후 fdisk –l 을 이용해서 디스크 정보를 확인합니다. 새로 설치된 디스크는 파티션 정보가 없습니다. 디스크 정보를 확인 했으면 fdisk 를 실행 합니다. fdisk (예 : fdisk /dev/sdb) fdisk 메뉴를 확인하고 싶으시면 m을 입력하시면 됩니다. p를 입력해서 파티션 정보를 확인합니다. 파티션이 없는 것을 확인 할 수 있습니다. n 을 입력하면 파티션을 새롭게 만들 수 있습니다. n을 누르면 두개의 메뉴가 나옵니다. e(extended) 확장 파티션과, p(primary partition) 주파티션을 선택 할 수 있습니다. 주로 사용하.. Unfinished transactions remaining - yum-complete-transaction While trying to run a yum update I received the below warning message: Setting up Install Process Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. --> Running transaction check To resolve this yum-complete-transaction is required to complete the unfinished transactions. yum-complete-transaction is a prog.. [리눅스] 리눅스 tar, gz 압축 및 해제 리눅스를 사용하다 보면, tar 혹은 tar.gz로 압축을 하거나 압축을 풀어야 할 경우가 자주 생긴다. 이를 처리하기 위해 리눅스에서는 tar 라는 명령어를 사용하게 되는데, tar 명령어도 여러가지 옵션이 있지만 각 옵션에 대해서 알아보기 보단, 자주 사용하는 명령어 패턴만 정리한다. 1. tar로 압축하기 > tar -cvf [파일명.tar] [폴더명] ex) abc라는 폴더를 aaa.tar로 압축하고자 한다면 > tar -cvf aaa.tar abc 2. tar 압축 풀기 > tar -xvf [파일명.tar] ex) aaa.tar라는 tar파일 압축을 풀고자 한다면 > tar -xvf aaa.tar 3. tar.gz로 압축하기 > tar -zcvf [파일명.tar.gz] [폴더명] ex) abc라.. [Ubuntu] vsftpd 500 OOPS error 500 OOPS: priv_sock_get_cmd or 500 OOPS: vsftpd: refusing to run with writable root inside chroot() 500 OOPS: priv_sock_get_cmdmacbook:~ PJunior$ ftp username@example.com Connected to example.com. 500 OOPS: priv_sock_get_cmd ftp: Can't connect or login to host `example.com' Open /etc/vsftpd.conf and at the end addseccomp_sandbox=NO and restart the Server:sudo service vsftpd restart 500 OOPS: vsf.. [Ubuntu] SSH 초기 접속 속도 향상시키기 SSH 접속 후 로그인 정보까지 보낸 이후 Shell이 뜨는 속도가 느린 경우가 있습니다. 일반적으로 SSH에 접속을 시도할 때 SSH 데몬에서 DNS를 통해 접속하는 호스트를 확인하는 절차를 거치기 때문입니다. 이 과정을 생략하면 SSH 접속 속도를 향상시킬 수 있습니다. 텍스트 에디터로 /etc/ssh/sshd_config 파일을 열고, 다음 옵션을 수정해 줍니다. /etc/ssh/sshd_config UseDNS no 저장한 다음 SSH 데몬을 재시작해줍니다. sudo service ssh restart 이렇게 하면 기본적으로 DNS 체크를 생략하게 됩니다. 특정 IP에서 접속하는 경우에만 DNS 검사를 생략하려면 /etc/hosts 파일에 접속하는 IP를 기술해주면 됩니다. 출처 : http://.. ssh 원격 접속 에러(WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!) 가끔 가다가 잘 접속되던 서버가 아래와 같은 메세지를 띄우는 경우가 있다. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 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 the RSA host key has just been ch.. 이전 1 2 3 4 5 다음