From 6667437a6c99a20e6eff89d2a4e6e70a36d7e063 Mon Sep 17 00:00:00 2001 From: Antoine Cezar Date: Tue, 1 Jul 2014 18:29:08 +0200 Subject: [PATCH 1/2] Add Vagrant install --- install.md | 5 +++- install_fr.md | 5 +++- vagrant.md | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++ vagrant_fr.md | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 154 insertions(+), 2 deletions(-) create mode 100644 vagrant.md create mode 100644 vagrant_fr.md diff --git a/install.md b/install.md index 9db8aabc..18f3e451 100644 --- a/install.md +++ b/install.md @@ -55,11 +55,14 @@ This page lists few installation guides.

On VirtualBox

-

On Docker

+
+

On Vagrant

+
+
diff --git a/install_fr.md b/install_fr.md index 55ce643d..901da6df 100644 --- a/install_fr.md +++ b/install_fr.md @@ -55,11 +55,14 @@ Cette page liste plusieurs types d'installations, classés par catégorie.

Sur VirtualBox

-

Sur Docker

+
+

Sur Vagrant

+
+
diff --git a/vagrant.md b/vagrant.md new file mode 100644 index 00000000..ffed73cb --- /dev/null +++ b/vagrant.md @@ -0,0 +1,73 @@ +# Vagrant and YunoHost + +*Here is a small memo-documentation page on how to test/develop YunoHost with Vagrant.* + +*Find other ways to install YunoHost **[here](/install)**.* + + + +**Prérequis** : An x86 computer with VirtualBox installed and enough RAM capacity to be able to run a small virtual machine. + +--- + +## Initialisation + +Create a project folder +```bash +mkdir YunoHost +cd YunoHost +``` + +The following command will initialize the project with a Debian Wheezy base image +```bash +vagrant init chef/debian-7.4 +``` + +Uncomment (remove the leading #) the following line in the newly created Vagrantfile to get access from the host system +``` + config.vm.network "private_network", ip: "192.168.33.10" +``` + +Clone the Yunohost install script repository +```bash +git clone https://github.com/YunoHost/install_script +``` + +--- + +## Installation + +Start the virtual machine +```bash +vagrant up +``` + +Connecter to the started virtual machine +```bash +vagrant ssh +``` + +The root user must have a password +```bash +sudo passwd +``` + +Upgrade the system +```bash +sudo apt-get update && sudo apt-get upgrade +``` + +Execute the installation script +```bash +cd /vagrant/install_script && sudo ./install_yunohostv2 +``` + +
+ +

+ +

+ +--- + +*Once the installation is finished, you may want to proceed to post-installation: **[yunohost.org/postinstall](/postinstall)** * diff --git a/vagrant_fr.md b/vagrant_fr.md new file mode 100644 index 00000000..aa0bb8ac --- /dev/null +++ b/vagrant_fr.md @@ -0,0 +1,73 @@ +# Vagrant et YunoHost + +*Voici une petite page de documentation en guise de mémo sur la manière de tester/développer YunoHost avec Vagrant.* + +*Toutes les autres façons d'installer YunoHost sont listées **[ici](/install_fr)**.* + + + +**Prérequis** : Un ordinateur x86 avec VirtualBox installé et assez de RAM disponible pour lancer une petite machine virtuelle. + +--- + +## Initialisation + +Créer un dossier pour le projet +```bash +mkdir YunoHost +cd YunoHost +``` + +La commande suivante va initialiser le projet avec un image Debian Wheezy de base +```bash +vagrant init chef/debian-7.4 +``` + +Décommenter (Supprimer le # devant la ligne) la ligne suivante dans le fichier Vagrantfile nouvellement créé afin d'avoir un accès depuis le système hôte +``` + config.vm.network "private_network", ip: "192.168.33.10" +``` + +Clonez le dépôt du script d'installation de YunoHost +```bash +git clone https://github.com/YunoHost/install_script +``` + +--- + +## Installation + +Démarrer la machine virtuelle +```bash +vagrant up +``` + +Se connecter à la machine virtuelle démarrée +```bash +vagrant ssh +``` + +Il est nécessaire de donner un mot de passe à l'utilisateur root +```bash +sudo passwd +``` + +Mettre à jour le système. +```bash +sudo apt-get update && sudo apt-get upgrade +``` + +Lancez le script d'installation +```bash +cd /vagrant/install_script && sudo ./install_yunohostv2 +``` + +
+ +

+ +

+ +--- + +*Une fois l'installation terminée, vous pouvez procéder à la post-installation : **[yunohost.org/postinstall](/postinstall_fr)** * From 9234b7c66e46310a7ecb9896725b3dd27b5eec62 Mon Sep 17 00:00:00 2001 From: Monsieur Tino Date: Tue, 1 Jul 2014 17:33:03 +0200 Subject: [PATCH 2/2] Update XMPP_fr.md Adding Jitsi, a client that can control many protocols. --- XMPP_fr.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XMPP_fr.md b/XMPP_fr.md index 2a6599ad..870d16ef 100644 --- a/XMPP_fr.md +++ b/XMPP_fr.md @@ -7,8 +7,8 @@ YunoHost fournit : ##### Client XMPP lourd -Vous pouvez utiliser un client XMPP lourd comme [Pidgin](http://pidgin.im/), [Gajim](http://gajim.org/index.fr.html) ou [Adium](https://adium.im/). +Vous pouvez utiliser un client XMPP lourd comme [Pidgin](http://pidgin.im/), [Gajim](http://gajim.org/index.fr.html), [Jitsi](http://jitsi.org/) ou [Adium](https://adium.im/). Voici la liste des clients XMPP : https://fr.wikipedia.org/wiki/Liste_de_clients_XMPP -Vous aurez besoin de votre JID (correspondant à votre adresse mail principale) et de votre mot de passe. \ No newline at end of file +Vous aurez besoin de votre JID (correspondant à votre adresse mail principale) et de votre mot de passe.