차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
roundcube_quickstart [2015/07/27 09:37] koovroundcube_quickstart [2015/07/29 01:31] (현재) koov
줄 1: 줄 1:
 + --- //[[koovis@gmail.com|이강우]] 2015/07/29 10:31//
 ====== RoundCube QuickStart ====== ====== RoundCube QuickStart ======
  
줄 24: 줄 25:
 이 문서에서는 편하게 /var/www 아래에 설치하도록 하겠다. 이 문서에서는 편하게 /var/www 아래에 설치하도록 하겠다.
 <code> <code>
-[user@host]# tar -xvzf roundcubemail-xxx.xx.tar.gz +[user@host]# tar -xvzf roundcubemail-1.1.2-complete.tar.gz  
-[user@host]# mv roundcubemail-xxx.xx /var/www/roundcube+[user@host]# ln -s roundcubemail-1.1.2 roundcube 
 +[user@host]# chown -R www-data.www-data roundcube* 
 +[user@host]# ll 
 +합계 4512 
 +drwxr-xr-x  4 root     root        4096  7월 28 10:51 ./ 
 +drwxr-xr-x 12 root     root        4096  7월 28 09:55 ../ 
 +drwxr-xr-x  2 root     root        4096  7월 28 09:55 html/ 
 +lrwxrwxrwx  1 www-data www-data      19  7월 28 10:51 roundcube -> roundcubemail-1.1.2/ 
 +drwxr-xr-x 12 www-data www-data    4096  6월  5 21:47 roundcubemail-1.1.2/ 
 +-rw-r--r--  1 root     root     4599935  6월  5 22:16 roundcubemail-1.1.2-complete.tar.gz 
 +[user@host]#
 </code> </code>
 +
 +==== /etc/apache2/conf-available/roundcube.conf ====
 +아파치에 해당 경로를 서비스 하기 위한 설정파일을 추가한다.
 +<code vim>
 +Alias /roundcube        /var/www/roundcube
 +
 +<Directory /var/www/roundcube>
 +    Options FollowSymLinks
 +</Directory>
 +</code>
 +
 +그리고 해당 설정 파일을 활성화 한다.
 +<code bash>
 +[user@host]# a2enconf roundcube.conf 
 +Enabling conf roundcube.
 +To activate the new configuration, you need to run:
 +  service apache2 reload
 +[user@host]# service apache2 reload
 +[user@host]# 
 +</code>
 +
 +==== Roundcube Installer ====
 +이제 roundcube 설치 페이지에 접속하면 아래와 같은 화면을 볼 수 있다.
 +
 +{{:roundcube1.png|}}
 +
 +
 +설치 화면 내용중 아래와 같이 date.timezone 이 설정되지 않았다는 내용을 볼 수 있다.
 +
 +{{:캡처.png|}}
 +
 +위 부분을 수정하기 위하 아래 파일의 내용을 수정한다.
 +
 +=== /etc/php5/apache2/php.ini ===
 +
 +<code bash>
 +root@mail:~# vim /etc/php5/apache2/php.ini 
 +</code>
 +
 +아래 부분을 찾아 내용을 수정한다.
 +
 +<code vim>
 +[Date]
 +; Defines the default timezone used by the date functions
 +; http://php.net/date.timezone
 +date.timezone = Asia/Seoul
 +</code>
 +
 +수정 후 아파치를 재기동 해준다.
 +
 +<code bash>
 +[user@host]# service apache2 reload
 +</code>
 +
 +그리고 다시 브라우저를 새로고침하면 
 +
 +{{:캡처2.png|}}
 +
 +와 같이 OK로 변경된 것을 확인 할 수 있다.
 +
 +이제 NEXT를 눌러 다음 과정으로 넘어간다.
 +
 +===== Roundcube 설정 =====
 +
 +{{:roundcube2.png|}}
 +
 +설정 내용중 중요한 부분은 MySQL DB 연결 설정하는 부분과 플러그인 부분이다.
 +미리 구성한대로 DB연결 내용을 입력하고 원하는 플러그인을 선택한 후 create config를 하게되면 완료된다.
 +
 +설정파일이 정상적으로 생성된 후 http://SERVER_ADDRESS/roundcube 주소로 접근하면 로그인 화면을 볼 수 있다.
 +
  
  
  • roundcube_quickstart.1437989843.txt.gz
  • 마지막으로 수정됨: 2015/07/27 09:37
  • 저자 koov