摘要: 基本设置命令 在终端里输入: sudo crontab -e 查看定时任务 crontab -l 删除定时任务 crontab -r 如果无法使用定时任务crontab 解决方法: sudo vim ~/.vimrc 添加如下内容并保存 autocmd filetype crontab setloc 阅读全文
posted @ 2020-03-28 18:39 低调的人儿 阅读(1541) 评论(0) 推荐(0) 编辑
摘要: 在终端执行 : export PATH=/bin:/sbin:/usr/bin:/usr/sbin 此时此刻在当前终端窗口,就可以开心的用linux命令了,千万不要关了当前窗口(救急方案) 终身解决方案呢? 编辑 bash_profile, 文件,添加环境变量,保存退出 vim ~/.bash_pr 阅读全文
posted @ 2020-03-28 18:18 低调的人儿 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 首先安装好python3,环境变量配置好: 安装pip3 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py sudo python3 get-pip.py 安装 virtualenv sudo pip3 install virtualen 阅读全文
posted @ 2020-03-28 18:11 低调的人儿 阅读(626) 评论(0) 推荐(0) 编辑
摘要: 打开pycharm,按照下面图片步骤配置即可 阅读全文
posted @ 2020-03-28 17:45 低调的人儿 阅读(862) 评论(0) 推荐(0) 编辑
摘要: 把 bash shell 中.bash_profile 全部环境变量加入zsh shell里就好 第一步 在终端执行 open ~/.zshrc 第二步 找到 "# User configuration" 在其下面添加下面内容 source ~/.bash_profile 如果没有'# User c 阅读全文
posted @ 2020-03-28 17:34 低调的人儿 阅读(35606) 评论(1) 推荐(0) 编辑
摘要: 安装 下载 1、打开mysql官网:https://www.mysql.com/,选择DOWNLOADS下面的MySQL Community (GPL) Downloads » 2、选择下载版本 3、然后可以下载,下载成功后,就在Mac上安装dmg文件即可。 配置环境变量 第一步 :在终端切换到根目 阅读全文
posted @ 2020-03-28 17:23 低调的人儿 阅读(3534) 评论(0) 推荐(0) 编辑
摘要: 一、安装 首先保证电脑上有brew然后使用下面的命令安装即可 brew install redis 二、常用命令 1.启动redis服务 brew services start redis 2.关闭redis服务 brew services stop redis 3.重启redis服务 brew s 阅读全文
posted @ 2020-03-28 16:45 低调的人儿 阅读(7465) 评论(0) 推荐(2) 编辑
摘要: 在Mac的终端上执行这个Homebrew 国内自动安装脚本 /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 阅读全文
posted @ 2020-03-28 16:13 低调的人儿 阅读(689) 评论(0) 推荐(0) 编辑