- 2010/09/11 14:30
- beizix.egloos.com/2677375
- 덧글수 : 0
- 2010/08/04 16:10
- beizix.egloos.com/2656002
- 덧글수 : 0
- 2010/06/17 15:34
- beizix.egloos.com/2625816
- 덧글수 : 0
- 2010/05/20 13:24
- beizix.egloos.com/2607396
- 덧글수 : 0
- 2010/05/12 13:58
- beizix.egloos.com/2601983
- 덧글수 : 0
1. 설치
$ sudo apt-get install vsftpd2. 설정
$ sudo gedit /etc/vsftpd.conf
anonymous_enable=NO // 기본값이 YES 이므로 NO로 변경3. 데몬 재시작
local_enable=YES // 주석 제거
write_enable=YES // 주석 제거
ftpd_banner=Welcome to my FTP service // 주석 제거 및 각자 원하는 코멘트 입력
$ sudo /etc/init.d/vsftpd restart4. 서버 작동 확인
$ netstat -ntl
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN → 이렇게 뜨면 정상 작동 중
- 2010/05/12 13:56
- beizix.egloos.com/2601982
- 덧글수 : 0
출처 : http://mwultong.blogspot.com/2006/11/linux-create-account.html
adduser : 새 사용자 계정(ID) 만들기 명령어
"cool" 이라는 ID의 사용자 계정을 새로 만드는 것을 예로 듭니다.
프롬프트에서 위와 같이 하면, cool 이라는 아이디의 새 계정이 생성됩니다. 그러면
Enter new UNIX password (새 계정의 패스워드를 입력하세요)
이렇게 새 아이디의 암호를 2번 물어봅니다. 새 암호를 적어주면 됩니다. (실제로 타이핑되는 글자는 눈에 보이지 않습니다.)
Fuil Name []:
...
이제 아이디가 아닌, 사용자의 실제 이름 등의 개인 정보를 물어봅니다. 입력하지 않고 그냥 Enter키만 쳐도 됩니다.
Is the information correct? [y/N]
"정보가 정확하게 입력되었나요"라고 물어보는데 y키를 누릅니다.
그럼 이제 새 계정 만들기 작업이 완료되고, 프롬프트로 다시 빠져 나옵니다.
ls -a /home/cool
이라고 쳐보면 /home/cool 이라는 새로 만들어진 홈 디렉토리 밑에 기본적인 히든 파일들이 보일 것입니다.
deluser : 사용자 계정 지우기, ID 삭제
이라고 하면 즉시 cool 이라는 계정이 지워집니다. Yes/No를 물어보지 않고 즉시 지워 버리니 주의가 필요합니다.
그러나 이러면 계정만 지워지지 cool 이라는 ID의 홈 디렉토리인 /home/cool 은 그대로 남아 있습니다.
홈 디렉토리까지 모두 지우려면
이렇게 해야 합니다.
그리고 홈 디렉토리뿐 아니라 cool 계정의 모든 파일을 완전히 지우려면
이라고 해야 합니다.
추가 사항:
계정을 생성할 때 만약 cool 이라는 계정이 이미 있다면, adduser: The user 'cool' already exists. ('cool'이라는 사용자가 이미 존재합니다)라는 메시지가 출력됩니다.
- 2010/05/12 09:20
- beizix.egloos.com/2601865
- 덧글수 : 0
language-pack-ko와 language-pack-ko-base 은 x-window를 사용치 않는다면 설치 하실 필요 없으며
로케일 변경은 locale-gen 명령어로 합니다.
sudo locale-gen ko_KR.EUC-KR
sudo locale-gen ko_KR.UTF-8 로 합니다.
그리고 그냥 전혀 위 작업 하지말고
개인 .profile 에 언어 환경 변수 주어도 됩니다.
export LANG=ko_KR.UTF-8 또는
export LANG=ko_KR.EUC_KR
또한 이제는 서버를 euc_KR 보다 utf-8로 운영하는 것이 더 좋을것입니다.
euc_KR을 흔히 한글완성형이라고 하는데 이제 서버는 utf-8이 대세이며
아직도 EUC-KR을 고집하는 이유는 MS 에서 접속 때문들인데..
http://ko.wikipedia.org/wiki/EUC-KR
http://ko.wikipedia.org/wiki/Utf-8
euc_KR(한글완성형) 설정 할거 아니면 그냥 서버 설치된 상태로 사용 하시되 (LANG=c)
개인만 utf-8 환경 변수 주어 사용 하시기 바랍니다.
개인 .profile 파일에 export LANG=ko_KR.UTF-8
putty는 설정에 인코딩 옵션을 uft-8로 하면 한글 잘 보이고 지원 합니다.
변환 / 문자셋
- 2010/04/28 00:01
- beizix.egloos.com/2592424
- 덧글수 : 0
원본 : http://mou.me.uk/2009/10/31/fixing-eclipse-in-ubuntu-9-10-karmic-koala/
The fix is relatively simple. Create a file in your home folder (or wherever you want) called eclipsefix.sh – open it and add the following lines:
export GDK_NATIVE_WINDOWS=true
/opt/eclipse/eclipse
(where /opt/eclipse/eclipse is the location of your eclipse application file). * 내 경우 /usr/bin/eclipse-3.5
Make sure you make it executable (chmod +x ~/eclipsefix.sh) then go to whatever shortcut you usually use to open Eclipse and change the command to point towards the file you just created (ie,/home/mou/eclipsefix.sh).
Now whenever you open Eclipse using this shortcut, the script will run and eclipse should work as expected.
According to the eclipse bug tracker, this issue should be fixed in Eclipse 3.5.2
Update 11/11/09: daYmo has commented that to get it to work he had to use export GDK_NATIVE_WINDOWS=1, so if you have no luck the first time it may be worth giving this a try.
- 2010/04/12 13:41
- beizix.egloos.com/2581602
- 덧글수 : 0
도메인 이름별로 따로 virtual host 를 등록하는 법을 적어본다. Server version: Apache/2.2.12 (Ubuntu)
#> sudo vim mydomain.com- 2010/03/12 17:32
- beizix.egloos.com/2560401
- 덧글수 : 0
Query OK, 0 rows affected (0.00 sec)




최근 덧글