How to deploy Cordova app to remote machine? - linux

Good day!
I have some server with nodeJs and i want easy deploy my code to remote machine.
Case: simple netbook with Lubuntu+VisualStudio Code->run->delpoy to server (Ubuntu Server 14.04).
May be some solutions exists?
Thank you!
P.S. possible this may can help? build cordova by ssh
P.S. i change theme, because old theme is not 100% valid.

Related

Angular 6 & Vagrant issues

So, I've been trying to build a MEAN (MongoDB Express Angular NodeJS) stack server to use for academic teaching purposes, as a student sandbox/training environment. I can install all packages fine, the problems appear when trying to generate a new project inside my Linux box. It always halts towards the end, with an error about "Busy File" or something along those lines, and thus the project is missing crucial files to run with the command 'ng serve'.
Another problem is the sync between host and guest, I am running Windows 10 as host, and using Debian 9 as the guest, and when editing and saving files on the host, NodeJS compiler is not triggering nor synchronizing my changes to the server.
I've tried some Vagrant plugins, such as FS-Notify and WinNFSD, but to no luck. I remember reading something about Nodewatch being the culprit, but I am not sure and I don't have much experience around Angular, Node and Vagrant together.
I've browsed the Github repository Vagrant Plugins, https://github.com/hashicorp/vagrant/wiki/Available-Vagrant-Plugins, but can't seem to find an appropriate solution to run an isolated MEAN stack Debian with only Vagrant and VirtualBox on a Windows host.
I am using Windows 10 as host, Debian 9 as the guest. Windows host is using Vagrant 2.1.4, and VirtualBox version 5.2.18. (I've tried using Docker, but it requires and consumes too many resources, unfortunately.)
I've noticed that there seem to be quite a few people with similar issues.
I would greatly appreciate any help or input on what to do. Thank you in advance.
https://blog.entrostat.com/vagrant-ubuntu-docker-windows/
Following this article worked just fine for me.
Don’t forget to start a second PowerShell and run
vagrant fsnotify
The only issue I’m currently trying to resolve is tslint going crazy in VS. Code and WebStorm due to the host system not containing node_modules.
I’ll get back here when I find a solution.

Run artifactory on browser

I installed artifactory on linux server. I want to know how to check whether it is properly installed.
Secondly, I want to use it's user interface on google chrome. From where I can get SERVER_DOMAIN and PORT number for it's url from installed files on server?
Thanks in advance.
Your question is a bit vague.
How did you installed it (ZIP, RPM, Docker, Deb...)?
Which database you used (default, Oracle, MySQL etc..)? You can see if the server is up and running by running the following REST API from the machine you have installed it on:
curl -iuadmin:password localhost:8081/artifactory/api/system/ping
Regarding the IP, this can be checked by running 'ifconfig' on the linux server and get the IP of that machine.
Artifactory by default is running on port 8081, unless you changed it.
It seems that you will need to follow the basic installation wiki:
https://www.jfrog.com/confluence/display/RTF/Installing+Artifactory

Running a QT-GUI program on Ubuntu Server

I want to run cmake ( A build tool) which has a QT-GUI on my Ubuntu Server VM. I am currently getting the following error:
cmake-gui: cannot connect to X server
I would really appreciate any help or guidance on what to do to get it going. I believe that the server edition misses on GUI front for the Ubuntu, but is there any way I can the application working. Running a full-fledged Ubuntu VM is heavy.
Do not use cmake-gui but cmake

How to run Shiny Server on linux using remote acces?

I'm trying to put in production my shiny app. I can run my shiny app locally on my Windows machine, from R. However, since we need to use Linux to deploy the app over the web, we decided to use a Linux server for that. We access this Linux server remotely, from our local machines (running Windows).
I followed the instruction at the RStudio website, and successful installed Shine Server on the Linux server. Its's running on it. I don't know what to do next. So, my question is: what should I do next? Please, remember that I access the Linux server remotely (using puty). Also, I have almost no knowledge of Linux.
Any guidance on what to do next is very welcome.
Some info that may be useful:
I use a Ubuntu 12.04.3
I ran as root (I think, but I can use sudo, for sure).
Another person has access to this server besides me.
We use R 3.0.2
you can follow the instructions here:
https://groups.google.com/forum/#!msg/shiny-discuss/NuZp0ziVXvw/BXHcIoXThnoJ
Short answer:
# this is all one line
sudo wget\
https://raw.github.com/rstudio/shiny-server/master/config/upstart/shiny-server.conf\
-O /etc/init/shiny-server.conf
# Start the server
sudo start shiny-server
Then just open a browser and point to it

UNIX/LINUX localhost server in a windows machine

I'm using XAMPP for windows to build my website projects, but I need to create a website in a UNIX/LINUX based server, but since I'm using XAMPP it is a Windows based server.
Somebody knows how can I do that in a windows machine, without having to install Linux in my machine?
Thanks in advance!
Install VirtualBox and run a VM of your favorite linux distribution. My suggestion would be Debian or Ubuntu.

Resources