Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
elearning:workbooks:debian:11:ldf800:l804 [2022/05/26 15:12] – created adminelearning:workbooks:debian:11:ldf800:l804 [2023/09/15 09:56] (Version actuelle) admin
Ligne 28: Ligne 28:
  
 =====Préparation===== =====Préparation=====
- 
-Re-créez la machine virtuelle Puppet : 
  
 <code> <code>
-desktop@serverXX:~$ cd puppet-beginners-guide-3 +vagrant@ubuntu-xenial:~$ sudo apt-get install git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev 
-desktop@serverXX:~/puppet-beginners-guide-3$ vagrant destroy +... 
-desktop@serverXX:~/puppet-beginners-guide-3scripts/start_vagrant.sh +vagrant@ubuntu-xenial:~$ cd 
-desktop@serverXX:~/puppet-beginners-guide-3$ vagrant ssh+vagrant@ubuntu-xenial:~$ git clone https://github.com/excid3/asdf.git ~/.asdf 
 +vagrant@ubuntu-xenial:~$ echo '. "$HOME/.asdf/asdf.sh"' >> ~/.bashrc 
 +vagrant@ubuntu-xenial:~echo '. "$HOME/.asdf/completions/asdf.bash"' >> ~/.bashrc 
 +vagrant@ubuntu-xenial:~$ echo 'legacy_version_file = yes' >> ~/.asdfrc 
 +vagrant@ubuntu-xenial:~$ echo 'export EDITOR="code --wait"' >> ~/.bashrc 
 +vagrant@ubuntu-xenial:~$ exec $SHELL 
 +vagrant@ubuntu-xenial:~$ asdf plugin add ruby 
 +vagrant@ubuntu-xenial:~asdf install ruby 3.2.2 
 +... 
 +vagrant@ubuntu-xenial:~$ gem update --system 
 +vagrant@ubuntu-xenial:~vi .tool-versions 
 +vagrant@ubuntu-xenial:~$ cat .tool-versions 
 +ruby 3.2.2 
 +vagrant@ubuntu-xenial:~$ ruby -v 
 +ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
 </code> </code>
  
Menu