This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -e "****************************************************\n" | |
echo-e "installation of Docker Windows WSL for DOCKER Windows\n" | |
echo -e "****************************************************\n" | |
sudo apt-get update | |
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Changer l'URL du site | |
UPDATE wp_options | |
SET option_value = replace(option_value, 'http://www.ancien-site.com', 'http://www.nouveau-site.com') | |
WHERE option_name = 'home' | |
OR option_name = 'siteurl'; | |
# Changer l'URL des GUID | |
UPDATE wp_posts | |
SET guid = REPLACE (guid, 'http://www.ancien-site.fr', 'http://www.nouveau-site.fr'); |