Mac
文章平均质量分 56
mac 操作系统
fish_study_csdn
PHP go JAVA python 开发
展开
-
macOS Python安装教程
1在地址栏里输入https://www.python.org/,这是python的官网,进入python官网(之前一直打不开页面,后来发现自己在/etc/hosts 中配置了:0.0.0.0 account.jetbrains.com0.0.0.0 www.jetbrains.com)注释这两行2直接单击Downloads选项卡后点击最新的python版本,此处下载的是python3.10.4:3 下滑页面,找到关于mac...原创 2022-04-16 07:21:37 · 12063 阅读 · 1 评论 -
mac 环境下安装gin
安装go 和设置go的路径这里就不多讲了,不明白的同学,可以看我的博客安装Gin框架go get -u github.com/gin-gonic/gin由于国内网络的原因,在拉取项目时最好开启代理服务,这里使用阿里云提供的服务:在~/.bash_profile 中添加:export GOPROXY=https://mirrors.aliyun.com/goproxy再次运行命令:go get -u github.com/gin-gonic/gin 成功下载在网络上卡...原创 2020-10-21 15:24:40 · 767 阅读 · 0 评论 -
MAC 配置环境变量重启终端不生效解决办法
之前配置环境变量ll='ls -alF'一直都在 ~/.bash_profile 中, 最近更新系统后,重启终端后或者重启系统环境变量配置都不生效。每次都需要重新执行 : $source ~/.bash_profile。在~/.zshrc文件最后,增加一行:source ~/.bash_profile若没有.zshrc文件,在同级目录下touch .zshrc 创建文件添加source ~/.bash_profile 命令,保存退出...原创 2020-10-20 20:33:11 · 3174 阅读 · 0 评论 -
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 ...原创 2020-02-24 17:46:39 · 229 阅读 · 0 评论 -
Mac下安装MariaDB. 连接出现Access denied for user 'root'@'localhost' (using password: YES)
brew配置正常后输入命令:brew install mariadb如果提示以下则说明安装成功了A "/etc/my.cnf" from another install may interfere with a Homebrew-builtserver starting up correctly.To connect: mysql -urootTo ...原创 2020-02-08 11:37:14 · 2111 阅读 · 0 评论 -
Mac 下源码安装PHP7.3.14
下载PHP7.3.14版本。https://www.php.net/downloads/distributions/php-7.3.14.tar.gztar xzvf php-7.3.14.tar.gz./configure --prefix=/usr/local/php7 --with-config-file-path=/usr/local/php7/lib/ --enabl...原创 2020-02-05 13:15:42 · 1360 阅读 · 0 评论 -
Mac安装homebrew报错curl: (7) Failed to connect to raw.githubusercontent.com port 443: Operation
homebrew安装时,一般直接在终端直接输入命令:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"但是这个方法在网络有问题时会报如题这个错误。这个时候直接将文件brew_install.rb下载,然后控制台运行ruby brew_ins...转载 2020-02-05 10:27:38 · 1850 阅读 · 0 评论