Difference between revisions of "Editing an Ikeepincloud directory on its dedicated server Linux"

From EN Ikoula wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽
Line 1: Line 1:
<span data-link_translate_en_title="Editing an Ikeepincloud directory on its dedicated server Linux"  data-link_translate_en_url="Editing an Ikeepincloud directory on its dedicated server Linux"></span>[[:en:Editing an Ikeepincloud directory on its dedicated server Linux]][[en:Editing an Ikeepincloud directory on its dedicated server Linux]]
+
{{#seo:
<span data-link_translate_he_title="עריכת מדריך Ikeepincloud בשרת ייעודי שלה לינוקס"  data-link_translate_he_url="%D7%A2%D7%A8%D7%99%D7%9B%D7%AA+%D7%9E%D7%93%D7%A8%D7%99%D7%9A+Ikeepincloud+%D7%91%D7%A9%D7%A8%D7%AA+%D7%99%D7%99%D7%A2%D7%95%D7%93%D7%99+%D7%A9%D7%9C%D7%94+%D7%9C%D7%99%D7%A0%D7%95%D7%A7%D7%A1"></span>[[:he:עריכת מדריך Ikeepincloud בשרת ייעודי שלה לינוקס]][[he:עריכת מדריך Ikeepincloud בשרת ייעודי שלה לינוקס]]
+
|title=Your page title
<span data-link_translate_ro_title="Editarea unui director de Ikeepincloud pe un server dedicat Linux"  data-link_translate_ro_url="Editarea+unui+director+de+Ikeepincloud+pe+un+server+dedicat+Linux"></span>[[:ro:Editarea unui director de Ikeepincloud pe un server dedicat Linux]][[ro:Editarea unui director de Ikeepincloud pe un server dedicat Linux]]
+
|title_mode=append
<span data-link_translate_ru_title="Редактирование каталога Ikeepincloud на своем выделенном сервере Linux"  data-link_translate_ru_url="%D0%A0%D0%B5%D0%B4%D0%B0%D0%BA%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5+%D0%BA%D0%B0%D1%82%D0%B0%D0%BB%D0%BE%D0%B3%D0%B0+Ikeepincloud+%D0%BD%D0%B0+%D1%81%D0%B2%D0%BE%D0%B5%D0%BC+%D0%B2%D1%8B%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%BD%D0%BE%D0%BC+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80%D0%B5+Linux"></span>[[:ru:Редактирование каталога Ikeepincloud на своем выделенном сервере Linux]][[ru:Редактирование каталога Ikeepincloud на своем выделенном сервере Linux]]
+
|keywords=these,are,your,keywords
<span data-link_translate_pl_title="Edycji katalogu Ikeepincloud na jej dedykowany serwer Linux"  data-link_translate_pl_url="Edycji+katalogu+Ikeepincloud+na+jej+dedykowany+serwer+Linux"></span>[[:pl:Edycji katalogu Ikeepincloud na jej dedykowany serwer Linux]][[pl:Edycji katalogu Ikeepincloud na jej dedykowany serwer Linux]]
+
|description=Editing an Ikeepincloud directory on its dedicated server Linux
<span data-link_translate_ja_title="Linux 専用サーバーの Ikeepincloud ディレクトリの編集"  data-link_translate_ja_url="Linux+%E5%B0%82%E7%94%A8%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E3%81%AE+Ikeepincloud+%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E3%81%AE%E7%B7%A8%E9%9B%86"></span>[[:ja:Linux 専用サーバーの Ikeepincloud ディレクトリの編集]][[ja:Linux 専用サーバーの Ikeepincloud ディレクトリの編集]]
+
|image=Uploaded_file.png
<span data-link_translate_ar_title="التحرير بدليل إيكيبينكلود على خادم مخصص عن لينكس"  data-link_translate_ar_url="%D8%A7%D9%84%D8%AA%D8%AD%D8%B1%D9%8A%D8%B1+%D8%A8%D8%AF%D9%84%D9%8A%D9%84+%D8%A5%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D9%86%D9%83%D9%84%D9%88%D8%AF+%D8%B9%D9%84%D9%89+%D8%AE%D8%A7%D8%AF%D9%85+%D9%85%D8%AE%D8%B5%D8%B5+%D8%B9%D9%86+%D9%84%D9%8A%D9%86%D9%83%D8%B3"></span>[[:ar:التحرير بدليل إيكيبينكلود على خادم مخصص عن لينكس]][[ar:التحرير بدليل إيكيبينكلود على خادم مخصص عن لينكس]]
+
|image_alt=Wiki Logo
<span data-link_translate_zh_title="编辑其专用服务器 Linux 上的 Ikeepincloud 目录"  data-link_translate_zh_url="%E7%BC%96%E8%BE%91%E5%85%B6%E4%B8%93%E7%94%A8%E6%9C%8D%E5%8A%A1%E5%99%A8+Linux+%E4%B8%8A%E7%9A%84+Ikeepincloud+%E7%9B%AE%E5%BD%95"></span>[[:zh:编辑其专用服务器 Linux 上的 Ikeepincloud 目录]][[zh:编辑其专用服务器 Linux 上的 Ikeepincloud 目录]]
+
}}
<span data-link_translate_de_title="Bearbeitung einer Ikeepincloud Verzeichnis auf einem dedizierten Server Linux"  data-link_translate_de_url="Bearbeitung+einer+Ikeepincloud+Verzeichnis+auf+einem+dedizierten+Server+Linux"></span>[[:de:Bearbeitung einer Ikeepincloud Verzeichnis auf einem dedizierten Server Linux]][[de:Bearbeitung einer Ikeepincloud Verzeichnis auf einem dedizierten Server Linux]]
 
