【Node】nmp install

// install package

[[email protected] 10.node.js]# npm install -g grunt-cli

/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt

[email protected] /usr/local/lib/node_modules/grunt-cli

├── [email protected]

├── [email protected] ([email protected])

└── [email protected] ([email protected], [email protected])

[[email protected] 10.node.js]#

// restart iptables

[[email protected] 10.node.js]# service iptables restart

iptables:将链设置为政策 ACCEPT:filter                    [确定]

iptables:清除防火墙规则:                                 [确定]

iptables:正在卸载模块:                                   [确定]

iptables:应用防火墙规则:                                 [确定]

[[email protected] 10.node.js]#

// install express

[[email protected] 10.node.js]# npm install -g express

[email protected] /usr/local/lib/node_modules/express

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected]

├── [email protected] ([email protected], [email protected])

├── [email protected] ([email protected])

├── [email protected] ([email protected])

├── [email protected] ([email protected])

├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

├── [email protected] ([email protected], [email protected])

└── [email protected] ([email protected], [email protected])

[[email protected] 10.node.js]#

时间: 2024-08-09 12:52:15

【Node】nmp install的相关文章

[转]【NODE】用WS模块创建加密的WS服务(WSS)

[From] https://luojia.me/2015/07/21/%E3%80%90node%E3%80%91%E7%94%A8ws%E6%A8%A1%E5%9D%97%E5%88%9B%E5%BB%BA%E5%8A%A0%E5%AF%86%E7%9A%84ws%E6%9C%8D%E5%8A%A1wss/ node的ws模块可以很方便地创建一个单纯的标准websocket服务,但是对于创建wss服务并没有提供一个独立的方法,还是使用创建ws服务的方法,在传入参数对象里加了个自定义的http

【翻译】docker install

---恢复内容开始--- [官方文档] Install Docker Estimated reading time: 8 minutes Docker is available in two editions: Community Edition (CE) and Enterprise Edition (EE). Docker Community Edition (CE) is ideal for developers and small teams looking to get started

【npm】npm install的报错

最近,前端环境node升级到12版本,angular升级到9.0.1后,install下载依赖包配置的时候发生报错 1.  报错信息:无法加载文件C:\.....\ng.sp1,因为在此系统上禁止运行脚本 解决方案:a.搜索powershell,右键以管理员身份运行 b.若要在本地计算机上运行您编写的未签名脚本和来自其他用户的签名脚本,请使用以下命令将计算机上的 执行策略更改为 RemoteSigned                  执行:set-ExecutionPolicy Remote

【CentOS】yum install --downloadonly 下载依赖包研究

在CentOS中可以使用yum自动安装软件,在离线环境中却行不通. Linux localhost 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux 对于同一版本CentOS,我们可以事先下载离线依赖包,后面用命令手动安装. Java 自动安装命令: yum install -y java 安装结果: Installed: java-1.8.0-openjdk.x86_

【Linux】apt-get install 怎么阻止弹出框,使用脚本默认自动安装?

You can do a couple of things for avoiding this. Setting the DEBIAN_FRONTEND variable to noninteractive and using -y flag. For example: export DEBIAN_FRONTEND=noninteractive apt-get -y install [packagename] If you need to install it via sudo, use: su

【node】记录项目的开始与完成——pipeline_kafka流式数据库管理项目

前言: 我始终坚信的一点是,学习的效果80%来自总结,甚至全部都是.总结的好处就是让你能翻出你的过往,指出其中的不足,看到未来的改进方法,好的总结更能让知识产生飞跃,所以在工作之余,部署项目之际,总结一番. 架构处理: 一.背景 公司数据量庞大,万花筒一样的领导随即用上了pipeline_kafka这样的流式数据架构.其实在接手项目之前,作为一个应用开发.我是不太清楚kafka是什么鬼的,还有stream.transform.等等一系列名词,听起来很高大上,但是很懵比=-=. 领导的目标是做一个

【laravel54】composer install与composer update的区别

1.基础概念: 我们需要明白laravel项目里面有2个配置文件,composer.json和composer.lock文件,前者是下载的依赖包配置文件,后者是锁定的包版本信息. 使用之前,需要cd 进入项目根目录:执行>>> 2.composer install:会优先调用下载composer.lock文件里面的类库版本,与线上库类一致:默认下载至vendor目录.(建议) composer update:会直接下载composer.json里面依赖包最新版本,并同步更新compose

【node】node的核心模块---http模块,http的服务器和客户端

http服务器和客户端 node.js标准库提供了http模块,其中封装了一个高效的http服务器和一个简易的http客户端,http.Server是一个基于事件的HTTP服务器,他的核心由Node.js下层的C++部分实现,而接口由JavaScript封装,兼顾了性能和简易性,http.request则是一个http客户端工具,用于向http服务发起请求: 创建HTTP服务器 1. http.createServer() //服务器实例 var httpServer = require("ht

【node】mongoose的基本使用

1.安装mongoose npm install mongoose 2.启动数据库 mongod --dbpath d:\data\db 3.引入mongoose模块并连接数据库 const mongoose = require("mongoose"); mongoose.connect("mongodb://127.0.0.1:27017/test1",function(err) { if(err){ console.log('连接失败'); }else{ con