Upgrading Apache on Windows Server 2008 R2 - windows

I am currently running Apache 2.2 on Windows Server 2008 R2. I would like to upgrade Apache to version 2.4.9 so that I can run mod_security2. I installed Apache 2.2 via an installer. I don't, however, see an installer for Apache v2.4.9. I can find the full Apache Windows binaries on ApacheLounge. I'm just not clear on how to seamlessly upgrade to version 2.4.9. Here's what I'm thinking of doing:
download version 2.4.9 Windows binaries from ApacheLounge
stop Apache 2.2 service
rename C:\Program Files (x86)\Apache Software Foundation\Apache2.2 to Apache2.2_OLD
create Apache2.4 folder at C:\Program Files (x86)\Apache Software Foundation\
copy contents of downloaded Windows binaries to Apache2.4 folder
set up httpd.exe within the Apache2.4\bin folder as a Windows service
copy httpd.conf file from Apache2.2\conf over to Apache2.4\conf
modify httpd.conf file to point to new Apache installation location
copy any modules from Apache\modules that are missing (and needed) from Apache2.4\modules
start Apache2.4 Windows service
Am I over-simplifying? What steps are missing? I'm relatively new to Apache, so it's possible I'm overlooking the obvious.

Related

Apache service not working even though httpd.exe works fine

For some reason ever since I installed mod_wsgi on Apache 2.4 on Windows 10, the service for starting Apache on the background stopped working and no error is logged.
If I go to the bin folder where Apache is installed I can just open a CMD windows and write httpd and it starts listening and everything works fine.
I saw this similar on SO but I have already installed both x64 and x86 versions of the VC++ 2012 runtime.
If I comment out the line that loads python36.dll along with the one that loads mod_wsgi, the service starts without any issues.
P.S. I installed Apache from Apache Lounge and I'm not using XAMP, WAMP ...

How Can i Run jboss EAP-7.0.0 as windows service on windows 7 x64?

I have installed Jboss EAP-7.0.0 on windows 7 x64 operating system.
When i run Jboss EAP-7.0.0 via standalone.bat file inside bin direcotry it starts without any problem and deployed .war files also work without any problem, but when i try to run serice.bat install command inside bin direcotry it gives following output in console: Please install native utilities into expected location D:\jboss EAP-7.0.0\EAP-7.0.0\..\jbcs-jsvc-1.0
I tried googling this issue. I also tried to follow this link: Failed to start EAP 7 as Windows service. (you might need to login on in webpage to see whole discussion) and this link 4.3. CONFIGURING JBOSS EAP AS A SERVICE IN MICROSOFT WINDOWS SERVER but the products dropdown is empty (please see the image)
I am really confused and need your help: How do i download and install jbcs-jsvc-1.0 ?
.
Disclaimer: I didn't confirm this on Windows 7 but it works under Windows Server 2016. I.e. since there shouldn't be any relevant difference, it should be fine.
The service.bat included in JBoss EAP 7 expects a prunserv.exe at one of the following locations:
%JBOSS_HOME%\..\jbcs-jsvc-1.0\sbin\prunsrv.exe or
%JBOSS_HOME%\bin\prunsrv.exe
If you don't have the proper subscription/permission to download the JBoss Core Services Jsvc (e.g. because you just have a developer subscription), you can just download the prunsrv.exe as part of the freely available Apache commons-daemon package:
Download "commons-daemon-1.0.15-bin-windows.zip", e.g. from
http://mirrors.advancedhosters.com/apache/commons/daemon/binaries/windows/
Unzip it into the %JBOSS_HOME%\bin folder
Run service.bat install
Instead of an error message, you get notified that your Windows Service has been successfully installed as "JBossEAP7" (unless you already have one with that name).
I am afraid you have to log in to the Red Hat Customer Portal JBoss Software Downloads page, in order to download and install the JBoss Core Services Jsvc package.
After downloading the appropriate zip file (latest version, correct platform and architecture), extract it into the directory "containing" your JBoss EAP installation directory. In other words, the new "jbcs-jsvc-" directory should be at the same depth as your JBoss EAP installation directory.
Then, go on and install the service the same as EAP 6.x

Cassandra as a Windows Service

I just installed Apache Casandra 1.2.1 on Windows Server 2012 (It's a VM). I double clicked cassandra.bat and it worked without an error.
How can I run Cassandra.bat as a Windows Service, so I can sign out from cumputer?
cassandra.bat file also helps you to run Cassandra as a Windows Service. You just need Commons Daemon Service Runner Windows binaries.
You will need to create a folder named daemon under the bin directory and extract the correct version (32/64 bit) of prunsrv.exe to this directory (bin\daemon).
Run command prompt and change directory to the bin. Type;
cassandra.bat install
Then run services.msc command to see cassandra(yes, lowercased) as a Windows Service.
You can also download
Datastax Community Edition
or
Cassandrows
which easily install, configure and run Apache Cassandra as a Windows Service.

Why is java (32-bit) JDK installer not copying rt.jar file to JRE directory? (Windows 2008 R2 SP1)

The system is using Windows Server 2008 R2 SP1, Tomcat 5.5.28, and Java SE 6 Update 20 for both JDK and JRE.
I updated the system to the latest JDK update, Java SE 6 Update 27, and let it install using defaults; it created a new directory, jdk1.6.0_27, and overwrote the jre directory. It asked to restart and then I noticed Tomcat would not start. I ran the java -version from the jre directory and it outputted
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
I discovered the directory was missing the rt.jar file; I pasted it from the jdk1.6.0_27/jre/bin directory and java -version worked and Tomcat started. My question is why is this error occurring in the first place??? Is it the Java installer?
I ran the Java Automatic update feature (which only updates JRE, not JDK) and it worked without a hiccup. So, why is the Java installer from Oracle.com not updating the JRE directory properly?
Thank you in advance.
I think that's the case all Windows installers have this obligatory phrase:
Please close all running programs before you continue with installation
I think something was holding the old rt.jar and installer has a bug that cannot cope with this condition.

Installing Subversion on top of already installed Apache?

I have a working WAMP environment (Apache Friends). I decided to try Subversion and downloaded CollabNetSubversion-server-1.6.9-1.win32.exe. On the download page there were packages including Apache server which I did not use - because I didn't want to replace my current Apache installation.
I just installed the one that did not include Apache, and now I want to configure it to work with my current Apache. What should I do?
Is there an easy step by step tutorial to explain this?
There's lots of tutorials such as the XAMPP (apache friends) version http://serk01.wordpress.com/2008/09/21/how-to-create-your-own-home-svn-repository-with-xamppapache/ and the WAMP version http://www.reloadedpc.com/other/setup-wamp-svn-subversion-windows/
If all you want to do is create a repository and do checkins and updates locally on your windows machine then just install TortoiseSVN. Tortoisesvn only installs the shell extension for windows explorer, not any command line svn executables. To get those you have to download them separately and make sure they're the same version of svn that tortoise uses or you'll get errors about version mismatches when using the command line svn.

Resources