一.前言 看网上很多资料,大多数都是 mac安装php,只需要: brew tap homebrew/php brew install phpXX 安装php扩展只需要: brew install phpXX-phpExtension 但是执行上面两条命令的时候都会抛出error: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated. homebrew/php was dep
1.现象如下 Linux Windows 2.原因 其实,这不是卡住了,而是告诉我们.数据库已经启动,而且这个东东还不能关掉,关掉意味着数据库也关了.一开始我也是傻逼逼的在那等了一天,哎.... 3.处理方法 Linux 对于Linux比较纠结,因为Linux命令窗口直接Ctrl+C退出,那么mongod就会被关闭啊!!!那怎么解决呢? 我是直接把它扔到后台运行的. # mongod -f /data/mongo/mongodb.cnf & Windows 这个就好办多了.重新开个命令窗口就行了
解决mac安装homebrew后报错-bash: brew: command not found 参照官网上很简单的一句安装命令, /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 安装完毕后,发现使用brew命令,却总是提示:-bash: brew: command not found /usr/local/bin不在PATH中
mac 安装brew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" mac安装expect(需要先安装brew,没有安装的话看上边) brew install expect mac一键登录服务器脚本 set user "zhaohh" set host "123.126.105.34" set p