brew 软件安装说明

创建
阅读 39

mongodb-community

To have launchd start mongodb/brew/mongodb-community now and restart at login:

brew services start mongodb/brew/mongodb-community

Or, if you don't want/need a background service you can just run:

mongod --config /usr/local/etc/mongod.conf

mysql

We've installed your MySQL database without a root password. To secure it run:

mysql_secure_installation

MySQL is configured to only allow connections from localhost by default

To connect run:

mysql -uroot

To have launchd start mysql now and restart at login:

brew services start mysql

Or, if you don't want/need a background service you can just run:

mysql.server start

Python3

Python has been installed as

/usr/local/bin/python3

Unversioned symlinks python, python-config, pip etc. pointing to python3, python3-config, pip3 etc., respectively, have been installed into /usr/local/opt/python@3.9/libexec/bin

You can install Python packages with

pip3 install <package>

They will install into the site-package directory

/usr/local/lib/python3.9/site-packages

redis

To have launchd start redis now and restart at login:

brew services start redis

Or, if you don't want/need a background service you can just run:

redis-server /usr/local/etc/redis.conf

unbound

To have launchd start unbound now and restart at startup

sudo brew services start unbound

gnutls

If you are going to use the Guile bindings you will need to add the following to your .bashrc or equivalent in order for Guile to find the TLS certificates database:

export GUILE_TLS_CERTIFICATE_DIRECTORY=/usr/local/etc/gnutls/

git-lfs

Update your git config to finish installation:

Update global git config

git lfs install

Update system git config

git lfs install --system

nginx

Docroot is: /usr/local/var/www

The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that nginx can run without sudo.

nginx will load all files in /usr/local/etc/nginx/servers/.

To have launchd start nginx now and restart at login:

brew services start nginx

Or, if you don't want/need a background service you can just run:

nginx

jenkins-lts

Note: When using launchctl the port will be 8080. To have launchd start jenkins-lts now and restart at login:

brew services start jenkins-lts

Or, if you don't want/need a background service you can just run:

jenkins-lts

本文链接 https://www.yidiankuaile.com/post/brew-log