레이블이 owncloud인 게시물을 표시합니다. 모든 게시물 표시
레이블이 owncloud인 게시물을 표시합니다. 모든 게시물 표시

2017년 12월 19일 화요일

Centos7에 owncloud 설치 하기

[ 출처 : https://download.owncloud.org/ ]

Add repository and install manually(hide)

CentOS_7 owncloud-files-10.0.4-1


Run the following shell commands as root to trust the repository.

rpm --import https://download.owncloud.org/download/repositories/production/CentOS_7/repodata/repomd.xml.key

Run the following shell commands as root to add the repository and install from there.

wget http://download.owncloud.org/download/repositories/production/CentOS_7/ce:stable.repo -O /etc/yum.repos.d/ce:stable.repo
yum clean expire-cache
yum install owncloud-files

Direct Download


CentOS_6 owncloud-files-10.0.4-1


Run the following shell commands as root to trust the repository.

rpm --import https://download.owncloud.org/download/repositories/production/CentOS_6/repodata/repomd.xml.key

Run the following shell commands as root to add the repository and install from there.

wget http://download.owncloud.org/download/repositories/production/CentOS_6/ce:stable.repo -O /etc/yum.repos.d/ce:stable.repo
yum clean expire-cache
yum install owncloud-files

Direct Download

2017년 6월 9일 금요일

ownclude 관련 글


1. owncloude 설치consol에서 파일을 cp/mv로 이동 처리한 후 웹에서 보이지 않을 경우[출처]
# cd /var/www/html/owncloud/
# ./occ files:scan --all   <-- 파일을 읽어 cache 처리 한다.

2017년 6월 1일 목요일

iRedmail과 owncloud 로그인 연동하기

[ 출처 : http://www.iredmail.org/forum/ ]
[ 출처 : https://doc.owncloud.org/]

1. OwnClude 설치[ 참조 ]
2. iRedmail 설치[ 참조 ]
  - 설치 후 바이러스 백신(clamav) 로그 파일 오류 발생(로그 생성시 권한 오류 발생)
    mkdir /var/log/clamav
    chown clamupdate.clamupdate -R /var/log/clamav
  - 설치시 Sogo까지 설치한 경우 postmaster로 5분 간격으로 메일 발송됨.
    cron에서 실행하면서 자동 메일 발생되고 있어 수정(빨간색 부분 제외 처리)
    vi /var/spool/cron/sogo
    *   *   *   *   *   /usr/sbin/sogo-tool expire-sessions 30 2>/dev/null; /usr/sbin/sogo-ealarms-notify

3. Ownclude상의 Apps에서 비활성에서 LDAP를 검색하여 사용함으로 변경하면
   admin 설정 부분에 LDAP가 새로 생성되고 아래와 같이 설정


















- 로그인시 오류 발생할 경우 group 설정을 user 설정의 이름고 base user tree를 동일하게 설정한다.
  owncloud 로그는 /var/www/html/owncloud/data/owncloud.log에서 확인 가능


















- LDAP 사용자 삭제시 자동 삭제되도록 설정(기본값음 disable)
 # vi /var/www/html/owncloud/config/config.php
  'ldapUserCleanupInterval' => 30,  <-- 적용 시간(Min) 추가
[ 참조 : https://doc.owncloud.org/ ]
 
- LDAP 사용자 삭제[ 참조 : https://doc.owncloud.org/ ]