2009년 1월 29일 목요일

com.oreilly.servlet (JAVA LIB)


Home of com.oreilly.servlet

There's no sense in reinventing the wheel--here are some servlet support classes I wrote that you can use. Most famous is the file upload package MultipartRequest and MultipartParser. Please read the license before use.

View the Readme
View the License
View the FAQ


View class documentation

Class Index

Exception Index



LIB 다운로드 : http://www.servlets.com/cos/

2009년 1월 9일 금요일

LAMP(Linux, Apache, PHP, Mysql) 설정법


우선 APM (Apache, PHP5, Mysql)이 3가지가 필요 합니다.
흔히들 LAPM이라고 하죠,ㅎ 리눅스 아파치 php mysql

  
$sudo apt-get install apache2                Apache 설치

   $sudo apt-get install libapache2-mod-auth-mysql        mysql 인증 모듈

   $sudo apt-get install mysql-server mysql-client         MySQL 설치
    MYSQL은 설치 후 자동으로 실행 됩니다.^-^

   $sudo apt-get install php5-common php5 libapache2-mod-php5      PHP5 설치

   $sudo apt-get install php5-mysql          MySQL과 php5를 연동하기 위한 모듈

   $sudo /etc/init.d/apache2 restart          아파치 웹서버를 재시작

APM 설치는 끝났습니다.ㅎ 이로써 LAPM환경을 구축 완료

아파치의 기본 경로는 /var/www 로 잡힙니다.^^
이 안에 index.html을 만든다면 되겠죠?ㅎ

html에 보시면 한글이 깨져서 나오는데 이 부분은 직접 인코딩을 바꿔주시거나 아니면 아파치 설정에 들어가셔서
    $sudo gedit /etc/apache2/apache2.conf  

마지막 부분에 AddDefaultCharset utf-8
를 추가합니다

그러면 한글 홈페이지도 인코딩 완료~

아참~ 매번 실행 시킬 때마다 아파치를 직접 켜시기 귀찬으신 분이라면 ~
세션메뉴를 선택해서~ 명령어 추가를 해주시면 됩니다~
sudo /etc/init.d/apache2 start를 넣어주시면 되겠네요~ㅎ
그럼 부팅 할 때 마다 알아서 아파치 써버가 열립니다~^^ㅋ

2009년 1월 6일 화요일

Xshell Tutorial


본 Tutorial에서는 Telnet/Rlogin 또는 SSH 세션을 생성하는 방법과 Linux/Unix 호스트에 접속하기 위한 방법을 설명합니다. Telnet 세션은 매우 간단하지만 SSH 세션은 서버에 연결하기 전에 사용자 키를 서버에 등록해야 할 필요가 있을 수 있습니다. 만약 사용자 키 등록이 필요하다면 공개키 사용자 인증 을 참조하십시오.
세션 만들기
원격 호스트에 연결하기
문제 해결

Telnet, Rlogin 및 SSH 프로토콜 세션을 생성할 수 있습니다.
  1. [파일] 메뉴에서, [새로 만들기]를 선택합니다. 새 세션 등록 정보 대화 상자가 나타납니다.
  2. [이름] 상자에 세션 이름을 입력합니다.
  3. [연결 방법] 리스트에서 적절한 프로토콜을 선택합니다.
  4. [호스트] 상자에 서버의 호스트 이름 또는 IP 주소를 입력합니다.
  5. [포트 번호] 상자에 원격 서버에 의해 사용되는 포트 번호를 입력합니다.
  6. [사용자 인증] 분류에서 [사용자 이름] 상자에 서버의 사용자 계정을 입력합니다.
    참고: SSH 프로토콜에서 사용자 이름이 없는 경우, 서버에 연결 시 사용자 이름을 묻는 대화 상자가 나타납니다.
  7. [확인]을 선택합니다.
Telnet, Rlogin 또는 SSH 세션이 생성되어 있다면, 이제 원격 호스트에 접속할 수 있습니다. 만약 생성된 세션이 없다면,
세션 만들기 섹션을 참조하십시오.
  1. [파일] 메뉴에서, [열기]를 선택합니다.
  2. 세션 리스트 중에서, 연결할 세션을 선택하고 연결 버튼을 클릭하면 SSH 사용자 인증 대화 상자가 나타납니다.
  3. 비밀번호 인증을 시도하시려면, [비밀번호] 상자에 비밀번호를 입력한 후 [확인]을 선택합니다.
  4. 공개키 인증을 시도하시려면, 먼저 리스트에서 사용자 키를 선택합니다. 선택된 사용자 키의 암호를 [암호] 상자에 입력한 후 [확인]을 선택합니다.
    참고: 만약 사용자 키가 없다면, 공개키 사용자 인증 섹션을 참고하십시오.
  5. Keyboard Interactive 인증을 시도하시려면, [확인] 버튼을 선택한 후 그 뒤에 질문 되는 물음들에 답하십시오.
지금까지 Xshell을 통해 원격 호스트에 접속을 시도했습니다. 만약 연결 중 문제가 있었다면, 문제 해결 섹션을 참조하십시오.
호스트 연결에 실패한 후 다음과 같은 에러 메시지가 나오는 경우가 있습니다.

