How can I deploy a local server easily? [closed] - mysql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm making an application for a research project with interesting requirements. The data we are using right now is private and cannot be online in any form. However, I have to make it so that it could be online since this is a proof of concept.
I am using a MySQL database, Node.js/Express back-end and React (and possibly D3.js) front-end. Right now all I have is a dev environment through Visual Studio Code where I manually run the server and the React app before viewing the app on localhost:3000.
Despite these restrictions I have people who are expected to use this system without much technical background. So I need a way to deploy my local app and database so that these users will be able to set it up and run it simply and easily, without using the internet to host anything (even intranet is not allowed). Any ideas?
Any assistance would be greatly appreciated!

The easiest way would be to create yourself a bash script that starts all required components, e.g.
#!/bin/bash
cd ~/workspaces/frontend/
npm run start
cd ~/workspaces/backend/
npm run start:database
npm run start
You could go as far as checking if the folders exist and if not clone the required repositories and run npm install or git pull as well.
So you only have to teach your coworkers to open a terminal and run one command ./start.sh

You could use docker and docker-compose.
You could also add Makefile.

Related

Installation of Mysql-server and Mariadb-server on the same server [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 days ago.
Improve this question
Good morning fellow community members. I hope you can help me with the following question.
I have an application installed on an Ubuntu server which used MySql-Server and connected through a socket. The situation is that I have tried to install a 2nd web application on the server which uses Mariadb-server.
The issue is that after installing Mariadb-server, I still had access to the database installed in MySql-server (through the web application), however when I finished installing Maridb-server I decided to reboot the server After that, for some reason, I can no longer access the data that was hosted on MySql-Server.
At first glance the database has not been removed, it is simply inaccessible by the mariadb-server installation.
How can I get it back?
Thanks for your help.

Is it possible to run "mysqld" without installation in Linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have run mysqld.exe in Windows to run the server without installation. I am able to connect to it via a client and everything works fine.
Is it possible to do the same in Linux? Can we run mysqld without complete installation of the whole MySQL package. I tried several ways but failed.
Q: Is it possible to run “mysqld” without installation in Linux?
A: Short answer: no.
The mysqld executable depends on shared libraries, and on runtime configuration of several different files in several different locations.
Q: Is it possible to create an embedded mySQL configuration, in lieu of the standard install?
A: Depending on your requirements, this might be something you wish to investigate:
https://www.mysql.com/oem/
The Bitnami stack provides what you need.
https://bitnami.com/tag/mysql
Basically, they provide self-contained packages for the different services that are normally available through apt, yum or any other packages manager. I use it for example to install Redmnine (BUG tracking system) and the installation was straightforward.
The good thing is that the installation process doesn't affect your current system (packages, shared libraries etc) since all the dependencies: packages, shared libraries, etc are installed in a single directory. Thus, it's very easy to install, test and delete the whole thing easily if you would like to.
Depending on what you mean by "without complete installation of the whole MySQL package"... the answer is yes.
As a DBA, I don't trust package management to manipulate my MySQL installations, so I never install MySQL Server from package management.
I manage everything myself, and essentially everything is stored under /usr/local/mysql from the Linux Generic binary tarball. There is nothing really "installed" in the sense of mystery files added who-knows-where on the system. Upgrades involve extracting a new tarball and creating a new symlink for the datadir.
The only external dependency is easily resolved with $ sudo apt-get install libaio1.

How to reinstall MySQL in Cloud 9 IDE [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a workspace in Cloud 9 IDE which was created more than 2 years ago. At that time I created simple C application to test MySQL connection. I remember application worked at that time.
Now after a long period of time I try to recompile my test application but I found that there is no mysql.h header file in the Cloud 9 virtual machine.
mysql-ctl seems to work: it reports that mysql is running. but there is no mysql headres in the filesystem.
So I think I need to reinstall MySQL in Cloud 9 but I cannot find any documentation on this topic. Also it looks like their own package manager c9pm is not supported anymore.
So how can I reinstall MySQL in Cloud 9 virtual machine?
Since there was a completely new version Cloud9 almost a year ago (https://c9.io/blog/announcing-the-all-new-cloud9-development-environment/) I can imagine something like a compilation against mysql.h got broken. I would create a new workspace and transfer your files to that workspace (use File > Download Project). In the "new" Cloud9 you can simply use sudo apt-get install to install software rather than use c9pm.

installing mysql on cygwin [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to install mysql using cygwin. This guide seemed to be exactly what I wanted. I downloaded the bottom item on this page. Then I followed all the instructions however there is no configure file in the mysql directory. There is a cmake directory inside of which there is a configure.pl file. I'm not sure if I'm supposed to run make to compile this .pl file. Given that there are no make files I'm a little confused on how to proceed. Any insights would be awesome.
Why would you install MySQL under Cygwin when there is a perfectly fine Windows version available? Also the version you said you downloaded is for OS X, while Cygwin emulates Linux.
I advice you to use the Windows version because it will probably be far more stable, fast, etc, etc, due to the fact that you don't need to emulate nothing. Further if there is some reason you need to run it under Cygwin use the Linux binaries.
Cygwin lets you choose some binaries to be installed for you at install time, and maybe MySQL is amongst them, so if you rerun the Cygwin installer you might get lucky and avoid the trouble of compiling / configuring MySQL yourself.
Also; This question probably belongs on https://serverfault.com/ or https://superuser.com/ =)

Source for Oracle's MySQL installer for Mac [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Does anyone know if I can download the source for the installer used for the binary distribution for MySQL on OS X? I don't mean the MySQL source, I know that's easy to find, but rather the Installer scripts (including postflight, etc) that are contained with the DMG you can download from the MySQL website. I'd like to try and drop MariaDB in the installer instead of build my own installer from scratch. There are also problems with the Startup items that need repairing. I'm having a difficult time stringing together the right phrase in Google to find this, nor did I find it on MySQL.com (vanilla source code tar.gz does not contain any OS X items).
The source code for the OSX installer comes from an internal source code repository. It was never open-sourced.
I asked a member of the MariaDB team and they showed me that it's in an old version of the MySQL bzr repository:
bzr branch -r date:2005-04-22 lp:mysql-server mysql-server-2005-04-22
The script to generate the installer is at Build-tools/Do-pkg