Start a Remote Linode Cloud Server for a JackTrip Session Using an Existing Image
ImageExistsLinodeJacktripGuideMay042021 : corrected deploy image screenshots/instructions: jane wang
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 logout of 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, power down and delete your remote Linode Cloud Server via the Linode website
S5. Terminal Window Remote Server SHORTCUTS
S6. Terminal Window Client Mode SHORTCUTS
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 Linode remote cloud server, be sure wait until it says RUNNING in green before copying the SSH command and trying to login to your Linode remote cloud server.
3. Before you logout of your Linode website user account, make sure to always POWER DOWN and DELETE your remote Linode Cloud Server otherwise you will continue to get charged for it even if it’s listed as being OFFLINE.
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:
a1. click on Images in the leftmost black menu

[Images page should appear]
In this example, the image is labelled: jacktrip130release
a2. click on Deploy New Linode

[the Linodes / Create page should appear]
b. Set Images to your image [in this example jacktrip130release]
c. Select the Region for the Linode server [eg, Newark, NJ]

[scroll down page if necessary to Linode Plan selections]
d. Select a Linode Plan [eg, Linode 16GB]
My advice is that you pick a plan that is at least 16GB.
Note: You should only get charged by the hour even though the pop-up window makes it look like you are going to get charged by the month. Still to be determined: optimum GB’s & CPUs for particular ensemble size

[scroll down page if necessary to fill in Linode Label and Root Password]
e. Type in something you will remember for the Linode Label
f. Create the Root Password for the Linode remote cloud server [you will use this password later in Terminal]
g. Click on blue Create button

[The Linodes page for your remote Linode Cloud Server should appear]
h. current status will go from PROVISIONING -> BOOTING -> RUNNING
i. click on button to copy ssh root@[ip-address] command into your clipboard

S2. Login to the new remote Linode Cloud Server via Terminal on your computer
Open Terminal on your computer.
a. Paste from clipboard ssh root@[ip-address] command, and hit <enter>
b. when prompted, type yes <enter>
c. when prompted, type in the Root Password you entered in { S1. Deploy New Linode with jacktrip installed via the Linode website: f. } [password is hidden when you type it in and cursor will not move]

S3. Fire up jackd and then jacktrip in Server Mode on your new remote Linode Cloud Server via Terminal on your computer
a. Go to the builddir directory:
cd
then
cd jacktrip
then
cd builddir
b. Start jack and jacktrip in server mode: 1
in this example, buffer of 512 frames/period, sample rate of 48k, &=run command in background
jackd -d dummy -p512 -r48000 &
here is an example of the command Sarah Weaver generally uses with the NowNet Arts Lab Ensemble [-S = run in Hub Server Mode, -p2 = client out/in but no loopback]
./jacktrip -S -p2 -q32 -z
1 to see all the jacktrip command options, type ./jacktrip -h
or go to: https://manpages.debian.org/testing/jacktrip/jacktrip.1.en.html
c. If you are running a jacktrip session with your ensemble and you also want to connect to your own remote Linode cloud server as a client, using the same computer that you are running your remote Linode Cloud Server from, you will need to open up another Terminal window to run the client mode jacktrip commands.
You can open up a new Terminal window by selecting Shell / New Window. Make sure that the new Terminal window responds with a line starting with your local computer’s name (in this example, my local computer is Jane-MacBook-Pro-2:~ suziew96$ )
For the jacktrip command in client mode, use the ip-address of your remote Linode Cloud Server. In the example shown in this guide, the ip-address is 172.104.216.217, so I would put:
jacktrip -C 172.104.216.217 -q16 -n1 -z
This is the command line that the rest of your ensemble would use as well.
For Raspberry Pi clients/ensemble members the command would be slightly altered to this set of commands [hit <return> at the end of each of the commands shown below]:
cd
cd jacktrip
cd builddir
./jacktrip -C 172.104.216.217 -q16 -n1 -z
d. Once you are done with your jacktrip session, you can close/quit out of all the open Terminal windows, it won’t hurt anything. Then go on to the next section S4.
S4. When done with your jacktrip session, power down and delete your remote Linode Cloud Server via the Linode website
a. Click on Linodes to go back to the Linodes page if you aren’t already there

[The Linodes page should appear]
b. Click on the Label for your remote Linode Cloud Server

[The dedicated page for your remote Linode Cloud Server should appear]
c. Click on Power Off [you might have to expand the window to see Power Off]

d. Wait until the status reads OFFLINE
e. Click on ... to see the more options pop up menu [when the cursor hovers over the blue dots, the dots turn white and are highlighted in blue]

[the more options pop up menu should appear]
f. Click on Delete on the more options pop up menu

You will know your remote Linode Cloud Server was successfully deleted when you see the Linode Manager page appear again with no Linodes listed.
If you are nervous that your remote server didn’t really shutdown, you can double check the messages by clicking on the bell icon g. next to your user name.

You can now logout of the Linode website.
You should also get an email from the Linode application detailing your Linode application related activity.
Here’s an example:
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
S5. Terminal Window Remote Server SHORTCUTS:
1. Paste from clipboard ssh root@[ip-address] command, and hit <enter>
2. When prompted, type yes <enter>
3. When prompted, type in the Root Password
4. Go to the builddir directory:
cd
then
cd jacktrip
then
cd builddir
5. Start jack and jacktrip in server mode:
in this example, buffer of 512 frames/period, sample rate of 48k, &=run command in background jackd -d dummy -p512 -r48000 &
here is an example of the command Sarah Weaver generally uses with the NowNet Arts Lab Ensemble [-S = run in Hub Server Mode, -p2 = client out/in but no loopback]
./jacktrip -S -p2 -q32 -z
S6. Terminal Window Client SHORTCUTS
For the jacktrip command in client mode, use the ip-address of your remote Linode Cloud Server. In the example shown in this guide, the ip-address is 172.104.216.217, so I would put:
jacktrip -C 172.104.216.217 -q16 -n1 -z
This is the command line that the rest of your ensemble would use as well.
For Raspberry Pi clients/ensemble members the command would be slightly altered to this set of commands [hit <return> at the end of each of the commands shown below]:
cd
cd jacktrip
cd builddir
./jacktrip -C 172.104.216.217 -q16 -n1 -z

Comments
0 comments
Please sign in to leave a comment.