This VM is created for 2 reasons: 1. Very little initial setup work required to Develop / Test / Deploy a Dynamic Web Application live, within minutes. 2. This system should keep running for Years, without requiring Updates / Breakages.
If you are new to Virtual Machines, then please watch the Video below ( taken from my other sample PHP project called teamdocs. You may cleanup this Application from the htdocs home folder link & its corresponding database, after logging into mysql. The mysql root login credentials, sample .mysql_history, sample .bash_history are all kept intact for quick references in the home folder. These files can be edited using the free FileZilla ftp client software. This is also explained in the video below. )
Once setup & running, please ensure that a Backup of the system, is taken regularly, to avoid any issues.
These are covered in the video. Google Search helps in finding more about PHP development / troubleshooting.
Features
- The acronym LAMP stands for: Linux: The operating system; Apache: The web server; MySQL: The database; PHP/Perl/Python: The programming language;
- Apart from Dynamic Applications, you can use this Virtual Machine, to host static webpages too, for the benefit of the entire local area network ( i.e. LAN environment )
- For graphical web based administration of the mysql / mariadb database, you can use either the adminer tool or the phpMyAdmin tool. A copy of both these tools are kept in the Files tab, on this website, for easy access. As mentioned earlier, these tools need to be copied to the htdocs home folder link and then accessed on the internet browser.
- A small correction in the Video below: Choose a LAN Card Network Adapter Connection in Virtualbox ( Not Wifi ), after connecting your PC to your Router / Switch, with a LAN Cable. If the Router / Switch has a DHCP Server enabled inside, then the Virtual Machine, will be able to obtain an IP Address from it, quickly.
- As this system is meant for local network usage, it uses a self-signed https certificate. Hence, browsers will throw a warning for the first time. Please accept the same and proceed ahead.
- Please save this webpage completely, for future references.
- If you need a LAPP Package as well (i.e. Postgresql based), then you can view my other project : https://sourceforge.net/projects/lapp-package-in-virtual-machin/
- If you are deploying an Application from some other Developer, you might benefit by watching this additional Youtube video : https://youtu.be/ePerwxLMvHY
- Increase CPU Count and Memory in the VM's Settings, as required, for better performance