"Could not connect to 'hostname': Unknown host."

호스트 이름이 올바른지 확인하십시오. 호스트 이름 대신 IP 주소를 입력해야 할 수도 있습니다.

"Could not connect to 'hostname' (port 22): Connection failed."

호스트가 준비되었는지 확인하십시오. 또한 포트 번호가 서버가 사용하는 번호인지 확인해 보십시오

2009년 1월 5일 월요일

CMS(Content Management System)


A content management system (CMS) is a computer application used to create, edit, manage, search and publish various kinds of digital media and electronic text.[1] CMSs are frequently used for storing, controlling, versioning, and publishing industry-specific documentation such as news articles, operators' manuals, technical manuals, sales guides, and marketing brochures. The content managed may include computer files, image media, audio files, video files, electronic documents, and Web content.

A CMS may support the following features:

  • identification of all key users and their content management roles;
  • the ability to assign roles and responsibilities to different content categories or types;
  • definition of workflow tasks for collaborative creation, often coupled with event messaging so that content managers are alerted to changes in content (For example, a content creator submits a story, which is published only after the copy editor revises it and the editor-in-chief approves it.);
  • the ability to track and manage multiple versions of a single instance of content;
  • the ability to capture content (e.g. scanning);
  • the ability to publish the content to a repository to support access to the content (Increasingly, the repository is an inherent part of the system, and incorporates enterprise search and retrieval.);
  • separation of content's semantic layer from its layout (For example, the CMS may automatically set the color, fonts, or emphasis of text.).

There are three main categories of CMS, with their respective domains of use:

Contents

[hide]

Enterprise content management systems

An enterprise content management (ECM) system is concerned with content and documents related to the organizational processes of an enterprise. The purpose is to manage the organization's unstructured information content, with all its diversity of format and location.

 Web content management systems

A web content management (WCM) system is a CMS designed to simplify the publication of Web content to Web sites, in particular allowing content creators to submit content without requiring technical knowledge of HTML or the uploading of files.

Component content management systems

A component content management (CCM) system is concerned with the content within documents. It can locate and link content at any level of organization, and it is used to build publications out of re-usable fragments of content. Whereas ECM and WCM systems frequently manage unstructured content (word processor and other desktop publishing files, rendered PDF and HTML, etc.), a CCM system manages structured content (usually XML), from which such documents are rendered and typically delivered to ECM and WCM systems.

See also

References

External links

저작물 관리 시스템은 저작물 관리에 사용하는 소프트웨어이다. 여기에서 지칭하는 저작물이란 사진, 음성, 전자문서 그와 유사한 컴퓨터 파일이다.

저작물 관리 시스템의 아이디어의 이면에는 웹을 통하는 것과 마찬가지로 임의의 장소에서도 콘텐츠 파일들을 관리하자는 의도이다. 저작물 관리 시스템은 기존문서 관리에도 종종 사용된다.

많은 회사들은 저작물 관리 시스템을 비지적재산권 형식으로 파일을 저장하는 데 사용한다. 사내에서 대개 서버 기반형 소프트웨어를 사용하는 것과 같이 파일을 쉽게 공유할 수 있고 더 나아가 파일의 가용성을 증대시킨다.

아래에 보인 것과 같이 다수의 저작물 관리 시스템은 웹 저작물 관리기능을 가지고 있으며 그 중에 일부는 워크플로우 처리에 대한 특징들을 가지고 있다.

워크플로우(영어: Workflow)는 다자간 결제 혹은 저작물의 추가를 위한 전자문서 이동의 한 방법이다.

일부 저작물 관리 시스템에서는 이메일 통지 및 자동 경로 설정과 같은 워크플로우 도구들을 가지고 있다. 이들은 작업의 협업성에 있어 매우 이상적인 것이다.

또한, 저작물 관리 시스템의 도구들은 이미지와 멀티미디어 자료들 혹은 방대한 문서들을 조직하고, 통제하고, 그리고 발행하는 역할을 한다.

웹 저작물 관리 시스템은 웹 사이트에 웹 저작물들을 발행하는데 필요한 작업들을 수월하게 해준다. 웹 저작물 관리 시스템은 다음과 같은 문서들에 대한 저장, 통제, 개정, 그리고 발행에 자주 사용된다.

  • 뉴스기사
  • 사용자 매뉴얼
  • 기술 문서
  • 판매 가이드
  • 광고 책자

또한, 저작물 관리 시스템은 다음과 같은 특징을 지니고 있다.

  • 멀티미디어 자료 혹은 일반문서의 생성 및 가져오기
  • 핵심 사용자 및 그들의 콘텐츠 관리 권한에 대한 인증
  • 역할의 배정에 관한 권한 및 이종의 콘텐츠 타입이나 카테고리 분류
  • 저작물 워크플로우 작업에 대한 정의 (관리자에게 저작물 변경 통지와 같은 이벤트 알림과 연관되어)
  • 단일 저작물에 대한 다중 판올림 관리 및 추적