JDK默认安装路径为/Library/Java/JavaVirtualMachines 多版本安装后效果为: 设置 1.执行以下命令 cd ~ open -e .bash_profile #打开.bash_profile文件 注:假如.bash_profile文件不存在执行下面命令新建文件 cd ~ touch .bash_profile #新建.bash_profile文件 ls -a #查看文件是否创建成功 2.在打开的.bash_profile文件中添加下面内容然后关闭 #添加JDK的环境
官方版本列表:http://nginx.org/download/ 1.安装 wget http://nginx.org/download/nginx-1.10.3.tar.gz tar -zxvf nginx-1.10.3.tar.gz cd nginx-1.10.3 ./configure make && make install 编译时添加模块 ./configure --with-http_stub_status_module --with-http_ssl_module *./c
Mac安装wget wget版本: wget-1.17 参考来源: Mac OS 安装Wget 給Mac添加wget功能 The Wget package for Mac http://brew.sh/ 安装与配置 1. 首先下载一个Wget的源码包 http://www.gnu.org/software/wget/ 2. 进入到解压的目录 3. 输入:./configure 末尾几行执行结果: ... configure: error: in `/Users/Richard/Documents