auto-heber:yuno-commande
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | auto-heber:yuno-commande [2024/01/28 23:48] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Bugs ====== | ||
+ | [[[auto-heber: | ||
+ | ====== Commandes utiles ====== | ||
+ | |||
+ | |||
+ | ===== La commande yunohost ===== | ||
+ | c'est ici une intro https:// | ||
+ | // | ||
+ | < | ||
+ | |||
+ | yunohost app install wordpress --label Webmail | ||
+ | ^ ^ ^ ^ | ||
+ | | | | | | ||
+ | | ||
+ | |||
+ | N' | ||
+ | |||
+ | yunohost --help | ||
+ | yunohost user --help | ||
+ | yunohost user create --help | ||
+ | |||
+ | vont successivement lister toutes les catégories disponibles, | ||
+ | |||
+ | Exemple | ||
+ | < | ||
+ | admin@yuno: | ||
+ | usage: yunohost | ||
+ | {user, | ||
+ | ... | ||
+ | [-h] [--no-cache] [--output-as {json, | ||
+ | [--quiet] [--timeout ==SUPPRESS==] [--admin-password PASSWORD] | ||
+ | [-v] | ||
+ | |||
+ | optional arguments: | ||
+ | -h, --help | ||
+ | |||
+ | categories: | ||
+ | {user, | ||
+ | user Manage users | ||
+ | domain | ||
+ | app | ||
+ | backup | ||
+ | monitor | ||
+ | settings | ||
+ | service | ||
+ | firewall | ||
+ | dyndns | ||
+ | tools | ||
+ | hook Manage hooks | ||
+ | log | ||
+ | |||
+ | global arguments: | ||
+ | --no-cache | ||
+ | --output-as {json, | ||
+ | Output result in another format | ||
+ | --debug | ||
+ | --quiet | ||
+ | --timeout ==SUPPRESS== | ||
+ | Number of seconds before this command will timeout | ||
+ | because it can't acquire the lock (meaning that | ||
+ | another command is currently running), by default | ||
+ | there is no timeout and the command will wait until it | ||
+ | can get the lock | ||
+ | --admin-password PASSWORD | ||
+ | The admin password to use to authenticate | ||
+ | -v, --version | ||
+ | admin@yuno: | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Gérer les données ===== | ||
+ | Ici quelque chose qui va être utile | ||
+ | |||
+ | https:// | ||
+ | Comment déplacer le dossier d’une application | ||
+ | |||
+ | < | ||
+ | |||
+ | Exemple avec WordPress : | ||
+ | |||
+ | # Deplacement du wordpress vers un autre support | ||
+ | $ sudo mv / | ||
+ | # Création du lien symbolique | ||
+ | $ sudo ln -s / | ||
+ | # Le répertoire doit appartenir à www-data | ||
+ | sudo chown -R www-data: | ||
+ | |||
+ | pour ça mc est tsès utile (voir + loin) | ||
+ | {{ : | ||
+ | |||
+ | ====== Créer un utilisateur ou un visiteur ====== | ||
+ | |||
+ | // | ||
+ | |||
+ | Avant tout lire ça https:// | ||
+ | |||
+ | On peut le faire par l' | ||
+ | |||
+ | < | ||
+ | admin@yuno: | ||
+ | usage: yunohost user info username [-h] | ||
+ | yunohost user info: error: too few arguments | ||
+ | admin@yuno: | ||
+ | usage: yunohost user {list, | ||
+ | yunohost user: error: invalid choice: ' | ||
+ | admin@yuno: | ||
+ | firstname: Pascot | ||
+ | fullname: Pascot daniel | ||
+ | lastname: daniel | ||
+ | mail: daniel@yuno.pascot.ca | ||
+ | mail-aliases: | ||
+ | - root@yuno.pascot.ca | ||
+ | - admin@yuno.pascot.ca | ||
+ | - webmaster@yuno.pascot.ca | ||
+ | - postmaster@yuno.pascot.ca | ||
+ | mailbox-quota: | ||
+ | limit: No quota | ||
+ | use: 13.0K | ||
+ | username: daniel | ||
+ | admin@yuno: | ||
+ | </ | ||
+ | |||
+ | Mon objectif avoir un accès rapide au wiki pour le plus de monde possible mais que les droits sur le wiki soient gérés par le dokuwiki | ||
+ | |||
+ | |||