Mac在~/.bash_profile文件配置的环境变量,在每次关闭终端后配置会失效,重新打开的时候,需要重新执行命令source ~/.bash_profile 才能生效。 解决方法: 在~/.zs...

MAMP环境下使用数据库,在终端里输入mysql -uroot -p 提示 mysql: command not found 的解决方法
解决方法是:修改环境变量 1、打开终端terminal; 2、输入:sudo vi ~/.bash_profile,按回车输入密码后用 vi 打开用户目录下的 bash_profile 文件,一定要用...

Mac下使用IntelliJ IDEA将本地项目与远程git地址关联
1、安装homebrew,命令如下: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/mas...

解决Mac下PhpStorm中 php-cgi not found:Please ensure that configured PHP Interpreter built as CGI program (–enable-fastcgi was specified)
1、安装homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/in...

在Linux下安装GitLab
1、安装基础包 sudo yum install -y curl policycoreutils-python openssh-server 2、启动sshd sudo systemctl enabl...

Mac上连接Linux远程服务器方法
1、打开终端,即:terminal; 2、输入命令:ssh @; 3、输入密码,即可登陆。
![ECDSA host key for [ip address] has changed and you have requested strict checking](https://www.rqphp.com/wp-content/themes/begin/img/loading.png)
ECDSA host key for [ip address] has changed and you have requested strict checking
在终端输入以下命令: ssh-keygen -R 清除本地的远程服务器的缓存和公钥信息,注意是大写的字母R。 原因1:远程服务器重装了系统(清除了与本地SSH连接协议相关信息),本地的SSH协议信息便...

Mac下配置Apache服务器
Apache安装目录在:/etc/apache2/,etc默认是隐藏的。 进入/etc/apache2/httpd.conf 1、找到DocumentRoot,将/Library/WebServer/...

Python 基础语法
Python语言与Perl,C和Java等语言有许多相似之处。但是,也存在一些差异。 第一个Python程序 交互式编程 交互式编程不需要创建脚本文件,是通过 Python 解释器的交互模式进来编写代...

Kotlin程序概念解释
让我们来理解Kotlin程序Hello World.kt中涉及的概念和关键词。 fun main(args: Array<String>) { println("Hello World!"...