<span data-link_translate_nl_title="Bewerken van een Ikeepincloud-directory op zijn dedicated server Linux"  data-link_translate_nl_url="Bewerken+van+een+Ikeepincloud-directory+op+zijn+dedicated+server+Linux"></span>[[:nl:Bewerken van een Ikeepincloud-directory op zijn dedicated server Linux]][[nl:Bewerken van een Ikeepincloud-directory op zijn dedicated server Linux]]
 
<span data-link_translate_it_title="Modifica di una directory di Ikeepincloud sul suo server dedicato Linux"  data-link_translate_it_url="Modifica+di+una+directory+di+Ikeepincloud+sul+suo+server+dedicato+Linux"></span>[[:it:Modifica di una directory di Ikeepincloud sul suo server dedicato Linux]][[it:Modifica di una directory di Ikeepincloud sul suo server dedicato Linux]]
 
<span data-link_translate_pt_title="Editando um diretório Ikeepincloud em seu servidor dedicado Linux"  data-link_translate_pt_url="Editando+um+diret%C3%B3rio+Ikeepincloud+em+seu+servidor+dedicado+Linux"></span>[[:pt:Editando um diretório Ikeepincloud em seu servidor dedicado Linux]][[pt:Editando um diretório Ikeepincloud em seu servidor dedicado Linux]]
 
<span data-link_translate_es_title="Editar un directorio Ikeepincloud en su servidor dedicado Linux"  data-link_translate_es_url="Editar+un+directorio+Ikeepincloud+en+su+servidor+dedicado+Linux"></span>[[:es:Editar un directorio Ikeepincloud en su servidor dedicado Linux]][[es:Editar un directorio Ikeepincloud en su servidor dedicado Linux]]
 
<span data-link_translate_fr_title="Montage d'un répertoire Ikeepincloud sur son serveur dédié Linux"  data-link_translate_fr_url="Montage_d%27un_r%C3%A9pertoire_Ikeepincloud_sur_son_serveur_d%C3%A9di%C3%A9_Linux"></span>[[:fr:Montage d'un répertoire Ikeepincloud sur son serveur dédié Linux]][[fr:Montage d'un répertoire Ikeepincloud sur son serveur dédié Linux]]
 
