<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2230316736854956814</id><updated>2024-10-09T15:39:12.059+09:00</updated><category term="mssql"/><category term="mysql"/><category term="apache"/><category term="apm"/><category term="php"/><category term="asp"/><category term="css"/><category term="jQuery"/><category term="sendmail"/><category term="vi"/><category term="vsftpd"/><title type='text'>토실이네의 기억 저편으로</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-920333291525906043</id><published>2011-05-09T13:50:00.020+09:00</published><updated>2023-12-04T15:48:30.692+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="vi"/><title type='text'>[업데이트 중]vim설정 및 단축키</title><summary type="text">환경 : CentOs 5.5
1. vim 설치
yum install vim-enhanced

2. alias 설정
기존 vi를 vim로 실행시키기 위해서 alias시킨다.
vi ~/.bashrc
alias vi=&#39;vim&#39;
:wq

source ~/.bashrc

3. ~/.vimrc파일 작성
vi ~/.vimrc

filetype on
syntax on
&quot;colorscheme murphy &quot;/usr/share/vim/vim70/colors/murphy.vim 형태로 파일이 존재해야함
colorscheme evening
&quot;colorscheme desert

set nu
set nocompatible &quot;Vim 디폴트 기능들을 사용함
set autoindent &quot;자동 들여쓰기
set cindent &quot;C언어 자동</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/920333291525906043/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2011/05/vim.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/920333291525906043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/920333291525906043'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2011/05/vim.html' title='[업데이트 중]vim설정 및 단축키'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-7415801487431428816</id><published>2011-05-09T12:22:00.018+09:00</published><updated>2023-12-03T17:44:37.003+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sendmail"/><title type='text'>sendmail(smtp인증) + dovecot</title><summary type="text">환경 : CentOs 5.5

1. 패키지 설치
yum install sendmail, sendmail-cf, cyrus-sasl, cyrus-sasl-lib, cyrus-sasl-plain, dovecot
chkconfig --levels 235 sendmail on
chkconfig --levels 235 dovecot on
chkconfig --levels 235 saslauthd on

2. 호스트 파일 설정
vi /etc/hosts
192.168.0.100 test.com test
:wq

3. sendmail.mc 설정
vi /etc/mail/sendmail.mc

#smtp인증을 위한 처리(라인 52, 53)
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 </summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/7415801487431428816/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2011/05/sendmailsmtp-dovecot.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/7415801487431428816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/7415801487431428816'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2011/05/sendmailsmtp-dovecot.html' title='sendmail(smtp인증) + dovecot'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-6612072762365409066</id><published>2010-12-28T16:44:00.002+09:00</published><updated>2023-12-03T10:41:24.537+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>mysql의 데이터를 csv로 저장하기</title><summary type="text">mySql데이터를 csv파일로 저장하는 방법을 phpMyAdmin이나 queryBrowser를 이용하면 손쉽게 가져올 수 있으나 phpMyAdmin이 설치되어 있지 않거나 mySql이 원격 접속을 허용하지 않는 조건(이 경우 queryBrowser은 접근 불가)에서는 유용하다.

첫번째로 가장 많이 쓰이는 mysql에서 지정된 경로에 csv파일을 저장하는 방법이다. 
select 원하는 필드1, 원하는 필드2, ... into outfile &quot;/home/foo/my.csv&quot; fields terminated by &#39;,&#39; optionally enclosed by &#39;&quot;&#39; lines terminated by &quot;\n&quot; from 테이블명 where 조건;
이때 /home/foo 디렉토리에 쓰기 권한이 있는 사용자여야</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/6612072762365409066/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2010/12/csv.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/6612072762365409066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/6612072762365409066'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2010/12/csv.html' title='mysql의 데이터를 csv로 저장하기'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-1735774994499223464</id><published>2010-11-30T16:22:00.001+09:00</published><updated>2023-12-03T10:41:47.836+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mssql"/><title type='text'>mssql 삭제시 &quot;DELETE 문이 COLUMN REFERENCE 제약 조건 FK_이름과 충돌되었습니다&quot; 라는 오류 처리.</title><summary type="text">select CONSTRAINT_NAME  from INFORMATION_SCHEMA.TABLE_CONSTRAINTS where TABLE_NAME =&#39;테이블명&#39;
으로 제약조건 확인 후
alter table tb_cpn_order drop constraint FK_조건
을 삭제한다.
</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/1735774994499223464/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2010/11/mssql-delete-column-reference-fk.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/1735774994499223464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/1735774994499223464'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2010/11/mssql-delete-column-reference-fk.html' title='mssql 삭제시 &quot;DELETE 문이 COLUMN REFERENCE 제약 조건 FK_이름과 충돌되었습니다&quot; 라는 오류 처리.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-6880197713163929961</id><published>2010-11-23T03:51:00.006+09:00</published><updated>2023-12-03T10:41:17.067+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Amavis + RoundCube를 이용하여 메일을 보낼때 &quot;BAD HEADER SECTION&quot;</title><summary type="text">환경Debian Lenny(5.0.4)
amavisd-new(2.6.1)
postfix(2.5.5-1.1)
php(5.2.6)
RoundCube(0.2.2)

