Created
March 19, 2018 17:38
-
-
Save camilonova/039b3d8080e576de4cec5cdcd3ac2538 to your computer and use it in GitHub Desktop.
Upgrade postgres 9.6 to 10
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
pg_lsclusters | |
sudo apt install postgresql-10 -y | |
export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8 | |
sudo pg_dropcluster 10 main --stop | |
sudo service nginx stop | |
sudo pg_upgradecluster 9.6 main | |
sudo pg_dropcluster 9.6 main | |
sudo service nginx start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment