BREW

MAC 安装homebrew

家住魔仙堡 提交于 2019-11-28 07:35:18
MAC PRO 安装homebrew Table of Contents 1. 简介 2. 安装和卸载 3. Homebrew使用 1 简介 Homebrew 是一款 macOS 平台下的软件包管理工具,拥有安装、卸载、更新、查看、搜索等 很多实用的功能。就像CentOS/RHEL 中的yum ,像ubuntu中的 apt-get ,包管理工具可 以让你安装和更新程序变得更方便, Homebrew 是Mac系统中最受欢迎的包管理工具之一。 系统要求: Intel CPUOS X 10.9 or higher 2 安装和卸载 注意 安装过程中请确保网络保持通畅。 安装 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 卸载 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" ,请在终端提示下粘贴以上命令。下载卸载脚本并运行./uninstall –help以查看更多卸载选项。 3 Homebrew使用 安装包 brew install <packageName> 示例: brew install wget

HomeBrew安装MongoDB如何启动

穿精又带淫゛_ 提交于 2019-11-28 07:32:46
1。先安装HomeBrew 安装(需要 Ruby ): ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" 搜索: brew search mysql 查询: brew info mysql 主要看具体的信息,比如目前的版本,依赖,安装后注意事项等 更新: brew update 这会更新 Homebrew 自己,并且使得接下来的两个操作有意义—— 检查过时(是否有新版本): brew outdated 这回列出所有安装的软件里可以升级的那些 升级: brew upgrade 升级所有可以升级的软件们 清理: brew cleanup 清理不需要的版本极其安装包缓存 2。brew update 更新brew 3。brew install mongodb 安装mongodb数据库 4。brew services start mongodb 启动mongodb数据库 5。brew services stop mongodb 停止mongodb数据库 来源: CSDN 作者: speedboy007 链接: https://blog.csdn.net/meegomeego/article/details/38304225

mac下安装mongodb pymongo,mysql

☆樱花仙子☆ 提交于 2019-11-28 07:29:08
使用homebrew安装 brew Install mongodb 创建文件夹用于存放数据 sudo mkdir -p /data/db 启动mongodb服务 brew services start mongodb sudo mongod 重启和停止服务 brew services stop mongodb brew services restart mongodb 在python中想要和mongodb进行交互,需要借助pyMongo库 安装pymongo pip3 install pymongo 卸载 pip3 uninstall pymongo 测试是否安装成功 python3 >>>import pymongo 使用pip3进行安装最新PyMySQL pip3 install PyMySQL 来源: CSDN 作者: benben0729 链接: https://blog.csdn.net/benben0729/article/details/80229847

Mac下关于MongoDb启动,停止

落花浮王杯 提交于 2019-11-28 07:24:27
brew services start mongodb ---启动 brew services stop mongodb --停止 brew services restart mongodb --重启 或者 mongod --config /usr/local/etc/mongod.conf --启动 use admin, db.shutdownServer() --关闭 来源: CSDN 作者: Horizon_Zy 链接: https://blog.csdn.net/Horizon_Zy/article/details/78155782

在 mac 上利用 homebrew 安装软件

廉价感情. 提交于 2019-11-28 06:40:44
在mac经常需要安装一些软件,你可以通过app store下载,或者可以通过浏览袭搜索下载。这里介绍通过homebrew安装一些软件,它会自动为你下载一些软件的相关依赖,免去安装的烦恼。 首先我们需要安装brew,复制如下内容,在terminal中执行,等待安装完成 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 安装成功提示,部分截取 ==> Downloading and installing Homebrew... xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools. ==> Installation successful! ==> Next steps Run `brew help` to get started Further documentation: https://git.io/brew-docs ==> Homebrew

macos系统安装nginx

此生再无相见时 提交于 2019-11-28 06:37:31
MacOS系统安装软件: macos系统下没有yum和apt-get命令,要安装软件需要使用homebrew。 1、安装homebrew: 安装: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 卸载: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" PS:如果出现ping github.com超时的情况,查找第三方ip,如192.30.253.112 github.com添加到/etc/hosts最后一行。 2、利用homebrew安装、卸载软件包: $ brew install pcre bzip2 openssl $ brew uninstall python $ brew search <packageName> $ brew list 查看已安装 $ brew info <packageName> 查看包信息 $ brew -v $ brew -h $ brew install nginx 安装过程会自己安装依赖关系 $ brew services start nginx

[brew cask]的基本操作

自古美人都是妖i 提交于 2019-11-28 03:50:28
在mac中 brew cask 的基本操作 brew cask info package #查看信息 brew cask install package #安装软件 brew cask uninstall package #卸载软件 brew cask info qq #查看qq的详细信息 来源: https://www.cnblogs.com/tsing0520/p/11390477.html

配置开发环境

独自空忆成欢 提交于 2019-11-28 00:56:40
配置开发环境 安装依赖 参考: React Native中文网 安装Node、Watchman 和 React Native 命令行工具以及 Xcode 1.安装Homebrew 将以下命令粘贴至终端 参考: 简书 https://www.jianshu.com/p/17f917ffc474 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" > 进行安装,然后执行:brew update 显示已经是最新版本 问题: 命令粘贴之后,无如何效果 解决方案: 大概二次反复提出终端,再重新粘贴运行,便可 2.开始安装node、watchman 在终端使用以下命令 brew install node brew install watchman 进行安装 node 问题: 刚开始安装时,会在下载过程中报错,然后中断 解决方案: 重新编写安装命令,大概经过3/4次之后,下载恢复正常,安装成功。 测试:参考: 麦子网站 终端输入 node -v 显示 v12

MacOS下的渗透测试工具

北城余情 提交于 2019-11-27 19:10:26
信息收集工具 工具名称 安装命令 CeWL brew install sidaf/pentest/cewl dirb brew install sidaf/pentest/dirb dnsrecon brew install sidaf/pentest/dnsrecon enum4linux brew install sidaf/pentest/enum4linux gobuster brew install sidaf/pentest/gobuster netdiscover brew install sidaf/pentest/netdiscover polenum brew install sidaf/pentest/polenum praeda brew install sidaf/pentest/praeda recon-ng brew install sidaf/pentest/recon-ng ridenum brew install sidaf/pentest/ridenum Scrape-DNS brew install sidaf/pentest/scrape_dns SimplyEmail brew install sidaf/pentest/simply_email snmpcheck brew install sidaf/pentest/snmpcheck

Mac OSX下使用apt-get命令

旧城冷巷雨未停 提交于 2019-11-27 14:31:06
由于之前接触过Ubuntu的系统,所以比较熟悉一个便捷的安装软件包的命令 sudo apt-get install xxx ,一直觉得Mac也是Linux的系统和Ubuntu的区别应该不大,然而今天使用命令 sudo apt-get install libxml2 时Mac系统却报出了 -bash:apt-get:command not found 这样的错误,后来上网查询才知道,原来apt-get是debian(Ubuntu)才有的包管理器,遂继续查询解决方案。 解决方案:使用brew代替apt-get What is brew? brew 全称Homebrew,是Mac OSX上的软件包管理工具,能在Mac中方便的安装软件或者卸载软件。 如何安装? 安装只需要在终端下输入下面一条命令(Mac自带ruby不需要安装) ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 安装完成后使用 brew install libxml2 即可。如需查看brew的更多功能请使用 brew --help 查看其帮助文档。 安装mcrypt插件示例: MacdeMacBook-Pro-3:StuGrade mac$ brew search mcrypt