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
先批量注册组件指令,新建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
1、提交任务 //提交任务直到返回结果job.waitForCompletion(true); 2、点击waitForCompletion方法到Job.java类 3、跟进到submit方法,调用方法: return submitter.submitJobInternal(Job.this, clu ...
分类:
其他好文 时间:
2020-12-21 11:24:14
阅读次数:
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
1、我们在生产环境中我们需要对服务器系统配置相关优化参数,以下为Centos 7系统相关常用软件安装以及系统参数配置 setenforce 0 sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config sed -i 's/ ...
分类:
系统相关 时间:
2020-12-19 13:21:26
阅读次数:
2