For CentOS/Ubuntu:
-
Run:
sudo apt install apache2 mysql-server php php-mysql
(Ubuntu) oryum install httpd mariadb-server php php-mysql
(CentOS). -
Start services with
systemctl start
commands. -
Secure MySQL:
mysql_secure_installation
-
Place files in
/var/www/html
.