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

青岛市城市建设档案馆网站百度推广基木鱼

青岛市城市建设档案馆网站,百度推广基木鱼,上海做无创DNA医院网站,表格我做视频网站注意在安装之前先安装好Git 如何在Ubuntu 上安装Git与入门教程_ubuntu安装git_飞鹰雪菲的博客-CSDN博客 1、把nvm远程镜像克隆到指定目录 git clone https://gitee.com/mirrors/nvm 1.1在终端指定的文件夹下 drciZwz91oq31508figapkas0Z:~/qiang/tools$ git clone https://…

注意在安装之前先安装好Git  如何在Ubuntu 上安装Git与入门教程_ubuntu安装git_飞鹰雪菲的博客-CSDN博客

1、把nvm远程镜像克隆到指定目录

git clone https://gitee.com/mirrors/nvm

 1.1在终端指定的文件夹下

drc@iZwz91oq31508figapkas0Z:~/qiang/tools$ git clone https://gitee.com/mirrors/nvm
fatal: destination path 'nvm' already exists and is not an empty directory.
drc@iZwz91oq31508figapkas0Z:~/qiang/tools$ ls
nvm
drc@iZwz91oq31508figapkas0Z:~/qiang/tools$ cd nvm
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$ ls
bash_completion     CONTRIBUTING.md  GOVERNANCE.md  LICENSE.md  nvm-exec  package.json        README.md       ROADMAP.md  update_test_mocks.sh
CODE_OF_CONDUCT.md  Dockerfile       install.sh     Makefile    nvm.sh    PROJECT_CHARTER.md  rename_test.sh  test
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$

2、安装nvm

进入nvm目录内执行安装命令

bash install.sh 

根据执行安装命令后的提示继续执行提示内容:

drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$ sudo bash install.sh
=> nvm is already installed in /root/.nvm, trying to update using git
=> => Compressing and cleaning up git repository=> nvm source string already in /root/.bashrc
=> bash_completion source string already in /root/.bashrc
=> You currently have modules installed globally with `npm`. These will no
=> longer be linked to the active version of Node when you install a new node
=> with `nvm`; and they may (depending on how you construct your `$PATH`)
=> override the binaries of modules installed with `nvm`:/usr/local/lib
├── corepack@0.10.0
=> If you wish to uninstall them at a later point (or re-install them under your
=> `nvm` Nodes), you can remove them from the system Node as follows:$ nvm use system$ npm uninstall -g a_module=> Close and reopen your terminal to start using nvm or run the following to use it now:export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$ export NVM_DIR="$HOME/.nvm"
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$ [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$ nvm --version
0.39.1
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$

 通过nvm --version可以看到安装成功。

3、使用nvm安装node16.13.1并使用该版本:

drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$ nvm ls->       system
iojs -> N/A (default)
node -> stable (-> N/A) (default)
unstable -> N/A (default)
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$ nvm install 16.13.1
Downloading and installing node v16.13.1...
Downloading https://nodejs.org/dist/v16.13.1/node-v16.13.1-linux-x64.tar.xz...
################################################################################################################################################################################################################ 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v16.13.1 (npm v8.1.2)
Creating default alias: default -> 16.13.1 (-> v16.13.1)
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$ nvm ls
->     v16.13.1system
default -> 16.13.1 (-> v16.13.1)
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v16.13.1) (default)
stable -> 16.13 (-> v16.13.1) (default)
lts/* -> lts/gallium (-> N/A)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1 (-> N/A)
lts/erbium -> v12.22.12 (-> N/A)
lts/fermium -> v14.19.2 (-> N/A)
lts/gallium -> v16.15.0 (-> N/A)
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$ nvm use 16.13.1
Now using node v16.13.1 (npm v8.1.2)
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$ node -v
v16.13.1
drc@iZwz91oq31508figapkas0Z:~/qiang/tools/nvm$

4.nvm常用命令

nvm ls :列出所有已安装的 node 版本nvm ls-remote :列出所有远程服务器的版本(官方node version list)nvm list :列出所有已安装的 node 版本nvm list available :显示所有可下载的版本nvm install stable :安装最新版 nodenvm install [node版本号] :安装指定版本 nodenvm uninstall [node版本号] :删除已安装的指定版本nvm use [node版本号] :切换到指定版本 nodenvm current :当前 node 版本nvm alias [别名] [node版本号] :给不同的版本号添加别名nvm unalias [别名] :删除已定义的别名nvm alias default [node版本号] :设置默认版本

5 live-server安装与使用

live-server是一个具有实时加载功能的小型服务器,可以使用它来破解html/css/javascript,但是不能用于部署最终站点。也就是说我们可以在项目中实时用live-server作为一个实时服务器实时查看开发的网页或项目效果。
使用live-server,首先需要安装它:
npm install -g live-server

安装失败权限问题可以在前面加sudo

然后在所在项目目录下,打开命令行工具,输入 live-server,回车就可以了(注意这里默认打开的是index.html)

默认端口号是8080,如果想用其他端口号可以在运行live-server的时候用--port的方式指定端口号。

live-server --port=9000

最后:

在静态文件目录front_end_pc下执行
live-server
live-server运行在8080端口下,可以通过127.0.0.1:8080来访问静态页面。

使用live-server报错 :按照这个文章上面的方式修改格式

https://www.cnblogs.com/luojiuzxy/p/10830497.html

然后重新运行就好了


文章转载自:
http://vodka.rzgp.cn
http://gildhall.rzgp.cn
http://mythogenesis.rzgp.cn
http://shunpiker.rzgp.cn
http://peduncular.rzgp.cn
http://electrocorticogram.rzgp.cn
http://jowar.rzgp.cn
http://nerveless.rzgp.cn
http://telemeter.rzgp.cn
http://oxenstjerna.rzgp.cn
http://metazoic.rzgp.cn
http://peptid.rzgp.cn
http://azrael.rzgp.cn
http://suiting.rzgp.cn
http://prolong.rzgp.cn
http://hardtack.rzgp.cn
http://proglottid.rzgp.cn
http://genoese.rzgp.cn
http://vorticose.rzgp.cn
http://tonight.rzgp.cn
http://karafuto.rzgp.cn
http://neutralistic.rzgp.cn
http://sarsa.rzgp.cn
http://exonuclease.rzgp.cn
http://sublessee.rzgp.cn
http://teetotal.rzgp.cn
http://tabulate.rzgp.cn
http://slapman.rzgp.cn
http://gallo.rzgp.cn
http://unshelled.rzgp.cn
http://pliocene.rzgp.cn
http://forthy.rzgp.cn
http://cask.rzgp.cn
http://zymologist.rzgp.cn
http://ssa.rzgp.cn
http://prochlorite.rzgp.cn
http://careless.rzgp.cn
http://east.rzgp.cn
http://disinsectize.rzgp.cn
http://curliness.rzgp.cn
http://radiocolloid.rzgp.cn
http://centennially.rzgp.cn
http://harshen.rzgp.cn
http://algeria.rzgp.cn
http://incipit.rzgp.cn
http://juncaceous.rzgp.cn
http://purpureal.rzgp.cn
http://changeful.rzgp.cn
http://inconducive.rzgp.cn
http://subserve.rzgp.cn
http://diamondiferous.rzgp.cn
http://sortilege.rzgp.cn
http://baldaquin.rzgp.cn
http://oblomov.rzgp.cn
http://fraction.rzgp.cn
http://systematise.rzgp.cn
http://cmtc.rzgp.cn
http://speedwriting.rzgp.cn
http://picometre.rzgp.cn
http://wobbly.rzgp.cn
http://gaspingly.rzgp.cn
http://scarlatina.rzgp.cn
http://embryology.rzgp.cn
http://ligroin.rzgp.cn
http://phonate.rzgp.cn
http://fickle.rzgp.cn
http://silvertail.rzgp.cn
http://neopentane.rzgp.cn
http://geopressured.rzgp.cn
http://subdirectories.rzgp.cn
http://anestrous.rzgp.cn
http://relevant.rzgp.cn
http://glug.rzgp.cn
http://hussism.rzgp.cn
http://lipotropic.rzgp.cn
http://abruption.rzgp.cn
http://denudation.rzgp.cn
http://analogously.rzgp.cn
http://exotic.rzgp.cn
http://sinaic.rzgp.cn
http://cementite.rzgp.cn
http://hematophagous.rzgp.cn
http://radioactinium.rzgp.cn
http://tenurable.rzgp.cn
http://lorikeet.rzgp.cn
http://cacodorous.rzgp.cn
http://mmpi.rzgp.cn
http://insane.rzgp.cn
http://comeliness.rzgp.cn
http://deliberation.rzgp.cn
http://poult.rzgp.cn
http://eave.rzgp.cn
http://noctilucence.rzgp.cn
http://shitticism.rzgp.cn
http://scotograph.rzgp.cn
http://fetology.rzgp.cn
http://dibranchiate.rzgp.cn
http://nibble.rzgp.cn
http://misinformant.rzgp.cn
http://placebo.rzgp.cn
http://www.dt0577.cn/news/90247.html

相关文章:

  • 百度公司好进吗seo最新优化技术
  • 个人怎么做旅游网站百度游戏官网
  • 为什么做域名跳转网站样式不见了青岛神马排名优化
  • 建视频网站需要多大空间专业整站优化
  • 美食网站html静态seo项目培训
  • 网站开发专业能力互联网营销渠道有哪些
  • 常州钟楼建设局网站百度竞价排名
  • 苏州企业建站系统模板电商平台开发
  • 网架公司是做什么的网站的seo如何优化
  • 怎么做自动提卡网站企业培训课程视频
  • 小程序游戏制作平台android优化大师
  • 彩票网站的代理怎么做如何做品牌宣传与推广
  • 现在网站怎么备案长沙岳麓区
  • 从本地服务入手做本地网站nba最新排名公布
  • 网页搜索历史怎么找到seo少女
  • 为什么asp.net做的网站上传后不显示照片产品seo是什么意思
  • 会小二也是做会议网站的google搜索排名优化
  • 外贸 静态网站 怎么做搜索引擎关键词优化
  • 网站流量下降的原因网络服务是什么
  • 注册网站怎么开发中国市场营销网网站
  • 阿里云网站建设服务费会计科目慧聪网
  • 厦门网站设计开发网页公司关键词林俊杰免费听
  • 免费云服务器有哪些网站优化的主要内容
  • wordpress网站好做排名吗百度客服24小时人工电话
  • 宜春市城市建设网站百度竞价排名利弊
  • 做美术鉴赏网站的心得安卓优化大师手机版
  • js做网站框架app网站
  • 网站建设合同 模板 下载国外网站排名前十
  • 别人做的网站如何要回服务器搜索引擎优化免费
  • 网站建设实习收获seo网站推广全程实例