I downloaded it - thanks.

Too bad you can't get web2py to host it as a virtual appliance. It would 
certainly save people a lot of time.


On Thursday, June 14, 2012 10:43:22 AM UTC-4, peter wrote:
>
> Okay, here you are. It is over 1GB so I will not leave it up too long.
>
> http://ukjazz.net/british_jazz/static/abc.vdi 
>
> If you do
>
> chkconfig --add uwsgi_nginx
> chkconfig uwsgi_nginx on
>
> you will have both uwsgi and nginx set up as services that will start at 
> boot up.
>
> 127.0.0.1 should bring up the welcome app.
>
> Peter
> On Thursday, 14 June 2012 05:37:40 UTC+1, Craig Matthews wrote:
>>
>> Hi. Can you put this vm image up and provide a link to it?
>>
>>
>> On Wednesday, June 13, 2012 2:47:51 PM UTC-4, peter wrote:
>>>
>>> If you are setting up a website on a remote server you are hiring, then 
>>> life is difficult. Setting things up often requires a lot of trial and 
>>> error. Googling how to do it is useful but comes up with many many bum 
>>> steers. Using a virtual machine on your own laptop with a duplicate of the 
>>> operating system on the remote machine makes life a lot easier. I wasted a 
>>> lot of time finding out how to best set up a virtual machine, so here are 
>>> some tips to ease the path for other users.
>>>
>>> Use virtual box. This allows you to have snapshots. These are brilliant 
>>> as they allow you to return the system to this point at a later date. So 
>>> after each successful step you can take a snapshot. This really helps with 
>>> the trial and error approach.
>>>
>>> Do not use livecds. Most operating systems income with a simpe livecd 
>>> and a much larger multiple DVD  installation. Do not use the livecds, these 
>>> will cause unexpected and unpredictable problems. However the full 
>>> installation approach works reliably. Use 1GB of ram for the virtual 
>>> machine. 
>>>
>>> When you do the installation of a linux OS, it rather alarmingly asks if 
>>> it can format your hard disk, destroying all the data on it. It evens names 
>>> your actual hard drive. However provided that it says the size of the disk 
>>> is 8GB, then you can safely let it format the drive, it is only formatting 
>>> the virtual drive not your hard disk.
>>>
>>> The easiest way of communicating between your normal OS and the virtual 
>>> machine is via a flash USB drive. By clicking on 'devices' and then USB 
>>> devices,  you can switch the usb drive to work with either system (only one 
>>> at a time). Clearly ensure all files are closed before switching the flash 
>>> drive.
>>>
>>> The virtual box does successfully access the internet using a bridge 
>>> with your main operating system's connection.
>>>
>>> I used this virtual box approach to develop a script for Nginx with 
>>> Uwsgi and Web2py on Centos 5. This prevented my site being down for 
>>> significant amounts of time.
>>>
>>> Peter
>>>
>>>
>>>

Reply via email to