본문 바로가기

반응형

서버 등 운영체제(OS)/Linux

(42)
[Ubuntu] W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: The link above provides detailed explanation with screenshots. It also has some other simple methods that could be tried before doing this manually. Since it is not accessible from some regions let me describe the method that worked for me. Go to the OpenPGP Public Key Server. There you can enter your key into the Search String field, leaving everything else as is, then click "Search!". When sea..
-bash: ./test.sh: /bin/bash^M: bad interpreter: 그런 파일이나 디렉토리가 없음 vim 에서 vim에서는 dos mode의 화일을 읽어도 화면에 ^M을 표시하지 않습니다. 대신 밑에 [dos] 라고 나타납니다. 다음과 같이 해서 unix mode로.. 즉 ^M을 빼는것입니다. :set fileformat=unix 반대로 unix mode에서 dos mode로 바꾸고 싶다면 :set fileformat=dos
CentOS 7 로케일 변경 CentOS 7 에서 로케일 변경하는 방법입니다. 현재 사용가능한 한글관련 로케일# localectl list-locales | grep -i ko ko_KR ko_KR.euckr ko_KR.utf8 kok_IN kok_IN.utf8 korean korean.euc ru_RU.koi8r ru_UA.koi8u tg_TJ.koi8t uk_UA.koi8u utf8 로 변경 # localectl set-locale LANG=ko_KR.utf8 수동으로 변경시는 /etc/locale.conf 파일을 만들어 아래 내용 추가LANG=ko_KR.utf8 서버 부팅 후 로케일 설정 확인# locale LANG=ko_KR.utf8 LC_CTYPE="ko_KR.utf8" LC_NUMERIC="ko_KR.utf8" LC_TI..
CentOS7 MRTG Install [1] Install Apache HTTP Server, refer to here. [2] Install MRTG, SNMP. [root@dlp ~]# yum -y install net-snmp net-snmp-utils mrtg [3] Configure SNMP (Simple Network Management Protocol). [root@dlp ~]# vi /etc/snmp/snmpd.conf # line 41: comment out #com2sec notConfigUser default public # line 74,75: uncomment and change # change to your local network for "mynetwork" section # change comunity name ..
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..

반응형