For CentOS/Ubuntu:

  1. Run: sudo apt install apache2 mysql-server php php-mysql (Ubuntu) or yum install httpd mariadb-server php php-mysql (CentOS).

  2. Start services with systemctl start commands.

  3. Secure MySQL: mysql_secure_installation

  4. Place files in /var/www/html.

Was this answer helpful? 0 Users Found This Useful (0 Votes)