surge & free online docs website service】的更多相关文章

surge & free online docs website service surge 自定义域的域名 https://surge.sh/help/adding-a-custom-domain Add a new CNAME record to your domain. Set the hostnames @ and www to: na-west1.surge.sh add CNAME You can save your custom domain so you don't have t…
auto deploy docs website { "name": "docs", "version": "0.0.1", "title": "编程学习资源", "description": "大学生免费编程学习资源汇总", "main": "index.js", "authors":…
前言 (二)建立虚拟网络环境,以及域控和DNS服务器   1搭建虚拟网络环境 在Azure上创建虚拟网络.本例选择的是东南亚数据中心.后面在创建虚机的时候,也选择这个数据中心. VNet Name:     waplab@sea2016 IP Address count :     128, IP Range :         10.0.0.0 – 10.0.0.127 * sea : South East Asia, 东南亚数据中心 并创建4个子网 CTRL 子网: 32 个IP,IP范围…
本文Liferay适用版本:v6.2.ce-ga6版 Liferay的插件体系是:模型-视图-控制器的portlet MVC框架.MVC是一个伟大的用于Web应用程序的设计模式,在实际应用中还应处理持久化,它可以用于检索.处理或显示.为此你需要添加更多的层:一个持久层和服务层.持久层负责保存和检索模型数据.服务层就像你的应用程序和持久层之间的缓冲区:在将来,它会给你自由的自由,即在不修改任何内容的情况下,哪怕是就算将来有一天你替换掉整个持久层.松耦合是良好的应用程序设计,并在Liferay框架中…
具体每个组件的功能就不详细说明了 nomad 一个调度工具,consul 一个服务发现,健康检查多数据中心支持的工具 fabio 一个基于consul的负载均衡&&动态路由工具,对于集成的话,很简单就是定义简单的service tag 即可,格式为: urlprefix-/ 参考nomad 测试项目 https://github.com/rongfengliang/nomad-demo-template nomad 安装 比较简单 https://releases.hashicorp.co…
server.conf配置: <?xml version='1.0' encoding='utf-8'?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copy…
tomcat作为一款web服务器本身很复杂,代码量也很大,但是模块化很强,最核心的模块还是连接器Connector和容器Container.具体请看下图: 从图中可以看出 a. 高亮的两块是Connector和Container,为什么说他们两最核心,其中Connector是负责接收http请求,当你在浏览器中输入URL为http://www.demon.com,这样的http请求就会被Connector接收并转发给容器Container. 到了Container后,会经过不同的容器层有: En…
  设定端口和  虚拟目录 在server.xml <?xml version='1.0' encoding='utf-8'?> <!--   Licensed to the Apache Software Foundation (ASF) under one or more   contributor license agreements.  See the NOTICE file distributed with   this work for additional informat…
<?xml version='1.0' encoding='utf-8'?><!--  Licensed to the Apache Software Foundation (ASF) under one or more  contributor license agreements.  See the NOTICE file distributed with  this work for additional information regarding copyright owners…
配置conf文件 #user  nobody;worker_processes  1;#error_log  logs/error.log;#error_log  logs/error.log  notice;#error_log  logs/error.log  info;#pid        logs/nginx.pid;events {    worker_connections  1024;}http {    include       mime.types;    default_…