서버 설정
ComusThumbz에 대한 서버 설정
이 가이드는
이 가이드는 ComusThumbz를 실행하기 위해 웹 서버를 설정하여 걷습니다. 호스팅 환경 단계별, cPanel 또는 HestiaCP와 같은 제어판을 사용하거나 신선한 서버를 직접 설정하는 방법을 배울 수 있습니다.
이 가이드의 끝에 서버가 모든 비디오 처리, 이미지 처리 및 사이트 기능을 사용하여 ComusThumbz를 설치하고 실행할 준비가 될 것입니다.
[스크린 샷: 페이지 오버뷰]
이 가이드는
이 가이드는 ComusThumbz에 대한 서버를 준비해야하는 사이트 소유자에 대한 서면. 이 가이드를 사용해야 합니다:
- 호스팅 또는 서버를 구입하고 그것을 구성해야합니다.
- ComusThumbz 를 새 서버에 마이그레이션
- 현재 서버가 제대로 작동하지 않으며 설치를 수정해야 합니다.
이 가이드를 따르는 프로그래밍 또는 고급 기술 지식이 필요하지 않습니다. 우리는 각 호스팅 유형에 대해 명확하고 단계별 지침을 제공합니다.
호스팅 유형 선택
ComusThumbz는 여러 종류의 호스팅에서 실행할 수 있습니다. 각 것을 알아야 할 것:
호스팅 유형 비교
서버가 필요한 것
최소, 호스팅 필요:
- 1개 GB 렘 (4 GB 이상 비디오 사이트에 권장)
- 1개의 CPU 핵심 (4+ 핵심 권장)
- 10 GB 디스크 공간 (주요 내용에 따라 달라집니다)
- Ubuntu 20.04+ 또는 유사한 리눅스 운영 체계
Setup 프로세스 이해
당신이 선택하는 유형을 호스팅하는 사정 없음, 설정 과정은 다음과 같은 기본적인 단계를 따릅니다:
- 소프트웨어 버전 선택 - 최근, 호환 소프트웨어가 있는지 확인
- 설정 구성 - 비디오 업로드에 제한 및 권한 조정
- 필수 도구 - 비디오 및 이미지 처리 소프트웨어 추가
- ComusThumbz 파일을 업로드 - 서버에서 응용 프로그램을 넣어
- 설정 권한 - 소프트웨어가 읽기 및 쓰기 파일을 확인
- 일정 자동화 작업 - 영상을 처리하는 배경 작업 설정
- 설치 프로그램을 실행 - 웹 브라우저를 통해 설정 완료
특정 호스팅 유형의 각 단계를 통해 걸어갈 수 있습니다.
cPanel 호스팅 설정
cPanel은 공유 및 VPS 호스팅에서 가장 일반적인 제어 패널입니다. 다음은 ComusThumbz에 대해 구성하는 방법입니다.
단계 1: 당신의 PHP 버전을 선택하십시오
- cPanel 계정으로 로그인
- 자주 묻는 질문 소프트웨어
- 이름 * MultiPHP 관리자
- 당신의 도메인 이름 옆에 상자를 체크하십시오
- 드롭다운에서, 선택 PHP의 8.3 (또는 유효한 가장 높은 8.x 버전)
- 이름 * 지원하다
[스크린 샷 : Xhamster-php-version]
단계 2: PHP 설정 조정
- 바로가기 소프트웨어 이름 *
- 이름 * MultiPHP INI 편집기
- 제품정보 편집 모드 맨 위로
- 드롭다운에서 도메인을 선택하세요.
- 이 설정 찾기 및 업데이트:
- 이름 * 제품 정보 맨 위로
단계 3: Enable 영상 처리 기능
공유 호스팅에서, 당신은 스스로 할 수 없습니다. 호스팅 제공 업체에 문의하고 해당 PHP 기능을 귀하의 계정에 사용하도록 요청하십시오.
지원하다
- 사이트맵지원하다
- 패스트루
- 사이트맵(주)
- 뚱 베어
그들에게 말씀 하셨다 : "나는 내 사이트에 비디오 처리를 위해이 기능을 활성화해야합니다."
WHM 액세스 (VPS 또는 리셀러 호스팅)가있는 경우 :
WHMGo에 로그인 서비스 구성 · PHP 구성 편집기
- 설정 찾기 기타 제품제품정보
- 그 라인에서 위의 함수를 제거
- 이름 * 제품 정보 · 관련 기사
4 단계 : 데이터베이스 만들기
- cPanel에서 이동 관련 기사 · MySQL 데이터베이스
- 이름 * 새 데이터베이스 만들기, 같은 이름을 입력
comus - 이름 * 데이터베이스
- 기타 제품 새 사용자 추가
- 비밀번호 찾기
- 이름 * 사용자 정의
- 기타 제품 Database에 사용자 추가
- 드롭다운에서 데이터베이스 및 사용자를 선택하십시오.
- 이름 * 기타 제품
- 기타 모든 PRIVILEGES 다음 화면에
- 이름 * 자주 묻는 질문
5 단계 : ComusThumbz 파일을 업로드
Option A: 파일 관리자 사용
- cPanel에서 이동 파일 형식 · 파일 관리자
- 탐색하기 한국어사이트맵 파일 형식
- 이름 * 제품정보 맨 위로
- ComusThumbz zip 파일을 업로드
- 업로드되면 zip 파일을 마우스 오른쪽 단추로 클릭하고 선택 제품 정보
- 추출 후 zip 파일을 삭제
옵션 B : FTP 사용
- FileZilla 또는 WinSCP와 같은 FTP 프로그램을 사용하십시오
- 이 세부사항을 사용하여 연결:
- 호스트: yourdomain.com 또는 ftp.yourdomain.com
- 사용자 이름: cPanel 사용자 이름
- 비밀번호: cPanel 비밀번호
- 본문 바로가기html 폴더
- 이 폴더에 모든 ComusThumbz 파일을 업로드
6단계: 자동화된 작업 설정
ComusThumbz는 비디오 처리 및 사이트 유지에 매 분마다 배경 작업을 실행해야합니다.
- cPanel에서 이동 지원하다 · Cron 작업
- 이름 * 새로운 Cron 작업 추가, 타이밍을 설정:
(매분) - 내 계정 이름 * 상자, 입력:
기타 제품 username 실제 cPanel 사용자 이름.
- 이름 * 새로운 Cron 작업 추가
7 단계 : 설치 완료
- 웹 브라우저 열기
- 바로가기:
https://yourdomain.com/install/ - 7단계 설치 마법사를 따라
- 데이터베이스에 대해 물었을 때, 단계 4에서 정보를 사용
- 설치 완료 후 삭제
/install/파일 형식
HestiaCP 설정 (VPS)
HestiaCP는 가상 사설 서버를 위한 무료, 현대 제어반입니다. 공유 호스팅보다 더 많은 컨트롤을 제공합니다.
Step 1: 도메인 추가
- HestiaCP에 로그인
https://your-server-ip:8083 - 자주 묻는 질문 웹 사이트 상단에 탭
- 녹색을 클릭 웹 도메인 추가 기타 제품
- 도메인 이름
- 자주 묻는 질문 SSL 지원
- 자주 묻는 질문 암호화하자
- 이름 * 제품 정보
[스크린 샷: hestiacp-add-domain]
단계 2: PHP 버전을 선택
- 여행 정보 웹 사이트 탭 탭
- 도메인 찾기
- 옆에 렌치 아이콘을 클릭
- 으로 PHP를 dropdown, 선택 PHP의 8.3
- 이름 * 제품 정보
단계 3: SSH를 통해 연결
나머지 단계의 경우 SSH를 사용하여 서버에 연결해야합니다. 명령을 직접 입력할 수 있습니다.
Windows에서:
- 다운로드 PuTTY 또는 Windows 터미널 사용
- 서버의 IP 주소에 연결
- 항구 22를 사용하십시오
- HestiaCP 사용자 이름 및 암호로 로그인
Mac/리눅스에서:
- 공지사항
- 유형:
ssh username@your-server-ip - 비밀번호 입력
단계 4: Enable 영상 가공
기본적으로 HestiaCP는 비디오를 처리하는 데 필요한 기능을 비활성화합니다. 수정하자.
이 명령을 한 번에 입력:
이 텍스트 편집기를 엽니다. 검색하려면 Ctrl + W를 눌러 다음 유형 disablefunctions 자주 묻는 질문
다음과 같은 긴 줄을 볼 수 있습니다.
줄에서 이러한 단어를 제거: exec,passthru,shellexec,procopen,popen
Ctrl + X를 출구로 눌러 Y를 저장 한 다음 Enter to check.
지금 PHP를 다시 시작:
단계 5: 업로드 제한을 조정
여전히 SSH에서, 같은 명령을 실행하여 PHP 구성을 편집합니다.
Ctrl+W를 사용하여 이러한 값을 검색하고 업데이트하십시오.
- 관련 기사
memorylimit그리고 그것을 바꾸기512M - 관련 기사
maxexecutiontime그리고 그것을 바꾸기600 - 관련 기사
uploadmaxfilesize그리고 그것을 바꾸기500M - 관련 기사
postmaxsize그리고 그것을 바꾸기500M - 관련 기사
maxinputvars그리고 그것을 바꾸기10000
저장 (Ctrl + X, 다음 Y, 다음 Enter) 및 재시작:
단계 6: 비디오 처리 소프트웨어 설치
ComusThumbz 사용 FFmpeg 처리 비디오. 설치 :
그것은 작동 :
버전 정보를 볼 수 있습니다. 오류가 있으면 FFmpeg가 올바르게 설치되지 않았습니다.
단계 7: 파일 업로드
HestiaCP에서 다시 (브라우저에서):
자주 묻는 질문 첨부파일 탭 탭
- 로그인:
/home/username/web/yourdomain.com/publichtml/ - 이름 * 제품정보 ComusThumbz zip 파일을 선택하십시오.
- 업로드 후, 클릭 제품 정보 zip 파일에
- zip 파일 삭제
8 단계 : 자동화 된 작업을 설정
SSH, 유형에 있는 뒤:
에디터를 선택하는 경우, 선택 나노 (보통 옵션 1).
아래에서이 라인을 추가하십시오.
기타 제품 username · yourdomain.com 실제 값으로.
저장 (Ctrl + X, 다음 Y, 다음 Enter).
단계 9: 완전한 임명
- 브라우저에서:
https://yourdomain.com/install/ - 설치 마법사를 따르십시오
- 완료 후, 삭제
/install/파일 형식
Plesk 설정
Plesk는 VPS 및 전용 서버를위한 인기있는 제어 패널입니다.
Step 1: 도메인 추가
- Plesk에 로그인
- 이름 * 웹 사이트 및 도메인 왼쪽에
- 이름 * 도메인 추가
- 도메인 이름을 입력하고 설정 설정
- 이름 * SSL/TLS 지원 그리고 선택 암호화하자
- 이름 * 이름 *
단계 2: PHP 구성
- 이름 * 웹 사이트 및 도메인, 도메인 찾기
- 이름 * PHP 설정
- 제품정보 PHP의 8.3 (FPM 신청)
- 아래로 스크롤하고 이러한 값을 설정:
- 이름 * 지원하다 또는 이름 *
단계 3: Enable 영상 처리 기능
PHP 설정에서 여전히:
- 제품정보 추가 지시어 이름 *
- 이 선을 추가하십시오:
(그냥) disablefunctions = 동일 기호 후에 아무것도)
- 이름 * 지원하다 또는 이름 *
단계 4: FFmpeg 설치
SSH를 통해 서버에 연결하고 실행:
Ubuntu/Debian 서버의 경우:
CentOS/AlmaLinux 서버의 경우:
인증:
5 단계 : 데이터베이스 만들기
- Plesk에서 이동 관련 기사
- 이름 * 데이터베이스
- 데이터베이스 이름을 입력:
comusthumbz - 비밀번호 찾기
- 모든 권한 부여
- 이름 * 이름 *
단계 6: 파일 업로드
옵션 A: Plesk 파일 관리자
- 바로가기 파일 형식 에 Plesk
- 바로가기
httpdocs/ - ComusThumbz 파일을 업로드
선택권 B: FTP/SFTP
아래 Plesk에 표시된 자격 증명을 사용하십시오. FTP 액세스
Step 7: 자동화된 작업 설정
- 귀하의 도메인에서, 클릭 시간표
- 이름 * 작업 추가
- 각 분을 실행하는 일정 설정:
- 명령:
- 이름 * 이름 *
8 단계 : Installer 실행
바로가기 https://yourdomain.com/install/ 설정 완료.
Cloudways 설정
Cloudways는 사용하기 쉬운 패널로 관리 된 클라우드 호스팅을 제공합니다.
단계 1: 당신의 신청을 발사하십시오
- Cloudways에 로그인
- 이름 * 시작 · 제품 설명
- 제품정보 사용자 정의 PHP 신청 유형으로
- 서버 크기를 선택하십시오 (2 GB RAM 최소 권장)
- 클라우드 공급자 선택 (DigitalOcean, Vultr, AWS 등)
- 응용 프로그램 및 서버의 이름 입력
- 이름 * 시작
서버에 대한 몇 분을 기다립니다.
단계 2: PHP 구성
- 자주 묻는 질문
- 바로가기 Application 설정 · PHP 설정
- 이 값을 설정:
- PHP 버전: 8.3명
- 기억 한계: 512만
- 최대 실행 시간: 600명
- 최대 파일 업로드: 1000년
- 포스트 최대 크기: 1000년
- 최대 입력 Vars: 10000 원
- 이름 * 자주 묻는 질문
단계 3: Enable 영상 가공
자주 묻는 질문 계정 관리 (응용되지 않음)Go to 설정 및 패키지 · 지원하다제품정보 PHP FPM 설정
- 비활성화기능 선, 제거:
exec·shellexec·passthru·procopen·popen - 자주 묻는 질문
단계 4: FFmpeg 설치
- Go to Server > Master Credentials
- Note the SSH username and password
- Connect via SSH using these credentials
- Run:
- Verify:
Step 5: Upload Files
- In Cloudways, go to your Application
- Note the SFTP details under Access Details
- Use an SFTP client to upload files to the
publichtml/folder
Step 6: Set Up Automated Tasks
In Cloudways, go to your ApplicationClick Cron Job ManagementClick Add Cron Job
- Schedule:
(every minute) - Command:
- Click Add
Step 7: Complete Installation
Visit https://yourdomain.com/install/ to complete setup.
Running the Installation Wizard
After setting up your server, the final step is running the ComusThumbz installer. This is the same process regardless of which hosting you chose.
How to Access the Installer
Open your web browser and go to:
Replace yourdomain.com with your actual domain.
The 7 Installation Steps
Step 1: Requirements Check
The installer automatically checks if your server is ready. You'll see a list of requirements with green checkmarks or red X marks.
Green checkmarks mean everything is fine. Red X marks mean something needs to be fixed before you can continue.
Common issues:
- Missing PHP extensions - go back and make sure you installed all required software
- Wrong PHP version - select PHP 8.3 in your control panel
- Permissions errors - contact your host for help
Click Next when all critical items are green.
Step 2: Database Setup
Enter the database information you created earlier:
Host: Usually localhost (don't change this unless your host said otherwise)
- Database Name: The name you created (like
comusthumbzorusernamecomus) - Username: Your database username
- Password: Your database password
- Table Prefix: Leave as
tbl(recommended)
Click Next. The installer will create all the database tables automatically.
Step 3: Configuration
The installer automatically sets up your configuration file. You don't need to do anything here - just click Next.
Step 4: Folder Setup
The installer creates all the folders needed for uploads, logs, and temporary files. Click Next.
Step 5: Default Data
The installer adds essential default data like categories and settings. Click Next.
Step 6: Admin Password
Choose a strong password for logging in to your admin panel. You'll use this to access:
Write down this password somewhere safe.
Click Next.
Step 7: Completion
You'll see a success message. The installer will remind you to delete the /install/ folder.
This is important: Delete the install folder right away for security.
To delete it:
- Go to your File Manager or FTP
- Find the folder called
installin your main directory - Delete it completely
Making Sure Everything Works
After installation, check these items to make sure your server is working correctly.
Test 1: Can You Access the Admin Panel?
Go to: https://yourdomain.com/ct/admin/
You should see the login page. Login with the password you created in Step 6 of installation.
If you see an error, your web server might not be configured correctly. Review the server setup steps for your hosting type.
Test 2: Are Background Tasks Running?
Wait about 5 minutes after setting up your cron job, then check if it's working.
Via cPanel/Plesk/Cloudways:
Use the File Manager to navigate to:
Open this file. You should see entries with timestamps showing the cron job is running.
If the file is empty or missing:
- Go back and check that you set up the cron job correctly
- Make sure you used the right path for your hosting type
- Wait a few more minutes and check again
Test 3: Can You Upload Videos?
- Log in to your admin panel
- Go to Content > Video Upload
- Try uploading a small video file (under 50 MB for testing)
- After upload completes, check the video status
The video should show as "Processing" or "Active" within a few minutes. If it stays "Pending" forever, your video processing isn't working - see the Troubleshooting section below.
Test 4: Is Your Site Secure?
Visit your site at: https://yourdomain.com
Look for the padlock icon in your browser's address bar. If you see "Not Secure" instead, your SSL certificate may not be installed correctly.
Troubleshooting Common Problems
Problem: Videos Stay "Pending" Forever
What you see: You upload a video, but it never finishes processing. It stays stuck at "pending" status.
How to fix it:
- First, check if your automated tasks are running (see Test 2 above)
- If the cron log is empty, your scheduled task isn't running - review Step 6 or 7 in your hosting setup
- If the cron is running, check if video processing functions are enabled:
- Go back to Step 3 in your hosting setup
- Make sure
execand related functions are enabled - Contact your host if you can't enable them yourself
- Check if FFmpeg is installed:
- Connect via SSH
- Type:
ffmpeg -version - If you see an error, FFmpeg isn't installed - go back to the FFmpeg installation step
Problem: Upload Fails with "File Too Large"
What you see: When uploading large videos, you get an error saying the file is too large.
How to fix it:
Go back to Step 2 in your hosting setup and make sure you set these values:
uploadmaxfilesize = 500Mpostmaxsize = 500M
Also, if you're using Nginx (you'll know if you set it up manually), you need to add this to your server configuration:
Problem: Can't Log In to Admin Panel
What you see: You go to https://yourdomain.com/ct/admin/ but see a 404 error or can't access it.
How to fix it:
- Make sure you deleted the
/install/folder after installation - Check that you uploaded all files correctly - there should be a folder called
ctwith anadminfolder inside it - Check file permissions - your web server needs to be able to read the files
- If you set up the server manually, make sure URL rewriting is enabled (modrewrite for Apache)
Problem: "Permission Denied" Errors
What you see: Various errors mentioning "permission denied" or "cannot write to file."
How to fix it:
The web server doesn't have permission to write to certain folders. You need to fix file permissions.
For cPanel/Plesk/Cloudways users:
Contact your hosting support and tell them: "I need the web server to have write permissions on the ct/logs, ct/uploads, and ct/cache directories."
For manual server setup:
Connect via SSH and run:
Problem: Database Connection Failed
What you see: During installation, you get "Connection refused" or "Access denied."
How to fix it:
- Double-check your database username and password - these are the most common mistakes
- Make sure the database exists - log in to your control panel and verify you created it
- Make sure the database user has ALL PRIVILEGES on the database
- Try using
localhostas the host (not your IP address or domain name)
Problem: Site Is Slow or Times Out
What you see: Pages take forever to load or you get timeout errors.
How to fix it:
- Check if you set
maxexecution_time = 600in your PHP settings - If you're on shared hosting, you may have hit resource limits - contact your host or upgrade to VPS
- Clear your browser cache and try again
- Check if your server has enough RAM - video sites need at least 1 GB, but 4 GB is better
ct/logs/php-error.log for clues about what's wrong.What to Do Next
Now that your server is configured and ComusThumbz is installed:
- Secure your admin panel - Change the default admin password to something strong
- Configure storage - Set up CDN or storage servers for your video files
- Add content - Start uploading videos and building your site
- Customize appearance - Adjust colors, logos, and layout to match your brand
- Set up payments - Configure payment processors if you plan to charge for content
Related Guides
Getting Help
If you're stuck and these troubleshooting steps don't help:
- Check the error logs in your control panel
- Look at
ct/logs/php-error.logfor error messages - Contact your hosting provider - they can check if your server meets requirements
- Review the step-by-step instructions for your hosting type again
- Your hosting type (cPanel, HestiaCP, etc.)
- Your PHP version
- The exact error message you're seeing
- What step you're on
This helps support give you faster, more accurate answers.
You're all set! Your server is ready to run ComusThumbz. Move on to configuring your site settings and adding content.