测试Apache服务器:重启apache: sudo /usr/local/apache/bin/apachectl restart 若出现错误: httpd: Could not reliably determine the server's fully qualified domain ...
分类:
其他好文 时间:
2014-07-31 12:34:06
阅读次数:
174
1.Solr下载 下载地址 :http://lucene.apache.org/solr/ 2.解压,测试 在example文件夹中找到start.jar文件,用命令提示符运行这个文件:java -jar start.jar,如下图:8983就是Solr服务器的端口,用浏览器请求http://l.....
想要去掉index.php, 因为所有地址都带着这个显得太长了。 步骤如下: 1、修改apache的配置文件httpd.conf ????打开putty,执行如下命令 vim?/etc/httpd/conf/httpd.conf
i??//进入编辑模式
/mod_rewrite.s...
分类:
Web程序 时间:
2014-07-31 10:01:46
阅读次数:
291
实验环境:vmworkstation10,centos6.5,远程终端xshell,操作系统已经安装过apache。虚拟机的ip为192.168.1.55。网络安装服务器需要启动的服务。DHCP:用来给客户机启动时分配IP,并告诉客户机到tftp服务器上找启动安装系统的引导程序。tftp:负责提供启动系统引导程序,引导内核..
分类:
系统相关 时间:
2014-07-31 03:16:26
阅读次数:
398
一.Pxe+Dhcp+Tftp+Apache+Kickstart简介。1.)PXE:可以提供网络接口的中间层,负责串联起tftp,dhcp,httpd,。Pex不依赖磁盘,而是通过网络找到tftp引导内核装载,找到httpd根据Kickstart配置文件内找到对应的软件包,并且为客户机通过dhcp动态分配IP地址。2.)DHCP:UDP协议,67端..
分类:
其他好文 时间:
2014-07-31 03:16:06
阅读次数:
436
本文重点说reviewboard的安装作用,在线代码评审工具。---------------------------------------------------------------------------mysql安装yum-yinstallgccgcc-c++makecmakeautoconfautomakencurses*bison*zlib*expat*openssl*apr*neon*yum-yinstallmysql-server可以选择y..
分类:
其他好文 时间:
2014-07-31 03:14:06
阅读次数:
426
本文介绍在centos7上面通过hadoop2.4.1源码构建hadoop distribution 版本,即hadoop的运行版本。 为何要自己building,而不用Apache的distribution 【bin】版本,因为hadoop涉及到Linux系统的底层实现,如: hado...
分类:
其他好文 时间:
2014-07-30 23:41:25
阅读次数:
284
【本文简介】一个servlet 多文件上传的简单例子。【依赖包】commons-fileupload-1.3.1.jarcommons-io-2.2.jar【依赖包下载】commons-fileupload-1.3.1.jar:http://commons.apache.org/proper/com...
分类:
其他好文 时间:
2014-07-30 23:15:55
阅读次数:
259
【本文简介】本文将简单介绍使用 struts2 ,通过零配置和 annotation 实现文件下载功能。【文件夹结构】【web.xml有关struts的配置】 struts2 org.apache.struts2.dispatcher.ng...
分类:
其他好文 时间:
2014-07-30 23:12:15
阅读次数:
315
tomcat服务器http://localhost:8080/
这样访问,点击Manager App后要求输入用户名和密码才能进入管理应用界面
我忘记了用户名和密码
解决办法:
进入apache-tomcat-7.0.53\conf目录下
打开tomcat-users.xml这个文件
进行如下配置
在节点的前面
进行这样的配置后保存,重启...
分类:
其他好文 时间:
2014-07-30 20:59:04
阅读次数:
203