I haven't found a pure Windows-only installation for Logstash and Kibana.
I am starting to dig into using Logstash to manage log4j logs as input.
Can anybody point me to pure Windows-only (using only Windows tools) installation for a standalone Windows developer machine?
Kibana can easily be installed in IIS on windows. (tested IIS 7.5, windows 7).
All you need to do is just extract the kibana root folder to your root IIS folder for your
default site (its in c:\inetpub\wwwroot by default).
You'll only need to add mimetype .json text/html in the IIS console for your site for loading kibana json dashboards.
Thats it! its no big deal really, 5 seconds of work.
Can't help you about logstash as i didnt use it myself. Instead, i'm planning to use a .net log4net ElasticSearch appender to write logs directory to ElasticSearch.
Related
After I used elastic 8.2 successful I delete it, also the elasticsearch folder in C:\Users\me\AppData\Local\Temp, than I downloaded the current version 8.5.3 and start the bin/elasticsearch.bat. On the end I don't get the password and fingerprint and I can't reach via https://localhost:9200/ .
I'm using the current version of Java.
I restart the computer.
The console text I linked on my private page and
the log file you find here, because it is to long for this forum. (It will both open in your Browser.)
At the log is a Memory error. But I got around 22 GB free RAM.
Further there is a "exception during geoip databases update". But I think this is not important, also because I don't need the geo locations.
What could be the reason that it is not proper installing elasticsearch on my device (Windows 11)?
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
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.
I'm relatively new to the Windows Server world (coming from *nix land). I'm used to analyzing a web-server's configuration by grepping through an apache config file.
Is there an equivalent file/group-of-files for IIS? Lacking that, is there an official scripting interface for IIS?
PowerShell would be the way to go.
Here are some stack overflow posts:
https://stackoverflow.com/questions/tagged/powershell+iis6
Also, googling powershell IIS will get you started.
Default scripting tool in IIS is the ADSUTIL.VBS script in the \InetPubs\Scripts directory.
Using the Adsutil.vbs Administration Script
You can pretty much do anything to the IIS metabase with that tool.
If you want to develop against WordPress (i.e., have a local instance running on your machine so you can develop themes, get blogs and sites laid out, etc.) and you're running Windows on your development machine with IIS and SQL Server already installed, what's the best way to do it?
I found a method online which sets up a little "mini" server on Windows running instances of Apache and MySQL but they didn't advise using it on a machine with IIS already installed. Obviously one could install Apache and MySQL and do it that way but given what Windows affords you (i.e., methods of running PHP in IIS - I think Windows Server 2008 is even optimized for this), is that the best way? Are there ways to run WordPress with SQL Server as the backend? (I wouldn't think so but I thought I'd throw that out there).
And are there methods differing on the version of Windows (i.e., XP, Vista, Vista64)
I run XAMPP on a thumbdrive and install WordPress (usually multiple instances of it) on there. Then I start up XAMPP when I'm going to work on Wordpress development.
EDIT: this setup does require that IIS be stopped when the XAMPP server is running (or some byzantine configuration magic that I've never bothered to figure out. Since most of my personal needs for local IIS development are handled by the Visual Studio built-in instance of IIS, which can run side-by-side with XAMPP, I rarely have bother with anything else, but that probably won't work for everyone.
Install PHP, run Wordpress in IIS. Install MySQL which can be run side-by-side with MSSQL. The only thing you'll miss using IIS over Apache is mod_rewrite for prettier URLs.
Avoid running IIS and Apache on the same machine if at all possible. IIS likes to bind to all available IPs blocking Apache from binding to an IP, which you can get around if necessary, but it's not immediately clear what's happening.
I've been running this setup for years.
Since you are interested in developing for Wordpress I strongly suggest you use the most common WP setup: Apache, PHP and MySQL.
You can run Apache and IIS at the same time (I have IIS listening on port 81 and Apache on 80) or you can run only one at a time (create 2 bat files to start/stop the servers using the net start/stop command).
You can use IIS, PHP, MySQL to run Wordpress but there are some subtle differences that can drive you crazy or cause problems when you deploy on Apache.
You can certainly run IIS and Apache on the same box. We do it currently with Documentum/Apache and IIS on the same server. Just pick a range of addresses for one web server - 808x for Apache for example.
You should also consider using Thinstall from VMWare where you can virutalize an entire application - registry, .Net and all - distribute as a single .EXE. We do this now for packaging applications that don't play well together. You might want to virtualize Wordpress/Appache/MySql and set an IP (808x) for that configuration. This way you can move this to any server with IIS and it'll play well with different configurations.