Linux
valentinelzt
console.log('hello world');
展开
-
Centos7中使用yum安装最新版node.js
获取最新版的bash curl --silent --location https://rpm.nodesource.com/setup_14.x | bash - 执行安装 yum install nodejs原创 2020-08-07 15:17:25 · 753 阅读 · 0 评论 -
Centos 7指定阿里的镜像源
备份系统自带的yum源配置文件 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载阿里云的yum源配置 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 更新现有...原创 2020-04-27 13:00:32 · 329 阅读 · 0 评论 -
Centos杀掉uwsgi进程
今天在部署想目的时候,不小心把之前的项目删了,导致无法通过常规方式关闭uwsgi进程,于是百度了一番,发现,pkill挺好用 后台杀掉uwsgi进程 pkill -f uwsgi -9 # -f正则表达式模式将执行与完全进程参数字符串 # -9 强制终止 输入上面命令,uwsgi就被干掉啦 ...原创 2020-02-28 13:34:22 · 1240 阅读 · 0 评论 -
Centos7安装nodejs
1、下载nodejs wget https://npm.taobao.org/mirrors/node/v12.16.1/node-v12.16.1-linux-x64.tar.xz 2、使用tar解压下载的包 tar xf node-v12.16.1-linux-x64.tar.xz 3、将安装包移动到/etc下(可省略) mv node-v12.16.1-linux-x64 /etc/n...原创 2020-02-27 12:49:58 · 89 阅读 · 0 评论
分享