By namjelee, on February 16th, 2011
vmware를 사용할 때 한영키 대신 alt 로 한영전환을 해야 되는 경우가 발생하여 불편하다. 아래 상황별로 alt 대신 한영키로 한영 전환을 하는 방법을 정리했다.
<Host: Ubuntu 10.04 일때> 1. Ubuntu 10.04 Guest에서 Alt 대신 한영키로 사용하기 a. Host의 /etc/vmware/config 파일을 아래와 같이 편집한다. $ echo “xkeymap.keysym.Hangul = 0x0f2″ >> /etc/vmware/config $ echo “xkeymap.keysym.Hangul_Hanja = 0x0f1″ . . . → Read More: vmware 사용시 alt 대신 한영키로 한영전환 하기
By namjelee, on December 22nd, 2009
집에있는 mac으로 한글 이름으로 된 파일들을 압축하여 서버에 올려 놓은 후, 회사에 와서 압축 파일을 받았다.
그런데 윈도우에서는 압축이 풀리지 조차 않고 linux에서 풀었더니 한글이 이상하게 나온다.
“가나다” => “ㄱㅏㄴㅏㄷㅏ” 이런식으로 말이다.
여기 저기 찾아보다 이곳에서 해답을 얻었다.
파일이름에 대해서 NFC를 쓰는 다른 플랫폼과는 달리 맥에서는 NFD를 쓴다고 한다.
따라서 맥에서 압축한 파일들에 대해 . . . → Read More: mac에서 압축한 파일을 윈도우에서 풀 때 깨짐 현상
By namjelee, on October 14th, 2009
1. Make DB
namjelee@server# mysql -u root -p
mysql> create database djangodb mysql> GRANT ALL PRIVILEGES ON djangodb.* TO db_user_id@’localhost’ IDENTIFIED BY ‘password’ WITH GRANT OPTION;
2. Validate
namjelee@server# python manage.py validate
참조: http://uswaretech.com/blog/2009/03/django-with-mysql-and-apache-on-ec2/
By namjelee, on October 13th, 2009
리눅스는 수많은 강력한 암호화 소프트웨어를 가지고 있습니다. 여러분들은 그 중에서 한 두개의 파일을 빨리 암호화 하고 싶을 때는 어떤 것을 사용하십니까? 이런 목적으로는 OpenSSL toolkit 이 적합합니다. 만약 Ubuntu 배포판을 사용하고 있다면 이 툴이 이미 설치되어 있기 때문에 바로 사용할 수 있습니다. 이 툴은 상상 이상으로 강력한 암호화를 제공해 줍니다.
아래는 파일 하나를 aes . . . → Read More: OpenSSL을 이용한 간단한 파일 암호화 하기
By namjelee, on September 9th, 2009
0. cent os에서 network service 관리 쉽게 하기 >> ntsysv dialog 가 출력되어 간단히 시작 데몬 서비스들을 설정할 수 있다.
1. 방화벽 설정하기 >> vim /etc/sysconfig/iptables ( Manually 입력) or >> system-config-securitylevel ( 손쉽게 설정 할 수 있다.) (system-config-* 명령으로 여러가지 서버 설정을 손쉽게 할 수 있다.)
2. 방화벽 상태 확인 >> /etc/init.d/iptables status
By namjelee, on September 9th, 2009
서버에 메일 서버가 설정되어 있다고 가정한다.
1. trac 폴더에서 conf/trac.ini 의 파일의 아래 부분을 수정한다.
[notification] admit_domains = always_notify_owner = true always_notify_reporter = true always_notify_updater = true mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = localhost (각자 사용하는 메일서버 도메인) smtp_enabled = true smtp_from = trac@domain.com ( 실제 주소 입력한다.) smtp_from = from_trac . . . → Read More: trac 과 mail server와 연동하기
By namjelee, on August 9th, 2009
<아파치 설정하기>
/etc/httpd/conf/httpd.conf 수정하기 접근권한을 설정하려는 <Directory> 태그 내부에서 AllowOverride 옵션을 찾는다. “AllowOverride All”로 되어 있도록 수정한다. 아파치 제 시작 /etc/init.d/httpd restart
<접근권한을 설정하려는 폴더에 아래와 같이 .htaccess 파일 생성>
AuthName Authentication // 인증창에 출력될 이름이다. AuthType Basic // 인증 타입 Basic 사용 AuthUserFile <.htpasswd 경로> // 사용자와 비밀번호를 담고 있는 .htpasswd 경로를 지정한다. . . . → Read More: Apache에서 .htaccess 이용해서 폴더별 인증 설정 하기
By namjelee, on August 9th, 2009
Download and install recent python, eclipse, jdk Import and export the eclipse preference, if you want to use previous your eclipse setting. Run eclipse and install python plug-in update url: http://pydev.sourceforge.net/updates useful eclipse shortcut for PyDev: http://fabioz.com/pydev/manual_adv_keybindings.htm Install Subversive in Eclipse Help > Install New Software > Choose Calileo in “work with” listbox . . . → Read More: Use Eclipse Galileo with Python Programming (PyDev) and setting svn using Subversive
By namjelee, on August 9th, 2009
EXPORT File->Export…->General->Preferences, then choose to “Export all” your preferences or just the “Keys Preferences”; make sure to point out the file where you want your preferences to be saved, and finally click “Finish”.
IMPORT File->Import…->General->Preferences, then point the preference file you created when exporting your preferences; choose to “Import all” or specific preferences, and . . . → Read More: Import and Export key binding in Eclipse