Running gekko on a ubuntu server with apache - Printable Version +- Gekko Forum (https://forum.gekko.wizb.it) +-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html) +--- Forum: Technical Discussion (https://forum.gekko.wizb.it/forum-23.html) +--- Thread: Running gekko on a ubuntu server with apache (/thread-1464.html) |
Running gekko on a ubuntu server with apache - SettusBlake - 02-10-2018 Hello! My knowledge of linux, apache and nodejs is not that great. But has someone a good detail description for me, how I can run it on an apache server (linux)? RE: Running gekko on a ubuntu server with apache - ankasem - 02-10-2018 hi ubuntu is easier but you do not terminal open ------------------------- sudo apt-get update curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs sudo apt-get install -y build-essential sudo apt-get install git git clone git://github.com/askmike/gekko.git cd gekko npm install --only=production node gekko --ui http://localhost:3000 In bash hold ctrl + c. -------------------------------- for server ---------------------------------- https://gekko.wizb.it/docs/installation/installing_gekko_on_a_server.html RE: Running gekko on a ubuntu server with apache - askmike - 02-11-2018 @ankasem your instructions work but it is recommended to put a webserver in front of the gekko server (with security like basic auth), unless you are talking about running Gekko on a ubuntu desktop. @SettusBlake I haven't used Apache in years, the link from ankasem guides you through how to use nginx (instead of apache). Note that specifically for not super tech savy people who have trouble installing and managing their server I am setting up a service where I will run Gekko for you in the cloud, see here for more info: https://forum.gekko.wizb.it/thread-1435.html RE: Running gekko on a ubuntu server with apache - SettusBlake - 02-14-2018 Ok, now I have a AWS Server with ubuntu and nginx installed. I tried the guide, but I cant get it do run. RE: Running gekko on a ubuntu server with apache - SirTificate - 02-14-2018 (02-14-2018, 08:10 AM)SettusBlake Wrote: Ok, now I have a AWS Server with ubuntu and nginx installed. I tried the guide, but I cant get it do run. So now what? How do you think someone can give you advice, when you don't give us any details about where you're stuck. For instance: What's the error message? Even in 2018, magic glassballs are still not functioning properly. RE: Running gekko on a ubuntu server with apache - cristi9313 - 02-14-2018 Hi guys. Just installed it on nginx, this is my config file: PHP Code: upstream websocket { and this is my UIconfig.js PHP Code: const CONFIG = { I want to run it over SSL, I generated an SSL cert with letsencrypt like I usually do and placed it in the nginx conf, but it just times out. Does anyone have a working example of an nginx conf and UIconfig.js with SSL enabled? I think there's some issue with the reverse proxy. This is my config with https on: PHP Code: server { RE: Running gekko on a ubuntu server with apache - SirTificate - 02-14-2018 Does your firewall block port 443? ALso, you have to edit the ui config and set SSL to true and set the port to 443. RE: Running gekko on a ubuntu server with apache - cristi9313 - 02-14-2018 (02-14-2018, 04:08 PM)SirTificate Wrote: Does your firewall block port 443? ALso, you have to edit the ui config and set SSL to true and set the port to 443. Ah man that was it, I copied a wrong security group on AWS. You're awesome! thanks! @SirTificate, what's your suggestion on running the node process as a daemon? Sorry, coming from PHP RE: Running gekko on a ubuntu server with apache - donkykong017 - 02-15-2018 i tried to set this up on AWS EC2 everything seemed to work but at the last step when i try to set username and PW i get this error: Quote:printf "username:`openssl passwd -apr1`\n" >> /etc/nginx/.htpasswd I tried to google the issue but could not find anything that solved it. tried to set permissions and so on. but cannot seem to write or modify the file. when i try to start the nginx service i get this error: Quote:service nginx start In the details i see: Quote:systemctl status nginx.serviceIn the config file the server_names_hash_bucket_size: 64 is set. can anybody help me set this up. i want to run gekko on AWS EC2 protected from the outside world and accessible from anywhere with basic authentication. RE: Running gekko on a ubuntu server with apache - SirTificate - 02-15-2018 The error message is pretty clear. INCREASE the value! |