【Mac下MongoDB enterprise版的安装】教程文章相关的互联网学习教程文章

MAC安装 oh-my-zsh报错的解决方案

直接执行这个命令:curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh 会报 443 的bug,我科。学。上网也还是不行,也许我人品比较差吧。打开 https://raw.githubusercontent.com/Homebrew/install/master/install.sh ,把这个文件保存下来,然后给他权限,再把保存的sh文件拖到命令框里面执行,就自动安装成功了。不懂怎么加权限的,自己去百度吧,懒得贴图上来了。比如说你下载的文件保存在A文件夹,...

Nginx 安装 (mac os) 错误 ld: symbol(s) not found for architecture x86_64

今天在mac os 上编译安装Nginx时候,报错:ld: symbol(s) not found for architecture x86_64, 经过一番折腾之后发现,由于Nginx依赖openssl库,查看openssl的./config 文件发现,这个问题应该是 openssl/config脚本猜对你的系统是64位,但是 会根据$KERNEL_BITS来判断是否开启x86_64编译,默认不开启,他会给你5秒时间确认是否停止编译,手动设置x86_64编译,所以默认你生成的openssl库文件是32位的,最后静态链接到nginx会出错。...

mac os x 安装mysql遇到 Access denied for user 'root'@'localhost' (using password: YES)的解决方法

最近把开发环境迁移到macbook上,装上mysql启动之后,连接,总是报这个错误。5.5的版本默认密码为空。其实这个错误是root未授权的问题。解决方法如下:未给localhost root用户授权,新建一个localhost root用户,然后授权给他:在终端里面mysql路径下之行如下语句: 1、create user ‘root‘@‘localhost‘ identified by ‘你的密码‘;2、grant all privileges on *.* to root@‘localhost‘; 可以先执行2试试,如果不行,再执行...

Vmware中为Mac Os安装vmtools

成功方法:1. 在VMWare中点击edit this virtual machine2. 添加CD/DVD,使用iso,找到那个darwin.iso3. 在setting里面,点击CD/DVD里面的advanced,将其设为SCSI 0:12。其中,第三步比较关键,SCSI的值一定要设在HJMac.iso的后面,比如HJMac.iso设为0:10,这里咱设为0:12就可以了。4. 开机后,在Finder中就可以找到Darwin.iso,进行安装。附件:vmtools for macos下载地址https://softwareupdate.vmware.com/cds/vmw-desktop/fus...

Mac brew 安装amp环境【代码】

|首先加入Homebrew官方的几个软件源$ brew tap homebrew/dupes $ brew tap homebrew/versions $ brew tap homebrew/php |安装PHP5.6$ brew install php56新问题:安装完成后没有Apache用的php5.so- 卸载: $ brew remove php56 - 安装: $ brew install php56 —with-apache 如果出现以下内容说明被弃用了 Warning: homebrew/php/php56: --with-apache was deprecated; using --with-httpd24 instead! 需要执行该命令来安装: $ br...

mac下安装rabbitmq【代码】

使用homebrew安装rabbitmq,命令如下:brew install rabbitmq安装的位置如下/usr/local/Cellar/rabbitmq/3.7.18进入到sbin目录下cd /usr/local/Cellar/rabbitmq/3.7.18/sbin启动rabbitmq服务./rabbitmq-server访问http://localhost:15672进入rabbitmq管理页面关闭rabbitmq服务重新打开一个终端窗口./rabbitmqctl stop配置环境变量,编辑vim ~/.bash_profile,添加如下内容export RABBITMQ_HOME=/usr/local/Cellar/rabbitmq/3.7.18 ...

[Lua]Mac系统上安装Lua环境【图】

1、下载Lua语言的官方网站 http://www.lua.org/ 下载最新版本的Lua环境 2、安装解压下载包lua-5.3.1.tar.gz 打开终端Terminal 使用cd命令进入该目录 输入命令make macosx test进行Lua环境安装 输入命令 lua -v 查看当前安装的lua版本(检测是否安装成功) 3、使用原文:http://www.cnblogs.com/daxiaxiaohao/p/4648684.html

