首页
壁纸
关于
推荐
战略合作
Google
主题Joe
Search
1
涂鸦设备本地化接入(涂鸦电表)
13 阅读
2
CentOS 定时同步指定文件到ftp
6 阅读
3
laydate输入日期年月日时分,以十分钟为间隔,不需要秒
5 阅读
4
记一次Django_cas_ng数据库migrate错误
5 阅读
5
Centos7 安装python3并配置pip
4 阅读
运维
Windows
Linux
MacOS
Android
vmware
开发
Python
Go
Html
Electron
智家
HomeAssistant
ESPhome
Unraid
群晖
网络相关
登录
Search
标签搜索
运维
Linux
Python
django
智能家居
Nginx
MACos
brew
layui
cas
群晖
nas
zabbix
vim
JDK
sonar
jenkins
Nexus
转发
mysql
Ruike
累计撰写
29
篇文章
累计收到
109
条评论
首页
栏目
运维
Windows
Linux
MacOS
Android
vmware
开发
Python
Go
Html
Electron
智家
HomeAssistant
ESPhome
Unraid
群晖
网络相关
页面
壁纸
关于
推荐
战略合作
Google
主题Joe
搜索到
2
篇与
的结果
2020-02-26
brew教程
一、安装brew:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"二、使用brew:#查看系统通过 brew 安装的服务 brew services list #清除已卸载无用的启动配置文件 brew services cleanup mysql 启动:brew services start mysql 停止:brew services stop mysql 重启:brew services restart mysql brew 安装的根目录 一般在:/usr/local/Cellar/ 下面 1.安装卸载软件brew --version或者brew -v 显示brew版本信息 brew install <formula> 安装指定软件 brew unistall <formula 卸载指定软件 brew list 显示所有的已安装的软件 brew search text 搜索本地远程仓库的软件,已安装会显示绿色的勾 brew search /text/ 使用正则表达式搜软件2. 升级软件相关brew update 自动升级homebrew(从github下载最新版本) brew outdated 检测已经过时的软件 brew upgrade 升级所有已过时的软件,即列出的以过时软件 brew upgrade <formula>升级指定的软件 brew pin <formula> 禁止指定软件升级 brew unpin <formula> 解锁禁止升级 brew upgrade --all 升级所有的软件包,包括未清理干净的旧版本的包 3. 清理相关homebrew再升级软件时候不会清理相关的旧版本,在软件升级后我们可以使用如下命令清理 brew cleanup -n 列出需要清理的内容 brew cleanup <formula> 清理指定的软件过时包 brew cleanup 清理所有的过时软件 brew unistall <formula> 卸载指定软件 brew unistall <fromula> --force 彻底卸载指定软件,包括旧版本
2020年02月26日
1 阅读
0 评论
0 点赞
2019-06-10
MAC brew安装 mysql
一、安装CatowoMacbookPro: brew install mysql@5.7 Updating Homebrew... ==> Downloading https://homebrew.bintray.com/bottles/mysql@5.7-5.7.23.high_sierra. Already downloaded: /Users/fei/Library/Caches/Homebrew/mysql@5.7-5.7.23.high_sierra.bottle.tar.gz ==> Pouring mysql@5.7-5.7.23.high_sierra.bottle.tar.gz ==> /usr/local/Cellar/mysql@5.7/5.7.23/bin/mysqld --initialize-insecure --user=fei ==> Caveats 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 This formula is keg-only, which means it was not symlinked into /usr/local, because this is an alternate version of another formula. If you need to have this software first in your PATH run: echo 'export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"' >> ~/.bash_profile For compilers to find this software you may need to set: LDFLAGS: -L/usr/local/opt/mysql@5.7/lib CPPFLAGS: -I/usr/local/opt/mysql@5.7/include To have launchd start mysql@5.7 now and restart at login: brew services start mysql@5.7 Or, if you don't want/need a background service you can just run: /usr/local/opt/mysql@5.7/bin/mysql.server start ==> Summary 🍺 /usr/local/Cellar/mysql@5.7/5.7.23: 317 files, 234.4MB二、配置:根据提示,先将mysql加入path:echo 'export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"' >> ~/.bash_profile起一个新的终端,启动mysql服务mysql.service start配置密码:mysql_secure_installation三、使用mysql -uroot -p mysql.service start mysql.service stop
2019年06月10日
2 阅读
0 评论
0 点赞