웹사이트 검색

ISPConfig 3.1로 Nextcloud를 설치하는 방법


이 페이지에서

  1. 전제 조건
  2. 사이트 추가
  3. 데이터베이스 추가
  4. FTP 사용자 추가
  5. Nextcloud 설치

이 튜토리얼에서는 ISPConfig 사용자를 위해 Nextcloud를 설치하는 단계를 설명합니다.

전제 조건

  • Apache, MariaDB 및 PHP가 설치된 Linux 서버
  • ISPConfig 3.1+ 설치(The Perfect Server Tutorial)
  • 서버를 가리키는 (하위)도메인. 이 튜토리얼에서는 nextcloud.example.com을 사용하겠습니다.\n

사이트 추가

ISPConfig에서 사이트로 이동하여 새 웹사이트를 추가합니다.

Domain: nextcloud.example.com
Harddisk Quota: Set quota for the file storage if necessary, or use -1 for unlimited.
Auto-subdomain: None
Let's Encrypt SSL: <-- Check this to receive a free SSL certificate from Let's Encrypt.
PHP: Fast-CGI

옵션으로 이동

사용자 지정 php.ini 설정을 추가합니다.

opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.revalidate_freq=1
opcache.save_comments=1
memory_limit = 512M

그리고 저장을 누르세요!

데이터베이스 추가

참고: 내 모든 데이터베이스는 클라이언트 ID를 가져오므로 클라이언트 8의 데이터베이스(사용자) 이름은 \c8nextcloud\입니다. 이는 사용자의 시스템에서 다를 수 있습니다.

데이터베이스 사용자로 이동하여 새 사용자 추가

Client: Select the client
Database user: nextcloud
Password: Generate a password and save this in a (temporary) txt file.

새 사용자를 저장합니다.

그런 다음 데이터베이스로 이동하여 새 데이터베이스를 추가하십시오.

Site: nextcloud.example.com
Database name: nextcloud
Database user: Select the database user you just created

그리고 저장을 누르세요!

FTP 사용자 추가

FTP 계정으로 이동

Website: nextcloud.example.com
Username: nextcloud (ISPConfig will eventually add a prefix to this username)
Password: Generate a password and save it in the (temporary) txt file you created earlier.

새 사용자 저장

넥스트클라우드 설치

nextcloud.com/install/#instructions-server(웹 설치 프로그램 아래)에서 Nextcloud 웹 설치 프로그램을 다운로드합니다.

방금 만든 FTP 사용자를 사용하여 FTP 프로그램으로 서버에 로그인하고(FTP 계정에서 FTP 사용자 이름을 찾을 수 있음) 웹 폴더에 setup-nextcloud.php를 업로드합니다.

nextcloud.example.com/setup-nextcloud.php로 이동합니다.

다음을 클릭하십시오

바꾸다

nextcloud 

~와 함께

.

다음을 클릭하십시오

사용자 이름: 관리 사용자의 사용자 이름

비밀번호: 관리 사용자의 비밀번호(강력한 비밀번호 사용!)

저장소 및 데이터베이스를 클릭합니다.

데이터 폴더:

/var/www/clients/client8/web16/private/data

Nextcloud에 배치한 모든 파일은 이제 더 안전한 /web 폴더 외부에 저장됩니다.

참고: client8 및 web16을 올바른 클라이언트 및 웹 ID로 바꾸십시오. 웹사이트 설정 -> 문서 루트에서 찾을 수 있습니다.

MySQL/MariaDB 선택

Username: c8nextcloud
Password: The first password you wrote down in your txt file
Database name: c8nextcloud

참고: ISPConfig-> 사이트 -> 데이터베이스에서 데이터베이스(사용자) 이름을 찾을 수 있습니다.

마침 설정을 누르고 완료되었습니다! 남은 일은 필요에 따라 Nextcloud를 구성하고 결국 일부 앱을 설치하는 것입니다.