|
|
#1 |
|
Chief Gorilla - CC 2013
Join Date: Apr 2009
Location: The northern wastes of Geordieland
Posts: 2,193
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
web server setup - more questions
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?
__________________
I have the heart of a child... in a jar... on my desk... Last edited by RedFlames; 17th Jan 2013 at 22:24. |
|
|
|
|
|
#2 |
|
Dib Dabbler
Join Date: Feb 2010
Location: East Sussex
Posts: 1,131
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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.
__________________
I got all the gear, but I got no idea ![]() 3DMark Fire Strike Extreme - 4968 My Flickr Photostream |
|
|
|
|
|
#3 |
|
I *am* the guy with two left hands
Join Date: Aug 2008
Location: Bratislava, Slovakia
Posts: 4,706
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Depends on the server OS, but i have all of them (except XAMPP, i manually install everything every time even on Windows).
__________________
Cerberus Core i7-2600K Asus P8Z77-I Deluxe GSkill RipjawsX 2x8GB DDR3-1600CL9 watercooled EVGA GTX670 Samsung 830 256GB Bitfenix Prodigy Seasonic X-460 Windows 8 Pro Prometheus Xeon E3-1235 Asus P8B WS GSkill RipjawsX 2x4GB DDR3-1333CL7+2x8GB DDR3-1333CL9 Coolink Corator DS Force 3 240GB+4xWD30EFRX+2xWD20EARS+6xWD20EARX Nanoxia DS1 Seasonic X-460 Ubuntu 12.04 |
|
|
|
|
|
#4 |
|
theorycrafting
Join Date: Feb 2006
Location: Finland
Posts: 2,581
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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.
__________________
...and allways remember, that the world is an orange!
Define Mini Black [Gigabyte Z77MX-D3H | intel i5-3450 | Kingston HyperX DDR3-1600 8GB | Gigabyte GTX660OC Windforce2 | intel 330 120GB | WD AV GP 1TB] |
|
|
|
|
|
#5 |
|
PAM says no...
Join Date: Jun 2010
Location: ::1
Posts: 1,329
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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.
__________________
The Linux Schools Project |
|
|
|
|
|
#6 |
|
Multimodder
Join Date: Jan 2008
Posts: 133
![]() |
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 |
|
Software Dev
Join Date: Jun 2008
Location: Windhoek, Namibia
Posts: 5,620
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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 |
|
Web Tinkerer
Join Date: May 2010
Location: NN10
Posts: 603
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I always used wamp.
__________________
i5 2500k @ 4.5 GHz | Corsair H100 | Asus P8P67 Pro | 16GB Corsair Vengeance | EVGA GTX680 | Corsair Force 3 240GB SSD
Asus Xonar D2X | Corsair HX650 | Xigmatek Utgard | Dell U2311h 1920x1080 Logitech Z906 5.1 Speakers | Logitech K750 Solar Keyboard | Logitech Performance MX Mouse |
|
|
|
|
|
#9 |
|
Chief Gorilla - CC 2013
Join Date: Apr 2009
Location: The northern wastes of Geordieland
Posts: 2,193
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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 |
|
I *am* a Dremel
Join Date: Oct 2009
Posts: 1,993
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I run Xampp on a Windows Box. Works a treat.
|
|
|
|
|
|
#11 | |
|
Ultramodder
Join Date: May 2002
Location: In a house.
Posts: 1,410
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
Code:
sudo apt-get install openssh-server 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 |
|
theorycrafting
Join Date: Feb 2006
Location: Finland
Posts: 2,581
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
That's why I use XAMPP for over a decade now. You simply don't have to think about stuff like that.
__________________
...and allways remember, that the world is an orange!
Define Mini Black [Gigabyte Z77MX-D3H | intel i5-3450 | Kingston HyperX DDR3-1600 8GB | Gigabyte GTX660OC Windforce2 | intel 330 120GB | WD AV GP 1TB] |
|
|
|
|
|
#13 |
|
Mod Master
Join Date: Jul 2005
Posts: 2,597
![]() ![]() |
No love for IIS and MSSQL?
|
|
|
|
|
|
#14 |
|
Chief Gorilla - CC 2013
Join Date: Apr 2009
Location: The northern wastes of Geordieland
Posts: 2,193
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
IIS was also an option, but as the hosting i was looking at getting was linux/apache that's what i went for
|
|
|
|
|
|
#15 |
|
Multimodder
Join Date: Apr 2009
Location: Alloa, UK
Posts: 115
![]() ![]() ![]() ![]() ![]() ![]() |
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).
__________________
Desktop | CPU: 3570K Cooler: Corsair H50 RAM: 16GB Corsair Vengance 1,600MHz MB: ASUS Maximus V Gene GFX: ASUS DirectCU II 2GB GTX670 Sound: Creative x-Fi Titanium PCIe & Logitech Z506 5.1 Speakers SSD: 2 x 256GB Crucial M4 Case: P180 Mini LCD: 2 x HP2210i OS: Windows 8 Pro Laptop | Dell XPS 15 L502x | CPU:: i5 2410M RAM: 8GB Corsair 1333MHz SSD: Corsair F120 LCD: 1920x1080 B+RGLED FHD OS: Windows 7 Ultimate |
|
|
|
![]() |
| Thread Tools | |
|
|