How to install pre-requisites for Hyperledger Composer on Windows10 - ubuntu-16.04

I am following the tutorial for Hyperledger Composer. I'm trying to install the pre-requisites for the Composer as outlined here:
https://hyperledger.github.io/composer/installing/installing-prereqs.html
The instructions are only provided for Ubuntu or Mac, and I have Win10 machine with Docker 17.12.x
So I got Ubuntu 16.04 docker image, added curl. I got the prereqs-ubuntu.sh script, I login as blockchain user, and run the script, but I get this error:
#Updating package lists
-sudo apt-add-repository: command not found
Is it even possible to install Hperledger Composer on a Windows 10 machine?!

No it is not possible to install Hyperledger Composer on windows which includes the Windows Subsystem for Linux and other environments like MinGW that simulate a linux environment. This platform is not supported at this time. I recommend you use a hypervisor such as VirtualBox or if you are using Windows 10 Professional, the built in Hyper-V support to run a Linux virtual machine where you can install Hyperledger Composer. Also we recommend using ubuntu 16.04 as this is the level we test with most.

Related

node-red: Failed to install node-red-contrib-db2-for-i package

hi need some help please, i try to install the node-red-contrib-db2-for-i package on node-red (i used node red as a service on ibm cloud) but it fail. i have this bug :Failed to install: node-red-contrib-db2-for-i.
That package is explicitly for connecting to IBM DB2 running on iSerise and need Node-RED to be running on iSerise hardware as well.
It will NOT run on a x64 Linux machine.
From the README for the node:
Prerequisites
If you use the latest package version (>=0.1.5) :
5733OPS is not used anymore (Deprecated). A prerequisite is to install
the Node.js iDB Connector idb-connector (done automatically when
installing this package if not already present) with Node.js (version
8 and later) using a yum install. This node has to run on Node.js /
Node-RED on IBM i (Native driver) but there will be soon an ODBC
alternative :)

Building Flutter Engine on Ubuntu

I use Ubuntu 20.04. When I run https://github.com/flutter/flutter/wiki/Setting-up-the-Engine-development-environment step 7
sudo ./build/install-build-deps-android.sh
ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty), 14.10 (utopic), 15.04 (vivid), 16.04 (xenial), 18.04 (bionic), and Debian (rodete and stretch) are currently supported
And the doc says:
If you're on Linux, run the following. Note: These scripts are distro- and version-specific, so are not guaranteed to work on every configuration. If they fail, you may need to find comparable packages to the ones that weren't found.
Based on the documentation, How do I know which packages are not compatible.
Maybe you can modify that install-build-deps-android.sh script and force 20.04 and try to go on the building process?

If my CentOS 7.2 box has vagrant 1.7.2, can I just run the 1.8.1 rpm to get vagrant 1.8.1?

I have a CentOS 7.2 laptop. I have VirtualBox 5.0.x installed on it. Out of the box, it appears that I have Vagrant 1.7.2. Apparently this doesn't support VirtualBox 5.0.x, but it appears that version 1.8.1 does. What is the proper way to get access to 1.8.1? There is an installation rpm for 1.8.1 that I've downloaded, I can run this with "rpm", but do I have to do anything else before I do that?
Use Software Collections to get Vagrant 1.8.1 on CentOS: Vagrant 1.8 by Software Collections (the linked page contains instructions on how to do that). That will give you a build tested by the CentOS project.
As a sidenote: If you downloaded a standalone RPM package (presumably directly from the Vagrant project) and wish to install it, do it using the yum package manager, not rpm -- yum takes care of dependencies.

How to install MongoDB on amazon linux and connect it to Laravel-jenssegers MongoDB?

I followed this for installing mongodb on Amazon Linux. I have a laravel project to host on my amazon Linux server. Jenssegers mongoDB is already installed in the framework while developing the web app (in Ubuntu).
The web app was developed in Ubuntu 12.04 LTS, and it was working properly.
When I hosted it on the server I am getting error:
Class 'MongoClient' not found
My questions are
1. How can I configure mongodb on amazon linux?
(now when i do sudo service mongod restart it is showing FAILED)
2.What all are the configurations that must be changed in the web app(which is done in Ubuntu) in order to use mongodb?
I am using PHP54
httpd 24
Laravel 4.2
Mongo client is not included in the base PHP API. Instead it needs to be installed as extension.
Its not part of the base repository, but it is part of EPEL which can be enabled on Amazon Linux. You can also install it via pecl (Provided you have installed the tools to compile extensions). Use one of the two commands to install the extension:
yum install php-pecl-mongo --enablerepo=epel
OR
pecl install mongo
Once the installation is complete, restart apache and/or php.

Compatibility Ubuntu Server and packages on ARM

i'm working on a web server hosted on a board based on an ARM processor, that is named UDOO (http://www.udoo.org) and is similar to the Raspberry PI, and on it you can install a version of Linaro Ubuntu (11.10) modified for ARM or Android, both are downloadable from the project's site. Lately i've found a version of Ubuntu Server for ARM (http://www.ubuntu.com/download/arm/) and i wanted to know if it is compatible with all ARM devices, include the UDOO board. Also i wanted to know if the basic packages for the web server (like apache2, php5, mysql) and other packages (like mysql-connector c++, libcurl, g++) also work on ARM, under Ubuntu Server or under other Linux, like Linaro Ubuntu or Android. Someone can help me?
To install a Web Server on UDOO you can use Tasksel Installer:
sudo apt-get install tasksel
you can launch application with
sudo tasksel
There are other ways to install Ubuntu on the UDOO Board
http://dave.cheney.net/2013/10/20/installing-ubuntu-precise-12-04-on-a-udoo-quad
I just got my UDOO board today and I am going in that direction. So if Ubuntu runs nicely then most Ubuntu applications will run to.