meta data for this page
Differences
This shows you the differences between two versions of the page.
develop:phplist_development_virtual_machine [2014/07/30 14:56] – external edit 127.0.0.1 | develop:phplist_development_virtual_machine [2017/05/21 21:59] (current) – michiel | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | ====== This is now outdated. Use Docker instead. (May 2017) ====== | ||
+ | |||
+ | [[Docker|docker setup guide]] | ||
+ | |||
+ | |||
+ | === phpList virtual machine === | ||
+ | |||
+ | In order to work on phpList, you may try to set up the virtual machine with phpList. | ||
+ | |||
+ | You will need [[http:// | ||
+ | |||
+ | Once you have VirtualBox installed, you can download the [[https:// | ||
+ | |||
+ | When you set up the virtual machine, you need to make sure it gets an IP address in your local network. To do that, set the network adapter to be a Bridged Adapter. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | Fire up the machine, and wait until you get the login prompt | ||
+ | |||
+ | < | ||
+ | phplist login: | ||
+ | </ | ||
+ | |||
+ | |||
+ | Type username phplist, password phplist | ||
+ | |||
+ | Once you're in, run the command | ||
+ | |||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | to find the IP address of your server, on the line where it says //inet addr// | ||
+ | |||
+ | In my case the address is **192.168.1.85** | ||
+ | |||
+ | Now go to your browser and load | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | </ | ||
+ | |||
+ | I have put the IP address in my hosts file, and pointed " | ||
+ | |||
+ | Login is " | ||
+ | |||
+ | You can now also **ssh** to the machine, using | ||
+ | < | ||
+ | ssh 192.168.1.85 -l phplist | ||
+ | type password phplist | ||
+ | </ | ||
+ | |||
+ | The machine is set to update the code every hour. To change the location of the code, and point to your own clone, you need to do the following, once logged in to the machine | ||
+ | |||
+ | < | ||
+ | cd phplist | ||
+ | git remote remove origin; | ||
+ | git add remote origin https:// | ||
+ | </ | ||
+ | |||
+ | After that, it will run on your own clone of the phpList code. | ||
+ | |||
+ | |||
+ | MORE TO FOLLOW | ||