This VM is created for 2 reasons: 1. Very little initial setup work required to Develop / Test / Deploy a Dynamic Web Application live. 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 PHP project called teamdocs. Just replace td with lapp wherever mentioned )
Upload your PHP Files using the free FileZilla ftp client software, to this server called lapp.local and also connect to its postgresql db, using the free pgadmin gui client, from any PC on your LAN.
After the application / database is ready, you can access it using https://lapp.local from any LAN PC.
Backup the system regularly to avoid any issues.
These are covered in the video. Google Search helps in finding more about PHP development / troubleshooting.
Apart from Dynamic Applications, you can use this Virtual Machine, to host static webpages too, for the LAN environment.
Features
- The acronym LAPP stands for: Linux: The operating system; Apache: The web server; PHP/Perl/Python: The programming language; Postgresql: The Database
- 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.
- If you need a LAMP Package as well (i.e. Mysql based), then you can view my other project : https://sourceforge.net/projects/lamp-package-in-virtual-machin/
- Please save this webpage completely, for future references.
- The default username for system access is root and its default password is Change_this1
- The default username for database access is postgres and its default password is Change_this1
- 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