收集流程1nxlog=>2logstash=>3elasticsearch1.nxlog使用模块im_file收集日志文件,开启位置记录功能2.nxlog使用模块tcp输出日志3.logstash使用input-tcp,收集日志,并格式化,输出至eswindows上面的nxlog配置文件nxlog.conf##Thisisasampleconfigurationfile.Seethenxlo..
分类:
Windows程序 时间:
2014-09-10 19:44:21
阅读次数:
1381
本人用的是centos6.4的系统vi/etc/X11/xdm/Xaccess如果没有这个文件执行yum-yinstallxdm安装完成后就会生成这个文件编辑者个文件找到这一句#*#anyhostcangetaloginwindow把最前面的#号去掉保存退出在编辑/etc/gdm/custom.conf[daemon][security]AllowRemoteRoot=true[xdmcp]Por..
分类:
系统相关 时间:
2014-09-10 19:43:31
阅读次数:
272
启动apache服务出现Jobfailed.Seesystemlogsand‘systemctlstatus‘fordetails.查看错误提示看日志cat/var/log/messages|grephttpd原来是编辑httpd.conf文件时候第196行出错vi/etc/httpd/conf/httpd.confsystemctlstarthttpd.service解决
分类:
其他好文 时间:
2014-09-10 19:37:51
阅读次数:
494
/home/www/php/sbin/php-fpm/home/www/mysql/bin/mysqld_safe --defaults-file=/home/www/mysql/conf/my.cnf --ledir=/home/www/mysql/bin//home/www/se/bin/xs-...
分类:
其他好文 时间:
2014-09-10 19:04:50
阅读次数:
182
通过/usr/share/tomcat7/bin下的./shutdown.sh 与./startup.sh 会报错 java.io.FileNotFoundException:?/usr/share/tomcat7/conf/server.xml?(No?such?file?or?directory) 原因是因为CATALINA_BASE配置错误...
分类:
其他好文 时间:
2014-09-10 17:58:11
阅读次数:
321
错误提示如下:New XAMPP security concept:Access to the requested object is only available from the local network.This setting can be configured in the file "...
分类:
其他好文 时间:
2014-09-10 17:24:20
阅读次数:
854
NEWINSTALLCentOS(mini)一、不能上网 1.vi/etc/resolv.conf nameserver8.8.8.8 2.vm内的初始文件 vi/etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:0C:29:25:AC:36 TYPE=Ethernet UUID=ec37da45-eaca-4b61-baf6-a755ee277faa ONBOOT=no//no改为yes启动网络..
分类:
其他好文 时间:
2014-09-10 14:21:31
阅读次数:
607
DHCP指的是由服务器控制一段IP地址范围,客户机登录服务器时就可以自动获得服务器分配的IP地址和子网掩码。1.rpm-qa|grepdhcp查看dhcpd是否安装成功。如果没有安装,用yum安装。2.cd/uer/share/doc/dhcp看看有没有dhcpd.conf.sample这个文件。3.cpdhcpd.conf.sample/etc/dhcp/d..
分类:
系统相关 时间:
2014-09-10 12:43:51
阅读次数:
237
yum默认没有nginx的安装包需要先下载好RPM包wgethttp://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm默认用yum-yinstallnginx安装好之后就可以用http://ip去访问nginx如果想访问http://ip/contentweb/怎需要修改vim/etc/nginx/conf.d..
分类:
其他好文 时间:
2014-09-10 02:54:40
阅读次数:
185
(1)我们初学者在学习javaweb的时候每次更改项目都需要 重新部署项目,这样的二话太麻烦
(2)使用tomcat的热启动就可以解决这个问题:
在tomcat目录下:找到 conf ----context.xml 打开
填写圈中的 就好了!
(3)如果你的tomcat是自己的myeclipse中自带的话 就需要在自己的项目中找到
是在自己的工作区间...
分类:
其他好文 时间:
2014-09-09 21:37:59
阅读次数:
386