How To install MP3 Converter Pro (Update v3.0.5-beta5) on aaPanel (recommended)

Requirements

#

Recommended

Software YouTube Video Backend
Server VPS, Cloud, or Dedicated (Get 20€ Free Cloud Server Credits)
Linux OS Debian 10 / Ubuntu 20.04
Web Panel aaPanel
Web Server Apache 2.4
Web Server Mods mod_rewrite (URL rewriting)
PHP 7.4 (8.x not yet supported)
PHP Extensions ionCube Loader, cURL, fileinfo, redis
PHP Functions enabled putenv, exec, chown, pcntl_signal, pcntl_alarm, popen, proc_open, dl, apache_setenv
Database MySQL 8 / MariaDB 10.7
Conversion Software FFmpeg & FFprobe static build
Processes Control Supervisor
In-Memory Database / Cache Redis

 

1) In aaPanel, click on "Website" in the left-hand menu, and then click on your MP3ConverterPro Domain's Document Root directory value

 

2) Delete all automatically created files. (Ignore .user.ini, because it can't be deleted.)

3) Upload the "MP3ConverterPro-v3.zip" distribution file (via Drag & Drop) and click Upload. After Successful Upload, close the Upload window.

 

4) Now, click on Terminal

 

5) Unpack the ZIP file on your Server, move files to the domain's web root directory, and delete temporary files/folders

sudo -u www unzip MP3ConverterPro-v3.*.*.zip && mv mp3converterpro/* mp3converterpro/.??* . && rm -rf mp3converterpro MP3ConverterPro-v3.*.*.zip

 

 

6) Install dependencies via Composer

sudo -u www composer install --no-dev

 

 

7) In aaPanel, click on "Website" in the left-hand menu, click on your MP3 Converter Pro Domain (in the "Site name" column), go to Site Directory > Running directory, set the value to "/public", and click save

 

8) Navigate to the "public" folder, open .user.ini, and change its content to:

open_basedir=

 

9) Navigate to your Domain

https://YourDomain.com/installer

 

10) Enter your Database and Redis Login Details into the installer form and press Continue

 

11) on the next installer page, verify all requirements pass with "Yes" and press "Migrate" on the Database section

 

12) Open the file config/horizon.php scroll down to Line 185 and edit the max Processes value.


'production' => [
 'supervisor-1' => [
    'maxProcesses' => 10, // CPU THREADS x 4 on Dedicated Servers or vCores x 2 on VPS/Cloud Servers
    'balanceMaxShift' => 1,        
'balanceCooldown' => 3,
], ],

 

13) In aaPanel, click on "App Store" in the left-hand menu, click the "Installed" button at the top of the page, find "Supervisor" in the resulting list of software, click on its Settings, and configure Supervisor (for the Download Queue)

Name: Horizon_Worker
Run User: www
Run Dir: /www/wwwroot/yoursite.com/
Start Command: php artisan horizon
Processes: 1

 

 

 

14) In aaPanel, click on "Cron" in the left-hand menu, and then set up a Cron Job to delete old, cached files

Type of Task: Shell Script
Name of Task: Delete File Cache
Execution cycle: N Minutes 5 Minute
Script content: php /www/wwwroot/yoursite.com/artisan schedule:run

15) Navigate to the Admin Panel and log in with the following credentials:

http://yoursite.com/admin

Login: admin@admin

Password: 12345678

...Then click on the "admin" dropdown menu (at the top-right of page), select Profile, and update your Email and Password

 

16) In the Admin Panel, click on Settings, go to License Settings, add your Product License key, and then click the corresponding Save button. On the same page, go to Backend Settings, add your Backend URL and API key, and then click its corresponding Save button.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To add new Pages/Routes in MP3 Converter Pro

1) How To add a new Page like "domain.com/youtube-to-mp3" that displays the homepage? Open...

How To install MP3 Converter Pro on Plesk

Requirements # Recommended Server VPS, Cloud, or Dedicated (Get 20€ Free...

How To install MP3 Converter Pro on aaPanel (recommended)

Requirements # Recommended Server VPS, Cloud, or Dedicated (Get 20€ Free...