Wiki source code of Wie kopiere meine Daten auf der lxhalle auf meinen privaten Rechner ?
Last modified by Yunhao Wu on 2023/07/05 16:22
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
108.2 | 1 | = Data transfer between Rechnerhalle and your private computer = |
![]() |
1.1 | 2 | |
![]() |
108.2 | 3 | This article explains how to transfer data between your home-directory in the Rechnerhalle and your private computer. Depending on the operating system, various options are shown. |
![]() |
1.1 | 4 | |
5 | |||
![]() |
108.2 | 6 | |
![]() |
1.1 | 7 | {{toc/}} |
8 | |||
9 | |||
![]() |
108.2 | 10 | |
![]() |
1.1 | 11 | == 1. Unix/Linux/Mac OS X == |
12 | |||
![]() |
108.2 | 13 | === 1.1 [[Shell>>http://de.wikipedia.org/wiki/Unix-Shell]] - Commands === |
![]() |
1.1 | 14 | |
![]() |
108.2 | 15 | To copy a file between those computers the program //scp// can be used. |
![]() |
104.1 | 16 | |
![]() |
108.2 | 17 | Copy data: private computer → Rechnerhalle |
![]() |
105.1 | 18 | |
![]() |
108.1 | 19 | * |
![]() |
108.2 | 20 | ** copy a file into the ##/Pictures## directory in the Rechnerhalle {{{ scp <file name> ITO-Login@lxhalle.in.tum.de:~/Pictures}}} |
21 | ** Copy a directory into the ##/Pictures## directory in the Rechnerhalle {{{scp -r <directory name> ITO-Login@lxhalle.in.tum.de:~/Pictures}}} | ||
22 | * Copy data: Rechnerhalle → private computer | ||
![]() |
1.1 | 23 | |
![]() |
108.1 | 24 | * |
![]() |
108.2 | 25 | ** Copy a file out of ##/Pictures## directory in the Rechnerhalle {{{scp ITO-Login@lxhalle.in.tum.de:~/Pictures/<file name> .}}} |
26 | ** Copy a directory out of the ##/Pictures## directory in the Rechnerhalle {{{scp -r ITO-Login@lxhalle.in.tum.de:~/Pictures/<directory name> .}}} | ||
27 | * Another option for data transfer is the program //rsync//, which has some useful features, mainly for transferring big data. | ||
28 | ** the option ##-P## is usefule during a connection abort. During a connection abort while downloading, the incomplete file is stored on the target computer. When repeating the copy command the download continues where it left of before. | ||
29 | ** in addition, the download process is shown in percent | ||
30 | ** Copy data: Private computer → Rechnerhalle | ||
31 | *** copa a file into the ##/Pictures## directory in the Rechnerhalle {{{rsync -P <file name> RBG-Login@lxhalle.in.tum.de:~/Pictures}}} | ||
32 | *** copy a directory into ##/Pictures## directory in the Rechnerhalle {{{rsync -r -P <directory name> RBG-Login@lxhalle.in.tum.de:~/Pictures}}} | ||
33 | ** copy data: Private computer ← Rechnerhalle | ||
34 | *** copy a file out of the ##/Pictures## directory in the Rechnerhalle {{{rsync -P RBG-Login@lxhalle.in.tum.de:~/Pictures/<filename> .}}} | ||
35 | *** copy a directory out of the ##/Pictures## directory in the Rechnerhalle {{{rsync -r -P RBG-Login@lxhalle.in.tum.de:~/Pictures/<directory name> .}}} | ||
36 | * the mentioned commands have a more extensive funcionality, for more information it is recomanded to read the manpages (Manual Pages) of the cmmands - you can read those with a ##man## in front of the command name, e.g.: {{{man rsync }}} | ||
![]() |
1.1 | 37 | |
38 | {{html wiki="true"}} | ||
39 | <hr /> | ||
40 | {{/html}} | ||
41 | |||
42 | |||
43 | |||
![]() |
108.2 | 44 | === 1.2. Programs with grafical user interface === |
![]() |
1.1 | 45 | |
46 | ==== 1.2.1. [[Cyberduck>>http://cyberduck.ch/]] - Mac OS X ==== | ||
47 | |||
![]() |
108.2 | 48 | Start Cyberduck |
![]() |
104.1 | 49 | |
![]() |
108.2 | 50 | * Press the //Open Connection// - Icon in the top left corner |
51 | * In the following window: | ||
52 | ** choose //SFTP// | ||
![]() |
1.1 | 53 | ** //Server// = lxhalle.in.tum.de |
![]() |
108.2 | 54 | ** //Username// = Your in.tum-Login (e.g. like muster or musterma on the screenshot) |
55 | ** //Password// = the according password | ||
56 | * Press //Connect// | ||
57 | [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/cyberduckfstp2.png||alt="cyberduckfstp2.png" height="511" width="900"]] | ||
![]() |
1.1 | 58 | |
![]() |
108.2 | 59 | Confirm the following dialogue with **Allow** and check the box at **Always**. |
60 | [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/cyberduckAllow2.png||alt="cyberduckAllow2.png" height="182" width="412"]] | ||
![]() |
1.1 | 61 | |
![]() |
108.2 | 62 | Then you can see your own home-directory in the Rechnerhalle. |
63 | [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/cyberduckdateien.png||alt="cyberduckdateien.png" height="401" width="900"]] | ||
![]() |
104.1 | 64 | |
![]() |
108.2 | 65 | * Now you can copy files and directories via drag & drop. |
![]() |
106.1 | 66 | |
![]() |
1.1 | 67 | {{html wiki="true"}} |
68 | <hr /> | ||
69 | {{/html}} | ||
70 | |||
71 | |||
![]() |
108.2 | 72 | |
![]() |
1.1 | 73 | ==== 1.2.2. [[Gigolo>>https://www.uvena.de/gigolo/download.html]] - Ubuntu ==== |
74 | |||
![]() |
108.2 | 75 | Ubuntu-Version 16.04 LTS, which is also used on the computers into the Rechnerhalle. |
![]() |
104.1 | 76 | |
![]() |
108.2 | 77 | * navigate to Application -> System and choose Gigolo. Press the icon with the two monitores. |
78 | [[image:gigoloverbinden2.png||height="376" width="646"]] | ||
![]() |
1.1 | 79 | |
![]() |
108.2 | 80 | Please type the following in the //Connect to Server// - Window: |
![]() |
107.1 | 81 | |
![]() |
108.2 | 82 | * |
![]() |
104.1 | 83 | ** //Service type// = SSH |
![]() |
1.1 | 84 | ** //Server// = lxhalle.in.tum.de |
85 | ** //Port// = //22// | ||
![]() |
108.2 | 86 | ** //User Name// = Your in.tum - Login |
87 | * Press //Connect .// | ||
![]() |
1.1 | 88 | |
![]() |
108.2 | 89 | Now, please enter your in.tum password. |
90 | [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/gigolopasswort2.png||alt="gigolopasswort2.png" height="364" width="635"]] | ||
![]() |
106.1 | 91 | |
![]() |
108.2 | 92 | You should now see a window with the content of your root-directory. (##/##) |
![]() |
106.1 | 93 | |
![]() |
108.2 | 94 | * A short cut for this connection has been created on your desktop, which you can easily use next time to connect with the computer. |
95 | * Your data is in this directory: sftp://musterma@lxhalle.in.tum.de/**u**/**halle**/**musterma**/**home_at.** | ||
96 | * Now you can copy and paste your chosen file using the mouse. | ||
97 | [[image:- on lxhalle.in.tum.de - File Manager_008neuuuu.jpg||height="832" width="800"]] | ||
![]() |
1.1 | 98 | |
![]() |
108.2 | 99 | You can access the SFTP file, using the application -> System -> Gigolo. |
100 | [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/Gigolo_006mustermalxhalleneu.jpg||alt="Gigolo_006mustermalxhalleneu.jpg" height="413" width="715"]] | ||
![]() |
1.1 | 101 | |
102 | ---- | ||
103 | |||
![]() |
108.2 | 104 | Creating !HowTo we used Windows 10 x64. |
![]() |
1.1 | 105 | |
106 | ==== 1.2.3. [[WinSCP>>http://winscp.net/eng/index.php]] - Windows ==== | ||
107 | |||
![]() |
104.1 | 108 | **{{html wiki="true"}}<span class='WYSIWYG_COLOR ' style='color:Blue'>[[winSCP portable>>https://winscp.net/eng/docs/portable]]</span>{{/html}}** |
![]() |
1.1 | 109 | |
![]() |
108.2 | 110 | Install [[WinSCP>>http://winscp.net/eng/index.php]] (current version 5.7.3, status 20.11.2015) |
![]() |
104.1 | 111 | |
![]() |
108.2 | 112 | * Start the program |
113 | * With //WinSCP Anmeldung// → //Sitzung// enter the following: | ||
114 | ** //Computername// = lxhalle.in.tum.de | ||
![]() |
1.1 | 115 | ** //Port// = //22// |
![]() |
108.2 | 116 | ** //Username// = Your in.tum - Login |
117 | ** //Password// = Password for your in.tum - Access | ||
118 | * You can press //save// to save the settings for your profil, which you can use again | ||
119 | * Press //anmelden// | ||
![]() |
1.1 | 120 | |
![]() |
108.2 | 121 | [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/winscpverbindungneu.jpg||alt="winscpverbindungneu.jpg" height="690" width="1018"]] |
![]() |
1.1 | 122 | |
![]() |
108.2 | 123 | Eventuelly you have to confirm the following with //yes//. |
124 | [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/winscpsha.jpg||alt="winscpsha.jpg" height="548" width="1010"]] | ||
![]() |
104.1 | 125 | |
![]() |
108.2 | 126 | You should see the user interface with 2 windows side by side now. |
![]() |
106.1 | 127 | |
![]() |
108.2 | 128 | * The left window contains the files on your computer and the right one the files in your home directory in the Rechnerhalle. |
129 | * Now you can copy file by drag & drop. | ||
130 | [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/winscpdateienneu.jpg||alt="winscpdateienneu.jpg" height="690" width="1016"]] | ||
![]() |
106.1 | 131 | |
![]() |
108.2 | 132 | A dialogue is shown, in which you have to confirm the target directory again. |
![]() |
104.1 | 133 | |
![]() |
108.2 | 134 | * Pressing **choose** you can change the target directory. |
135 | * To copy the file press **OK**. | ||
136 | [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/winscpdialogbestneu.jpg||alt="winscpdialogbestneu.jpg" height="218" width="513"]] | ||
137 | |||
![]() |
1.1 | 138 | ---- |
139 | |||
![]() |
104.1 | 140 | -- [[Main.>>Main.MarekOrschewskiNe26gik]]alinaya - 16 Apr 2018-- |