Install syndesis on Windows when minishift is installed - windows

I have some problems to install syndesis on Windows.
My configuration is Win10 64bits with minishift installed.
minishift and oc commands works from command line.
I have started the OpenShift server and I can connect it with web browser.
I tried the install mentioned README.md with Cygwin: "bash <(curl -sL https://syndes.is/start) --vm-driver hyperkit" --> nothing happen
Then I tried the syndesis-cli from 2.0.0-20210514 with Cygwin
$ ./syndesis install
/cygdrive/d/users/toto/Downloads/syndesis-cli/commands/util/common_funcs: line 354: /home/toto/.syndesis/bin/platform-detect: cannot execute binary file: Exec format error
operator binary not found under /home/toto/.syndesis/bin/syndesis-operator, attempting to download...
OK
Unknown platform [ cygwin ],
unable to download the operator binary, exit
ERROR: Last command exited with 1
How can I install syndesis on Windows?
Thanks !
Toto

Related

Cant Install Laravel with Docker on Windows WSL

I can't seem to install the new laravel with Docker Desktop on Windows 10.
What I did so far:
I installed Docker Setup with WSL2.
then I installed Ubuntu Distro from Ms Store.
then on command prompt terminal I run wsl command then when I tried to run curl -s "https://laravel.build/example-app" | bash I got this error -sh: curl: not found.
I can't event use the apt command, it gives the same error.
The only working command is ls
WSL integration options on Docker Desktop are already checked
Am I missing something here? How to fix this?
It looks like the curl command is not installed in your Ubuntu WSL distribution. You can install it by running the following command in your WSL terminal:
sudo apt-get update
sudo apt-get install curl
This should install curl and allow you to run the curl command to download the Laravel installer script.
If you're still having trouble using apt, it's possible that your Ubuntu WSL distribution is not properly installed or configured. You may want to try reinstalling or resetting it.
Once you have curl installed, try running the Laravel installer script again with the curl command:
curl -s "https://laravel.build/example-app" | bash
This should create a new Laravel application in a directory called example-app.
If you're still having trouble, you can try using the Docker image for Laravel instead of installing it directly on your machine. The official Laravel Docker image includes everything you need to get started with Laravel in a containerized environment.

structr.service is not a native service, redirecting to systemd-sysv-install

try to install the structr version 4.2.0 in ubuntu but terminal shows "structr.service is not a native service, redirecting to systemd-sysv-install." after running the command "sudo service structr start it shows nothing"
structr-4.2.0 downloaded on system and try to install the structr using command line (
sudo dpkg -i structr-4.2.0.deb)

docker commands not found

I installed docker in Mac and it is installed successfully.
Also it is running.
And tried to execute the below command in terminal
docker -v
See the below error:
-bash: docker: command not found
How do I solve this issue.
In windows those commands are working fine.
If you successfully installed docker using the official package, the command should be available under /usr/local/bin/docker.
That directory might not yet be in your $PATH, so you could try adding export PATH="/usr/local/bin:$PATH" to your .bashrc / .bash_profile.

How can I resolve the error oci runtime error: exec: no such file or directory when using docker run on Windows

When running a Docker command such as
docker run ubuntu /bin/echo 'Hello world'
used in the in the starter example docs on the Learn by Example page of the Docker docs I see the error
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: oci runtime error: exec: "C:/Program Files/Git/usr/bin/bash": stat C:/Program Files/Git/usr/bin/bash: no such file or directory.
How can I resolve this?
This error could be caused by the setup on your system including mingw (you might see this if you have installed Git for Windows with MSYS2 for example - see here for more information). The path is being converted - to stop this you can use a double slash // before the command. In this example you can use
docker run ubuntu //bin/echo 'Hello world'
(notice the double slash (//) above). If all goes well you should now see
Hello world
An complete and slightly more complex example is starting an Ubuntu interactive shell
docker run -it -v /$(pwd)/app:/root/app ubuntu //bin/bash
Note that in my case using Git Bash I only needed one extra slash because echo $(pwd) on my machine expands to:
/c/Users/UserName/path/to/volume/mount
As another example the following can be used if zip is not available (as is the case on Windows 10 as well as Git Bash) You cannot easily zip a file for a something like an AWS Lambda function (actually there are few ways without Docker or even installing third party software if you prefer). If you want to zip the app folder under your current directory use this:
docker run -it -v /$(pwd)/app:/root/app mydockeraccount/dockerimagewithzip //usr/bin/zip -r //root/app/test1.zip //root/app
The mydockeraccount/dockerimageqithzip can be build by creating a Dockerfile like this:
FROM ubuntu
RUN apt-get update && apt-get install -y zip
Then run:
docker build -t mydockeraccount/dockerimagewithzip .

Start MongoDB with git bash

kevin#KEVIN-PC MINGW64 /C/MongoDB/bin
$ ls
bsondump.exe* mongodump.exe* mongoperf.exe* mongotop.exe*
libeay32.dll* mongoexport.exe* mongorestore.exe* ssleay32.dll*
mongo.exe* mongofiles.exe* mongos.exe*
mongod.exe* mongoimport.exe* mongos.pdb
mongod.pdb mongooplog.exe* mongostat.exe*
kevin#KEVIN-PC MINGW64 /C/MongoDB/bin
$ mongod.exe
bash: mongod.exe: command not found
I installed the mongoDB with version Windows 64-bit 2008 R2+ on my windows8.1. Could anyone tell me why I got command not found error when start the mongod.exe?
try ./mongod to run the executable to begin the server then open a second window/terminal. navigate to the same location as your server, then run ./mongo. Should be set!
cd to you installation folder C:\Program Files\MongoDB\Server\3.6\bin then start mongodb server ./mongod.

Resources