Linux chroot?

리눅스(유닉스) 시스템에서 chroot란 동작 중인 프로세스가 특정 디렉토리를 루트 디렉토리로 인식하도록 함으로써 새로 설정된 루트 디렉토리 밖을 접근하지 못하도록 하는 것.

from wikipedia

Posted by 망고

04 19, 2009 23:52 04 19, 2009 23:52
Response
No Trackback , 2 Comments
RSS :
http://www.shimminkyu.com/tc/rss/response/1014

iceweasel에서 textcube 위지윅 사용하기

Debian etch에서 iceweasel을 사용하면 늘 위지윅이 제대로 동작하지 않았다.
iceweasel은 Debian Linux에서 사용하는 Firefox라고 생각하면 되는데
(왜 이름이 그러냐 싶긴한데 데비안 커뮤니티와 파폭 개발팀 사이에 뭔가 히스토리가 있는 것 같다. 뭐 암튼 현재는 데비안에서 파이어폭스의 명칭과 로고를 사용하지 못하기 때문에아이스위즐이라는 이름으로 릴리즈 하고 있다.)
다 좋은데 일일이 태그를 써주는 것도 일이라
<br /> 태그라도 자동으로 넣어주었으면 좋겠다고만 생각하고 있다가
생각난김에 구글링을 좀 했다.

역시나 나와 같은 생각을 하고 계신 분이 있더라.
http://cwryu.textcube.com/55

이 분은 아이스위즐의 user-agent 값을 바꿔버려서 아예 파이어폭스처럼 돌아가게 만든 케이스. 스마트한 해결방식이긴 하지만 텍스트큐브에서 인식해주는 방식은 없을까 찾아봤는데...

발빠른 텍큐 커뮤니티에선 이미 1.7.7 release candidate 1 버전에 반영되어있다.
고 되어있지만... 코드상에 문제가 있어서 1.7.7 RC1 버전에서는 여전히 먹통이다 ㅡㅡ; 오랜만에 티켓 날릴 꺼리~ 지금해보니 잘 동작한다. 갸우뚱 ㅡㅡ?
재미있는 것은 1.7버전에 이미 동작했어야할 기능이었는데 Iceweasel이라고 써야할 것을 IceWeasel이라고 쓰는 바람에 인식하지 못하고 있었던 것.
1.7버전을 기준으로 script/EAF4.js 의 35번째줄쯤에
Standardizer.prototype.isFirefox = (ua.indexOf("Firefox")>=0 || ua.indexOf("IceWeasel")>=0 || ua.indexOf("Minefield")>0);
위의 코드에서 IceWeasel을 Iceweasel로만 바꿔주면 잘 동작한다.

앞으로 <br />태그 넣느라 애쓸 일은 없겠다.
휴.

Posted by 망고

02 25, 2009 00:45 02 25, 2009 00:45
,
Response
No Trackback , No Comment
RSS :
http://www.shimminkyu.com/tc/rss/response/983

Debian etch sun java5 설치하기

페이스북을 사용하려니 sun jvm이 필요하다는 에러가 뜬다.
데비안에 sun java를 설치하는 방법.

1. /etc/apt/sources.list 에 아래 한줄 추가
deb http://ftp.us.debian.org/debian/ etch main contrib non-free

2. apt-get update

3. 런타임만 설치하려면 apt-get install sun-java5-jre
jdk를 모두 설치하려면 apt-get install sun-java5-jdk

Posted by 망고

02 18, 2009 12:12 02 18, 2009 12:12
, ,
Response
No Trackback , No Comment
RSS :
http://www.shimminkyu.com/tc/rss/response/982

Debian etch에서 구글톡 사용하기

안타깝게도 구글톡의 공식 클라이언트 프로그램은 리눅스를 지원하지 않네요.
다만, 써드파티 클라이언트들을 사용하면 구글톡에 접속할 수 있다고 합니다.

구글톡 Third Party Client 보기

방법
1. 아래 라인을 다음 화일에 추가합니다. /etc/apt/sources.list:
deb http://www.backports.org/debian etch-backports main contrib non-free
2. backports에서 아카이브키를 가져옵니다.
wget -O - http://backports.org/debian/archive.key | apt-key add -
3. 업데이트:
apt-get update

