vsftpd 업데이트 후, 500 OOPS: priv_sock_get_cmd 에러 발생시

Gentoo 서버를 world 업그레이드 하고나서 vsftpd(FTP 서버)가 다소 이상해 졌음을 느꼈다. 아직 확인을 못했지만, SFTP로 접속했을 경우(vsftpd와 관계없음)에도 인코딩이 깨져나오는 것도 확인되었다. 우선 vsftpd의 인코딩이 깨지는 현상 및 파일리스트를 제대로 가져오지 못한 문제는 아래의 설정으로 해결되었다. /etc/vsftpd/vsftpd.conf 설정파일의 맨마지막 라인에 아래의 설정내용을 추가해준다. seccomp_sandbox=NO 업데이트 후에는 영화목록이 있던 디렉토리가 리스트로 나오지 않았었는데, 위의 설정을 추가한 […]

Gentoo에서 Airvideo 설정하기

젠투에서 Airvideo 설정하기 @@ 참고 사이트 http://blog.stevenlu.com/2012/09/10/installing-airvideo-server-on-debian-squeeze/ @@ 실행파일 만들기 vi /usr/bin/startAVS.sh #!/bin/bash ps aux | grep java | grep AirVideo | awk ‘{ print $2 }’ | xargs -I pid kill -9 pid exec java -jar /opt/airvideoserver/AirVideoServerLinux.jar /opt/airvideoserver/properties.conf 2&>1 /dev/null & vi /etc/conf.d/local 부팅시 자동실행되도록 할것 /usr/bin/startAVS.sh @@ 인코딩 바꿔주는 스크립트 vi /usr/bin/convutf8.sh #!/bin/bash […]

apache에서 indexoption 으로 파일 목록을 보여줄때 unicode로 보여주기

AllowOverride FileInfo AuthConfig Limit Indexes IndexOptions NameWidth=* IndexOptions +Charset=UTF-8 #Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec Options MultiViews Indexes FollowSymLinks IncludesNoExec   IndexOptions +Charset=UTF-8 위의 바로 Charset을 추가시켜주면 된다.

현재 Gentoo grub.conf 파일

# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook # http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2 # If you are not using Genkernel and you need help creating this file, you # should consult the handbook. Alternatively, consult the grub.conf.sample that # is included with the Grub documentation. default 0 timeout 30 #splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo […]

Gentoo subversion 설치 과정 기록

$ emerge subversion $ vi /etc/conf.d/svnserve # The commented variables in this file are the defaults that are used # in the init-script. You don't need to uncomment them except to # customize them to different values. # Options for svnserve SVNSERVE_OPTS="–root=/home/svn –log-file=/var/log/svnserve.log" # User and group as which to run svnserve SVNSERVE_USER="root" SVNSERVE_GROUP="root" $ […]

Installing Subversion on Gentoo

Installing Subversion on Gentoo Installing Subversion on Gentoo is very easy. By this point, you should have installed apache, dns, vhosts, and webapp-config and may have completed installingssl, and using htaccess. We will install subversion and websvn with separate public and private repositories. The repositories will be available locally and remotely via webdav. Subversion and WebSVN Installation code # emerge subversion […]

Gnome에서 Open with에 연결된 쓸데없는 연결프로그램 삭제하기

간혹가다가는 쓸데없는 프로그램 리스트를 지우고 싶을때가 있을 것이다. 그때는 아래와 같이 삭제하면 된다. Wine을 설치하다가 저렇게 쓸데없이 리스트로 나오게 될 경우에는 해당 아이콘 우측클릭을 하여 Properties로 들어가서 Open With 탭으로 가면 된다. 여기에서 하나씩 선택하여 삭제하면 될것이다. 직접 쓸데없는 프로그램들을 삭제하고 싶다면 ~/.local/share/applications 디렉토리에 들어가서 보면서 직접 지우면 되겠다.

리눅스를 사용하는 노트북에서 Suspend 모드일때 USB 충전하는 방법

Device and Bus Power Management USB selective suspend This is a project in progress for the USB subsystem. USB selective suspend allows you to suspend a USB device on demand. If one device doesn’t support selective suspend, then the entire bus must remain active. This not only consumes USB bus power unnecessarily, but also prevents […]