Linux/Ubuntu2019. 7. 9. 09:14

먼가 오류가 나긴 했찌만 꾿꾿히 설치 완료인걸로

근데 한글 입력시에 IME에 충돌이 나는지 바로바로 입력이 되진 않네..

 

winecfg로 win2000이 기본으로 된걸 win7으로 바꾸어 주어야 카톡이 실행된다.

[링크 : https://hiseon.me/linux/ubuntu/ubuntu-kakaotalk/]

 

+

Win7 + 자동 로그인 문제인가?

이상하게 실행하면 바로 뻗어버려서 xp 버전 + winecfg로 winXP로 맞추고

자동로그인 안하니 오히려 더 가볍게 잘 작동하는 느낌?(물론 IME도 여전하지만)

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu postgresql 실행  (0) 2019.07.30
bash-completion  (0) 2019.07.09
ubuntu sftp with nautilius  (0) 2019.06.03
리눅스 gdm 키맵 변경  (0) 2019.05.10
ubuntu 18.04 hibernate 적용하기  (0) 2019.05.06
Posted by 구차니
Linux/centos2019. 7. 7. 14:28

centos7 에서는

/var/log/secure에 존재하네

 

로그인 시도가 보이는데 fail2ban을 해놔야 하려나..

 

[링크 : https://www.tecmint.com/find-failed-ssh-login-attempts-in-linux/]

'Linux > centos' 카테고리의 다른 글

ls 퍼미션에 .의 의미  (0) 2020.04.01
centos7 minimal / X11 사용하기  (0) 2020.02.04
centos7 USB 설치 중 /dev/root dose not exist 에러  (0) 2019.07.02
httpd + php + selinux..  (0) 2019.03.20
'abrt-cli status' timed out  (0) 2019.03.01
Posted by 구차니
Linux2019. 7. 3. 15:15

libxml2를 깔다보니 xmllint가 끌려왔는데

내가 원하는 속성을 한번더 출력하지 않으면 더 행복할거 같은데...

 

xmllint --xpath '//element/@attribute' file.xml
xmlstarlet sel -t -v "//element/@attribute" file.xml
xpath -q -e '//element/@attribute' file.xml
xidel -se '//element/@attribute' file.xml
saxon-lint --xpath '//element/@attribute' file.xml

[링크 : https://stackoverflow.com/questions/15461737/how-to-execute-xpath-one-liners-from-shell]

'Linux' 카테고리의 다른 글

musl / uclibc  (0) 2019.07.15
hostnamectl  (0) 2019.07.10
브릿지를 이용하여 복수개의 네트워크 카드를 허브로 사용하기  (0) 2019.07.03
wget -m (mirror)  (0) 2019.06.26
bash argument list is too long  (0) 2019.06.25
Posted by 구차니
Linux2019. 7. 3. 09:58

말이 기네

간단하게 br0 인터페이스로 여러개의 NIC을 단순 허브로 사용하겠다~ 라는것

 

근데 막상해보니 자기 자신(eth0)의 ip가 먹통이 되듯 외부로 안나가고 외부로 부터 ping도 안되지만

eth1 쪽으로 다른 pc를 물렸을때 다른 pc는 정상적으로 인터넷이 된다.. (이게 머야)

sudo brctl addbr br0
sudo brctl addif eth0
sudo brctl addif eth1
sudo brctl stp br0 off
sudo brctl setageing br0 0
sudo brctl setfd br0 0
sudo ifconfig br0 up

[링크 : https://sugerent.tistory.com/368]

[링크 : https://techglimpse.com/convert-linux-bridge-hub-vm-interospection/]

'Linux' 카테고리의 다른 글

hostnamectl  (0) 2019.07.10
command line xml parse  (0) 2019.07.03
wget -m (mirror)  (0) 2019.06.26
bash argument list is too long  (0) 2019.06.25
sgrep  (0) 2019.06.24
Posted by 구차니
Linux/centos2019. 7. 2. 16:37

결론은.. USB 미디어 잘못이거나 잘못 구워서 다시 잘 구워쓰세요.. 인가?

 

그나저나.. 회사에서 싸게 구매한 샌디스크 USB3.0 32GB 이녀석 하나는

인식도 안되게 날아가더니 얘는 이렇게 이미지가 깨졌나 (한번 설치한적은 있으니 장기간 보관문제?)

설치 미디어가 좀 불안하네

그게 아니라면.. rufus iso 모드로 해서 그런걸까?

 

[링크 : https://blog.naver.com/unsutilizer/221033311684]

[링크 : https://wnsgp.tistory.com/12]

[링크 : https://unix.stackexchange.com/questions/147426/dev-root-does-not-exist-in-centos-7]

'Linux > centos' 카테고리의 다른 글

centos7 minimal / X11 사용하기  (0) 2020.02.04
리눅스 로그인 실패 로그  (2) 2019.07.07
httpd + php + selinux..  (0) 2019.03.20
'abrt-cli status' timed out  (0) 2019.03.01
centos nfs client  (0) 2019.02.27
Posted by 구차니
Linux2019. 6. 26. 13:41

ftp도 전부 알아서 잘 받아주는 옵션

(하위 디렉토리 까지 전부 다 받아준다)

 

-m--mirrorTurn on options suitable for mirroring. This option turns on recursion and time-stamping, sets infinite recursion depth and keeps FTP directory listings. It is currently equivalent to -r -N -l inf --no-remove-listing.

[링크 : https://linux.die.net/man/1/wget]

'Linux' 카테고리의 다른 글

command line xml parse  (0) 2019.07.03
브릿지를 이용하여 복수개의 네트워크 카드를 허브로 사용하기  (0) 2019.07.03
bash argument list is too long  (0) 2019.06.25
sgrep  (0) 2019.06.24
리눅스 캐시 비우기  (0) 2019.06.19
Posted by 구차니
Linux2019. 6. 25. 00:36

좀 많은 파일을 생성해서 지우려고 했더니 노답이네.. 

bash: /bin/rm: 인수 명단이 너무 김

 

1. 적당히(?) 파일 옮기고 디렉토리 삭제

2. find -exec {} 를 이용해서 느려도 하나씩 삭제

 

[링크 : https://stackoverflow.com/questions/11942422/moving-large-number-of-files]

'Linux' 카테고리의 다른 글

브릿지를 이용하여 복수개의 네트워크 카드를 허브로 사용하기  (0) 2019.07.03
wget -m (mirror)  (0) 2019.06.26
sgrep  (0) 2019.06.24
리눅스 캐시 비우기  (0) 2019.06.19
gzip -k  (0) 2019.06.18
Posted by 구차니
Linux2019. 6. 24. 21:19

structure grep 이라고 하는데

대충 찾아봤지만.. 검색된 내용을 개별 파일로 저장하는 기능만 있으면 딱일텐데 그게 없어서 많이 아쉽..

일단 사용법은 아래와 같이 express 부분에

'"from pattern" .. "end pattern"' 식으로 해주면 되긴 한다.

sgrep '("<TITLE>" .. "</TITLE>") or ("<H1>" .. "</H1>") or \
	("<H2>" .. "</H2>") or ("<H3>" .. "</H3>") or \
	("<H4>" .. "</H4>") or ("<H5>" .. "</H5>") or \ 
	("<H6>" .. "</H6>") or ("<H7>" .. "</H7>") or\
	("<H8>" .. "</H8>") or ("<H9>" .. "</H9>")'


[링크 : https://www.cs.helsinki.fi/u/jjaakkol/sgrepexamples.html]

'Linux' 카테고리의 다른 글

wget -m (mirror)  (0) 2019.06.26
bash argument list is too long  (0) 2019.06.25
리눅스 캐시 비우기  (0) 2019.06.19
gzip -k  (0) 2019.06.18
diff: memory exhausted  (0) 2019.06.18
Posted by 구차니
Linux2019. 6. 19. 01:13

htop에서 노란색이 훅 줄어드네?

 

# echo 3 > /proc/sys/vm/drop_caches

[링크 : https://zetawiki.com/wiki/리눅스_캐시_메모리_비우기]

[링크 : https://serverfault.com/questions/180711/what-exactly-do-the-colors-in-htop-status-bars-mean]

'Linux' 카테고리의 다른 글

bash argument list is too long  (0) 2019.06.25
sgrep  (0) 2019.06.24
gzip -k  (0) 2019.06.18
diff: memory exhausted  (0) 2019.06.18
plymouth  (0) 2019.06.14
Posted by 구차니
Linux2019. 6. 18. 18:18

아무옵션없이 쓰니

압축풀면 원본이 사라지는데 -k(keep)을 주어야 안사라지는 듯

 

왜 이런 위험한 옵션이 기본값이 아니지?

       -k --keep
              Keep (don't delete) input files during compression or decompression.

'Linux' 카테고리의 다른 글

sgrep  (0) 2019.06.24
리눅스 캐시 비우기  (0) 2019.06.19
diff: memory exhausted  (0) 2019.06.18
plymouth  (0) 2019.06.14
linux 링크속도 줄이기  (0) 2019.04.25
Posted by 구차니