본문 바로가기

Study/Linux

(125)
lighttpd 1.4.30 실행이 안될때 일단 제가 글을 올릴때는 저와 같은 상황에 있는 사람이 있을거라고 가정하기 때문에 만약 물론 자동 패키지로 설치하셨을때는 생기지 않을 문제입니다.. 저같은경우 lighttpd 1.4.18 쓰다가 30 올라와서 lightt -f 설정파일 했는데 안되는것입니다. 와,,, lighttpd 버전업을 해도 정도것 하지 lighttpd 압축 풀어놓은 폴더 들어가보세요 doc (기본 lighttpd 환경설정 파일 있는곳) 기존에는 lighttpd conf파일로 되게해놓았다면 설정파일의 구조가 아파치처럼 완전 쪼개져잇네요 아마 설정을 맞추서 하시면 되실것 같습니다.
Connection closed by server with exitcode 127 어떤상황이냐면, 일단 제가 사용하는 환경에는 vsftp 또는 proftpd 가 안깔려있습니다. 저도 몰랐는데 openssh-server 자체가 sftp를 지원하네요 예전에 vsftpd를 이용해서 sftp 만든다고 별짓을 했는데,, 암튼 저런 오류가 난건 /etc/init.d/sshd_config의 설정이 잘못되신겁니다. 일단 제기준으로 설명을 드리면 # override default of no subsystems Subsystem sftp /usr/libexec/openssh/sftp-server 이러한 옵션이 있는데 분명히 주석이 걸려있던지 설정이 이상할것 같습니다. 설정을 다시한번 확인해보세요
우분투 11.10 손님(Guest) 막기 modify /etc/lightdm/lightdm.conf. original [SeatDefaults] greeter-session=unity-greeter user-session=ubuntu modified [SeatDefaults] greeter-session=unity-greeter user-session=ubuntu allow-guest=false http://ftbeowulf.wordpress.com/2011/10/19/how-to-disable-the-ubuntu-11-10-guest-session/#comment-1874
Manual Installation and Registration of Java Plugin for Linux When you install the Java platform, the Java plugin file is included as part of that install. If you want to use Java within Firefox, you need to manually create a symbolic link from the plugin file in the release to one of the locations that Firefox expects. To make the plugin available to all users, create the link inside of the Firefox application's directory, in the plugins subdirectory. Alt..
우분투 fstab cat /etc/fstab 하면 UUID ~~~~ 막 나오는ㄷ 이건 ls -l /dev/disk/by-uuid 통해서 확인가능 http://minicube.tistory.com/171
linux grep 출처 : http://innu.pe.kr/tt/43 GREPSection: User Commands (1) Updated: 2000/02/26 Index Return to Main Contents NAME grep, egrep, fgrep - print lines matching a pattern 패턴과 일치하는 라인을 출력한다. SYNOPSISgrep [options] PATTERN [FILE...] grep [options] [-e PATTERN | -f FILE] [FILE...] DESCRIPTION Grep searches the named input FILEs (or standard input if no files are named, or the file name - is given) for ..
expect 스크립트를 사용하여 다른서버에서 sudo 사용하기 2012/01/19 - [Study/Linux] - 너무나 강력한 expect 2012/01/18 - [Study/Linux] - tcl 문법 어제 오늘 expect의 강력한 기능에 놀라고 있습니다. 이제 약간의 새로운 시나리오입니다. 1번 서버에서 2번서버로 ssh 접속을 하고(물론 여기서 암호 입력도 처리할수 있으나 전 RSA인증을 사용하므로 여기서는 패스, 이건 인터넷에서 보면 많이 나옵니다.) 그런다음 2번서버에다가 sudo shutdown -r now 라는 명령어를 내려서 재부팅하는 절차입니다. 그럼 2가지 방법입니다. 아규먼트를 받아서 shutdown -r now를 칠것인가 , 아니면 아예 입력되어있는 스크립트일것 인가. 일단 어짜피 전 재부팅만 필요한 기능이여서 안에 집어 넣었습니다. spa..
Secure CRT 설정 Emulation/Terminal : Linux + Ansi Color Appearance/Current Color Scheme : Windows .vimrc if $TERM =~ "linux" || $TERM =~ "ansi" set t_Co=8 set t_Sf=\033[3%p1%dm set t_Sb=\033[4%p1%dm syntax on endif ~