logo

windows-wsl

Windows: WSL

Follow these steps to setup Runops proxy mode on Windows using WSL:
  1. Download and Install nodejs
  1. Install Runops CLI:
plain text
npm install -g runops
  1. Login to Runops
plain text
runops login
  1. Install WSL
plain text
wsl --install -d Ubuntu
  1. Search WSL in the start menu and open it
  1. Inside the WSL shell, download and install the proxy application:
plain text
wget -c https://github.com/runopsio/rproxy/releases/download/0.2.0/rproxy_0.2.0_Linux_x86_64.tar.gz -O - | tar -xz chmod +x rproxy
  1. Now start the proxy
plain text
cp /mnt/c/.runops/config $HOME/.runops/ ./rproxy postgres -c <YOUR DATABASE NAME HERE>
  1. Open your database client and create a connection with the data:
  • Hostname: 127.0.0.1
  • Username: runops
  • Password: runops
  • Port: 5433
Repeat steps 3 and 7 to restart your connection. For security reasons Runops asks you to login again every few hours. Repeating these steps reestablishes your connection.

Powered by Notaku