1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Development web server setup - more questions

Discussion in 'Software' started by RedFlames, 14 Jan 2013.

  1. RedFlames

    RedFlames ...is not a Belgian football team

    Joined:
    23 Apr 2009
    Posts:
    15,403
    Likes Received:
    2,997
    Looking at putting a website together after much procrastination and I've been looking at setting up a basic web server for testing purposes. Just generally looking for a 2nd/3rd opinion on what to use by asking what you lot use [if you use anything at all].

    so the options are:

    xampp on windows
    apache etc. on a linux VM
    apache etc. on a dedicated machine

    so what do you all use if anything?
     
    Last edited: 17 Jan 2013
  2. gcwebbyuk

    gcwebbyuk Dib Dabbler

    Joined:
    16 Feb 2010
    Posts:
    1,260
    Likes Received:
    18
    I tend to use a virtual machine running windows xp and xampp. I keep a backup of it before setting any websites up. That way I can quickly setup a new virtual. webserver ready for development.
     
  3. faugusztin

    faugusztin I *am* the guy with two left hands

    Joined:
    11 Aug 2008
    Posts:
    6,953
    Likes Received:
    270
    Depends on the server OS, but i have all of them (except XAMPP, i manually install everything every time even on Windows).
     
  4. jrs77

    jrs77 Modder

    Joined:
    17 Feb 2006
    Posts:
    3,483
    Likes Received:
    103
    Installing XAMPP and running it when needed is pretty much the easiest option for testing your stuff at home. I'm using it for years now to test my work and it never caused any problems.
     
  5. lp rob1

    lp rob1 Modder

    Joined:
    14 Jun 2010
    Posts:
    1,530
    Likes Received:
    140
    I use Apache on a Ubuntu VM (only if I am on Windows, otherwise it is on the local machine), since it makes the whole installation process so easy. It is literally as easy as typing a few commands (or doing it through Synaptic) then copying in your web files.
     
  6. Malketh

    Malketh What's a Dremel?

    Joined:
    22 Jan 2008
    Posts:
    143
    Likes Received:
    0
    For me it's your standard LAMP stack running in Gentoo (either virtualized with ESXi or VirtualBox, or running on bare metal.

    Rail against me all you want, but I love my emerge over apt and yum and all those other attempts at package management. :)
     
  7. BentAnat

    BentAnat Software Dev

    Joined:
    26 Jun 2008
    Posts:
    7,230
    Likes Received:
    219
    The question is: Will you be hosting in a windows or 'nix environment? Most web hosts are 'nix based, and as such, you kinda want a LAMP stack.

    The reason for this is mainly that Linux is case sensitive. This is possible to configure on windows as well, but mostly not natively done by the likes of XAMPP.

    But yeah... LAMP on Linux, XAMPP on windows (i'd configure for case sensitive, though), and MAMP on a mac.
    Those are the easiest.
     
  8. sparkyboy22

    sparkyboy22 Web Tinkerer

    Joined:
    3 May 2010
    Posts:
    738
    Likes Received:
    35
    I always used wamp.
     
  9. RedFlames

    RedFlames ...is not a Belgian football team

    Joined:
    23 Apr 2009
    Posts:
    15,403
    Likes Received:
    2,997
    ok so i've set up the server,

    linux [ubuntu] VM

    apache/mysql/php all set up and working

    now the tricky bit [and the bit that always annoys me with VMs]

    how would you recommend putting files to/from the server/VM?

    as far as i can see there's 2 options, set up FTP on the VM or use samba [?] file sharing

    any thoughts?
     
  10. Modsbywoz

    Modsbywoz Multimodder

    Joined:
    14 Oct 2009
    Posts:
    2,778
    Likes Received:
    273
    I run Xampp on a Windows Box. Works a treat.
     
  11. Andy Mc

    Andy Mc Modder

    Joined:
    23 May 2002
    Posts:
    1,743
    Likes Received:
    133
    I'd use WinSCP. Make sure you have an ssh server enabled on the VM:

    Code:
    sudo apt-get install openssh-server
    Then you can just SCP them over and it means you do not need to worry about setting up an FTP server or messing about setting up samba.

    Also if you want to go into more depth, then check out some of the perfect setup guide from howtoforge.com, they are pretty good.
     
  12. jrs77

    jrs77 Modder

    Joined:
    17 Feb 2006
    Posts:
    3,483
    Likes Received:
    103
    That's why I use XAMPP for over a decade now. You simply don't have to think about stuff like that.
     
  13. Buzzons

    Buzzons Minimodder

    Joined:
    21 Jul 2005
    Posts:
    3,069
    Likes Received:
    41
    No love for IIS and MSSQL?
     
  14. RedFlames

    RedFlames ...is not a Belgian football team

    Joined:
    23 Apr 2009
    Posts:
    15,403
    Likes Received:
    2,997
    IIS was also an option, but as the hosting i was looking at getting was linux/apache that's what i went for
     
  15. richythomas

    richythomas Minimodder

    Joined:
    29 Apr 2009
    Posts:
    136
    Likes Received:
    3
    I used to do manual self install of MySQL, PHP on a local IIS.

    However after moving to Windows 8 Pro I enabled Hyper-V, installed a Windows Server VM and Zend Server CE which is free. This sets up a complete PHP, MySQL and Zend Framework stack and Apache if required therwise it integrates with IIS. I'm using Apache 2.2 so that I can test .htaccess files too. Installed IIS on top for FTP functionality only.

    Though I'm yet to work out how to integrate the VM with Zend Studio that I use for development (Dreamweaver for front end design).
     

Share This Page