반응형

APM 설치 후.

## ajaxplorer 설치.

$ wget http://cdnetworks-kr-1.dl.sourceforge.net/project/ajaxplorer/ajaxplorer/3.2.1/ajaxplorer-core-3.2.1.zip
$ unzip ajaxplorer-core-3.2.1.zip

$ cd /usr/local/httpd/htdocs
$ mkdir webhard
$ cd webhard
$ cp -R ajaxplorer-core-3.2.1/* .
$ chmod 707 -R webhard

 - 한글메뉴 지원 (server/conf/conf.php) 수정
 - $default_language="kr"

 - 한글관련 소스 수정(server/classes/class.SystemTextEncoding.php)
 - 74 ~ 78 라인 추가.
 - // Get the current locale (expecting the filesystem is in the same loc ~ 줄임
   setlocale(LC_CTYPE, 'ko_KR.UTF-8');
   return SystemTextEncoding::parseCharset(setlocale(LC_CTYPE, 0));

 - 한글파일 압축 오류수정 (plugins/access.fs/class.fsAccessDriver.php)
 - 1414 라인 수정.
 -  PCLZIP_ATT_FILE_NEW_SHORT_NAME => iconv('utf-8', 'euc-kr', basename($item)));

 - 업로드 설정 (server/conf/conf.php)
 - $upload_max_number = 50;                        //최대 50개 전송
 - $upload_max_size_per_file = 209715200;          //파일 최대크기 200M
 - $upload_max_size_total = 314572800;             //파일 전체 최대크기 300M


# 아파치 설정

$ vi /usr/local/httpd/conf/httpd.conf
 - 서버 로케일 UTF-8 설정 (/etc/sysconfig/i18n)
 - LANG="ko_KR.UTF8"

 - 383 라인 추가.(Apache 서버 로케일 UTF-8 설정)
 - AddDefaultCharset UTF-8

# 업로드 용량 수정
memory_limit 값이 post_max_size 보다 작을 때 HTML5 로 업로드하는 브라우저(크롬, 파이어폭스)에서 큰용량의 파일에 대한 업로드 실패 현상
$ vi /usr/local/httpd/conf/php.ini
 - memory_limit = 2048M
 - upload_max_filesize = 200M
 - post_max_size = 200M

반응형

'OS > Linux' 카테고리의 다른 글

[쉘프로그래밍] 파일명 또는 확장자 일괄 변경  (1) 2011.12.22
grep 후 결과 파일을 vi 로 열기.  (0) 2011.12.02
[APM] 3. php 설치.  (2) 2011.06.15
[APM] 2. apache 설치.  (2) 2011.06.15
[APM] 1. mysql 설치  (0) 2011.06.15

+ Recent posts