Author Topic: Apache2 server on Win10  (Read 962 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9988
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Apache2 server on Win10
« on: January 09, 2022, 12:37:09 PM »
This has been a pleasant surprise after so many hassles trying to set up a Linux box that had multiple hardware problems. I did not want the PHP and MariaDB database and found this version of Windows installation.

https://www.apachelounge.com/download/

Clean, tidy and no nightmare to install. Its on the Huananzhi box that I built recently, all new hardware, a 12 core E5-2690v3 CPU and 64 gig of DDR4 memory, a useful box in its own right but easily powerful enough to run a web server. I only want the bare Apache directory listing but its been interesting in that 4k MP4 videos play OK in Slimjet and any other files so far just download like normal.

To make it convenient to work with, I have set up the "htdocs" directory as a network drive so its routine to be able to add stuff to the directory tree and access to it from a web browser with just the box's IP and with a 1 gig LAN, its reasonably fast. Security seems to be OK, Apache is very good here, its only available via my local LAN which is behind a NAT router and I may add some more via the apache config file.

I have it installed on a new 4tb disk so there is plenty of room to put a lot of stuff which freed up some of my other machines with having to carry duplicates of software that I regularly use. Storage seems to be coming for peanuts these days, HDDs are getting cheap as SATA and NVMe storage is getting cheaper and popular.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

daydreamer

  • Member
  • *****
  • Posts: 2185
  • my kind of REAL10 Blonde
Re: Apache2 server on Win10
« Reply #1 on: January 09, 2022, 04:13:32 PM »
Great :thumbsup:
I have tried to learn website programming with VS lately,it uses Microsoft lite server for testing purpose,maybe try with apache
Great with lots of space for uncompressed videos to edit before compress them
Tiny USB that only 0.5 centimetres has come

my none asm creations
http://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9988
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Apache2 server on Win10
« Reply #2 on: January 09, 2022, 04:29:59 PM »
Apache is pretty efficient but any web server can be a burden on a small machine. You can run it locally from localhost but it makes sense if you have another machine, even an old one to put it on that and just use a twist cable between them.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

TimoVJL

  • Member
  • *****
  • Posts: 1223
Re: Apache2 server on Win10
« Reply #3 on: January 09, 2022, 07:32:53 PM »
Long time ago i used Mongoose for local network.
Now it's something like that:
Mongoose - Embedded Web Server / Embedded Networking Library
It was possible to run it from USB-stick
May the source be with you

daydreamer

  • Member
  • *****
  • Posts: 2185
  • my kind of REAL10 Blonde
Re: Apache2 server on Win10
« Reply #4 on: January 09, 2022, 08:28:08 PM »
With your 12 core xeon you probably can run things that need grunt remotely like you can on azure
Test run new version of masm site locally if needed?
Max 512kb attachment probably need less bandwidth than fb,youtube, steam servers download hundreds of gb?, newest ms flight Simulator several  tb of data

my none asm creations
http://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."

Vortex

  • Member
  • *****
  • Posts: 2716
Re: Apache2 server on Win10
« Reply #5 on: January 09, 2022, 10:06:52 PM »
Hi Hutch,

If you are looking for small http servers :

Japheth's httpdASM :

https://www.japheth.de/httpdASM.html

Http File Server :

https://www.rejetto.com/hfs/

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9988
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Apache2 server on Win10
« Reply #6 on: January 09, 2022, 10:46:21 PM »
 :biggrin:

Thanks Erol but I am an old Apache junkie, I have on and off used it for years and its been super reliable, robust and flexible.

On the bright side, I have ordered another Huananzhi BD4 X99 board as the last one has been very good with Xeon CPUs. I can strip the 32 gig of memory out of the Atermiter and the Xeon E5-2690v3 12 core and reuse them in the new board but I also have a Xeon E5-2666v3, a 10 core 2.9 gig version that turbos to 3.5 gig so I may give it a try as well.

I seem to have been cursed trying to build a Linux box, my last one was an ancient Gigabyte board with an i7 860 in it and it ran fine but it was near 15 years old and I wanted something younger with more grunt. I am keen on these E5 series Xeons as they are robust and big enough to put a decent cooler on.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy: