Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.17 KB

lab-machines.md

File metadata and controls

32 lines (19 loc) · 1.17 KB

Setup instructions for the University Linux machines

To setup Go for your user account on a lab machine you need to update your .bashrc file.

  1. Open the file by running gedit ~/.bashrc in terminal (if you are not in a graphical environment, use a terminal-based editor e.g. nano ~/.bashrc).

  2. Add this to the end of the file:

module load go
export GOPATH="$HOME/go"
export PATH="$PATH:$GOPATH/bin"
  1. Save the file and exit.

  2. Close and re-open any terminal windows. If you are working over ssh you can use the command source ~/.bashrc.

  3. Verify your installation with the command go version. The version will be 1.17.13.

Using IntelliJ with go plugin on lab machines

IntelliJ is installed on thr lab machines. To use it, open the search bar and type: "ultimate" and it will come up

It's just been installed so we have had little time for testing. It should "find" go automatically and configure itself. If you need to specify the above version, select:

  • File->Settings->Languages & Frameworks->Go->GOROOT

and edit appropriately.

Remote Access to Lab machines

https://uob.sharepoint.com/sites/itservices/SitePages/fits-engineering-linux-x2go.aspx