X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=README;h=a52bf875d5cb5745880ea863fff44f32f8cb85df;hp=b4b463b286c7658dcbaed80a9334b777aa6fd985;hb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583;hpb=1f1550e467bccfbac8a8f88b93db6355745794be diff --git a/README b/README index b4b463b..a52bf87 100644 --- a/README +++ b/README @@ -12,29 +12,57 @@ NOTE: TASK: obtenir une installation chrootable @host % export TRACE=1 - @host % ./vm_host disk_mount - @host % ./vm_host disk_format - @host % ./vm_host part_lvm_format - @host % ./vm_host part_root_format - @host % ./vm_host part_boot_format - @host % ./vm_host part_swap_format - @host % ./vm_host part_var_format - @host % ./vm_host part_home_format - @host % ./vm_host debian_install - @host % ./vm_host disk_umount + @host % ~/tool/ateliers/host/disk-mount + @host % ~/tool/ateliers/host/disk-format + @host % ~/tool/ateliers/host/part-lvm-format + @host % ~/tool/ateliers/host/part-root-format + @host % ~/tool/ateliers/host/part-boot-format + @host % ~/tool/ateliers/host/part-swap-format + @host % ~/tool/ateliers/host/part-var-format + @host % ~/tool/ateliers/host/part-home-format + @host % ~/tool/ateliers/host/debootstrap + @host % ~/tool/ateliers/host/disk-umount TASK: obtenir une installation démarable - @host % ./vm_host chroot + @host % ~/tool/ateliers/host/chroot @host % export TRACE=1 LANG=C LC_CTYPE=C - @host % /root/tool/vm/vm_hosted init + @host % /root/tool/vm/local/init # TODO: revoir ça @host % exit TASK: initialiser la VM - @host % vm_host vm_init - @host % vm_host vm_start - @hosted % vm_hosted user_init + @host % ~/tool/ateliers/xen-vm-configure + @host % ~/tool/ateliers/xen-vm-start + @local % local/user-configure TASK: démarrer la VM - @host % vm_host vm_start -TASK: ajouter un administrateur - @hosted % vm_hosted user_admin_add $user # NOTE: remplacer $user + @host % host/xen-vm-start +TASK: ajouter un-e administrateurice $user + @remote % cp .../id_rsa var/pub/ssh/$user.key + @remote % gpg --armor --export --export-options export-clean >var/pub/openpgp/$user.key + @remote % git add var/pub/{openpgp,ssh}/$user.key + @remote % git commit -a -m "Ajout : admin : $user ." + @remote % remote/git-push + @local % local/git-reset + @local % local/user-admin-add $user TASK: démarrer la VM - @host % vm_host vm_start - @remote % vm_remote disk_send_key + @host % host/xen-vm-start + @remote % remote/luks-key-disk-send +TASK: pousser des changements locaux sur la VM + @remote % remote/git-push + @local % local/git-reset +TASK: se connecter interactivement en root à la VM avec une connection SSH persistante + @remote % remote/mosh -l root +TASK: générer une autorité de certification et des sous-certificats TLS + % export TRACE=all + % random=/dev/urandom gpg_options="-r $USER@ -r $SOME_OTHER_USER@" lib/tool/openssl/make etc/openssl/heureux-cyclage.org + % random=/dev/urandom gpg_options="-r $USER@ -r $SOME_OTHER_USER@" lib/tool/openssl/make etc/openssl/*.heureux-cyclage.org + % lib/tool/openssl/check etc/openssl/* +TASK: gérer gitolite + % cd etc/gitolite + % vim conf/gitolite.conf + % git commit + % ../../remote/gitolite-push +TASK: configurer une zone DNS + @local % local/runit-configure nsd3 -- heureux-cyclage.org +TASK: configurer un membre du groupe php5-fpm + @remote % remote/runit-configure nginx -- lhc_www + @local % local/runit-configure nginx -- lhc_www +TASK: configurer un site nginx + @local % local/runit-configure nginx -- lhc_www