1.安装apr tar -zxvf apr-1.6.3.tar.gz cd apr-1.6.3 ./configure --prefix=/usr/local/apr make make install 注意: cannot remove 'libtoolT': No such file or di ...
分类:
Web程序 时间:
2019-12-31 14:38:33
阅读次数:
94
1.Nginx编译安装 tar -zxvf nginx-1.12.2.tar.gz cd nginx-1.12.2 ./configure --user=www --group=www --prefix=/usr/local/nginx/ --with-http_v2_module --with-h ...
分类:
Web程序 时间:
2019-12-31 14:22:27
阅读次数:
84
在spring boot1.0+,我们可以使用WebMvcConfigurerAdapter来扩展springMVC的功能,其中自定义的拦截器并不会拦截静态资源(js、css等)。 在Spring Boot2.0版本中,WebMvcConfigurerAdapter这个类被弃用了。 @Depreca ...
分类:
编程语言 时间:
2019-12-31 12:48:21
阅读次数:
93
正常的编译安装/卸载 源码的安装一般由3个步骤组成: 配置(configure) 编译(make) 安装(make install)。 configure文件是一个可执行的脚本文件,它有很多选项,在待安装的源码目录下使用命令./configure –help可以输出详细的选项列表。 其中--pref ...
分类:
系统相关 时间:
2019-12-30 23:06:54
阅读次数:
100
从官网下载压缩包,解压到一个目录下, 假设我用的是sqlite文件夹。 然后运行如下命令: mkdir build chmod +x configure cd build ../configure 执行后终端疯狂打印各种你没空看的字符。 出现提示符以后,可以试试ls,会发现有很多个文件: confi ...
分类:
数据库 时间:
2019-12-30 21:33:13
阅读次数:
171
源码包安装: 1、下载源码包(curl、wget) 2、解压(tar) 3、进入到该目录(cd) 4、编译前配置(./configure) (若有makefile可省略此步) 5、编译安装(make install) rpm包安装: 1、下载rpm安装包 2、rpm -ivh 软件包 (-i 安装 ...
分类:
其他好文 时间:
2019-12-30 21:17:58
阅读次数:
98
Nginx如果未开启SSL模块,配置Https时将提示如题错误 原因:nginx缺少http_ssl_module模块,编译安装的时候带上--with-http_ssl_module配置就行了,但是现在的情况是我的nginx已经安装过了,怎么添加模块(我的nginx的安装目录是/usr/local/ ...
分类:
Web程序 时间:
2019-12-30 14:47:59
阅读次数:
104
GEN configure /bin/sh: 1: autoconf: not found ...
分类:
其他好文 时间:
2019-12-29 23:25:27
阅读次数:
221
Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to dete ...
分类:
Web程序 时间:
2019-12-28 20:41:29
阅读次数:
132