pillarhuang

mac管理多版本python

👉  官方githubpyenv基本用法# 安装pyenv $brew install pyenv # 查看pyenv版本 $ pyenv -v # 查看可安装python版本 $ pyenv install&nbs...

Go入门问题记录

报错:vscode go: cannot find main module; see 'go help modules',缺少mod文件    -  解法:进入项目目录的上级目录,执行 go mod init main...

go环境安装小结

下载&安装: https://golang.org/dl/go模块代理:https://goproxy.io/zh/    ...

Centos 7重置密码

1 - 在启动grub菜单,选择编辑选项启动2 - 按键盘e键,来进入编辑界面3 - 找到Linux 16的那一行,将ro改为rw init=/sysroot/bin/sh4 - 现在按下 Control+x ,使用单用户模式启动5 - 现在,可以使用下面的命令访问系统chroot /sysroot6 - 重置密码passwd root7 - 更新系统信息t...

vi常用操作

清除文件内容:.,$d (clear file from current line)1,$d (clear the whole file)回到行0.回到行尾$跳到第一行:1gg跳到最后一行:$shift + g...

源码安装mysql

### step1 cmake \ -DBOOST_ROOT=../boost_1_59_0 \ -DCMAKE_BUILD_TYPE=Release \ -DMYSQL_CLIENT_STATIC_BINDING=true \ -DMYSQL_CLIENT_STATIC_LINKING...

shell命令常用快捷键

cd -  -  ==  $OLDPWD可以 echo $OLDPWD查看cd -   ==   cd $OLDPWD一不小心输入cd 直接回车就会跑到宿主目录中去, 如果想回到上一次的目录就输入cd -2、ctrl键组合ctrl+a:光标移到行首。ctrl+b:光标左移一个字母...

Centos 安装mysql

方法一下载安装:1、在/home创建mysql目录,下载如下四个软件包http://mirrors.sohu.com/mysql/MySQL-5.7/wget http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-community-client-5.7.18-1.el6.x86_64.rpmwget http://mi...

CentOS 常用命令大全

下面,就给大家介绍这些CentOS常用命令。一:使用CentOS常用命令查看cpumore /proc/cpuinfo | grep "model name"grep "model name" /proc/cpuinfo[root@localhost /]# grep "CPU" /proc/cpu...