Similar to the Windows question, Github workflows on MacOS VM offers PostgreSQL, but it does not include PostGIS. I would like to install it, but it is missing as an installable package. How can I use PostGIS in my CI?
Related
I have been trying to install Dreamfactory on Xampp but can't find a single article on how to do so.
Purpose: To generate REST API in php with mysql.
What I have tried:
Initially I installed windows version of
Dreamfactory from official site. It was installed successfully but it don't allow access to MYSQL database in free version. Paid version is out of my budget, so I tried with Xampp. I downloaded open-source version from
Github. After extracting it, executed php artisan serve in xampp command shell as mentioned on Dreamfactory Wikipedia Installation guide. This resulted in following error:
Warning: require(D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php): failed to open stream: No such file or directory in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
Fatal error: require(): Failed opening required 'D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
As mentioned in Git documentation, they have given installation procedures for Ubuntu and Debian. Further more, they have mentioned about Bitnami official installation software, but non for XAMPP or stuff like that.
Question:
Is there any way we can install Dreamfactory on XAMPP? If yes, how so!
I'd venture it's going to be fairly difficult task to run DreamFactory on XAMPP because DreamFactory requires quite a few dependencies which are not installed on XAMPP by default.
Your best bet would be to run the Bitnami for DreamFactory environment, or alternatively use Docker. Both can be downloaded from the DreamFactory website downloads page. Alternatively, if you'd like to run DreamFactory in a VM, the OSS download README points to automated installers for Debian and Ubuntu. Additional installers for CentOS and Fedora are found here, they work great however we just haven't moved them into the official distribution yet.
I want to use MySQL for an electron app in production and thus, if the client machine doesn't has MySQL already installed on it, then the app will not be able to function. So, is there any way to execute a auto-install MySQL script that installs MySQL on the client machine, even if its not already installed.
Since the app has to be cross-platform, so I am looking for a standard or minimum effort procedure (to speed up the process) to achieve the above, during first-time-app-startup on Windows7+, Ubuntu 14+ and macOS.
I found the following ways to auto-install:
Windows : Link
Linux & macOS: Create a bash script that runs before first-time-startup of the app. (Although, it will check whether MySQL instance is already present on the machine or not)
Looking for a better option than the above mentioned ones.
You may wish to consider the BitNami MySQL distribution; I have always used their VMs when I went after their products, but stand-alone installers are offered for most platforms (including Linux).
(Edit: It seems that the installer for MySQL is offered only for Linux x64)
I was wondering why would anyone want to install MySQL via something like BREW or a package manager instead of going to http://www.mysql.com/downloads/ and just downloading the entire installer?
Is there any benefits or time saving capabilities when I install my local MYSQL setup via BREW?
Vs. using the site:
Using brew or your package manager saves you the time (you don't have to hunt around for a download on the site).
The site can deliver the software in one of many unpredictable ways (e.g., as anything from a script that installs things via your package manager or compiles from in situ resources), including ways that disrupt dependencies of other installed software (which is why installing via package manager is safer and why installing things in this way, around the package manager, should be avoided unless necessary).
Vs. your ordinary package manager:
brew doesn't need sudo; it doesn't write new software versions over old software versions on the system or break system dependencies. Indeed, one of brew's perks is installation into user-specific directories and version-specific subdirectories. You can think of it as a more flexible, power-usery version of the package manager.
brew can install things not packaged by your distro or newer versions of those things than are packages by your distro.
brew is also cross-platform (works on Windows, Linux, and macOS).
I have a Google Virtual Server(Microsoft Windows Server 2012) and I would like to run AVD with X86 Processor Setting. I need to install HAXM but when I want to install it I get an error message.
HAXM Install Error Message:
Could anyone help me how can I install the HAXM on the Google virtual server?
Sorry, but nested virtualization (specifically, exposure of virtualized VT-x support, which is what HAXM is looking for) is not currently supported on Google Compute Engine. Unfortunately this is not mentioned anywhere in our documentation that I see, but it is in fact true.
A similar question was answered here: Does Google Cloud services support nested virtual machines?
I am new to ruby and just beginning to understand It's potential. So I am trying to use it for my everyday tasks. One of those things would be the setup of a Webservice on a local machine for testing. It set up script should:
check out several projects from subversion repositories
install Hadoop (if it's not already installed), start the Server and execute a few commands in the hbase shell
install the JDK (if not installed)
install MySQL (if not installed) and execute some SQL to create and set up the DB
Install maven (if not installed) and run some maven tasks.
So here's the deal. I want this to be a cross platform installer - it should be able to install the Webservice on Windows, Linux or OsX.
Is it possible to implement this in Ruby and what gems could be useful for that task? Are there better ways to create such an installation routine?
Regards
R.
Have a look at Chef. It provides an automation framework for managing systems. It's written in Ruby and you use a mostly Ruby recipe DSL.
People package Cookbooks for managing groups of installation and configuration recipes, which are normally based around a piece of software.
Hadoop
MySQL
Maven
Java
You will run into issues bridging the gap between Windows and Unix. Although Chef does provide good Windows support these days most Chef/community cookbooks will support Linux primarily as they can rely on the underlying package manager which Windows lacks. Often you may end up finding/using separate Windows cookbooks specifically for the Windows install.
For when you do need to do a Windows install, look at using Chocolatey and it's cookbook which provides a unix like package interface for Windows so you don't need to worry about packaging up the software manually or dealing with random NSIS/MSI installer options.
If you do extend one of the Unix cookbooks to support Windows, be nice and contribute it back to the community.