apps installed when logged in as root... how to harden the server from here?

view story

https://www.centos.org – greetings!when i configured centos on the server i am presently using, i did not fully appreciate the issues with using the root login.. so i installed php, phpmyadmin, nginx, iredmail ... [by tunist] (HowTos)