sh 自制软件包

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 自制软件包相关的知识,希望对你有一定的参考价值。

brew install redis

# to have launchd start redis at login
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents

# then to load redis now
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist

# or if you don't want/need launchctl, you can just run
redis-server /usr/local/etc/redis.conf
brew install postgresql

# to have launchd start postgresql at login
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents

# then to load postgresql now
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

# or if you don't want/need launchctl, you can just run
postgres -D /usr/local/var/postgres
brew install mysql

# to connect
mysql -uroot

# to load mysql
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

# or if you don't want/need launchctl, you can just run
mysql.server start
brew install memcached

# To have launchd start memcached at login:
ln -sfv /usr/local/opt/memcached/*.plist ~/Library/LaunchAgents

# Then to load memcached now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist

# Or, if you don't want/need launchctl, you can just run:
/usr/local/opt/memcached/bin/memcached

以上是关于sh 自制软件包的主要内容,如果未能解决你的问题,请参考以下文章

sh 自制软件

sh 自制软件更新

sh 自制软件安装postgresql的具体版本

sh 自制软件安装包装清单

sh 使用自制软件的Android模拟器

sh 用自制软件在mac中的mongodb