Apache install on Windows, cannot find installer - windows

I'm trying for a couple of hours to find a MSI or EXE install package for Apache in Windows, and simply could not find it anywhere. All i get is a zip file with the directory structure, but when i extract it obviously the service is not installed / configured.
Can someone please point me to a place where i can find a MSI installer pro Win 2008 / 64bit ?
Thanks in advance.

This is why there are several packages including WAMP, XAMPP etc because it must be compiled and Apache will not provide binaries.
The Apache HTTP Server Project itself does not provide binary releases
of software, only source code.
A quick search would reveal some sources where you can download load them. I suggest to go with one of these to make maintaining it easier for yourself.
http://httpd.apache.org/docs/current/platform/windows.html#down
Here are some suggestions as noted in the docs.
ApacheHaus
Apache Lounge
BitNami WAMP Stack
WampServer
XAMPP
Edit:
I do not know specifically where you can get 2.4 msi and there may not be but 2.2 is still available if you have to have an installer. Which is still the most used version. Which is what I run on all my servers. Get 2.2.25
https://archive.apache.org/dist/httpd/binaries/win32/
If you want 2.4 for windows which is NEWER that is the correct package from Apache Lounge you don't need an installer. The package give you the exact layout for the web sever. You're looking for a pretty little msi that goes through a wizard like WAMP, you're not going to find that. Installing from that zip you downloaded is easy and only takes like 5 minutes to setup. You can also put httpd.exe in the windows startup to so that it starts when it boots. Watch this video, it walks your through setting 2.4 up.
http://www.lynda.com/Apache-HTTP-Server-tutorials/Installing-Apache-HTTP-Server-24-Windows-New/77958/150487-4.html

Related

Cygwin 32-bit Update on win 10 64-bit - Downloads Fail With Errors

Trying to update my 32-bit Cygwin install on a Windows 10 64-bit fresh install and every setup-x86 I have tried fails with errors.
I had it all working on my old system, which was a Windows 7 upgrade to Windows 10. My 3rd party SDK with Cygwin plus an upgrade was installed a good few years ago while on Windows 7 then did the Windows 10 upgrade thing. I could still compile my code for an embedded processor device with no errors after that.
But Microsoft corrupted my system with the last update (December 2022) so my system was unbootable and irreparable by any of their troubleshooting Advanced methods.
So I put a new hard drive in and installed windows 10 from scratch.
Two weeks later I have reinstalled much software but now I am at my SDK re-install and cannot get any Cygwin version to download.
I have a 3rd party SDK which instructs me to install their Cygwin first (version 1.5.18) then remove some environment variables, then go to http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html and Follow the “Dead Simple Instructions" and go for "any version 2017 +".
After downloading the files I must copy the directory to my original install directory, thus upgrading the install.
I just cannot download anything though.
I went to that time machine page and was totally confused. I noticed they said "this is the last 32 bit install" on several places, so I tried clicking on all those setup-x86 links.
I tried running the downloaded setup-x86 files from the download directory but each one failed.
On most of the more recent setup-x86 files,(like 2.924) it shows a small blue square telling me Windows protected me etc. I click Run anyway and then it says "Cygwin is not supported on 32-bit windows".
So I tried earlier versions like 2.909 and they show the interface; I choose download, then choose the download directory ( a folder on my desktop) then I have tried both direct connection and use system proxy; then I select a mirror (tried all of them, I think) and it begins some action then stops with errors like:
"https:\cygwin.mirror.constant.com\x86\setup.ini line 12: The current ini file requires at least version 2.924 of setup. Please download a newer version from https://cygwin.com/setup-x86.exe"
But I have already tried 2.924 and it gives the "Cygwin is not supported on 32-bit windows" error!
With setup-x86-2.874.exe, it shows the interface etc. but in the mirror list all I see is http://update.setup.invalid.
With 2.774 it does the interface then "Unable to get setup.ini from 'my selected mirror url'.
Then I tried that page https://cygwin.com/install.html#unsupported, where I tried the circa urls and did these from an Administrator command line, as they say. No good- errors.
Under "Dead Simple Instructions"(no they are not) I followed the link to the machine top level snapshot index, but each link their only gives a plain text list of files- nothing downloadable!
Anyway, copied a url link and then at step 4 it says click for setup-x86. So I did but that blue windows protection square appears. I say run anyway but then it says "Cygwin is not supported on 32-bit windows"!
I am at my wits end! It all worked fine on my old system until Microsoft ruined it with their updates.
How can I get a newer cygwin update for my v1.5, s the 3rd party instructions say???
Aha! I believe I have finally got this to work.
I just found a new release of the instructions for the 3rd party software SDK. They mention version 2.9.0 as the new version they are moving to.
I cannot access their download but I went back and read the Cygwin Time Machine page carefully again (http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html).
Under "Dead Simple Instructions", I looked through the list of dates and versions (http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/index.html) and found 2.9.0-1; surely close enough, eh?
So I copied the URL shown there.
Step 4 Run setup-x86.exe downloaded the setup file and Itried it from an Admin CMD prompt, adding the -X and -D switches. It failed with the 32 bit error, as before.
OK so I read again and near the bottom of the page I spotted "Cygwin Setup Archive".
Ah... I went to the link provided there (http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/setup/setup.html) and found setup-x86-2.901.exe.
After it downloaded, I again used the command prompt to run this and an interface appeared.
I was able to choose the existing install directory, the temporary download directory and add the URL I had copied earlier.
It proceeded to get the list of packages correctly.
I then selected to view files that were installed but may need updating and clicked Next.
It all went correctly. Thanks to Doug who offered help already.
So there is a way to do this.
If anyone was looking for the solution, I found the answer in the Cygwin mailing list. You must launch the setup-x86.exe (setup-x86-2.924.exe) with the --allow-unsupported-windows option --site circa_URL arguments, much like the -X switch was used on prior legacy installers to disable signature checking. circa_URL here is a mirror of legacy repos for Cygwin, where http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/2022/11/23/063457 is the suggested url in the mailing listing post.
Apparently, if you are on a true x86, non-64-bit, Windows OS, this flag is not necessary, though I think the repo mirror may be required.

