修改tomcat7默认首页,将tomcat7默认目录指向自己的项目目录 is a project mainly written in , based on the .
在conf/server.xml里面找到:
权威解释IDEA的“Include in project build”打钩或者不打勾有啥区别? is a project mainly written in , based on the . 打钩后→Ctrl+F9 或者 就会在项目对应的目录生成war包 反之,如果不打勾“Include in project build”,那么生成项目(Ctrl+F9)的时候就不会生成war包...
安装Nginx的方法教程 is a project mainly written in , based on the .1.下载nginx 方法一 wget http://nginx.org/download/nginx-1.11.6.tar.gz 方法二 http://nginx.org/en/download.html在Nginx官网手动下载 2.解压nginx的gz包 tar -zxvf nginx-1.11.6.t...
CentOS全局配置JAVA环境变量,实现多个tomcat共用环境变量,不用再一个个tomcat配置 is a project mainly written in , based on the . vim /etc/profile 然后在最后加入下面的代码: export JAVA_HOME=/usr/local/java/jdk export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:$JAVA_HOME/...
设置Nginx开机自动启动(centos6.8上亲测可用) is a project mainly written in , based on the .vim /etc/init.d/nginx 粘贴 #!/bin/bash # nginx Startup script for the Nginx HTTP Server # it is v.0.0.2 version. # chkconfig: - 85 15 # description: Nginx is a high-...
修改Nginx默认80端口指向目录 is a project mainly written in , based on the .vim /usr/local/nginx/conf/nginx.conf ...
设置centos默认启动命令行(不启动图形界面) is a project mainly written in , based on the .centos7以下的版本 #vim /etc/inittab 找到id:5:initdefault,将 5 修改为 3 即可 ________________________________________________________________________________________________ cento...
在Linux系统安装Node.js is a project mainly written in , based on the .1、去官网下载和自己系统匹配的文件: 英文网址:https://nodejs.org/en/download/ 中文网址:http://nodejs.cn/download/ 通过 uname -a 命令查看到我的Linux系统位数是64位(备注:x86_64表示64位系统, i686 i386表示32位系统),如图...
Node.js中的express框架,修改内容后自动更新(免重启),express热更新 is a project mainly written in , based on the .有两个插件可以解决此问题:1)supervisor;2)nodemon。 今天我只讲supervisor如何安装、设置开机自动启动: 强调一下!用supervisor来启动nodejs,就不用用什么pm2去启动nodejs项目了,否则会导致冲突 npm install -g supervisor 验证是否安装好 sup...
Centos下设置node.js开机启动(并且启动自己的项目js) is a project mainly written in , based on the .1.请确保安装了node 2.安装pm2 npm install pm2 -g 安装完毕后 pm2 -v 出现以下界面就代表安装成功 (如果报错bash:pm2:command not found 解决方案: ln -s /usr/local/node安装目录/lib/node_modules/pm2/bin/pm2 /usr...
Node.js开发WEB项目后端接口API,基于mysql5.7数据库(小试牛刀) is a project mainly written in , based on the .项目结构 main.js(入口文件,开启9999端口监听,实现RESTful风格接口访问) const express = require("express"); const app = express(); const port = 9999;//设置端口号,如果端口号被占用需要自己修改,否则无法跑起来(建议不要用80和80...
Vue.js框架简单读取数据库信息并渲染完成news新闻文章列表以及detail详情页功能(小试牛刀) is a project mainly written in , based on the . 项目结构 news.html(新闻列表文件)
解决Hbuilder打包的APP微信支付时无法唤起支付,且提示{“code“:-100,“message“:“[payment微信:-1]General errors“}的问题 is a project mainly written in , based on the . 依次排查: 1、menifest.json中配置了微信的appid是不是微信开放平台(微信开放平台)对应的APP id,包名是否和微信开放平台对应APP的包名一致(com.******.app) 2、服务端请求prepareid是否正确返回 3、服务端返回数据格式与官方是否一致(还有你的付款金额不能低于0.01元也就是不能...
获取 Andriod keystore签名证书文件,用于打包APP应用 is a project mainly written in , based on the . 每个安卓APP,都要签名证书才能安装在手机上,测试的应用有测试的签名证书,生产环境有生产环境的签名证书,在开发APP之前,我们首先生成一个用于该APP的签名证书,用于测试调试应用,像微信支付、分享、地图,这些等等都需要用到生产环境的签名证书。 生成 Android 签名文件,目前有两种一种是 eclipse 开发...
【舒工强烈推荐】命令添加Git远程仓库 is a project mainly written in , based on the .安装githttps://www.git-scm.com/download/ 点击 安装好了之后,在开始菜单里面找到Git Bash git config --global user.name "你的github用户名" git config --global user.email “你的github邮箱” 查看是否登录账户配置成...
Angular1.4.6框架简单读取数据库信息并渲染完成news新闻文章列表以及detail详情页功能(小试牛刀) is a project mainly written in , based on the .项目结构 css/angular-common.css table tr td:first-child {/**背景图片*/width: 200px;height: 100px;/**居中填满*/background-repeat: no-repeat;background-position: center;background-s...
2020考研 管理类联考数学 【题型分析及解题思路】 is a project mainly written in , based on the .第一章 整式分式 1、若一元n次多项式A被(或者是B的因式)一元1次多项式B整除,求解A中的几个系数a,b(解题思路:代入法,让因式值为0,也可以配合多元多项式基本公式将复杂的B变成简单的几个一次多项式相乘的形式) 2、若一元n次多项式A除以一元n次多项式B的余式为是一个一元一次多项式,求解A中的几个系数a,b(解题思路:带...
舒工自定义AJAX-lite 1.0实用型极简方法 is a project mainly written in , based on the ./**舒工AJAX-lite 1.0 -- 最精简的ajax自定义访问方法*/ if ($g) {$g.$utils || ($g.$utils = {}); } else {var $g = {};$g.$utils = {}; } $g.$utils.ajax = o => {var p = o.post, g = o.get,...
Angular1.x的自定义指令directive参数配置详细说明 is a project mainly written in , based on the . 组件结构 angular-component-demo.html