1-DAV-202 Data Management 2023/24
Previously 2-INF-185 Data Source Integration
Difference between revisions of "Connecting to server"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
* <tt>echo $DISPLAY</tt> command should show a non-empty string (i.e. localhost:11.0) | * <tt>echo $DISPLAY</tt> command should show a non-empty string (i.e. localhost:11.0) | ||
* Try running <tt>xeyes &</tt> | * Try running <tt>xeyes &</tt> | ||
+ | |||
+ | == If you cannot run graphical applications == | ||
+ | * Most work in the course will be done on command line | ||
+ | * You will however need a text-only editor: | ||
+ | ** Simple editor is [https://nano-editor.org/ nano] (see keyboard shortcuts on the bottom of the screen) | ||
+ | ** More advanced are [https://www.vim.org/ vim], [https://www.gnu.org/software/emacs/ emacs], [https://ne.di.unimi.it/ ne] (read tutorials before starting using them) | ||
+ | |||
+ | == Copying files to/from the server== | ||
+ | * You can copy files using scp command on the command line | ||
+ | * Alternatively use [https://winscp.net/eng/downloads.php WinSCP program] |
Revision as of 19:00, 13 February 2022
Contents
Connection through ssh
You can use ssh client available in Windows 10. On command line use:
ssh <username>@vyuka.compbio.fmph.uniba.sk
However, if you want more configurable client with a capability of tunneling application GUIs, you can install putty client instead.
See also more detailed instructions here [1]
Installation of X server
To use applications with GUIs, you need to tunnel X-server commands from the server to your local machine (this is accomplished by your ssh client), and you need a program that can interpret these commands on you local machine (this is called X server).
- Install X server, such as xming
- Make sure that X server is running (you should have "X" icon in your app control bar)
- Run putty, connect using ssh connection type and in your settings choose Connection->SSH->X11 and check "Enable X11 forwarding" box
- Login to the vyuka.compbio.fmph.uniba.sk server
- echo $DISPLAY command should show a non-empty string (i.e. localhost:11.0)
- Try running xeyes &
If you cannot run graphical applications
- Most work in the course will be done on command line
- You will however need a text-only editor:
Copying files to/from the server
- You can copy files using scp command on the command line
- Alternatively use WinSCP program