메세지헤더에 아래와 같은 문구가 보인다면
X-Virus-Scanned: Debian amavisd-new at mail.xxxx.xxx
X-Amavis-Alert: BAD HEADER SECTION, Improper use of control character (char 0D
hex): Subject: ...B8=20=EB=A9=94=EC=9D=BC?=\r\n =?UTF-8?Q?=EC[...]

roundCube의 program/steps/mail/sendmail.inc의 +395라인쯤에 위치한 코드를 
$headers[&#39;Subject&#39;] = </summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/6880197713163929961/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2010/11/amavis-roundcube-bad-header-section.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/6880197713163929961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/6880197713163929961'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2010/11/amavis-roundcube-bad-header-section.html' title='Amavis + RoundCube를 이용하여 메일을 보낼때 &quot;BAD HEADER SECTION&quot;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-6618574070272710511</id><published>2010-08-01T11:32:00.005+09:00</published><updated>2023-12-03T10:41:21.614+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><title type='text'>apache2(30)Read-only file system</title><summary type="text">Starting web server: apache2(30)Read-only file system: apache2: could not open error log file /var/log/apache2/error.log

/var/log의 파일시스템이 읽기 전용으로 올라와서 생기는 문제인데....
파일시스템에 이상이 생긴듯 한데...
흠. 숙제하나 생겼네.</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/6618574070272710511/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2010/08/apache230read-only-file-system.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/6618574070272710511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/6618574070272710511'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2010/08/apache230read-only-file-system.html' title='apache2(30)Read-only file system'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-5333082208184582640</id><published>2010-08-01T11:02:00.005+09:00</published><updated>2023-12-03T10:41:30.848+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apm"/><title type='text'>Debian lenny 업데이트 후 eAccelerator error</title><summary type="text">debian lenny update후 apache가 시작이 안되는 현상이 발생.

[apache error.log]
PHP Warning:  [eAccelerator] This build of &quot;eAccelerator&quot; was compiled for PHP version 5.2.6-1+lenny3. Rebuild it for your PHP version (5.2.6-1+lenny8) or download precompiled binaries.\n in Unknown on line 0
PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0

임시 방편으로는 /etc/php5/conf.d/eaccelerator.ini에 </summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/5333082208184582640/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2010/08/debian-lenny-eaccelerator.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/5333082208184582640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/5333082208184582640'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2010/08/debian-lenny-eaccelerator.html' title='Debian lenny 업데이트 후 eAccelerator error'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-1064400631940502535</id><published>2010-06-01T17:01:00.002+09:00</published><updated>2023-12-03T10:41:58.588+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mssql"/><title type='text'>datetime타입 필드 업데이트 쿼리.</title><summary type="text">update tableName set fieldName=convert(datetime, &#39;2010-02-11 09:48:24&#39;) where condition --시간은 24시간제로 할것.
</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/1064400631940502535/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2010/06/datetime.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/1064400631940502535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/1064400631940502535'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2010/06/datetime.html' title='datetime타입 필드 업데이트 쿼리.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-4801690750300835750</id><published>2010-05-05T17:03:00.003+09:00</published><updated>2023-12-03T10:41:34.666+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apm"/><title type='text'>suhosin 패치 후 POST(GET) max_value_length  조정</title><summary type="text">suhosin은 php의 알려진 버그에 대한 패치를 제공하는 패키지이다.
이 패치를 적용한 후 간혹 GET값이나 POST값을 넘길때 값이 넘어오지 않는 경우가 있는데 이는 suhosin 패치가 GET나 POST값에 제한을 두기 때문이다.

이때 아파치 설정, 혹은 php.ini, .htaccess를 설정하여 GET값이나 POST값의 제한을 늘릴 수 있다.
(session, cookie 등등..자세한 사항은 아래 참고 url을 방문하시라.)

1. 가장 간단한 방법은 php.ini에서 suhosin.so의 확장을 주석처리하는 것이다. 이렇게 할 경우 웹호스팅 서버와 같은 환경에서는 전체 웹사이트가 적용되므로 보안상 권장하지 않는다.
;extension=suhosin.so

2. php.ini에 지시자를 </summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/4801690750300835750/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2010/05/suhosin-postget.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/4801690750300835750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/4801690750300835750'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2010/05/suhosin-postget.html' title='suhosin 패치 후 POST(GET) max_value_length  조정'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-6619784174832606331</id><published>2010-05-02T15:41:00.001+09:00</published><updated>2023-12-03T10:41:14.914+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp"/><title type='text'>ie6에서 세션이 안먹을 경우 iis설정</title><summary type="text">ie6에서 세션이 작동안할 경우가 있는데 이걸경우 IIS헤더에 아래와 같은 설정을 추가해 주자
헤더 이름 : P3P
헤더 내용 : CP=&quot;ALL CURa ADMa DEVa TAIa OUR BUS IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC OTC&quot;

참고 : P3P와 쿠키에 대한 상세 설명</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/6619784174832606331/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2010/05/ie6-iis.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/6619784174832606331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/6619784174832606331'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2010/05/ie6-iis.html' title='ie6에서 세션이 안먹을 경우 iis설정'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-4196390080105198532</id><published>2010-04-25T13:39:00.014+09:00</published><updated>2023-12-03T10:41:40.979+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><title type='text'>Apache RedirectMatch 설정</title><summary type="text">aaa.co.kr이라는 도메인이라고 가정할때 로그인 처리가 www.aaa.co.kr에만 세션이나 쿠키를 적용되게 할때 aaa.co.kr을 www.aaa.co.kr로 redirect시킬수 있다. 프로그램 처리로 해야 하지만 그렇지 못할 경우에 아파치 서버단에서 간단하게 사용할 수 있는 지시자이다.

[환경] Centos 5.4, apache_1.3.39
&amp;lt;virtualhost *:80&amp;gt;
ServerAdmin admin@xxxx.com
DocumentRoot /home/aaaHome/public_html
ServerName www.aaa.co.kr #ServerAlias 지시자를 설정하지 않는다.
ErrorLog logs/aaa.co.kr-error_log
CustomLog &quot;|/usr/local/</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/4196390080105198532/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2010/04/apache-redirectmatch.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/4196390080105198532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/4196390080105198532'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2010/04/apache-redirectmatch.html' title='Apache RedirectMatch 설정'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-746499986948980518</id><published>2010-01-17T01:05:00.008+09:00</published><updated>2023-12-03T10:42:01.800+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>mysql의 wait_timeout의 설정</title><summary type="text">mysql에서 wait_timeout값을 설정 변경한 후 값이 변하지 않았다고 하는 질문들이 많이 있다.
[mysqld] 섹션에 wait_timeout의 설정을 추가한 후 mysql의 shell에서 조회하는데 wait_timeout값이 변경되지 않은 값이 보이기 때문인데 이것은 조회하는 방법상의 문제이다.

설정과 조회방법을 알아보자.

테스트 환경 CentOS release 5.4 (Final), mysql-4.1.22

1. wait_timeout 설정[mysql@myServer ~]vi /etc/my.cnf
...

[mysqld]
...
...
wait_timeout=10000 #default value 28800

2. mysql 데몬 재시작[mysql@myServer ~]service </summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/746499986948980518/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2010/01/mysql-waittimeout.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/746499986948980518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/746499986948980518'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2010/01/mysql-waittimeout.html' title='mysql의 wait_timeout의 설정'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-8938474215009684796</id><published>2009-12-24T14:08:00.005+09:00</published><updated>2023-12-03T10:41:03.811+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><title type='text'>jQuery + 플래쉬위에 레이어 위치시기는 방법</title><summary type="text">&amp;lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
$(document).ready(function(){
if($.browser.msie){
//$(&quot;#Layer1&quot;).css(&quot;margin-left&quot;, &quot;580px&quot;); //iframe
$(&quot;#Layer1&quot;).css(&quot;margin-left&quot;, &quot;670px&quot;);
} else {
//$(&quot;#Layer1&quot;).css(&quot;margin-left&quot;, &quot;290px&quot;); //iframe
$(&quot;#Layer1&quot;).css(&quot;margin-left&quot;,</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/8938474215009684796/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2009/12/jquery.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/8938474215009684796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/8938474215009684796'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2009/12/jquery.html' title='jQuery + 플래쉬위에 레이어 위치시기는 방법'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-7538260578647378929</id><published>2009-12-23T11:45:00.028+09:00</published><updated>2023-12-03T10:41:08.322+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>구글 jQuery라이브러리 호스팅</title><summary type="text">구글에 있는 jQuery라이브러리를 사용하므로써 트래픽도 절감하고 좀 더 빠르게 jQuery를 로딩하는 방법이다.
[jQuery][1.3.2v]
&amp;lt;script type=&#39;text/javascript&#39; src=&#39;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&#39;&amp;gt;&amp;lt;/script&amp;gt;
[1.4.2v]
&amp;lt;script type=&#39;text/javascript&#39; src=&#39;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&#39;&amp;gt;&amp;lt;/script&amp;gt;

[jQuery UI]&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/7538260578647378929/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2009/12/jquery-jquery.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/7538260578647378929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/7538260578647378929'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2009/12/jquery-jquery.html' title='구글 jQuery라이브러리 호스팅'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-4319992992791465424</id><published>2009-12-23T11:09:00.005+09:00</published><updated>2023-12-03T10:41:37.344+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>[Mysql 에러] Table &#39;테이블명&#39; is marked as crashed and should be repaired</title><summary type="text">어제 서버가 갑자기 다운되어서 강제 리부팅을 한 후 웹페이지를 보니 아래와 같은 에러가 발생하였다.

[에러 내용]
ERROR 1194 (HY000): Table &#39;테이블명&#39; is marked as crashed and should be repaired

mysql server version : mysql-server-5.0.45

[해결 방법]
1. 반드시 백업을 한다.
tar cvfpz xxx_20091223.tar.gz ./디비명

2. 분산된 인덱스를 다시 정렬

mysql&amp;gt; analyze table 테이블명 (쉘에서 수행되는 myisamchk --analyze 와 같은 명령이다.)

analyze : myisam, bdb, innodb에 적용된다. analyze가 수행되는 동안에는 </summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/4319992992791465424/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2009/12/mysql.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/4319992992791465424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/4319992992791465424'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2009/12/mysql.html' title='[Mysql 에러] Table &#39;테이블명&#39; is marked as crashed and should be repaired'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-4985278316803075094</id><published>2009-12-17T11:30:00.001+09:00</published><updated>2023-12-03T10:41:27.906+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mssql"/><title type='text'>[펌]mssql 중복행</title><summary type="text">SELECT&amp;nbsp;&amp;nbsp; JUMIN
FROM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; MEMBER
GROUP&amp;nbsp;&amp;nbsp;&amp;nbsp; BY&amp;nbsp;JUMIN
HAVING&amp;nbsp;&amp;nbsp;COUNT(*)&amp;gt;1

윗분이 작성하신 쿼리처럼 위 쿼리는 증복된 해당 주민번호에 대해서 가지고옵니다.

추가 질문에서 증복된 주민번호를 삭제하실것이면 모두 삭제하실것인지??

DELETE&amp;nbsp; MEMBER&amp;nbsp; 
WHERE&amp;nbsp;&amp;nbsp;A.P_JUMIN&amp;nbsp;IN
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(SELECT&amp;nbsp;&amp;</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/4985278316803075094/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2009/12/mssql.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/4985278316803075094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/4985278316803075094'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2009/12/mssql.html' title='[펌]mssql 중복행'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-1282536094070148266</id><published>2009-12-16T14:19:00.023+09:00</published><updated>2023-12-03T10:41:50.830+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="vsftpd"/><title type='text'>vsftpd의 설정</title><summary type="text">[port 변경]listen_port=201

[WellKnown 포트가 막힌 인터넷 환경에서 공유기 사용중일때 발생하는 문제]
인터넷 회선 제공업체가 WellKnown포트를 막은 경우 공유기 환경 아래에서 21번 포트를 201이나 다른포트로 바꾼 후 접속하면 아래와 같은 현상 발생
Name (data.test.com:root): test
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp&amp;gt; ls
227 Entering Passive Mode (192,168,1,130,184,152)
425 Security: Bad</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/1282536094070148266/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2009/12/vsftp.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/1282536094070148266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/1282536094070148266'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2009/12/vsftp.html' title='vsftpd의 설정'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-448798296814634093</id><published>2009-12-15T12:15:00.006+09:00</published><updated>2023-12-03T10:40:56.830+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>net2ftp수정</title><summary type="text">//version 0.98

[.과 ..표시 없애기]
if ($listline[&quot;dirfilename&quot;] == &quot;.&quot; || $listline[&quot;dirfilename&quot;] == &quot;..&quot;) { return &quot;&quot;; }
elseif (substr($rawlistline,0,5) == &quot;total&quot;) { return &quot;&quot;; }

includes/browse.inc.php line 456라인 주변에 위의 스크립트를 찾아서 아래와 같이 바꿀것.

if (substr($listline[&quot;dirfilename&quot;],0,1) == &quot;.&quot;) { return &quot;&quot;; }
elseif (substr($rawlistline,0,5) == &quot;total&quot;) { return &quot;&quot;; }

[다운로드시 파일명이 index.php로 변하는 버그]</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/448798296814634093/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2009/12/net2ftp.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/448798296814634093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/448798296814634093'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2009/12/net2ftp.html' title='net2ftp수정'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-2309413081036858543</id><published>2009-11-27T14:50:00.016+09:00</published><updated>2023-12-03T10:41:44.391+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mssql"/><title type='text'>[펌] MS-SQL DATETIME 형변환(CONVERT)</title><summary type="text">
 번호
 출력값
 사용방법

 
 0  
Feb 22 2006 4:26PM  
CONVERT(CHAR(19), CURRENT_TIMESTAMP, 0)
 
 1  
02/22/06  
CONVERT(CHAR(8), CURRENT_TIMESTAMP, 1)
 
 2  
06.02.22  
CONVERT(CHAR(8), CURRENT_TIMESTAMP, 2)
 
 3  
22/02/06  
CONVERT(CHAR(8), CURRENT_TIMESTAMP, 3)
 
 4  
22.02.06  
CONVERT(CHAR(8), CURRENT_TIMESTAMP, 4)
 
 5  
22-02-06  
CONVERT(CHAR(8), CURRENT_TIMESTAMP, 5)
 
 6  
22 Feb 06  
CONVERT(</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/2309413081036858543/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2009/11/ms-sql-datetime-convert.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/2309413081036858543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/2309413081036858543'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2009/11/ms-sql-datetime-convert.html' title='[펌] MS-SQL DATETIME 형변환(CONVERT)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-1476826793935313547</id><published>2009-11-27T14:27:00.004+09:00</published><updated>2023-12-03T10:41:52.776+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mssql"/><title type='text'>[펌] string을 datetime 으로 변환</title><summary type="text">-- CHARINDEX,CONVERT,REPLACE 를이용데이터입력
insert into test (a,b,c)
values (1,&#39;홍길동&#39; ,
case when&amp;nbsp; CHARINDEX(&#39;오후&#39;,&#39;2008-07-01 오전11:29:34&#39;)&amp;gt;0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then dateadd(hh,12,convert (datetime, replace(&#39;2008-07-01 오전11:29:34&#39;,&#39;오후&#39;,&#39;&#39;)))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else convert (datetime,replace(&#39;2008-07-01 오전11:29:34&#39;,&#39;오전&#39;,&#39;&#39;) )
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/1476826793935313547/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2009/11/string-datetime.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/1476826793935313547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/1476826793935313547'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2009/11/string-datetime.html' title='[펌] string을 datetime 으로 변환'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2230316736854956814.post-953608724390604151</id><published>2009-03-10T12:04:00.005+09:00</published><updated>2023-12-03T10:40:31.234+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>Control Flow Functions</title><summary type="text">http://dev.mysql.com/doc/refman/4.1/en/control-flow-functions.html</summary><link rel='replies' type='application/atom+xml' href='http://tosiri.blogspot.com/feeds/953608724390604151/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://tosiri.blogspot.com/2009/03/control-flow-functions.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/953608724390604151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2230316736854956814/posts/default/953608724390604151'/><link rel='alternate' type='text/html' href='http://tosiri.blogspot.com/2009/03/control-flow-functions.html' title='Control Flow Functions'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>