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/ =)
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 months ago.
Improve this question
I was thinking to learn ROS and I realized that officially ROS only supports ubuntu. I am habitual with another Linux distribution, i.e. Fedora.
So I was wanting to know, that if I install ROS on fedora(which is listed as experimental by the community). Will it work as smoothly and with all available resources/packages/options or not?
Also, the ROS 2 Foxy Fitzro is available on windows, is it fine to use that? or I might some lack of support?
I read somewhere that ROS on other platforms doesn't have all packages and similar problems
Some packages used in ROS are not currently available in the Fedora RPM repositories. Most of the other packages are available in RPM Fusion.Please see RPM Fusion Command Line Setup.
the ROS 2 Foxy Fitzro is available on windows, is it fine to use that?
Yes, ROS 2 Foxy Fitzro is available on windows, but the pre-built binary does not include all ROS 2 packages. All packages in the ROS base variant are included, and only a subset of packages in the ROS desktop variant are included.
This answer concerns only the Fedora section. It works on Fedora 33.
I am not a ROS expert so I can't answer this question:
Will it work as smoothly and with all available resources/packages/options or not?
But I prefer not to be too optimist. If you only want to test ROS it might be fine. But if you are looking for a production development, you should better use Ubuntu instead of losing time to tweak ROS for Fedora compatibility.
However, it is possible to run ROS on Fedora. I was able to run the demo_nodes_py in talker and listener mode. This is the ROS hello world.
Build the source
There is no package to install ROS in one simple command nor I was able to run the CentOS "fat archive". I got errors, I didn't invest more than 15 minutes to solve them. Information on the internet was poor.
The only solution I found so far is to build ROS from the source. The operation was not complex as it is fully documented: https://index.ros.org/doc/ros2/Installation/Foxy/Fedora-Development-Setup/
Note that it took around 2 hours to compile.
Be aware that the compilation might require lots of skills especially when it fails.
Virtualization
Those solutions should even work with other Linux distributions.
Use Docker
You can download this image: https://hub.docker.com/_/ros
If you have already installed Docker and you are familiar with it, it seems a fair solution. It works out of the box and the image webpage is fully documented.
Thanks to the docker volumes, it is possible to develop the code and read the logs from withing your Fedora environment and to run the ROS application within the debian container.
Also, you can connect the containers to your system localhost (on Fedora). It allows to send and receive messages. As an example, I was able to interact in those 2 contexts:
talker (Docker) <-> Listener (Fedora from source)
talker (Fedora from source) <-> Listener (Docker).
Use a Virtual Machine on Ubuntu
This sounds the safer way to use the full potential of ROS. But a VM will require more disk space, more computation and you should learn the Ubuntu style to work within the VM.
You can use it for simple level operations without any problems, but when it comes to more specific issues you are very likely to run into weird problems. The solutions to these problems can be very complex. So it would be much safer to download it to ubuntu somehow.
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.
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.
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.
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 want to install a database, preferably MySQL, on my domain (Strato) to make my database accessible remotely.
Is it possible?
Has somebody tutorials on it?
I'm absolutelly inexperienced in this area. The only webserver I have ever set up was Apache (XAMPP).
Strato is a hosting provider. If you have the basic service, you can't install or use MySQL databases.
For other levels of service, see their FAQ.
Usually it's apt-get install mysql or zypper install mysql. It depends what Linux it's installed. Most likely you can also build from the sources. Then you need gcc and all tools. Apt-get install gcc or zypper install gcc. When you can disclose a bit more information maybe we can help?