# cms Original Author: Matt Doyle Updates: Robert S. ## SETUP from MySQL Root run: ``` Change this password SJ6G*WyaV7PvvEts@vxjm below! $ mysql -u root -p > CREATE USER 'zoombox'@'localhost' IDENTIFIED BY 'SJ6G*WyaV7PvvEts@vxjm'; > GRANT ALL ON cms.* TO 'zoombox'@'localhost'; > create database cms; ``` ## Import the tables.sql file: ``` $ mysql -u cms -p cms < tables.sql enter this password when prompted: SJ6G*WyaV7PvvEts@vxjm ``` The config.php file is in the protected/src folder. ``` define( "BLOG_NAME", "Widgetz Newz" ); // Display Name for Titles ``` ## Create the .env secrets file ``` $nano .env DB_TYPE=mysql DB_HOST=127.0.0.1 DB_NAME=cms DB_USERNAME=zoombox DB_PASSWORD=SJ6G*WyaV7PvvEts@vxjm ADMIN_USERS=zug:SunSet@XQWET,zig:546Poker@xzyWhy ``` ## PHP Deps ``` PHP gd and mysql must be installed: $ sudo apt-get install php8.3-gd $ sudo apt-get install php8.3-mysql ```