第一步:升级GCC linux一般默认GCC是4.8.5,Redis新版本使用了更高版本的GCC gcc -v # 查看gcc的版本,一般都是4.8.5 yum -y install centos-release-scl # 升级到9.1版本 yum -y install devtoolset-9- ...
分类:
系统相关 时间:
2020-12-22 12:30:41
阅读次数:
0
CentOS7通过yum安装postgreSQL 选择正确的YUM安装源 yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch. ...
分类:
数据库 时间:
2020-12-22 12:15:14
阅读次数:
0
centos7.8 安装 redis 6,先升级gcc,否则编译出错。 环境: 升级gcc: yum -y install centos-release-scl yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-bin ...
分类:
其他好文 时间:
2020-12-22 12:05:01
阅读次数:
0
1、安装brew 2、安装vim brew install vim brew install macvim 3、复制配置文件 cp /usr/share/vim/vimrc ~/.vimrc 4、安装vim-plug 下载plug curl -fLo ~/.vim/autoload/plug.vim ...
分类:
系统相关 时间:
2020-12-22 12:01:26
阅读次数:
0
启动虚拟机 1. Azure Portal方式 1. 登录Azure门户网站,输入订阅账号和密码 2. 选择虚拟机选项 3. 选择要启动的虚拟机,点击Start 2. Azure PowerShell方式 1. 以管理员方式运行PowerShell命令:Connect-AzAccount登录Azur ...
分类:
其他好文 时间:
2020-12-21 12:12:18
阅读次数:
0
先批量注册组件指令,新建directives/index.js文件 import copy from './copy' const directives = { copy } const install = function (Vue) { Object.keys(directives).forEa ...
分类:
其他好文 时间:
2020-12-21 11:47:16
阅读次数:
0
一、安装supervisor yum install -y epel-release yum install -y supervisor systemctl start supervisord systemctl enable supervisord 二、使用supervisor管理进程 cat > ...
分类:
系统相关 时间:
2020-12-21 11:05:54
阅读次数:
0
1.错误zlib.h compress.c:14:58: fatal error: zlib.h: No such file or directory compilation terminated. 解决:sudo apt-get install zlib1g-dev 2.错误bison make[ ...
分类:
系统相关 时间:
2020-12-21 11:05:21
阅读次数:
0
Vue——mac环境下报错vue-cli-service: command not found 话不多说,直接讲方法,在终端输入: sudo rm -rf node_modules package-lock.json && npm install ...
分类:
其他好文 时间:
2020-12-21 11:04:05
阅读次数:
0
新建文件夹,cmd npm i -g @vue/cli-init //全局环境 vue/cli vue init nuxt/starter project // vue初始化,创建项目 cd project //切换到项目下 npm install / yarn 安依赖 npm run dev / ...
分类:
Web程序 时间:
2020-12-19 13:37:44
阅读次数:
6