실험적인 ISPConfig 서버 - Debian Stretch(Apache, MySQL, PHP 7, Pure-FTPD 및 ISPConfig 3.1)
이 페이지에서
- 1 시스템 준비
- 1.1 좋아하는 편집기 설치\n
- 1.2 호스트 이름 구성\n
- 호스트 이름 업데이트\n
- 1.3 GNU wget 설치
- 1.4 키링 설치
- 1.5 소스 목록 설치
- 1.6 소스 목록 업데이트
- 2.1 MySQL 서버 및 종속 항목 설치\n
- 2.2 Apache 서버 및 종속 항목 설치\n
- 2.3 ISPConfig git master 브랜치 파일 설치
- 2.4 ISPConfig 설치
이 튜토리얼에서는 recontainer.style.width=100%;var ins=document.createElement(ins);ins.id=slotId+-asloaded;ins.className=adsbygoogle과 함께 Debian 스트레치 저장소를 사용하여 ISPConfig 3 최신 개발 버전을 설치하는 방법을 설명합니다. ezasloaded;ins.dataset.adClient=pid;ins.dataset.adChannel=cid;if(ffid==2){ins.dataset.fullWidthResponsive=true;}
이 자습서의 목적은 생산적인 환경보다 실험 및 테스트 목적에 더 가깝습니다.
이 실험적 기능은 ISPConfig의 지속적인 개선에 기여하기 위한 시도로 ncomputers.org에서 제공합니다.
이 기능이 성공하면 지원을 확장할 수 있는 기회가 있을 수 있으며 결국 ISPConfig는 데비안 공식 저장소를 통해 ISPConfig 배포를 요청할 수 있는 강력한 기반을 가질 수 있습니다.
이 튜토리얼에서 제공하는 것보다 더 많은 기능을 설치하려면 공식 ISPConfig 문서를 참조하십시오.
다음 조언 때문에 debian stretch를 새로 설치하는 것이 좋습니다.
- ispconfig-git 패키지는 /root/ispconfig3 폴더 안에 ISPConfig git master 브랜치의 내용을 설치합니다.\n
- ispconfig-apache 패키지는 /etc/apache2 내의 모든 구성 파일과 모듈을 비활성화합니다.\n
이 튜토리얼은 HTTP apache 서버, FTP pure-ftpd 서버, SSL Lets encrypt 인증서, PHP 7 with Fast-CGI 서버, NTP 서비스, MySQL 데이터베이스 서버, WebDAV 서비스 및 ISPConfig 인터페이스와 함께 ISPConfig의 생산적인 구현을 제공해야 합니다.
1 시스템 준비
1.1 좋아하는 편집기 설치
이미 설치되어 있는 경우 이 단계를 건너뛸 수 있습니다.
apt-get install editor
1.2 호스트 이름 구성
호스트 이름은 하위 도메인과 도메인의 두 부분으로 구성됩니다. 아래 예에서 1a는 하위 도메인 부분에 해당하고 ncomputers.org는 도메인 부분에 해당합니다. /etc/hosts 파일과 아래 명령에서 적절하게 다시 배치하십시오.
editor /etc/hosts
::1 1a.ncomputers.org 1a localhost
127.0.0.1 1a.ncomputers.org 1a localhost호스트 이름 업데이트
echo 1a > /etc/hostname; hostname 1a
1.3 GNU wget 설치
시스템에 이미 wget이 있는 경우 이 단계를 건너뛸 수 있습니다.
apt-get install wget --no-install-recommends
1.4 키링 설치
이 데비안 패키지에는 ncomputers.org 데비안 확장 저장소의 공개 키가 포함되어 있습니다.
wget http://ncomputers.org/debian/keyring.deb
dpkg -i keyring.deb
rm keyring.deb1.5 소스 목록 설치
이 데비안 패키지에는 ncomputers.org 데비안 스트레치 저장소의 소스 목록이 포함되어 있습니다.
참고: 다음 데비안 패키지를 설치하는 대신 /etc/apt/sources.list에 아래에 주석이 달린 줄을 작성할 수도 있지만 나중에 이러한 소스 목록이 변경되면 수동으로 업데이트해야 합니다.
#deb http://ncomputers.org/debian/stretch.deb
dpkg -i stretch.deb
rm stretch.deb1.6 업데이트 소스 목록
키링과 소스 목록이 설치되면.
apt-get update
2 ISPConfig 기능 설치
2.1 MySQL 서버 및 종속 항목 설치
이 메타패키지는 MySQL 서버에 대한 모든 ISPConfig 종속성을 설치하고 일부 구성 작업을 수행합니다.
참고: MySQL 서버가 다시 시작되고 모든 네트워크 인터페이스에서 수신 대기합니다.
apt-get install ispconfig-mariadb --no-install-recommends
Enter current password for root (enter for none): <- enter
Set root password? [Y/n] <- y
New password:
Re-enter new password:
Remove anonymous users? [Y/n] <- y
Disallow root login remotely? [Y/n] <- y
Remove test database and access to it? [Y/n] <- y
Reload privilege tables now? [Y/n] <- y2.2 Apache 서버 및 종속 항목 설치
참고: ISPConfig에 필요한 항목을 제외한 모든 아파치 구성 및 모듈이 비활성화됩니다.
apt-get install ispconfig-apache --no-install-recommends
2.3 ISPConfig git master 분기 파일 설치
이 패키지는 모든 ISPConfig git master 분기 파일을 /root/ispconfig3에 설치합니다.
참고: 위 폴더를 사용하는 경우 다음 명령을 실행하기 전에 이름을 바꾸는 것이 좋습니다.
apt-get install ispconfig-git --no-install-recommends
2.4 ISPConfig 설치
참고: 보안, 저장소, 가상화, DNS, HTTP, IMAP, POP 및 SMTP 역할과 같은 ISPConfig 구현에 더 많은 기능을 추가하려면 이 명령을 실행하기 전에 해당 기능을 설치해야 합니다. 자세한 내용은 ISPConfig 공식 문서를 참조하십시오.
apt-get install ispconfig --no-install-recommends
--------------------------------------------------------------------------------
_____ ___________ _____ __ _ ____
|_ _/ ___| ___ \ / __ \ / _(_) /__ \
| | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
| | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
_| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
__/ |
|___/
--------------------------------------------------------------------------------
>> Initial configuration
Operating System: Debian or compatible, unknown version.
Following will be a few questions for primary configuration so be careful.
Default values are in [brackets] and can be accepted with <ENTER>.
Tap in "quit" (without the quotes) to stop the installer.
Select language (en,de) [en]: <- enter
Installation mode (standard,expert) [standard]: <- enter
Full qualified hostname (FQDN) of the server, eg server1.domain.tld [1a.ncomputers.org]: <- enter
MySQL server hostname [localhost]: <- enter
MySQL server port [3306]: <- enter
MySQL root username [root]: <- enter
MySQL root password []: <- enter
MySQL database to create [dbispconfig]: <- enter
MySQL charset [utf8]: <- enter
[INFO] service Postgrey not detected
[INFO] service Postfix not detected
[ERROR] Postfix not installed - skipping Mail
[INFO] service Jailkit not detected
Configuring Pureftpd
[INFO] service BIND not detected
[INFO] service MyDNS not detected
Configuring Apache
Configuring vlogger
[INFO] service OpenVZ not detected
[INFO] service Ubuntu Firewall not detected
[INFO] service Bastille Firewall not detected
[INFO] service Metronome XMPP Server not detected
[INFO] service Fail2ban not detected
Configuring Apps vhost
Installing ISPConfig
ISPConfig Port [8080]: <- enter
Admin password [admin]: <- enter
Do you want a secure (SSL) connection to the ISPConfig web interface (y,n) [y]: <- n
Configuring DBServer
Installing ISPConfig crontab
Installing ISPConfig crontab
no crontab for root
Detect IP addresses
Restarting services ...
Restarting Apache httpd web server: apache2.
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -O clf:/var/log/pure-ftpd/transfer.log -b -8 UTF-8 -J ECDHE:AES256-SHA:AES128-SHA:DES-CBC3-SHA:!RC4 -H -C 64 -c 1024 -A -E -F /etc/pure-ftpd/welcome.msg -D -B
Installation completed.3 ISPConfig 성장 촉진
모든 유형의 피드백과 기여는 ISPConfig의 성장을 촉진할 것입니다. 이 실험적 기능이 유용하기를 바라며 해당 종속성이 있는 더 많은 데비안 패키지를 추가하려고 노력할 것입니다.