Installing Cygwin on Windows 8.1

I want to install Cygwin on Windows 8.1 64bit but got no success using any variant.
I tried:
1) I downloaded fresh setup-x86_x64 from cygwin site and then tried to install from Internet but got empty mirror list.
2) The I tried manually add mirror from https://cygwin.com/mirrors.lst (this file accessible from my computer) but got "unable to get setup.ini" error.
3) then I tried to download WHOLE package manually from one of the mirrors (all mirrors normally accessible from my computer via FTP or HTTP) to setup from local package. When I downloaded all packages (about 30 Gigs) I ran setup with local package option. Package folder was scanned and I got list of categories. But there was no package in any category.
4) also I tried to run setup on my Windows 7 notebook. It got mirror list normally. Also I downloaded packages by setup program using my notebook, then transfered them to my Win 8.1 desktop, but the story was the same: I saw list of categories without packages. But on Win7 notebook I saw packages in categoies when I tried to install from the same directory.
5) Also I tried to turn off or even uninstall my firewall and antivirus software, but all results was the same.
6) I tried to run setup with administrator rights, tried to use different folders and HDD paths, tried to use x86 setup instead of x64 setup.
But nothing helped me.
Any ideas?
Define "didn't work". Post whatever error message the installer presents to you. Every little bit of information helps.
A common issue people experience while installing cygwin are outdated mirrors, i.e., websites who'd usually mirror the cygwin stack, but failed to keep it updated, which explains your issue regarding a missing/bad setup.ini file.
In any case, you most definitely would never want to actually download the entire cygwin stack, as it also includes past-, current-, and beta-versions.
As far as I know, "local installation" is a remnant of the days where one could acquire CDs containing the cygwin stack, but feel free to correct me if I'm wrong.

Adding a Banner/Message to all Pages on Web Server

I have two web servers, Windows machines running Apache.
One is a backup of the other, so if one fails the other can be used instead.
Does anyone know if it's possible to configure Apache so it displays a small banner/message on each page it serves to say that the user is running on the backup server?
I did find a 3rd party module (mod-substitute-append http://code.google.com/p/mod-substitute-append/) that may have done what I wanted, but there appears to be no documentation for it, and when downloaded looks like it was written to be installed on a Linux machine.
Does anyone have any ideas I can try?
Apache 2.2 ships with mod_substitute: http://httpd.apache.org/docs/2.2/mod/mod_substitute.html
Apache 2.4 ships with mod_sed: http://httpd.apache.org/docs/trunk/new_features_2_4.html
From the documentation, mod_sed does similar things to mod_substitute_append (which I have used, on Linux). It might be worth grabbing an Apache 2.4 Windows binary and seeing how you get on.

Websphere registry and repository (WSRR)

I'm trying to install WSRR on Linux (Ubuntu 11.04), but without success. I think I'm lacking some important information about installation. I've read that it's a prerequisite to have WebSphere Application Server (WAS) and DB2 installed, but when I downloaded WSRR package it has its own version of WAS and during installation it offers me Derby DB. In order to install it I had to change bash for dash (or vice versa). In the end I tried create profile of standalone WSRR in Profile Management Tool but with no success. Did anybody success in installation of standalone WSRR? Please help me, I need it for my thesis.
Thank you.
So finally I managed to install and run WSRR.
First of all you have to have OpenSuse installed.
Log in as root
Reinstall you web browser (I changed mozilla 4 to mozilla 6)
Launch installation ./launchpad.sh
Create profile with Profile Management Tool GUI
Run First steps console => change directory to profile_root/firststeps/wsrr, for example, opt/IBM/WebSphere/ServiceRegistry/profiles/WSRRSrv01/firststeps/wsrr and ./launchpad.sh
Run server
Start the WSRR Web UI (if you have stand-alone server)
Not a final answer... it seems you're installing on an unsupported platform. Never try this with commercial software, you will fail or will need hours and hours to get it up and running.

Installing Moodle using XAMPP on Windows Server 2008 Enterprise edition

I am trying to install Moodle 1.9 using XAMPP on a virtual machine running Windows Server 2008 Enterprise edition.
I can initially access the install.php installer script fine but after I progress past the third page the webpage times out.
If I go to http://localhost/, no webpage is downloaded and the browser just times out.
I have tried to run the install script with IE7 and Chrome to see if it was a browser problem, but the same thing occurs.
Any help would be greatly appreciated.
Thanks,
Ashley
Windows servers are notorious for causing problems with Moodle installations. Here's a few things to try:
Check the dirroot is set correctly your config.php file. Windows requires complete, absolute file names.
Has the failed install created some/all database tables, and populated them? If only some, look for the last successful table, then check for any corrupted or modified code related to that table that could be causing the install to hang. E.g. is the last successful table is forum, check your mods/forum files. It might be worth downloading a fresh weekly build of Moodle.
Your mysql memory_limit might be set too low (Moodle Docs recommend at least 40mb for Moodle 1.8 and higher).
Is this an upgrade, or a clean install? If it's an upgrade, don't try jumping too many versions, and (if possible) uninstall any third-party modules or activities that might cause trouble whilst updating the tables.
There's lots more info in the Moodle Docs, particularly:
http://docs.moodle.org/en/Unexpected_installation_halts
http://docs.moodle.org/en/Installation_FAQ

Resources