1. Knowledge Base
  2. Open Source JackTrip
  3. Other Applications Related to JackTrip

Linode [2]: Deploy Server Image for JackTrip session

Start a Remote Linode Cloud Server for a JackTrip Session Using an Existing Image

betaFeb252022 : added note about using <enter> after each Terminal command

The link to the Downloadable/Printable PDF version of this guide may be found by scrolling down to the bottom of this page.

IMPORTANT:  ALWAYS BE SURE TO DELETE your remote Linode Cloud Server before you logoutof your Linode website user account, otherwise you will get charged even if it is OFFLINE!!

This how to guide assumes that you already have a working Linode Image and you just want to Deploy a New Linode for a jacktrip session.


CONTENTS:

S1. Deploy New Linode with jacktrip installed via the Linode website

S2. Login to the new remote Linode Cloud Server via Terminal on your computer

S3. Fire up jackd and then jacktrip in Server Mode on your new remote Linode Cloud Server via Terminal on your computer

S4. When done with your jacktrip session, Delete your remote Linode Cloud Server via the Linode website

Additional Articles in this section:

Linode [S5] Terminal Window Remote Server SHORTCUTS

Linode [S6] Extra Feature - Run Jacktrip in Server Mode independently


GENERAL TIPS:

1. When using Terminal commands, if something doesn’t work as you expected always recheck what you typed in, sometimes a little typo can make the difference between failure and success!

2. When using the Linode website, whenever you perform an action, make sure to wait until the action completes. For example, when you power up your remote Linode Cloud Server, be sure wait until it says RUNNING with a green dot before copying the ssh command and trying to login to your remote Linode Cloud Server.

3. Before you logout of your Linode website user account, make sure to always DELETE your remote Linode Cloud Server otherwise you will continue to get charged for it even if it’s listed as being OFFLINE.

4. As of this writing, there is a monthly charge of $0.10/GB to store Images for Linode users. Limits per user account are: 6GB per Image, 150 GB maximum combined size of all images, up to 25 images.

 

Start a remote Linode Cloud Server for a jacktrip session using an Existing Image

If you aren’t already logged into the Linode website via the Google Chrome web browser, then do so before starting the following set of instructions.

S1. Deploy New Linode with jacktrip installed via the Linode website

01-Linode [2]- Deploy Server Image for JackTrip session

[Images page should appear]

02-Linode [2]- Deploy Server Image for JackTrip session

[the images options pop up menu should appear]

03-Linode [2]- Deploy Server Image for JackTrip session

[the Linodes / Create page should appear]

06-Linode [2]- Deploy Server Image for JackTrip session

[scroll down page if necessary to Linode Plan selections

(the look of this part of the page might look slightly different on different systems)]

05-Linode [2]- Deploy Server Image for JackTrip session

When selecting which plan to select for your ensemble, 1 CPU = 2 to 5 connections, a hub requires 2 connections per ensemble member; 8 CPU is probably fine for 8 ensemble members.

 

[scroll down page if necessary to fill in Linode Label and Root Password]

06-Linode [2]- Deploy Server Image for JackTrip session

Note:  You should only get charged by the hour even though the Linode Summary window makes it
           look like you are going to get charged by the month

 

[The Linodes page for your remote Linode Cloud Server should appear]

06-Linode [1]- Setup Remote Server with JackTrip Installed

Footnote:

If you decide to select Dedicated 16 GB or greater, the first time you do so, you will get the message:
   ‘Additional verification is required to add this service. Please open a Support ticket’
   You can open a support ticket and the Linode Support team will give you permission to select higher plans.

 

S2. Login to the new remote Linode Cloud Server via Terminal on your computer

Open Terminal on your computer.

08-Linode [2]- Deploy Server Image for JackTrip session

 

S3. Fire up jackd and then jacktrip in Server Mode on your new remote Linode Cloud Server via Terminal on your computer

 

Type in the Terminal commands below (shown in boldface) and hit the <enter> key.


a. Go to the builddir directory:

cd

then
cd jacktrip

then
cd builddir

b. Start jack in server mode:

in this example, buffer of 512 frames/period, sample rate of 48k, &=run command in background
jackd -d dummy -p512 -r48000 &

c. Start jacktrip(2) in server mode:

here is an example of a command Sarah Weaver has used with the NowNet ensembles
[-S = run in Hub Server Mode, -p2 = client out/in but no loopback]
./jacktrip -S -p2 -q32 -z

 

d. Connect in jacktrip to your remote Linode Cloud Server as you normally would do.

To do this, you will need the ip-address for your remote Linode Cloud Server.

You can find it on the Linode website back on the Linodes page for your remote Linode Cloud Server:

09-Linode [2]- Deploy Server Image for JackTrip session

 

e. Once you are done with your jacktrip session, you can close/quit out of Terminal, it won’t hurt anything.

Then go on to the next section S4.

Footnote:

(2)  to see all the jacktrip command options, type ./jacktrip -h
      or go to: https://manpages.debian.org/testing/jacktrip/jacktrip.1.en.html

 

S4. When done with your jacktrip session, Delete your remote Linode Cloud Server via the Linode website

10-Linode [2]- Deploy Server Image for JackTrip session

[The Linodes page should appear]

11-Linode [2]- Deploy Server Image for JackTrip session

[The dedicated page for your remote Linode Cloud Server should appear]

12-Linode [2]- Deploy Server Image for JackTrip session

[the more options pop up menu should appear]

13-Linode [2]- Deploy Server Image for JackTrip session

 

You will know your remote Linode Cloud Server was successfully deleted when you see the Linode Manager page appear again with no Linodes listed or with that particular Linode missing if you had multiple Linodes running.

To double check that the remote Linode Cloud Server you wanted to delete was deleted:

14-Linode [2]- Deploy Server Image for JackTrip session

Check the list of Events to see that the remote Linode Cloud Server you wanted to delete was deleted:

15-Linode [2]- Deploy Server Image for JackTrip session

 

You can now logout of the Linode website.


You should also get an email from Linode detailing your Linode related activity.

Here’s an example [Inactivate Linode means it was deleted]:

Hello Jane2Test! The following activity has recently occurred:

* rpiLinode - (238383963) System Shutdown - Completed Fri, 12 Feb 2021 19:46:31 GMT
* rpiLinode - (238383964) Inactivate Linode - Completed Fri, 12 Feb 2021 19:46:42 GMT