issue113:tuto1
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
issue113:tuto1 [2016/10/09 10:22] – [2] auntiee | issue113:tuto1 [2016/10/09 16:57] – andre_domenech | ||
---|---|---|---|
Ligne 9: | Ligne 9: | ||
Récemment, j' | Récemment, j' | ||
- | Tous les gens sur les forums voulaient que j' | + | Tous les gens sur les forums voulaient que j' |
- | Tout ce que je veux, c'est pouvoir transférer occasionnellement des fichiers entre deux ordinateurs sous Linux connectés à un routeur Internet, une configuration domestique habituelle. C'est simple, mais ne fonctionne qu' | + | Tout ce que je veux, c'est pouvoir transférer occasionnellement des fichiers entre deux ordinateurs sous Linux connectés à un routeur Internet, une configuration domestique habituelle. C'est simple, mais ne fonctionne qu' |
===== 2 ===== | ===== 2 ===== | ||
- | The short and simple explanation is use Simple File Transfer Protocol, or SFTP. This is a file transfer protocol that is not secured; it allows UserID login (User-id/ | + | **The short and simple explanation is use Simple File Transfer Protocol, or SFTP. This is a file transfer protocol that is not secured; it allows UserID login (User-id/ |
< | < | ||
Ligne 23: | Ligne 23: | ||
You may be asked for the password of the user in the other computer. Have that handy. | You may be asked for the password of the user in the other computer. Have that handy. | ||
- | If you’re a little lost with my short and simple, here are more detailed, step-by-step instructions. | + | If you’re a little lost with my short and simple, here are more detailed, step-by-step instructions.** |
+ | Le plus simple c'est d' | ||
+ | |||
+ | < | ||
+ | (le nom d' | ||
+ | |||
+ | Le mot de passe de l' | ||
+ | |||
+ | Au cas où mon explication simpliste ne vous a quasiment rien expliqué du tout, voici des instructions plus détaillées, | ||
===== 3 ===== | ===== 3 ===== | ||
- | First, before anything else, turn on both computers and boot them up. | + | **First, before anything else, turn on both computers and boot them up. |
Second, get each computer’s IP address within the local network. The address identifies a computer within a network. Find it by opening the Terminal (Ctrl-Alt-T) and typing at the prompt: | Second, get each computer’s IP address within the local network. The address identifies a computer within a network. Find it by opening the Terminal (Ctrl-Alt-T) and typing at the prompt: | ||
Ligne 46: | Ligne 54: | ||
You’ll get something like the output shown on the next page (top right). | You’ll get something like the output shown on the next page (top right). | ||
- | OK, so I pinged myself for this example report, but … note the ^C. That’s when I pressed Ctrl-C to stop the pinging. Then it gave a little report. | + | OK, so I pinged myself for this example report, but … note the ^C. That’s when I pressed Ctrl-C to stop the pinging. Then it gave a little report.** |
- | ===== 5 ===== | + | Avant de faire toute autre chose, démarrez les deux ordinateurs. |
- | Next, go do the same thing on your other Linux computer. If you get a similar response, then you’ve pinged both ways. | + | Puis, récupérez l' |
+ | |||
+ | ifconfig | ||
+ | |||
+ | Il y aura plusieurs types d' | ||
+ | |||
+ | inet addr: | ||
+ | |||
+ | Les X représentent des numéros variables - les vôtres ne sont pas nécessairement les mêmes que les miens, mais 192.168 est la norme pour des réseaux locaux. Faites cela sur les deux machines et écrivez les adresses IP quelque part. | ||
+ | |||
+ | Ensuite, assurez-vous que les deux ordinateurs « se voient ». Cela signifie qu'il faut « pinger » chaque ordinateur à partir de l' | ||
+ | |||
+ | ping 198.168.X.XXX | ||
+ | (« ping » est la commande ; « 198.168.X.XXX » est l' | ||
+ | |||
+ | Vous obtiendrez quelque chose comme le résultat montré à la page suivante (en haut et à droite). | ||
+ | |||
+ | Bon, alors je me suis pingé pour cet exemple, mais... il y a un ^C. C'est quand j'ai appuyé sur Ctrl-C pour arrêter le ping. Puis il m'a donné un court compte rendu. | ||
+ | ===== 4 ===== | ||
+ | |||
+ | **Next, go do the same thing on your other Linux computer. If you get a similar response, then you’ve pinged both ways. | ||
Fourth, install the program openssh-server on both PCs. If you are using Ubuntu and related Linux distributions, | Fourth, install the program openssh-server on both PCs. If you are using Ubuntu and related Linux distributions, | ||
Ligne 62: | Ligne 90: | ||
On either PC, but not both at the same time, open the file manager and type on the location bar: | On either PC, but not both at the same time, open the file manager and type on the location bar: | ||
- | sftp:// | + | < |
- | (This means: open the Username, meaning the user on the other computer whose files you are trying to retrieve, at the computer located at the particular IP address) | + | (This means: open the Username, meaning the user on the other computer whose files you are trying to retrieve, at the computer located at the particular IP address)</ |
You may be asked for the password of the user in the other computer. Have that handy. | You may be asked for the password of the user in the other computer. Have that handy. | ||
- | You should be in and be able to copy and move files back and forth, using the dual pane functions (F3 in most Ubuntu and related file managers). | + | You should be in and be able to copy and move files back and forth, using the dual pane functions (F3 in most Ubuntu and related file managers).** |
+ | |||
+ | Maintenant, faites la même chose sur l' | ||
+ | |||
+ | Ensuite, installez le programme openssh-server sur les deux ordinateurs. Si vous utilisez Ubuntu et des distributions Linux apparentées, | ||
+ | |||
+ | sudo apt-get install openssh-server | ||
+ | |||
+ | Acceptez les défauts proposés et ne fournissez pas de phrase de passe à la dernière étape. Puis vérifiez que ssh s' | ||
+ | |||
+ | Bon, vous êtes prêts pour des transferts. | ||
+ | |||
+ | Sur l'un ou l' | ||
+ | |||
+ | < | ||
+ | (Cela signifie : ouvrez le nom d' | ||
+ | |||
+ | Le mot de passe de l' | ||
+ | |||
+ | Vous devez maintenant être connecté à l' |
issue113/tuto1.txt · Dernière modification : 2016/10/10 09:42 de d52fr