# CMS Setup ### 1. Cấu hình VPS - Cấu hình tối thiểu: - CPU: 1 - Ram: 2GB - SSD: 20GB - Hệ điều hành: `ubuntu 16.04` ### 2. Cài đặt php - php7.1 - php7.1-cli php7.1-common php7.1-json php7.1-opcache php7.1-mysql php7.1-mbstring php7.1-mcrypt php7.1-zip php7.1-fpm, php7.1-xml, php7.1-gd ### 3. Cài đặt Composer - B1. Cài composer (https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-18-04) - B2. Chạy `Composer install` ### 4. Mysql - Cài mysql - Import database ### 5. Cấu hình env - `cp .env.example .env` - Cấu hình thông tin `DATABASE`, `DB_USER`, `DB_PASSWORD`, `MAIL`,... ### 6. Cấu hình nginx - Trỏ về thư mục `public` của cms - Vd: `root /var/www/sites/CMS/public;`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up