I'm trying to set up (Virtual Box + CentOS) with (nginx + PHP + MySql) on MacOS, the future I can coding on MacOS then throw file to the share folder with (Virtual Box + CentOS) and execute on (nginx + PHP + MySql).
But I have problem I can make browser on MacOS read the file direction, I do find the keyword like port forwarding but still not work.
I did below step to install
install CentOS and setting config
1. install CentOS minimal version
2. after installed CentOS,
3. edit file
change some line
ONBOOT="yes" MM_Controlled="no" BOOTPROTO=dhcp
- restart network
service network restart
install (nginx + PHP + MySql)
setting Port Forwarding
6. in VirtualBox app click Setting on toolbar > click Network > click Port Forwarding fill
Name >>>> Protocol >>>> Host IP >>>> Host Port >>>> Guest IP >>>> Guest Port CentOS >>>> TCP >>>> 126.96.36.199 >>>> 8080 >>>> 10.0.2.15 >>>> 80
after I type
188.8.131.52:8080/info.php nothing respond.
Did I miss something ??