Let's say you want to host domains first.com
and second.com
.
Create folders for their files:
After automatically updating Postgres to 10.0 via Homebrew, the pg_ctl start command didn't work. | |
The error was "The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0." | |
Database files have to be updated before starting the server, here are the steps that had to be followed: | |
# need to have both 9.6.x and latest 10.0 installed, and keep 10.0 as default | |
brew unlink postgresql | |
brew install postgresql@9.6 | |
brew unlink postgresql@9.6 | |
brew link postgresql |
<!-- Image w/caption, full-width --> | |
<figure class="richtext-figure richtext-figure--full"> | |
<img src="https://via.placeholder.com/1200x600.png" alt="[image alt]"> | |
<figcaption>This independent workforce survey reveals new insights into freelancing in America. Key findings: Freelancers earned an estimated $1 trillion this year, are highly motivated, growing.</figcaption> | |
</figure> | |
<!-- Image w/caption, pull left --> | |
<figure class="richtext-figure richtext-figure--left"> | |
<img src="https://via.placeholder.com/1200x600.png" alt="[image alt]"> | |
<figcaption>This independent workforce survey reveals new insights into freelancing in America. Key findings: Freelancers earned an estimated $1 trillion this year, are highly motivated, growing.</figcaption> |