apt-get install명령을 이용해서 pidgin을 설치합니다:
sudo apt-get install pidgin

참고: http://yarvin.typepad.com/yarvination/2 ··· idg.html

Posted by 망고

02 18, 2009 10:53 02 18, 2009 10:53
, , ,
Response
No Trackback , No Comment
RSS :
http://www.shimminkyu.com/tc/rss/response/981

Linux command find

find / -name filename
루트 디렉토리에서부터 하위디렉토리까지 filename이라는 이름의 파일을 검색한다. 대소문자구분.
find / -iname filename
위와 동일, 단 대소문자 구분하지 않음

Posted by 망고

01 22, 2009 21:26 01 22, 2009 21:26
Response
No Trackback , No Comment
RSS :
http://www.shimminkyu.com/tc/rss/response/966

Shutdown Linux

shutdown -r now
지금 당장 재부팅
shutdown -r 13:00
오후1시에 재부팅
shutdown -r +10 "Rebooting to try new kernel"
사용중인 터미널에 "Rebooting to try new kernel" 메시지를 출력하고 10분후 재부팅
shutdown -h now
지금 당장 시스템 정지
shutdown -c
셧다운 프로세스 취소

Posted by 망고

12 31, 2008 01:13 12 31, 2008 01:13
Response
No Trackback , No Comment
RSS :
http://www.shimminkyu.com/tc/rss/response/948

Linux debian etch soundcard 설정

문제

리눅스 Debian Etch가 사운드카드를 잘못 설정하여 소리가 나오지 않는다.

해결

1) 명령줄에서 alsaconf를 실행시키고 적절한 사운드 디바이스를 선택한다.
2) alsaconf가 실행되지 않는다면 필요한 패키지들이 설치되지 않았을 수 있다.
alsa-base, alsa-utils, libesd-alsa0 를 설치하고 1)을 실행한다.

참고
http://linuxhelp.blogspot.com/2006/10/steps-to-get-audio-to-work-in-debian.html

Posted by 망고

12 18, 2008 16:37 12 18, 2008 16:37
,
Response
No Trackback , No Comment
RSS :
http://www.shimminkyu.com/tc/rss/response/924

Linux 특정 유저에 루트권한 부여하기

목적

특정 유저에 루트권한을 부여한다.

해결

/etc/sudoers 화일에 visudo명령을 통해 해당 유저를 추가한다.

방법

1. visudo 를 실행한다.
2. root 라인 이후에 다음과 같이 추가한다.

root ALL=(ALL) ALL
username ALL=(ALL) ALL

Posted by 망고

11 20, 2008 10:48 11 20, 2008 10:48
,
Response
No Trackback , No Comment
RSS :
http://www.shimminkyu.com/tc/rss/response/919

Linux ip 주소 알아내기

문제

Linux 내 PC의 IP주소를 알고싶다.

해결책

ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' |
cut -d: -f2 | awk '{ print $1}'

Posted by 망고

11 16, 2008 22:31 11 16, 2008 22:31
,
Response
No Trackback , 4 Comments
RSS :
http://www.shimminkyu.com/tc/rss/response/915

Debian Linux Flash Player 설치

문제

데비안 아이스위즐 브라우저에서 플래시 실행이 안될때

해결책

> 어도비 플래시플레이어를 설치한다.
자유소프트웨어 정신에 따라 오픈소스 flash player를 설치할 수도 있으나
현재 버전은 Adobe Flash Player를 완벽하게 대체할 수준은 아니라고 한다.

1) /etc/apt/sources.list에 다음 한줄 추가
deb http://www.backports.org/debian etch-backports main contrib non-free

2) 실행
wget -O - http://backports.org/debian/archive.key | apt-key add -
apt-get update
apt-get -t etch-backports install flashplugin-nonfree

Posted by 망고

11 15, 2008 14:12 11 15, 2008 14:12
, ,
Response
No Trackback , No Comment
RSS :
http://www.shimminkyu.com/tc/rss/response/914


Recent Photo

recent photo from http://www.flickr.com/photos/melanchocolate/ from Uploads from mangolog

Stay Foolish, Stay Hungry.

- 망고

Schedule

«  »
with Google Calendar API

Site Stats

Total hits:
318552
Today:
150
Yesterday:
256