apache版本: 先说最终解决办法吧: 将/etc/httpd/conf.d/目录下的virtual.conf里面的具体服务器IP改为*号即可。 解决过程: 1、apache启动时发现报错: Starting httpd: httpd: Could not reliably determine t ...
分类:
Web程序 时间:
2018-07-08 00:31:47
阅读次数:
198
Spring Boot 概述 Build Anything with Spring Boot:Spring Boot is the starting point for building all Spring-based applications. Spring Boot is designed t ...
分类:
编程语言 时间:
2018-07-07 22:21:59
阅读次数:
165
1、下载安装包wgethttps://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz2、解压到/opt下[root@Masteropt]#tarxvfmysql-5.7.22-linux-glibc2.12-x86_64.tar.gz[root@Masteropt]#lltotal62871
分类:
数据库 时间:
2018-07-06 14:20:42
阅读次数:
259
代码Demo: using System;using System.Threading; 在Main方法下面加入以下代码片段: static void AsyncOperation1(CancellationToken token) { Console.WriteLine("Starting the ...
分类:
编程语言 时间:
2018-07-06 11:23:32
阅读次数:
193
本节将展示线程池如何工作于大量的异步操作,以及它与创建大量单独的线程的方式有和不同。 代码Demo: using System;using System.Threading;using System.Diagnostics; 在Main方法下面加入以下代码片段: static void UseThr ...
分类:
编程语言 时间:
2018-07-05 21:24:25
阅读次数:
150
今天下午在启动spring cloud微服务的时候,报了这个错误: Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' ena ...
分类:
编程语言 时间:
2018-07-03 21:40:32
阅读次数:
462
CountDownEvent类:信号类,等待直到一定数量的操作完成。 代码Demo: using System; using System.Threading; Main方法下面加入以下代码片段: public CountdownEvent _countdown = new CountdownEve ...
分类:
编程语言 时间:
2018-07-03 20:47:27
阅读次数:
159
如何搭建配置centos虚拟机请参考《Kafka:ZK+Kafka+Spark Streaming集群环境搭建(一)VMW安装四台CentOS,并实现本机与它们能交互,虚拟机内部实现可以上网。》 如何安装hadoop2.9.0请参考《Kafka:ZK+Kafka+Spark Streaming集群环 ...
分类:
其他好文 时间:
2018-06-30 21:23:42
阅读次数:
207
修改配置:vim/etc/my.cnf[mysqld]basedir=/home/mysqldatadir=/home/mysql/dataport=3306user=mysqlcharacter_set_server=utf8skip-grant-tables[client]default-character-set=utf8servicemysqldstartStartingMySQL.[OK
分类:
数据库 时间:
2018-06-29 15:05:36
阅读次数:
186