Appearance
VPS Server Installation
Choose your preferred deployment method for installing Mentor LMS on a VPS server.
Docker
Quick Start
1. Build the Application
bash
docker build -t mentor-lms .2. Setup Options
Option A: With Docker MySQL (Recommended)
bash
# Create network
docker network create mentor-network
# Run MySQL container
docker run -d --name mysql --network mentor-network \
-e MYSQL_ROOT_PASSWORD=rootpassword \
-e MYSQL_DATABASE=mentor_lms \
-e MYSQL_USER=mentor_user \
-e MYSQL_PASSWORD=your_password \
-p 3306:3306 mysql:8.0
# Run application
docker run -d --name mentor-lms-app --network mentor-network -p 8080:80 mentor-lmsDatabase Configuration:
- Host:
mysql - Port:
3306 - Database:
mentor_lms - Username:
mentor_user - Password:
your_password
Option B: With External MySQL
bash
docker run -d -p 8080:80 --name mentor-lms-app mentor-lms3. Access Application
- Open your web browser
- Navigate to your domain:
https://your-domain.com - You will be automatically redirected to the installation wizard
- If not redirected, manually visit:
https://your-domain.com/install/step-1
Management Commands
bash
# View containers
docker ps -a
# View logs
docker logs mentor-lms-app
# Access container shell
docker exec -it mentor-lms-app bash
# Stop and remove
docker stop mentor-lms-app && docker rm mentor-lms-app
# Restart services
docker restart mentor-lms-app mysqlaaPanel
aaPanel is a free, open-source web hosting control panel for Linux servers.
Installation Steps
1. Install aaPanel
bash
# For Ubuntu/Debian
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh aapanel
# For CentOS
wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && sudo bash install.sh aapanel2. Access aaPanel
After installation, note the panel URL, username, and password displayed in the terminal.
3. Install Required Software
From aaPanel dashboard:
- Install Nginx or Apache
- Install PHP 8.2 (enable required extensions)
- Install MySQL 8.0
- Install phpMyAdmin (optional)
4. Create Website
- Go to Website → Add Site
- Enter your domain name
- Select PHP version: 8.2
- Create database for the site
5. Upload Mentor LMS
- Upload the Mentor LMS ZIP file via File Manager
- Extract to your website directory
- Set proper permissions (755 for directories, 644 for files)
6. Configure Database
- Create database via Database section
- Note database credentials
- Access your domain to start web installer
7. Complete Installation
- Open your web browser
- Navigate to your domain:
https://your-domain.com - You will be automatically redirected to the installation wizard
- If not redirected, manually visit:
https://your-domain.com/install/step-1
Dokploy
Dokploy is a modern deployment platform for Docker applications.
Installation Steps
1. Install Dokploy
bash
curl -sSL https://dokploy.com/install.sh | sh2. Access Dokploy Dashboard
After installation, access the dashboard at: http://your-server-ip:3000
3. Create New Application
- Click Create Application
- Select Docker as deployment type
- Configure application settings:
- Name:
mentor-lms - Port:
80
- Name:
4. Configure Build
- Upload your Mentor LMS files or connect Git repository
- Set Dockerfile path if needed
- Configure environment variables
5. Add MySQL Database
- Go to Databases → Add Database
- Select MySQL 8.0
- Configure database:
- Database name:
mentor_lms - Username:
mentor_user - Password: (set secure password)
- Database name:
6. Deploy Application
- Click Deploy button
- Monitor deployment logs
- Wait for successful deployment
7. Access Application
- Open your web browser
- Navigate to your domain:
https://your-domain.com - You will be automatically redirected to the installation wizard
- If not redirected, manually visit:
https://your-domain.com/install/step-1
Laravel Cloud
Laravel Cloud provides managed hosting optimized for Laravel applications.
Installation Steps
1. Create Account
Visit Laravel Cloud and create an account.
2. Create New Server
- Click Create Server
- Select your preferred cloud provider (AWS, DigitalOcean, etc.)
- Choose server size (minimum 2GB RAM recommended)
- Select region closest to your users
3. Create Database
- Go to Databases section
- Click Create Database
- Configure:
- Name:
mentor_lms - Type: MySQL 8.0
- Name:
4. Deploy Application
- Click Create Site
- Enter your domain name
- Select Deploy from ZIP or connect Git repository
- Upload Mentor LMS package
5. Configure Environment
- Go to Environment tab
- Set database credentials:env
DB_CONNECTION=mysql DB_HOST=localhost DB_PORT=3306 DB_DATABASE=mentor_lms DB_USERNAME=your_username DB_PASSWORD=your_password
6. Run Deployment
- Click Deploy button
- Monitor deployment process
- Wait for completion
7. Access Application
- Open your web browser
- Navigate to your domain:
https://your-domain.com - You will be automatically redirected to the installation wizard
- If not redirected, manually visit:
https://your-domain.com/install/step-1
Need Help?
If you encounter issues during installation:
- Contact support at support@ui-lib.com
Professional Installation
We offer professional installation services where our team will handle the complete setup for you.

