본문으로 건너뛰기
50% 할인 모든 플랜, 기간 한정. 시작 가격 $2.48/mo
LiteCart

LiteCart

LiteCart는 PHP, HTML 5, CSS 3으로 만든 온라인 판매자용 경량 전자상거래 플랫폼입니다. 대형 프레임워크의 부담 없이 스토어를 운영하세요. GitHub 스타 230개 이상.

한눈에 보기

236

GitHub 스타

10

페이지 조회수

라이선스 CC-BY-ND-4.0 버전 Latest OS Ubuntu 24.04 LTS Min RAM 1 GB IP IPV4

접속

  • 상점 URL: https://<SERVER_IP>
  • 관리자 URL: https://<SERVER_IP>/<ADMIN_FOLDER>/ (stored in /root/.cloudzy-creds)
  • 자체 서명 SSL 인증서가 구성되어 있습니다. 브라우저에 인증서 경고가 표시될 수 있으며, 계속 진행하면 사이트에 접속됩니다.
  • 로그인 자격 증명 저장 위치: /root/.cloudzy-creds

중요한 파일 및 디렉토리

  • 사이트 디렉터리: /var/www/litecart
  • LiteCart 설정: /var/www/litecart/includes/config.inc.php
  • Apache 설정: /etc/apache2/sites-available/litecart.conf
  • SSL 인증서: /etc/apache2/ssl/litecart.crt
  • SSL 개인 키: /etc/apache2/ssl/litecart.key
  • 데이터베이스 자격 증명: /root/.cloudzy-creds

Apache 관리

상태 확인:

systemctl status apache2

Apache 재시작:

systemctl restart apache2

Apache 로그 보기:

journalctl -u apache2 -f

구성을 검증하세요:

apache2ctl configtest

도메인으로 HTTPS 활성화하기

1. 도메인을 서버 IP로 지정하세요.

2. 편집 /etc/apache2/sites-available/litecart.conf 그리고 둘 다 교체하세요: ServerName <SERVER_IP> 지시문을 도메인으로 (예: ServerName yourdomain.com;).

3. Certbot 설치:

apt install -y certbot python3-certbot-apache

4. Let's Encrypt 인증서를 발급받으세요:

certbot certonly --apache --non-interactive --agree-tos --email [email protected] -d yourdomain.com

5. 편집하세요: /etc/apache2/sites-available/litecart.conf and replace the SSL certificate paths.

Before:
    SSLCertificateFile /etc/apache2/ssl/litecart.crt
    SSLCertificateKeyFile /etc/apache2/ssl/litecart.key
After:
    SSLCertificateFile /etc/letsencrypt/live/yourdomain.com/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/yourdomain.com/privkey.pem

6. 변경 사항을 적용하려면 Apache를 다시 로드하세요:

systemctl reload apache2

7. 브라우저를 열고 방문: https://yourdomain.com

셀프 호스팅의 더 보기

관련 앱.

Deploy LiteCart now. 월 $2.48부터.