내용으로 건너뛰기
FreeBSD-iary
사용자 도구
로그인
사이트 도구
검색
도구
문서 보기
이전 판
Cite current page
Fold/unfold all
역링크
최근 바뀜
미디어 관리자
사이트맵
로그인
>
최근 바뀜
미디어 관리자
사이트맵
추적:
freebsd:roundcube
이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요.
====== Roundcube 1.4 설치 ====== cd /usr/ports/mail/roundcube/ make config make all install clean ++++ 설치한 다음에 나오는 중요한 정보| <code> If this is a first installation of RoundCube you have to create a new database and a db user. Read INSTALL for detailed instructions. If you already had a previous version of RoundCube installed, you should check your config files and DB schema are up-to-date. Read UPGRADING for detailed instructions. </code> ++++ 아래 설정을 Roundcube가 운래 설치된 /usr/local/www/roundcube 를 가정하고, %%http://my.domain/roundcube%% 주소로 인터넷에서 접속할 수 있는 상황을 가정지만, 이 공간은 원하는 대로 바꿀 수 있으며, 인터넷 주소또한 가상호스트(예를 들어 https://webmail.jikji.org)를 이용해서 원하는 주소로 바꾸어 줄 수 있다. ==== /usr/local/www/roundcube/config/config.inc.php 설정 ==== cd /usr/local/www/roundcube/config cp -Rp config.inc.php.sample config.inc config.inc 에서 다음 내용을 확인한다. <code> $config['db_dsnw'] = 'mysql://roundcube:mytopsecret@localhost/roundcube'; $config['default_host'] = 'tls://my.domain'; $config['smtp_server'] = 'tls://mail.my.domain'; // SMTP port. Use 25 for cleartext, 465 for Implicit TLS, or 587 for STARTTLS (default) $config['smtp_port'] = 587; // This key is used to encrypt the users imap password which is stored // in the session record. For the default cipher method it must be // exactly 24 characters long. // YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS $config['des_key'] = '123465789AA987654321ABCD'; $config['enable_installer'] = true; </code> 이제 database roundcube와 MySQL DB 사용자 roundcube를 만들어 준다. <code> mysql -u root -p [(none)] create database roundcube; [(none)] use mysql; [mysql] create user 'roundcube'@'localhost' identified by 'mytopsecret'; [myql] grant all privileges on roundcube.* to 'roundcube'@'localhost'; [mysql] flush privileges; [mysql] exit </code> 이렇게 한 다음에 마지막으로 %%http://my.domain/roundcube/installer%% 주소로 들어가서 지시하는 대로 설치를 한다. 설치를 마치면 /usr/local/www/roundcube/config/config.inc.php 에 있는 다음 줄을 주석처리한다. #$config['enable_installer'] = true; 더 확실하게 하려면 설치 디렉토리를 삭제한다. rm -rf /usr/local/www/roundcube/installer 다음과 같은 로그인 화면을 %%http://my.domain/roundcube/%%에서 볼 수 있으면 성공한 것이다. ;#; [[https://webmail.jikji.org|{{freebsd:screenhunter_1876_jan._09_15.12.jpg?400}}]] ;#;
freebsd/roundcube.txt
· 마지막으로 수정됨: 2021/01/09 14:25 저자
127.0.0.1
문서 도구
문서 보기
이전 판
역링크
Cite current page
Fold/unfold all
맨 위로