<br />
 
  
This article has been created by an automatic translation software. You can view the article source [[:fr:Montage d'un répertoire Ikeepincloud sur son serveur dédié Linux|here]].<br /><span data-translate="fr"></span>
 
  
You want to mount a directory in your Ikeepin space | _. _.  on your | _. _.  dedicated running GNU | _. _.  The SSH key generation | _. _.  You can refer to this article: _! _ |  Once the key is generated on your | _. _. you send it on your space Ikeepin | _. _.  in this way: _! _ |  Configuration of the | _. _.  You can now mount a directory in your Ikeepin space | _. _.  directly on a mount point of your | _. _.  We will test the editing in this way: _! _ |  repertoire_distant | _. _. the folder of your Ikeepin space | _. _.  you want to make available on the | _. _.  local directory | _. _.  the directory of your | _. _.  in which your file will be available once mounted.{{Template:Cloud}} For this you can use sshfs, available on all major distributions GNU utility | _. _.  For any account created since the | _. _.  URLs include the name of the platform on which you are staying | _. _.  delivery cf.mail | _. _.  If all goes correctly you should have access to your Ikeepin directory | _. _.  on the local directory of your choice. {{Template:Serveur}} Preparation of the | _. _.  Preparation of the | _. _.  consists of the installation of the necessary and the generation of an SSH key you will deposit on his space Ikeepin | _. _.  Under Debian and derivatives | _. _.  Under CentOS and derivatives | _. _.  Let's create a directory on the | _. _.  that will serve as a mount point | _. _.  This operation requires rights superuser | _. _.  The directory of your Ikeepin space | _. _.  will be available at this place after all of the operations performed./Linux.
+
You want to mount a directory in your Ikeepincloud[https://www.ikoula.com/en/public-cloud] space on your dedicated server[https://www.ikoula.com/en/dedicated-server] running GNU / Linux.
  
| _. _.  represents your Ikeepin login | _. _.  | _. _.  represents the part of the platform on which you are staying./Linux.
+
For this you can use sshfs, utility available on all major GNU / Linux distributions.
  
 +
==Server preparation==
  
== Mount at startup of the | _. _. In order to make automatic the Assembly of your file on the | _. _.  and at each reboot you must edit your file | _. _.  | _. _.  In this file you will take care to add a line like this at the end: _! _ |  Once registered by using the combination of keys CTRL | _. _. X, validation request press O, then you can try with the following command to test | _. _.  Check if everything is in order in the directory you have chosen if everything is correct. {{Template:Serveur}} ==
+
The preparation of the server[https://www.ikoula.com/en/dedicated-server] consists of the installation of the necessary and the generation of an SSH key which we will deposit on its Ikeepincloud[https://www.ikoula.com/en/public-cloud] space.
{{Template:Serveur}} {{Template:Cloud}}.
 
  
[[:fr:Installation de SSHFS et de ses dépendances.]]
+
[[Installation of SSHFS and its dependencies]]
  
* :
+
* Under debian and derivatives :
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
apt-get install sshfs
 
apt-get install sshfs
 
</syntaxhighlight>
 
</syntaxhighlight>
  
* :
+
*Under CentOS and derivatives (you will need access to the EPEL repositories) :
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
yum install sshfs
+
yum install fuse-sshfs
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 +
[[Creation of a local directory]]
  
[[:fr:Création d'un répertoire local]]
+
We will create a directory on the Server[https://www.ikoula.com/en/dedicated-server] which will serve as a mount point (this operation requires super user rights):
 
 
{{Template:Serveur}}  ():
 
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
mkdir /mnt/ikic
 
mkdir /mnt/ikic
 
</syntaxhighlight>
 
</syntaxhighlight>
  
{{Template:Cloud}}
+
The directory of your IkeepinCloud space will be available there once all the operations have been carried out.
 
 
==  ==
 
  
: [https://fr.ikoula.wiki/fr/Cr%C3%A9e_une_cl%C3%A9_SSH Create an SSH key]
+
== SSH key generation ==
{{Template:Serveur}} {{Template:Cloud}}  :
 
  
 +
You can refer to this article : [https://fr.ikoula.wiki/fr/Cr%C3%A9e_une_cl%C3%A9_SSH Create SSH key]
 +
Once the key has been generated on your Server you have to send it to your IkeepinCloud space this way :
  
==  {{Template:Serveur}} ==
 
  
{{Template:Cloud}}  {{Template:Serveur}}.
+
==Server Configuration ==
:  
+
You can now mount a directory in your IkeepinCloud space directly on a mount point on your Server.
 +
We will test the assembly this way :  
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
sshfs XXXXX@XXXXX.frYY.ikeepincloud.com:/répertoire_distant /répertoire_local
 
sshfs XXXXX@XXXXX.frYY.ikeepincloud.com:/répertoire_distant /répertoire_local
 
</syntaxhighlight>
 
</syntaxhighlight>
  
/répertoire_distant : {{Template:Cloud}}  {{Template:Serveur}}.
+
/ remote_directory: the folder of your IkeepinCloud space that you wish to make available on the Server.
  
/répertoire local : {{Template:Serveur}}
+
/ local directory: the directory of your Server in which your file will be available once mounted.
  
XXXXX : {{Template:Cloud}}.
+
XXXXX: represents your IkeepinCloud login.
  
YY :
 
  
''*  25/01/13,  ().''
+
YY: represents the part of the platform on which you are hosted.
  
{{Template:Cloud}}
 
  
 +
'' * For any account created since 25/01/13, the URLs include the name of the platform on which you are hosted (see delivery email). ''
  
 +
If all goes well you should have access to your IkeepinCloud directory on the local directory of your choice.
  
==  {{Template:Serveur}} ==
 
  
{{Template:Serveur}}  '''fstab'''.
+
== Installation at Server Startup==
  
 +
In order to make the automatic mounting of your folder on the Server and this at each restart you must modify your file '' 'fstab' ''.
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
nano /etc/fstab
 
nano /etc/fstab
 
</syntaxhighlight>
 
</syntaxhighlight>
  
:
+
In this file you will take care to add a line like this at the end:
  
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
Line 89: Line 79:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
+ :
+
Once saved using the key combination CTRL + X, validation request press O, you can then try with the following command to test:
  
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
Line 95: Line 85:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 +
Check if everything is in order in the directory you have chosen if everything is correct.
 +
 +
'' 'When using a recent operating system with systemd, it is possible to manage the assembly of your Ikeepincloud space via systemd entirely.' ''
 +
 +
To do this we will need to create two files:
 +
 +
 +
'' The first file for editing automation: ''
  
 +
<syntaxhighlight lang=bash>
 +
nano /etc/systemd/system/mnt-ikic.automount
 +
</syntaxhighlight>
 +
In this file we will set up the necessary for the automatic assembly:
 +
<syntaxhighlight lang=bash>
 +
[Unit]
 +
Description=Automount ikic
 +
 +
[Automount]
 +
Where=/mnt/ikic
 +
 +
[Install]
 +
WantedBy=multi-user.target
 +
</syntaxhighlight>
 +
 +
'' The second file for the correct mounting of the remote volume: ''
 +
 +
<syntaxhighlight lang=bash>
 +
nano /etc/systemd/system/mnt-ikic.mount :
 +
</syntaxhighlight>
 +
 +
'' In this second file we will place this: ''
 +
 +
<syntaxhighlight lang=bash>
 +
[Unit]
 +
Description=Mount file for /mnt/ikic sshfs mount
 +
Requires=network-online.target
 +
After=netctl@eth0.service
 +
 +
[Mount]
 +
What=XXXXX@XXXXX.frYY.ikeepincloud.com:/
 +
Where=/mnt/ikic
 +
Type=fuse.sshfs
 +
Options=_netdev
 +
</syntaxhighlight>
 +
 +
Following these additions we must reload the configuration of the systemd daemon:
 +
 +
<syntaxhighlight lang=bash>
 +
systemctl daemon-reload
 +
</syntaxhighlight>
 +
 +
Then activate the automount service:
 +
 +
<syntaxhighlight lang=bash>
 +
systemctl enable mnt-ikic.automount
 +
</syntaxhighlight>
  
[[Category:IkeepInCloud]]
+
Here at the next restart the remote directory will be automatically mounted.
[[Category:Dedicated_server]]
 
[[Category:Linux]]
 
  
 +
[[catégorie:IkeepInCloud]]
 +
[[Catégorie:Serveur dédié]]
 +
[[Catégorie:Linux]]
 
<br />
 
<br />
 
<comments />
 
<comments />

Revision as of 14:07, 19 February 2020


You want to mount a directory in your Ikeepincloud[1] space on your dedicated server[2] running GNU / Linux.

For this you can use sshfs, utility available on all major GNU / Linux distributions.

Server preparation

The preparation of the server[3] consists of the installation of the necessary and the generation of an SSH key which we will deposit on its Ikeepincloud[4] space.

Installation of SSHFS and its dependencies

  • Under debian and derivatives :
apt-get install sshfs
  • Under CentOS and derivatives (you will need access to the EPEL repositories) :
yum install fuse-sshfs

Creation of a local directory

We will create a directory on the Server[5] which will serve as a mount point (this operation requires super user rights):

mkdir /mnt/ikic

The directory of your IkeepinCloud space will be available there once all the operations have been carried out.

SSH key generation

You can refer to this article : Create SSH key Once the key has been generated on your Server you have to send it to your IkeepinCloud space this way :


Server Configuration

You can now mount a directory in your IkeepinCloud space directly on a mount point on your Server. We will test the assembly this way :

sshfs XXXXX@XXXXX.frYY.ikeepincloud.com:/répertoire_distant /répertoire_local

/ remote_directory: the folder of your IkeepinCloud space that you wish to make available on the Server.

/ local directory: the directory of your Server in which your file will be available once mounted.

XXXXX: represents your IkeepinCloud login.


YY: represents the part of the platform on which you are hosted.


* For any account created since 25/01/13, the URLs include the name of the platform on which you are hosted (see delivery email).

If all goes well you should have access to your IkeepinCloud directory on the local directory of your choice.


Installation at Server Startup

In order to make the automatic mounting of your folder on the Server and this at each restart you must modify your file 'fstab' .

nano /etc/fstab

In this file you will take care to add a line like this at the end:

XXXXX@XXXXX.frYY.ikeepincloud.com:/                     /mnt/ikic       fuse.sshfs      _netdev     0       0

Once saved using the key combination CTRL + X, validation request press O, you can then try with the following command to test:

mount -a

Check if everything is in order in the directory you have chosen if everything is correct.

'When using a recent operating system with systemd, it is possible to manage the assembly of your Ikeepincloud space via systemd entirely.'

To do this we will need to create two files:


The first file for editing automation:

nano /etc/systemd/system/mnt-ikic.automount

In this file we will set up the necessary for the automatic assembly:

[Unit]
Description=Automount ikic

[Automount]
Where=/mnt/ikic

[Install]
WantedBy=multi-user.target

The second file for the correct mounting of the remote volume:

nano /etc/systemd/system/mnt-ikic.mount :

In this second file we will place this:

[Unit]
Description=Mount file for /mnt/ikic sshfs mount
Requires=network-online.target
After=netctl@eth0.service

[Mount]
What=XXXXX@XXXXX.frYY.ikeepincloud.com:/
Where=/mnt/ikic
Type=fuse.sshfs
Options=_netdev

Following these additions we must reload the configuration of the systemd daemon:

systemctl daemon-reload

Then activate the automount service:

systemctl enable mnt-ikic.automount

Here at the next restart the remote directory will be automatically mounted.

catégorie:IkeepInCloud Catégorie:Serveur dédié Catégorie:Linux


You are not allowed to post comments.