728x90
반응형
close

이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다.

2022/03 5

centos 7 xwindow설치

yum 그룹설치로 간단하게 설치 가능하다 yum groupinstall "GNOME Desktop" 마음에 드는 데스크탑으로 골라서 설치한다 설치 그룹 목록은 아래 명령어로 확인 가능하다 yum group list 간단하다. 출처 : https://www.itzgeek.com/how-tos/linux/centos-how-tos/install-gnome-gui-on-centos-7-rhel-7.html Install Gnome GUI on CentOS 7 / RHEL 7 - ITzGeek Linux admins spend most of their time on working in a terminal; there are some who like to work on GUI instead of a termina..

linux 2022.03.25

charjs 클릭 이벤트 관련

chartjs.js 차트를 사용하다가 그래프 클릭시 이벤트발생을 시키고 싶은경우 사용한다 options: { onClick: function(point, event){ console.log('event : ', event); console.log('point : ', point); }, }, 위 항목에서 바뀌는건 event 에 index항목이며 이를 사용 가능하다 event[0]['index'] 값으로 체크 가능 출처 : https://ayoteralab.tistory.com/entry/Vuejs-17-use-chartjs-event-and-label-plugin-listeners [Vue.js] 17. use chart.js event and label plugin listeners 이번 시간에는 vu..

기타 2022.03.23

ls: cannot access 폴더명: 호스트가 죽었습니다

ls: cannot access 폴더명: 호스트가 죽었습니다 $ ls -alh drwxr-xr-x. 2 root root 4.0K 11월 24 2020 mrtg2 d?????????? ? ? ? ? ? 폴더명 특정 서버 폴더에 접속하면 갑자기 속도가 느려지고 호스트가 죽었다는 메세지가 계속 나왔다 ls나 df같은 명령을 내리면 30초간 기다렸다가 결과가 나온다. 예전 기억을 더듬어 내가 저 폴더에 무슨짓을 한걸까 생각해 보니... 삼바를 마운트 시켜놓고 삼바서버를 폭파시켜 버렸다 그러니 해당 폴더는 삼바서버에 접속하려고 하는데 안되니 계속 호스트가 죽었다라고 외치는 것이었다 umount 폴더명 위와같이 삼바에 연결되었던 폴더를 언마운트 시키면 된다 이건 그냥 삽질...

linux 2022.03.23

Unable to negotiate with port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

Unable to negotiate with 호스트명 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 ssh 접속시 위와 같이 오류가 나와서 접속이 안되는 경우 아래와 같이 하면 된다 ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 user@host 매번 입력하는것이 귀챦다면 .ssh/config파일에 설정을 등록하자 Host 호스트명 KexAlgorithms +diffie-hellman-group1-sha1 출처 : https://blog.daso..

linux 2022.03.22

/lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory

이 에러는 lib64디렉토리를 임의로 옮기거나 변경했을때 나타나는 오류다. 이상태에서 어떤 명령도 먹지 않고 쉘을 나가면 다시는 접속할수 없다 살리고 싶으면 절대로 로그아웃을 하면 안된다 간단하게 살리는 방법은 아래와 같다 파일들이 모두 멀쩡하고 경로만 바뀐거면 경로만 재지정해서 다시 복구해 주면 된다. 예를 들어 /usr/lib64 폴더를 /usr/lib64_org로 바꾼경우 복구 방법이다 LD_LIBRARY_PATH=/usr/lib64_org /usr/lib64_org/ld-linux-x86-64.so.2 /usr/bin/mv /usr/lib64_org/ /usr/lib64 이렇게 입력하면 lib64 폴더가 옮기기전 상태로 복구된다. 그외 긴급상황등은 아래 출처 페이지를 참조하자. 출처 : http:..

linux 2022.03.07
728x90
반응형