Skip to content

piktokenn/PHP-AI--Content-GEN

Repository files navigation

Installation Creating the database Create a new MySQL database. Create a new MySQL username and password. Assign full privileges to your database username.

|

AAPanel installation


#Centos

yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh aapanel


# Ubuntu/Deepin 

wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh aapanel

Software Modules

PHP 8.0.x PHP 8.1.x BCMath, Ctype, Fileinfo, JSON, Mbstring, OpenSSL, PDO, Tokenizer, XML, GD, cURL Apache 2+ mod_rewrite MySQL 5.7.7+ MariaDB 10.3.17+ OpenAI gpt-3.5-turbo or gpt-4, DALL·E, Whisper

Cron job

The software requires a cron job task to be set up on your server in order to automate some of its functions.

Go to Admin Settings Cron job. Copy the Command field and set up a cron job for it that runs every minute. Useful resources https://forum.aapanel.com/d/273-how-to-run-a-php-file-with-cron-job/5

Type of cron job.

Execution cycle

Every Min

Script content



"wget -q -O /dev/null http://your.domain/cronjob?key=K0TQlmXNm0vEYGbC3pLDAqSmCDW0bgpT"

.

Screenshot from 2023-09-26 14-12-09

Screenshot from 2023-09-26 14-37-33

Screenshot from 2023-09-26 14-10-55