Skip to content

(OLD) Class Server Instructions (treb06 and treb07)

Wesley Piard edited this page Mar 7, 2025 · 1 revision

Server Login Instructions

Install PuTTY (or any other SSH client). If you are running MacOS or Linux, you can skip this step and just use SSH on the terminal. Alternatively, you can use Visual Studio code for SSH and file management. See the instructions below for setup instructions.

First, make sure you are on the UF network, e.g., connected using the UF VPN or being on the campus Wi-Fi network.

There are two servers that can be used: ece-b312-treb06.hcs.ufl.edu and ece-b312-treb07.hcs.ufl.edu.

Using SSH, log into one of the servers using your UFL account. E.g., from a terminal:

ssh <account_name>@ece-b312-treb06.hcs.ufl.edu

or

ssh <account_name>@ece-b312-treb07.hcs.ufl.edu

NOTE: There are two servers. If everyone uses the same one, there may be noticeable lag when a lot of students are trying to run tasks at the same time. If you feel like you're experiencing lag, you can switch to the other server and see if that helps.

VNC Viewer Setup (GUI)

Install a VNC viewer on your local computer. Some options are RealVNC Viewer and TigerVNC Viewer. For RealVNC, you'll need to create an account and log in after installation. This can be any account, but it probably makes sense to use your UFL account.

Login to the server as instructed above, then run the following command: vncpasswd

This will ask you to create a password for your VNC session. You can ignore the “view-only” password.

Start an instance of vncserver by running the following command: vncserver

There will be a warning about vncserver being deprecated, but there shouldn’t be any errors. If there are, try to resolve them.

Make a note of the number appended to the hostname after the command completes, e.g., New 'ece-b312-treb07:5 (username)' desktop is ece-b312-treb07:5 where the number in question is 5 in this example.

Once the server is running, go back to your machine and open your VNC viewer. Navigate to File -> New Connection. Under VNC Server, put “ece-b312-treb07.hcs.ufl.edu:5”. Make sure you use the number provided by the output of the vncserver command that you ran on the server and that you use the correct server name, e.g., treb06 vs. treb07. Give the server a “friendly name”, e.g., Reconfig2.

Double click the server you just created. Enter your vncserver password when prompted. You should now see a RedHat Desktop. Hit anything on your keyboard and it should bring up a login prompt. Enter your UFL password and you should be connected.

NOTE: If the resolution or screen size is awkward, I recommend trying TigerVNC Viewer instead of RealVNC Viewer, as it has auto-resolution scaling as you resize the window by default and doesn't require creating an account. Another option is to pass the -geometry flag, e.g., vncserver -geometry 1920x1080.

Configuring Environment to Access Tools

Click on Activities at the top left. This will open a panel with various apps. Select the terminal.

From the terminal, to configure your environment, run module load rc2. You should now be able to open Questa, Vivado, and Quartus Prime Pro using the following:

quartus &
vivado &
vsim &

Make sure to include the “&” so you open each in the background.

If you want to use Quartus Standard edition instead of Quartus Pro, you can run the following:

# This unloads the quartus_pro module and loads quartus_std
module load -quartus_pro quartus_std

You may get a warning after running this command, but it should still work. To verify which modules are loaded, you can run module list.

Visual Studio Code Setup

VS Code can used to connect to remote servers via SSH which allows you to edit files remotely as if they were local, and access a terminal shell. To enable this functionality, you must install the Remote-SSH extension. Follow the official documentation.

When you get to the 3rd step of the "Connect to a remote host" section, make sure to choose Linux as the type (since the class server is Linux-based).

Once connected, you can open a directory to edit files, etc. You can also open a Terminal pane from Terminal -> New Terminal or using the hotkey <Ctrl+`>

Clone this wiki locally