Graphhopper as a background service on ubuntu - graphhopper

I want to run graphhopper as a background service and have it start on boot. I am running it on Ubuntu 14.04.
Can anyone point me in the right direction.

Related

Openshift oc cluster up fails to connect to 127.0.0.1:8443

About OpenShift. I downloaded and unpack the last version of okd (from https://www.okd.io/download.html#oc-platforms)
After, just "oc cluster up"
Apart initial problems due to permissions and to --insecure-registry to be added to docker config, the "installation"/"containers starts" seems to be ok.
But at the end the connection on localhost:8443 is refused.
The linux is a Ubuntu 16.04 LTS running on a Vmware workstation VM.
Any suggestion is welcomed.
Thanks, Lorenzo

Setting Up a Python Script on Ubuntu Server

Hello I just finished my a project this last spring and built a ~1500 line Python/MySQL Raspberry Pi home automation server. I have a home server built with Ubuntu Server installed and have everything setup on the GUI at the moment for debugging. I would like to have it setup so that as soon as the the server turns on manually or by wake on LAN that it automatically runs my python script. The issue I have had with this method is that since there are many threads in the program I cannot use control-c to stop the program and this would prevent me from accessing the GUI for more debugging in the future. I have had not experience with Ubuntu server and would like to know the options here.
-Thanks

Windows Service installation on Docker Container

I am trying to port one of our Tomcat based Windows application to Windows Nano Server Container. The installation process includes two Windows Service installations - an ActiveMQ service and another Tomcat Service. This is achieved using two batch files provided with the product. In addition to installing the service, they also pass several arguments pertaining to JVM. Now the issue I am facing is I am not able to get these services installed on a Nano Server. The same Dockerfile works perfect and installs the product on Windows Server Core Container.
Observation: The services which get installed through batch files are dependent on two system components - Ancillary Function Driver for Winsock (Service name: afd) and TCP/IP Protocol Driver (Service Name: tcpip). This is something which I discovered on a VM where the product was installed when checking the service properties. I see that they are absent in a Nano Server Container but are present in Windows Server Core container. Could that be a reason? If yes, is there any way to get those services running on Nano Server?
I am at a loss on how to troubleshoot this issue. Are there any limitations on Nano Server Container when it comes to Windows Services?
Consider building your docker container from the ground up,
Determine and set your prerequisites
Install all of the dependencies first
Install the application and services in question
(For additional information you can look at this wiki page.)
The Nano server container is minimal and misses many windows default services, you’ll have to build most of them through Dockerfile yourself.
The easiest method will be to do this manually on Nano server and confirm everything to be working in the docker container/image, and then later generate an automated build.

OpenShift DIY cartridge and LEMP installation

Im trying to install the following components on Openshift (Free plan: 3 small gears):
Nginx
Php - php-fpm
MySQL
Wordpress
Since a DIY cartridge is limited to 1 gear and can't be scaled, do I need to install all components on one gear, or should I install each component on a separate gear? What's the best approach to install a custom LEMP stack on this server?
Thanks
You would need to install all of the components on one gear. If you install the database on a separate gear, without using a scaled application, then you would run into issues connecting to the database without using port forwarding between your gears.

Migrating from Mysql to mariaDB killed website

followed this tutorial for for digital ocean droplet web server.
http://www.unixmen.com/10-easy-steps-to-upgrade-from-mysql-to-mariadb-on-centos-6-4/
which went smoothly untill rebooting now my sites are all white screening, here is a wordpress installation with the debug mode on.
http://grandmstramrod.co.uk/
the service is also running varnish cache.
any ideas would be great
thanks