[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,1\N00:00:04,490 --> 00:00:05,000\NHello. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,2\N00:00:05,000 --> 00:00:16,640\NAnd this video, I'm going to show you how to use Onex to run Jupiter connect to Jupiter Notebook's and work on things such as our class assignments. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,3\N00:00:16,640 --> 00:00:24,230\NI'm going to be demonstrating this using associates from Mobile X term, since I'm going to be using the command line MSH tools. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,4\N00:00:24,230 --> 00:00:31,790\NThe same things apply when you are working from Linux and Mac. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,5\N00:00:31,790 --> 00:00:37,820\NSo usually when you use Malek's term, you'd be used to creating a new LSH session. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,6\N00:00:37,820 --> 00:00:44,450\NBut because of the firewall that keeps you from directly accessing any onyx nodes other than the head node, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,7\N00:00:44,450 --> 00:00:51,620\Nwe're going to use the SSA command line tool from a local terminal. So I'm going to click start local terminal to get a terminal. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,8\N00:00:51,620 --> 00:00:59,180\NAnd now I'm going to connect to the Onyx head node SSA H Onex Stop Boise State Radio. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,9\N00:00:59,180 --> 00:01:06,780\NYou may need to specify your user name at the beginning. And that will give it a user name to connect with. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,10\N00:01:06,780 --> 00:01:15,110\NSo I'm going to make this connection to the Onyx head note and ask you for a password. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,11\N00:01:15,110 --> 00:01:19,730\NAnd I am not going to have MOBA X term, remember my house words. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,12\N00:01:19,730 --> 00:01:24,500\NSo I'm now logged into Onyx. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,13\N00:01:24,500 --> 00:01:35,000\NWe do install Mini Konda or Anakonda due to Onyx network file systems setup, the full Anaconda installation doesn't work very well. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,14\N00:01:35,000 --> 00:01:40,580\NSo we're going to use mini Condah. And I am going to go down to the Linux installer. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,15\N00:01:40,580 --> 00:01:45,230\NI'm going to right click the Python or the Linux 64 bit version, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,16\N00:01:45,230 --> 00:01:50,570\Nget its like address and then I'm going to use w get to download it onto Onyx so w get. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,17\N00:01:50,570 --> 00:01:57,110\NAnd then I am going to paste the you are all in there and it's going to fetch it. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,18\N00:01:57,110 --> 00:02:06,620\NSo now we've downloaded a mini Condah and now and then we can run the installer with slash been slash Basche many Konda three. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,19\N00:02:06,620 --> 00:02:18,580\NIt asked us to accept the license terms. The default installation location is OK. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,20\N00:02:18,580 --> 00:02:22,630\NNow that it's done with the main installer, it asks if I want to initialize it, I'm going to say yes. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,21\N00:02:22,630 --> 00:02:27,250\NAnd this is going to set up my shell configuration to automatically use in a KONDA. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,22\N00:02:27,250 --> 00:02:31,840\NAnd then I need to, as it notes there, I need to close and reopen my current shell. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,23\N00:02:31,840 --> 00:02:36,640\NSo I need to exit and then I need to. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,24\N00:02:36,640 --> 00:02:47,800\NAnd then I can connect again. But we don't want to do our actual computations on the Onyx head note because it's the node everybody logs into. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,25\N00:02:47,800 --> 00:02:51,940\NIf everyone uses it for computations, then we're going. It's going to get overloaded. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,26\N00:02:51,940 --> 00:02:57,650\NSo we want to actually do our work on one of the other onyx nodes. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,27\N00:02:57,650 --> 00:03:06,410\NSo we don't actually want to log in to Onyx directly to do most of our work because it's the central node. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,28\N00:03:06,410 --> 00:03:13,160\NIt's great for file transfer, for doing our installation, for working with a few things, but for doing our actual computations. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,29\N00:03:13,160 --> 00:03:22,130\NIf everyone uses it, it's going to be overloaded. So we want to work on one of the actual individual onyx nodes, which are computers in the S lab. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,30\N00:03:22,130 --> 00:03:25,580\ND, though, are behind the firewall. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,31\N00:03:25,580 --> 00:03:33,620\NOnyx itself is the head notice available from outside the network, but the internal nodes are only available from inside the Boise State network. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,32\N00:03:33,620 --> 00:03:39,080\NSo we need to go through a jump post if we're not at Boise State or on the VPN. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,33\N00:03:39,080 --> 00:03:44,900\NThis is why we're using the command line tools and X terminals that of its direct DSH connections. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,34\N00:03:44,900 --> 00:03:50,660\NThis also works the command line SSA each client is the same as the one that's on Linux and on Mac. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,35\N00:03:50,660 --> 00:04:00,330\NSo I've already created my configuration. So we have the directory, that DOT SSA directory that has configuration. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,36\N00:04:00,330 --> 00:04:11,130\NI've created a SSA config directory that has the settings to use the head node as a jump post, this proxy jump setting to get into other nodes. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,37\N00:04:11,130 --> 00:04:18,390\NYou'll find that the configuration settings you need to put in here in the instructions online. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,38\N00:04:18,390 --> 00:04:26,530\NI'm going to connect now directly to Onyx Node zero three. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,39\N00:04:26,530 --> 00:04:34,990\NI'm not providing my user name right now because my SSA age configuration tells LSH which username to use. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,40\N00:04:34,990 --> 00:04:40,370\NAnd note that it asks me for my password twice, once for the Onyx head node to make the proxy connection. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,41\N00:04:40,370 --> 00:04:50,060\NAnd then again for the onyx node itself. So we see on the left of of my terminal prompt that the bass in parentheses, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,42\N00:04:50,060 --> 00:04:56,960\Nand that is Konda telling me that the bass environment is activated and ready to use. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,43\N00:04:56,960 --> 00:05:04,340\NNow, before we start using a node, we want to make sure that it's not actively and used by anyone else, especially for significant processing. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,44\N00:05:04,340 --> 00:05:11,750\NSo I'm going to do that with a couple of commands. First, uptime is going to print out the current load level of the system. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,45\N00:05:11,750 --> 00:05:15,860\NAnd it has one user, me and a load average of approximately zero. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,46\N00:05:15,860 --> 00:05:22,940\NThis means the system is not very active right now. I can also type W to see who is currently logged into the computer. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,47\N00:05:22,940 --> 00:05:30,740\NAnd it's just me. So this node is good to use. So I can use KONDA list to list the packages currently installed. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,48\N00:05:30,740 --> 00:05:34,750\NWe installed many Condah. So we're gonna need to install the additional packages we need. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,49\N00:05:34,750 --> 00:05:39,830\NBecause it doesn't contain very much. So I'm going to go to the software installation instructions, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,50\N00:05:39,830 --> 00:05:47,540\Nget the command from the mini to section and I'm going to paste it into my prompt and run it. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,51\N00:05:47,540 --> 00:05:55,010\NAnd this is going to install the scientific packages that we need to do the work for this class. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,52\N00:05:55,010 --> 00:06:02,780\NYes, I want to proceed. I spend this up quite a bit in order to let it finish. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,53\N00:06:02,780 --> 00:06:08,390\NThe video doesn't take forever. The long durations should only affect software installations. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,54\N00:06:08,390 --> 00:06:12,770\NThey shouldn't affect our day to day use of Jupiter and notebooks. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,55\N00:06:12,770 --> 00:06:19,720\NI'm going to create a directory where I can work on C.S. 533 stuff. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,56\N00:06:19,720 --> 00:06:26,140\NCan start the Jupiter notebook's hanging around Jupiter notebook. No browser. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,57\N00:06:26,140 --> 00:06:30,910\NThis is going to start up the notebook server and you see, it gives me this, you are al information. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,58\N00:06:30,910 --> 00:06:36,130\NAnd the key thing is I need that port. Number eight eight eight eight. So I can set up RSS H Tunnel. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,59\N00:06:36,130 --> 00:06:42,120\NI'm going to open another terminal. And I'm going to. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,60\N00:06:42,120 --> 00:06:50,150\NFor what we call forward this port, so I want eight eight eight eight on my computer to forward to. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,61\N00:06:50,150 --> 00:06:53,920\NThe computer at the other end and its port. Eight, eight, eight, eight. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,62\N00:06:53,920 --> 00:06:59,530\NAnd I'm going to connect to Onex Node zero three. Boise State. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,63\N00:06:59,530 --> 00:07:07,500\NAnd now that I have the tunnel setup, I can go to this, you are El. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,64\N00:07:07,500 --> 00:07:18,150\NCopy the URL. Go to what in my browser, and I'm now connected to the Jupiter notebook server running on Onex. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,65\N00:07:18,150 --> 00:07:23,070\NSo if I are on my onyx node so I can you can see this, I can open a new terminal. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,66\N00:07:23,070 --> 00:07:30,880\NYou can open terminals and Jupiter and it's on Onyx. It's all my honest snoad. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,67\N00:07:30,880 --> 00:07:34,330\NClose that terminal so I can either open an existing notebook. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,68\N00:07:34,330 --> 00:07:42,850\NI've got a couple lying around here from previous things. By clicking on them, you can use an SSA each file, transfer a client like SICP. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,69\N00:07:42,850 --> 00:07:49,210\NWhen SICP, Cyber Duqu or the one built into Intune will be X term in order to upload files. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,70\N00:07:49,210 --> 00:07:56,590\NI can also create a new a new notebook file, new Python three notebook here. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,71\N00:07:56,590 --> 00:08:10,420\NImport packages like pandas. And go about, say, completing the assignment so that when I'm done, so I can close and hold a notebook. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,72\N00:08:10,420 --> 00:08:16,210\NI can quit the entire Jupiter server either from the Web browser or by hitting control. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,73\N00:08:16,210 --> 00:08:24,310\NSee in my terminal. So I'm going to quit the Jupiter server and I can close my terminal sessions. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,74\N00:08:24,310 --> 00:08:34,900\NSo that's how you use and run Jupiter and Notebook's on Onyx notes. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,