Installations Of Homebrew, MySQL & Redis On MacOS
I summary this article after I finished installation of Homebrew on my 2 laptops-MacBook Pro(Interl Chip) & MacBook Air(Apple Silicone Chip), there is nothing wrong with running the command below. Just record it for reference and hope it could help someone else.
Installation of Homebrew
Execute the command as below, the source is from China mainland so we don’t need to worry too much about the bad Internet connection.
1 |
|
After the tip of your terminal notified that installation is finished.Restart or reload your terminal by below command
1 |
|
Here is the logs for reference.
Per logs , we can see it may need to configure git therefor follow the tips directly like below
1 |
|
After run all above, we have finished the installation of Homebrew.We can install some developed tools by related command.
1 |
|
Installation Of MySQL-5.7
We could install MySQL by Homebrew easily.
1 |
|
MySQL logs for reference.
After finished installation of MySQL,execute those commands as below
1 |
|
Initialize password of MySQL
At this point, we have completed installation of MySQL-5.7
Installation Of Redis
Redis is convenient to use on MacOS, plus, it’s easy to get it by Homebrew.Let just go ahead~
1 |
|