geoserver as serviceHow can i install geoserver version 2.20.3 in silent mode using installer "GeoServer-2.20.3-winsetup.exe" and powershell.
For that i tried
GeoServer-2.20.3-winsetup /S
But how can i find another arguments for install type (as service) and
installation directory?
Or when i unzip Windows binary "geoserver-2.20.3-bin" and set JAVA_HOME, GEOSERVER_HOME and
GEOSERVER_DATA_DIR pathes.
How can i start it as service?
Thanks for your info.
Related
The following link provides two options to install PWSH on windows, MSI, and Zip:
https://github.com/PowerShell/PowerShell/releases/tag/v7.1.2
How to properly install the zip package? It includes all the required files, but it needs to be added to PATH and do some windows registry updates, to my understanding.
Is there a list of steps or instructions that explains how to deploy PowerShell core properly on windows using zip package?
I am calling MongoDB installer from Advance installer as a prereq and making a windows service of MongoDB. If a user doesn't change default installation path of MongoDB every works fine.
If a user changes the installed path of MongoDB then I am not able to get installed path of MongoDB to make MongoDB server as windows service. Let's suppose user changes the default path to D:/Mongodb.
Could you please help me, where is installed path of MongoDB in windows registry or please suggest any other method to get the installed path of MongoDB on windows?
You can install Mongodb silently(unintended install). You can change install location and other things by package parameters.
msiexec.exe /q /i mongodb-win32-x86_64-2008plus-ssl 3.6.4-signed.msi INSTALLLOCATION="C:\Program Files\MongoDB\Server\3.6.4\" ADDLOCAL="all" SHOULD_INSTALL_COMPASS="0"
In Advanced Installer, add MongoDb as prerequisite and then go to Setup Files tab. There set all 3 fields from "Install Command Lines" to:
/qn INSTALLLOCATION="C:\Program Files\MongoDB\Server\3.6.4\"
ADDLOCAL="all" SHOULD_INSTALL_COMPASS="0"
I've got my system all set up with Zabbix and love it for my detailed monitoring.
I need to put a pretty wrapper on it for displaying on our status screen and have been trying to use Grafana but cannot seem to get the Zabbix Data Source correctly connected.
I've hunted all around for more detailed documentation -- is there any?
OR Does anyone who has done this have some hints about what I can try?
Thanks in advance -- James
you need to install "Zabbix plugin for Grafana"
https://grafana.com/plugins/alexanderzobnin-zabbix-app
Use the grafana-cli tool to install Zabbix from the command line:
grafana-cli plugins install alexanderzobnin-zabbix-app
If you have compatibility issues, check this solution
https://github.com/alexanderzobnin/grafana-zabbix/issues/1419
In my case I have grafana running on windows server working perfectly with the following steps:
-Install grafana 8.5 on Windows Server 2019
-Install Plugin 2.4.6 via CMD (C:\Program Files\GrafanaLabs\grafana\bin grafana-cli plugins install alexanderzobnin-zabbix-app)
-Go to C:\Program Files\GrafanaLabs\grafana\data\plugins\alexanderzobnin-zabbix-app\datasource-zabbix and create new folder with name , "datasource-zabbix"
-copy the "partials" folder and copy inside the created folder "datasource-zabbix"
-Delete MANIFEST file on C:\Program Files\GrafanaLabs\grafana\data\plugins\alexanderzobnin-zabbix-app
-add: allow_loading_unsigned_plugins = alexanderzobnin-zabbix-app, alexanderzobnin-zabbix-datasource, alexanderzobnin-zabbix-triggers-panel in the configuration file (config.ini for Windows Version)
-Restart Grafana Service
I'm on a Windows 7 (64-bit) box and do not have admin rights.
It appears from the MongoDB download page (see http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/) that the latest version only an MSI install is available (no zip version).
I tried running the 3.0.4 MSI. I clicked custom so I could change the directory to install to. I used %USERPROFILE%\MyProgs\MongoDB-3.0.4, so no admin rights would be needed. It ran for a bit but then prompted me to enter admin credentials. I hit escape (like clicking on X at top right) to close the window. On other MSI installs this has worked. I tried it again and clicked "No" but in both cases received the message
MongoDB 3.0.4 2008R2Plus SSL (64 bit) setup was interrupted.
Your system has not been modified. [...]
This article does a GREAT job going through how to install MongoDB on Windows:
How to install mongoDB on windows?
My observation is that v2.4.14 is the last version that is available via the ZIP format. So for now, I'm using that version.
Is there any other way to install the MongoDB version 3.X MSI without admin rights?
NOTE: On the MongoDB Download page https://www.mongodb.org/downloads there is a link titled View Build Archive (it sends you here https://www.mongodb.org/dl/win32/x86_64-2008plus-ssl, and that site lists *.zip formatted files). I thought I had found my own solution to the question, but when I unzipped the files, and added the "bin" to my path and ran the programs (mongo, and mongod) I received an Windows Dialog that says:
mongod.exe - System Error
The program can't start because LIBEAY32.dll is missing from your
computer. Try reinstalling the program to fix the problem
I stopped here and posted this question. Thanks for any help.
For now I'm using the version that supported the zip format (v2.4.14) and that version does work.
NOTE2: The v2.4.14 zip formatted install doesn't have a file named LIBEAY32.dll), or I might have tried using that file with the newer version.
Yes, it is possible to install the latest MSI (including the one with SSL) without admin rights via command line.
msiexec /a mongodb-win32-x64-3.2.5.msi /qb TARGETDIR="C:\MongoDB"
This will copy the binaries into C:\MongoDB\MongoDB\Server\3.2\bin
I dislike long paths like that, so I create a symlink inside the folder:
cd C:\MongoDB
mklink /j bin C:\MongoDB\MongoDB\Server\3.2\bin
That will create a soft link as C:\MongoDB\bin (which you can add to your PATH environment variable).
mongo --version
mongod --version
Both should return version 3.2.5.
You can do this with most packages, we have to do similar with Python 2.7 and Node 4.4.3 MSI packages on work computers that do not have admin rights.
You can download the "legacy" version which is the unsigned non msi version as a zip. The disclaimer is listed as
The 64-bit legacy build does not include SSL encryption and lacks
newer features of Windows that enhance performance. Use this build for
Windows Server 2003, 2008, or Windows Vista
The 3.0.5 version is https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-3.0.5.zip
The latest version is available as zip download.
[https://www.mongodb.com/dr/fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.6.zip/download][1]
Download and Unzip into folder where user has permissions e.g c:\users\xxx\mongodb.
Enter the path to bin folder (e..g c:\users\xxx\mongodb\bin) into the
environment variable 'PATH'. To access path variable press Win + R
and then enter rundll32 sysdm.cpl,EditEnvironmentVariables.
Select Path and click edit. Then enter new and there enter the path
to bin folder. Click OK and OK to save and exit.
Check Mongo version from command line using command mongo --version.
Note: Don't forget to create db folder in C drive that is required for mongo to work locally. All set.
my application needs SQL Compact SP1 and SP2 installed (Entity Framework), but there is nothing on MSDN where I can determine silent install parameters for those two files (SSCERuntime-ENU-x86.msi for SP1 and SSCERuntime-ENU.exe for SP2). And on top of that, 64bit SP1 needs to be installed like this: install x86 file and then install x64 file on 64bit machine. Any thoughts appreciated.
OK, I've figured that out myself - all you need is to take these install files, run CMD and run them with wrong parameter, for example: C:\SSCERuntime-ENU-x86.msi -myAwesomeFlag. Because of course given parameter will not be found, install process displays MessageBox with a list of all possible parameters and their options. This works for both servicepacks and .NET 4 installation package.
Generally speaking .msi install parameters are normalised compared to .exe (which can be anything the developper choose). I recommend using this command with those parameters for silent install: msiexec /i SSCERuntime_x86-ENU.msi /qn /norestart
q is for quiet
n is for No UI
norestart ensure that the computer doesn't reboot right now, this is useful if you deploy software with tools like SCCM, Chocolatey, etc. Otherwise if the software needs a reboot it will reboot the computer and if a user is working on it he will not be really happy ;)