avatar

sunday

Sunday's Blog

  • 首页
Home centos快速安装最新版nodejs
文章

centos快速安装最新版nodejs

Posted 2021-06-8 Updated 2024-01- 2
By sunday
2~3 min read

centos7默认安装的是v6版本,想要安装更新的nodejs,执行以下命令

yum update
curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -
yum install nodejs

把上的setup_14.x改成自己想要的大版本号

nodejs
nodejs
License:  CC BY 4.0
Share

Further Reading

Jul 13, 2024

利用github actions和aliyun私有镜像库,使用docker部署Nodejs项目

1.开通阿里云容器镜像服务个人版本

Apr 2, 2024

已安装的nginx,动态模块开启google brotli 压缩,并在vite项目中启用

1.下载ngx_brotli 到github https://github.com/google/ngx_brotli 然后git clone cd /usr/local/ git clone https://github.com/google/ngx_brotli.git cd /usr/loca

Jan 27, 2024

linux ubuntu安装最新的nodejs版本

服务器ubuntu22.04上安装nodejs稳定版本 1.执行安装脚本 curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - sudo apt-get install -y nodejs 其中setup_lts.x

OLDER

docker启动不了怎么排查?

NEWER

vue3的vue.config.js的一些项目基础配置

Recently Updated

  • nextjs15使用better-sqlite3的连接报错问题
  • nextjs + clerk + supabase + realtime 实时监听数据库更改
  • 解决nextjs15使用useLocalStorage报错的问题
  • mac上使用nodejs appium控制chrome浏览器
  • 2024年终总结

Trending Tags

nginx acme 强制跳转HTTPS nodejs 代理 mac 神器 vue3 工具 docker

Contents

©2025 sunday. Some rights reserved.

Using the Halo theme Chirpy