1.将ftp用户加入到apache用户组 usermod -a -G apache ftpadmin ftpadmin 为ftp用户 2.设置网站根目录/var/www的所有组为apache chown -R :apache /var/www 3、设置网站根目录的权限为用户组有读写权限 chmod ...
分类:
Web程序 时间:
2016-05-11 19:49:14
阅读次数:
1623
1.检测Apache是否支持mod_rewrite 通过php提供的phpinfo()函数查看环境配置,通过Ctrl+F查找到“Loaded Modules”,其中列出了所有 apache2handler已经开启的模块,如果里面包括“mod_rewrite”,则已经支持,不再需要继续设置。 如果没有 ...
分类:
Web程序 时间:
2016-05-11 19:29:29
阅读次数:
178
/** * 数据库操作助手类 */ public class DatabaseHelper { private static final Logger LOGGER = LoggerFactory.getLogger(DatabaseHelper.class); private static fin ...
分类:
数据库 时间:
2016-05-11 18:12:19
阅读次数:
410
sqoop:000> create link --cid 4 Creating link for connector with id 4Exception has occurred during processing command Exception: org.apache.sqoop.commo ...
分类:
其他好文 时间:
2016-05-11 15:04:42
阅读次数:
671
下面创建一个Apache Camel的Hello World程序,该程序使用Maven,Intellij 15,运行环境是JDK 8。 1,创建一个maven工程,在pom.xml文件中添加apache camel的dependencies。 <dependencies> <dependency> ...
分类:
Web程序 时间:
2016-05-11 11:25:02
阅读次数:
350
环境:CentOS 7 最小化安装 采用Putty连接 方法:采用YUM安装方法 目的:搭建Apache+Mysql+PHP环境 1,安装Apache yum install httpd //默认情况下,选择Y,进行安装 安装成功后,默认情况下,是禁止外部IP访问的,需要进行设置 vi /etc/h ...
分类:
其他好文 时间:
2016-05-11 11:24:30
阅读次数:
144
Apache Camel是一个基于Enterprise Integration Pattern(企业整合模式,简称EIP)的开源框架。EIP定义了一些不同应用系统之间的消息传输模型,包括常见的Point-to-Point,Pub/Sub模型。更多关于EIP的信息,可以参见这里 Apache Came ...
分类:
Web程序 时间:
2016-05-11 11:04:25
阅读次数:
279
Redis组件允许你从Redis接收消息,以及将消息发送给Redis。RedisProducer的功能很强大,几乎能执行所有的Redis Command,这些Command都是在Message的header中进行设置的。遗憾的是RedisConsumer仅仅支持pub/sub模式,不支持Point2 ...
分类:
Web程序 时间:
2016-05-11 10:58:52
阅读次数:
214
# cat /usr/local/apache2/build/config.nice //获取Apache编译时的参数 #!/bin/sh # #Created by configure "./configure"\ "--enable-modules=all"\ "--enable-mods-sh ...
分类:
数据库 时间:
2016-05-11 09:27:17
阅读次数:
156