homebrew & brew cask使用技巧及Mac软件安装

homebrew安装/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 命令安装软件:brew install 软件名,例:brew install wget 搜索软件:brew search 软件名,例:brew search wget 卸载软件:brew uninstall 软件名,例:brew uninstall wget 更新所有软件:brew update 更新具体软件:brew upgrade 软件名 ,例:brew upgrade git 显示已安装软件:brew list 查看软件信息:brew info/home 软件名 ,例:brew info git / brew home git 显示包依赖:brew reps 显示安装的服务:brew services list 安装服务启动、停止、重启:brew services start/stop/restart serverNamehomebrew cask安装brew tap phinze/homebrew-cask brew install brew-cask软件列表可视化homebrew安装工具brew cask install cakebrew图形化管理Homebrew安装的服务软件brew tap jimbojsb/launchrocket brew cask install launchrocket全局搜索工具brew cask install alfred //快捷键option+space //command+回车打开文件所在文件夹 //百度搜索添加设置 1.Features->Web Search->Add Custom Search 2.Search Url->https://www.baidu.com/s?wd={query} Title->Search Baidu for '{query}' Keywords->baidu Validation:alfredpp //国人必备的30个Alfred Workflow https://www.waerfa.com/alfred-workflowbrew cask install google-chrome //chrome://components终端工具brew cask install iterm2 //配色https://github.com/mbadolato/iTerm2-Color-Schemesmac chm阅读工具brew cask install ichmshadowsocks客户端brew cask install shadowsocksx-ngredis客户端brew cask install rdmbrew install macvim --with-override-system-vim brew install emacs --with-cocoa --with-gnutls brew install adminermac环境工具brew install mysql brew install httpd24 brew install php56 --with-httpd24 brew install redis brew install php56-redis //redis可视化管理工具 redis-desktop-manager brew install php56-yaf brew install php56-swoole brew install mongodb brew install php56-mongodb //mongodb可视化管理工具 robomongohttpd22配置文件<IfModule alias_module> Alias /workspace "/Users/redraiment/workspace/" <Directory "/Users/redraiment/workspace/"> AllowOverride All Options Indexes MultiViews FollowSymLinks ExecCGI Order allow,deny Allow from all DirectoryIndex index.html index.php </Directory> </IfModule> //升级到2.4版本之后:Order allow,deny和Allow from all要改成Require all granted,如下所示: <IfModule alias_module> Alias /workspace "/Users/redraiment/workspace/" <Directory "/Users/redraiment/workspace/"> AllowOverride All Options Indexes MultiViews FollowSymLinks ExecCGI Require all granted DirectoryIndex index.html index.php </Directory> </IfModule>虚拟目录<VirtualHost *:80> DocumentRoot "/www/test" ServerName localhost ErrorLog "/private/var/log/apache2/localhost-error_log" CustomLog "/private/var/log/apache2/localhost-access_log" common <Directory "/www/test"> Options FollowSymLinks Multiviews MultiviewsMatch Any AllowOverride None Require all granted </Directory> </VirtualHost>虚拟机brew cask install virtualbox brew cask install vagrant前端工具brew install node

相关内容推荐