|
|
#1 |
|
Web Development Environment
I dabble in web development - nothing to serious (I've got a couple sites). That said I like to mess around on my localhost before going live.
I only need apache, php, mysql, and phpadmin. That said I know OS X has apache already, and the others can be installed/configured. My question is however, since I only dabble - I'm thinking it would be best for me to use something like MAMP or XAMPP for the ease of it as it relates to configuration, etc. Does anyone have any thoughts? I am only serving the website(s) locally on my machine, not even to the rest of the computers in my home. My machine is a mid-2009 MBP running 10.8 Thanks! |
|
|
|
0
|
|
|
#2 |
|
I do about the same amount of web development as you, and I use XAMPP. It is simple and includes everything you need. It will allow you to serve pages to other computers, but you don't need that. I use it on an Early-2011 Quad i7 MBP- it's overkill, but it'll last for quite some time.
__________________
Core Duo 1.83 Mac Mini, Dual 2.7 Power Mac G5, Dual 1.8 Power Mac G5, Dual 1.25 MDD G4, 1.6 GHz iMac G5, 900 MHz iBook G3, 800 MHz iMac G4, 500MHz iMac G3, 400MHz iMac G3 |
|
|
|
0
|
|
|
#3 |
|
Thanks...I might be leaning toward MAMP because it seems that it is updated regularly as compared to XAMPP which doesn't look like its been updated in over 2 years.
|
|
|
|
0
|
|
|
#4 |
|
A popular way to do this is make a 512MB RAM virtual machine in VirtualBox and install a server version of Linux.
|
|
|
|
0
|
|
|
#5 |
|
I use the pre-installed Apache and PHP, you would need to download the mySQL binary. Personally I prefer running this setup directly but if you're just wanting an easy setup go with MAMP, you won't be at the mercy of Apple breaking something in an OS update.
__________________
Obligatory dick waving: 2012 i7/8GB/256SSD MBA; 2010 i7/8GB/256SSD MBP; 2006 Mac Mini; iPhone 4S; iPad 3 |
|
|
|
0
|
|
|
#6 |
|
I have been using MAMP Pro for a few years and it works well. MAMP is the free version and will serve your needs. Includes everything and setup is easy. I started with MAMP and moved to the Pro version as I required some of the additional services it gave.
|
|
|
|
0
|
|
|
#7 | |
|
Quote:
Personally I'd recommend Ubuntu Server 12.04 LTS as it is probably the easiest server distribution to get started with. Debian is also good but the packages in it are pretty old now.
__________________
Neural Advance - Mac OS X, UNIX and Windows Development Last.fm Profile | Extreme Metal Reviews MP 4x 2.66Ghz Xeons / 6GB RAM / 640GB + 500GB + 750GB + 1TB HDDs / ATI Radeon 4870 / iPad 3 |
||
|
|
0
|
|
|
#8 | |
|
Quote:
It's also super easy to download prebuild VMs ( vagrantboxes ) with the stack you want preinstalled. |
||
|
|
0
|
|
|
#9 |
|
I use LAMP running on a cheap-as-chips Raspberry Pi, keeps all the server daemons off my day-to-day MBP and works in a more authentic way (for what it's worth!) as an external web-server.
|
|
|
|
1
|
|
|
#10 |
|
And a Raspberry Pi actually cost less than the Parallels or VMWare VMs and require less electricity than a night light.
I'm still looking for a hosting facility to which I can send a pre-configured Pi (or BeagleBone or PogoPlug, etc.) and that costs less per month than upgrading my home broadband to business class (with server connection TOS guarantees). |
|
|
|
0
|
|
|
#11 |
|
I'll try Vagrant!
For those that run a development environment in a VM, how do you approach source control? For example, do I install Subversion server on the guest OS and therefore maintain the entire development environment in the VM? or do I commit my changes to an external repository, say, on the host OS, or accessible by the host OS through a share? |
|
|
|
0
|
|
|
#12 |
|
@Zyriab, so you have the entire LAMP stack on the Raspberry Pi? What distro are you using? Thx.
|
|
|
|
0
|
|
|
#13 |
|
Put everything in the guest OS and sync your code to somewhere like Github or Bitbucket.
__________________
Neural Advance - Mac OS X, UNIX and Windows Development Last.fm Profile | Extreme Metal Reviews MP 4x 2.66Ghz Xeons / 6GB RAM / 640GB + 500GB + 750GB + 1TB HDDs / ATI Radeon 4870 / iPad 3 |
|
|
|
0
|
|
|
#14 |
|
Vagrant Boxes
I'm finally about to start looking at Vagrant. But I'm a .NET developer so as a Linux noobie some things still don't click for me.
Do I basically determine the environment offered by my hosting service and then configure vagrant to provision that exactly? What if the stock Vagrant boxes don't match what the hosting service provides? Do I grab the one that's closest to what I need and then tweak the vagrant configuration? Do Vagrant boxes include a description of the components so I can start with the most appropriate one? Thx. |
|
|
|
0
|
|
|
#15 |
|
Also, after I have the VM configured, do I then edit my source files through a share so I can use something like TextMate on my MacBook Pro? or do I stay in the VM and use vi, etc? Hopefully not the latter.
|
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 10:01 PM.







Linear Mode
