Create a shell setup script for a LAMP stack
We need a shell script to simply create PHP development environments using vmware workstation (no docker or vagrant).
We create a vm using vm workstation 12 pro, and install a recent debian (you specify version and download link.) You will instruct us what settings the vm shall have (ram, networking etc.)
Then we wget your non-interactive shell script (and if needed, zip file) from our server and run it. Once it is done, we have a system that matches following requirements:
- It can be accessed from host mashine (running win7 btw.) via http and ssh (putty) using some ip
- It can access the internet for installing packages, wget etc.
- It has PHP 5.4.x, PHP 5.6.x and PHP 7.x installed. The PHP version can be selected via AddHandler in the .htaccess file.
- All php.ini's are non-restrictive, allowing long run time, high memory usage (512mb) and big file sizes.
- For every PHP version, xDebug, Zend Guard/Loader and ionCube are installed.
-xDebug is set to connect to host mashines php IDE (phpStorm). Remote debugging and Profiling can be initiated by GET parameters. Furthermore The IDE can start a debug session and use break points, variable introspection etc. Specify any settings that need to be taken.
- It has MySql 5.5 running.
- MySQL can be accessed from the host mashine via IP.
- It has mysqladmin installed.
- MySqlAdmin is able to create new users and databases
CREDENTIALS: Wherever possible, both username and password is "euroxid". Otherwise, use root/root and specify where.
System will run on a local, secure mashine, so no security at all is required.
I will use a german keyboard, i.e. the button next to the right shift is a hypen (minus)
Provide a step-by-step documentation on how to:
1) Set up VM
2) Where to upload projects
-- Then we will connect with putty, wget/unzipping a php-project like magento or wordpress, and use the web based installer to set it up --
2) How to start a remote debug session
You are free to copy as mutch as you wish from other sources, eg bitnami, docker, vagrantfiles - but the result must be an independent file that can run on a fresh debian installation.