Day 18: Configure LAMP server

root@stapp01 html]# telnet 172.16.239.10 3306
Trying 172.16.239.10…
telnet: connect to address 172.16.239.10: No route to host.

Unable to connect to db server from the stapp01

Hi @servsanus

Did you install the MariaDB server on DB Server?

Yes. Mariadb is configured. Im able to ping the db server

Hi @servsanus

I doubt if the port you mentioned is the one asked in the task.
After installing MariaDB, did you configure the DB and user?

You also need to install httpd, php, an it’s dependencies php-mysqlnd, php-pdo, php-gd, and php-mbstring.

Try this solution, and see if it helps.