当前位置: 首页 > news >正文

网站建设设计猫和老鼠丢了么网站

网站建设设计猫和老鼠,丢了么网站,全flash 电子商务网站如何推广,网站备案号位置安装 Node Linux中安装Node 安装verdaccio npm i -g verdaccio安装完成 输入verdaccio,出现下面信息代表安装成功#xff0c;同时输入verdaccio后verdaccio已经处于运行状态#xff0c;当然这种启动时暂时的#xff0c;我们需要通过pm2让verdaccio服务常驻 ygiZ2zec61wsg…安装 Node Linux中安装Node 安装verdaccio npm i -g verdaccio安装完成 输入verdaccio,出现下面信息代表安装成功同时输入verdaccio后verdaccio已经处于运行状态当然这种启动时暂时的我们需要通过pm2让verdaccio服务常驻 ygiZ2zec61wsgbo9t9i346jbZ:~$ verdacciowarn --- config file - /home/yg/.config/verdaccio/config.yamlwarn --- Plugin successfully loaded: htpasswdwarn --- Plugin successfully loaded: auditwarn --- http address - http://localhost:4873/ - verdaccio/3.10.1配置config.yaml 1、vim /home/yg/.config/verdaccio/config.yaml 进入编辑配置文件# This is the default config file. It allows all users to do anything, # so dont use it on production systems. # # Look here for more config file examples: # https://github.com/verdaccio/verdaccio/tree/master/conf ## path to a directory with all packages # 所有包缓存的目录 storage: ./storage # path to a directory with plugins to include # 插件目录 plugins: ./plugins# 开启web服务能够通过web访问 web:# WebUI is enabled as default, if you want disable it, just uncomment this line#enable: falsetitle: Verdaccio# 验证信息 auth:htpasswd:# 用户信息存储目录file: ./htpasswd# Maximum amount of users allowed to register, defaults to inf.# You can set this to -1 to disable registration.#max_users: 1000# a list of other known repositories we can talk to # 公有仓库配置 uplinks:npmjs:url: https://registry.npmjs.org/packages:*/*:# scoped packagesaccess: $allpublish: $authenticated# 代理表示没有的仓库去这个npmjs里边去找# npmjs 又指向 https://registry.npmjs.org/ ,就是上面的 uplinks 配置proxy: npmjs**:# allow all users (including non-authenticated users) to read and# publish all packages## you can specify usernames/groupnames (depending on your auth plugin)# and three keywords: $all, $anonymous, $authenticated# 三种身份所有人匿名用户认证登录用户# 是否可访问所需的权限access: $all# allow all known users to publish packages# (anyone can register by default, remember?)# 发布package的权限publish: $authenticated# if package is not available locally, proxy requests to npmjs registry# 如果package不存在就向代理的上游服务器发起请求proxy: npmjs# To use npm audit uncomment the following section middlewares:audit:enabled: true# 监听端口重点不配置这个只能本机可以访问 listen: 0.0.0.0:4873# log settings logs:- {type: stdout, format: pretty, level: http}#- {type: file, path: verdaccio.log, level: info}安装 pm2 npm i pm2 -g启动 pm2 start verdaccio 就可以通过http://xxxip地址去访问了 设置 npm 服务指向本地 npm config set registry http://localhost:4873注册用户 # 注册用户 在本地注册一个用户然后指向我们的地址然后我们就可以发布包了 npm adduser --registry http://xxx:4873 Username: xxx Password: xxx Password: xxx Email: (this IS public) xxx Logged in as yg-ui on http://xxx/ 你的ip地址 这时候我们就注册一个用户我们可以用这个用户名和密码去登录去上图窗口去登录了登录 npm login # 用刚刚注册的用户名密码进行登录 npm whoami # 查看当前登录的账号发包 mkdir npm-publish-test # 包文件夹 cd npm-publish-test npm init # npm初始化 npm publish 删除 指定版本或包 $ npm unpublish [pkg][version] --force下面列一下几种使用场景 $ npm unpublish dzmtest1.0.1 --force 直接强制删除指定包的指定版本不需要 cd 进入包文件夹内随处可以执行。 $ npm unpublish dzmtest --force 直接强制删除指定包不需要 cd 进入包文件夹内随处可以执行。
http://www.laogonggong.com/news/104742.html

相关文章:

  • 北京做网站的人国外网站建设的发展
  • 做网站备案谁做wordpress 侧边导航菜单
  • 以公司做网站张家港保税区建设规划局网站
  • 游戏公司官方网站建设方案网站文件夹命名规则
  • 一级a做片性视频网站联盟网站做任务
  • 西安保障性住房建设投资中心网站网站伪静态作用
  • 太原网站优化价格wordpress自带ajax很慢
  • 邢台市政建设集团股份有限公司网站半夜一分快三app推荐直播下载
  • 网站建设与管理题网站开发意义
  • 工具类网站设计网站建设 考题
  • 腾讯服务器做网站小程序直播开发教程
  • 门户网站建设 总结pageadmin做网站要钱吗
  • 岱山建设局网站wordpress怎么放音乐
  • 怎么往公司网站添加电子商务网站建设与管理pdf下载
  • 网站建设策划书是有谁编写的电商网站经营性备案
  • 做网站登录页面的论文梅林关网站建设
  • 网站域名跳转怎么弄深圳有多少网站建设公司
  • 网站如何不被百度搜到前端做网站商城 购物车怎么做
  • 做淘宝店铺装修的公司网站爱站网seo工具
  • 网站工程师证书微分销系统价格
  • 上传网站标志html音乐播放器代码
  • 网址大全在线免费观看网站站内关键词优化
  • 沧州市宇通网站建设公司容桂网站建设哪家公司好
  • 软装设计网站排名设计师的招聘要求
  • 建设部网站一级建造师网站单个页面
  • 视频网站开发的论文广州外贸型网站设计
  • 资讯类网站建设方案书公司对比网站
  • 制作一个网站数据库怎么做wordpress修改文章固定id
  • 海拉尔网站制作云南网站建设维修公司
  • 大良营销网站建设好么建一个网站都需要什么