-
Notifications
You must be signed in to change notification settings - Fork 3.9k
How to setup VPS on Vultr.com and run Gekko
Hello all!!
I have been playing with Gekko since last 6 months and I use VMware to backtest it. I have also bought RaspberryPi which is currently running Gekko's instance with my own strategy - available at https://github.com/pushkarnagle/gekko-buyatsellat
But since in India, there are many power outages and inconsistency in internet connection, I finally decided to buy a cloud server just for testing purposes. After thorough research and reading many reviews, I ultimately bought smallest VPS on Vultr.com
It's costing me around $2.5 a month and it has 512 MB RAM, 20GB SSD and 2.4 GHz Intel processor. I chose Ubuntu 16.04, as its quite user-friendly and widely used these days. It got quickly set-up and the server started running in around 3-4 minutes!!
If anyone wants to install GUI on Vultr VPS, I have provided steps below:
- Go to Management area of that VPS machine on Vultr.com.
- Open 'View Console'
- Login with
root
and the default password provided. - Follow this tutorial to install GUI Desktop on this VPS https://www.vultr.com/docs/install-gui-environment-for-ubuntu
- After installing above desktop and rebooting, you might struggle to find the terminal. Click on icon at left-bottom corner, open
Run
- Type
xterm
and hit enter. - Install 'lxterminal' with this command -
apt-get install lxterminal
- Close xterm and run lxterminal via Accessories > Byodu Terminal
- You will need to install Nodejs before installing Gekko. Gekko requires version > 6. You can install it by executing below commands-
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
andsudo apt-get install -y nodejs
- Check npm version before proceeding to install Gekko by
npm -v
. If it is < 4.5, then Gekko might not run. Runnpm install npm -g
to update npm to latest version. - Install Gekko as given in this tutorial - https://gekko.wizb.it/docs/installation/installing_gekko.html
Now you can run Gekko in UI mode or via command line. Alternatively, you can also install VNC services to access this VPS remotely. Else, default console facility of Vultr is already there.
Happy cloud computing!!
Hello Mike