[转]mac上安装android sdk【图】

一、先下载android sdk for mac给二个靠谱的网址:a). http://down.tech.sina.com.cn/page/45703.htmlb). http://mac.softpedia.com/get/Developer-Tools/Google-Android-SDK.shtml到这个面下载后,解压到某个目录 二、设置下载的代理服务器命令行进入tools目录然后输入 ./android sdk 请出SDK Manager的图形界面Android SDK Manager -> Preferences...http proxy server这里填写: mirrors.neusoft.edu.cn (感谢东软搭建国内的镜...

Mac 安装 gradle

gradle下载链接http://services.gradle.org/distributions/ 我这里下载的是gradle-4.3.1-all.zip版本。 第一步:下载完成后解压到/Users/david.lee/FileData/下,打开终端。 第二步:执行 vi ~/.bash_profile 命令,添加export GRADLE_HOME=/Users/david.lee/FileData/gradle-4.3.1export PATH=$PATH:$GRADLE_HOME/bin12第三步:按esc键退出vi的编辑模式,输入 :wq 保存并退出vi 第四步:执行source ~/.bash_profile 命令 第五步:...

mac下安装mysql5.7.18,连接出现Access denied for user 'root'@'localhost' (using password: YES)

mac下,mysql5.7.18连接出错,错误信息为:Access denied for user ‘root‘@‘localhost‘ (using password: YES)()里面的为shell中输入的命令,一定要输全包括;&等符号第一步:苹果->系统偏好设置->最下面点mysql,关闭mysql服务第二步:进入终端输入(cd /usr/local/mysql/bin/)回车输入(sudo su)回车以获取管理员权限输入(./mysqld_safe --skip-grant-tables &)回车以禁止mysql验证功能,mysql会自动重启,偏好设置中的...

python 点滴记录15:MAC OS安装MySQLdb【代码】

下载安装包:http://sourceforge.net/projects/mysql-python然后解压。切换到目录下执行python setup.py install报错:EnvironmentError: mysql_config not found解决:在安装包中找到site.cfg文件,将#mysql_config =/usr/local/bin/mysql_config修改为:mysql_config =/usr/local/mysql/bin/mysql_config继续python setup.py install安装完毕后进入python交互模式:import MySQLdb报错:Reason: image not found解决:sudo ln -s...

macOS 安装 Docker Desktop CE(转)【代码】【图】

现在基本上都使用docker进行部署项目,所以还是有必要学习下,关于docker的简介这里就不在描述,本文转载自https://yeasy.gitbooks.io/docker_practice/content/install/mac.html 如果你不是macOS 系统,也可以上我贴出来的gitbook上进行查找对应系统的安装方法,还是感谢谢该系列的大神文章macOS 安装 Docker Desktop CE系统要求Docker Desktop for Mac 要求系统最低为 macOS Sierra 10.12。安装使用 Homebrew 安装Homebrew 的 Ca...

mac安装html5lib报错

pip安装html5lib包的时候报一下错误:? /test sudo pip install html5libThe directory '/Users/lele/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.The directory '/Users/lele/Library/Caches/pip' or its parent directory is ...

mac yarn 安装【代码】

通过HomeBrew安装brew install yarn升级yarn brew upgrade yarn查看版本yarn -v1.15.2原文:https://www.cnblogs.com/wang715100018066/p/10635549.html

Mac新手使用指南:brew安装的nginx常用命令

安装:brew install nginx/sudo brew install nginx启动:brew services start nginx/sudo brew services start nginx重启:brew services restart nginx/sudo brew services restart nginx停止:brew services stop nginx/sudo brew services stop nginx原文:http://www.cnblogs.com/lewiscutey/p/8047877.html