system_protocol
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| system_protocol [2021/09/03 16:51] – created 134.190.232.139 | system_protocol [2021/10/11 19:14] (current) – 134.190.232.9 | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| - In this way user can downgrade the macOS system. https:// | - In this way user can downgrade the macOS system. https:// | ||
| - To install the new system, Press and hold the Option (Alt) ⌥ key immediately after turning on or restarting your Mac. | - To install the new system, Press and hold the Option (Alt) ⌥ key immediately after turning on or restarting your Mac. | ||
| + | - To install back MacOS, need to erase the original ubuntu on the MAC first. https:// | ||
| Line 20: | Line 21: | ||
| - Installation of Ubuntu on Mac Mini https:// | - Installation of Ubuntu on Mac Mini https:// | ||
| - Ubuntu 20.04 on Mac mini 2020 https:// | - Ubuntu 20.04 on Mac mini 2020 https:// | ||
| + | - Install ubuntu 18.04 on mac mini 2018 https:// | ||
| + | Note: the MAC after 2018 have security setting which need to be turned off to install ubuntu; The external keyboard is needed instead of the apple bluetooth mouse. | ||
| **5. How to use VirtualBox to have Ubuntu, Windows and macOS on same computer?** | **5. How to use VirtualBox to have Ubuntu, Windows and macOS on same computer?** | ||
| Line 27: | Line 30: | ||
| **6. How to build a local server on Ubuntu?** | **6. How to build a local server on Ubuntu?** | ||
| - | (Upcoming) | + | For example, you have a powerful local machine installed with Ubuntu system and you want to work at home without bringing it home. You can easily build a local server on the power machine and access it via your laptop at home by the following steps. |
| + | * Step one: You need to sign up free account at ngrok. __ngrok__ | ||
| + | * Step two: ngrok can be downloaded via the link https:// | ||
| + | * Step three: decompress ngrok.zip and run it on your Ubuntu with the command: | ||
| + | < | ||
| + | ./ngrok tcp 22 | ||
| + | </ | ||
| + | you will see something like this jumping out, which is important. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Error 1: | ||
| + | < | ||
| + | TCP tunnels are only available after you sign up. | ||
| + | Sign up at: https:// | ||
| + | |||
| + | If you have already signed up, make sure your authtoken is installed. | ||
| + | Your authtoken is available on your dashboard: https:// | ||
| + | |||
| + | ERR_NGROK_302 | ||
| + | </ | ||
| + | |||
| + | Solve 1: This will need you to sign up account at https:// | ||
| + | |||
| + | Error 2 | ||
| + | < | ||
| + | kex_exchange_identification: | ||
| + | </ | ||
| + | |||
| + | Solve 2: This will need you to install ssh server via the command: | ||
| + | |||
| + | < | ||
| + | sudo apt-get install openssh-server | ||
| + | </ | ||
| + | |||
| + | * Step four: on your laptop(e.g., | ||
| + | |||
| + | < | ||
| + | ssh ubuntu_user_account@4.tcp.ngrok.io -p11161 | ||
| + | |||
| + | # here user_account_name is the user name of your ubuntu | ||
| + | # -p11161 is what appearing in the screenshot. The number varies with each login. | ||
| + | #Then it will ask you to fill in your password from your local powerful machine. The password is what you login your Ubuntu user account. | ||
| + | </ | ||
| + | |||
| + | Now you should be able to remotely access your Lap computer even at home. Note, don't power off your lab computer if you want to use it as server. And if you unfortunately turn off the server, or electricity power off, you have to redo the four steps and the number will be changed. | ||
| + | |||
| + | Some other tips for data transferring: | ||
| + | |||
| + | * from lab_ubuntu to home_laptop | ||
| + | < | ||
| + | |||
| + | * from home_laptop to lab_ubuntu | ||
| + | < | ||
| + | |||
| + | Transfer the raw fast5 files using an FTP client such as FileZilla ([[https:// | ||
| + | |||
| + | **7. How to use FileZilla? | ||
| + | |||
| + | FileZilla is a free FTP solution for both client and server. FileZilla can be accessed via filling in the information as follows: | ||
| + | < | ||
| + | Host: sftp:// | ||
| + | Username: your perun username | ||
| + | Password: your perun password | ||
| + | Port: defaulted as 22 | ||
| + | </ | ||
| + | |||
| + | <Last updated by Xi Zhang on Sep 5th, | ||
system_protocol.1630698683.txt.gz · Last modified: by 134.190.232.139
