`
文章列表
http://blog.csdn.net/baolong47/article/details/6661909
进入elasticsearch安装目录下的bin目录: 1.安装head插件  plugin -install mobz/elasticsearch-head   验证:  http://localhost:9200/_plugin/head/   *利用head查看关键字分词后的结果: 导航到any request->query:    填写三个域:a. http://127.0.0.1:9200/索引名/                    b._analyze?analyzer=ik                    c.要查看的关键词(关键词用" ...
Apache Shiro安全框架 http://shiro.apache.org/ Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management. With Shiro’s easy-to-understand API, you can quickly and easily secure any application – from the sma ...
构建ES集群环境经常用到的配置: 1.action.auto_create_index --配置是否自动创建索引(true OR false); 2.gateway.type -- (fs, none, local); 3.cluster.routing.schedule 如(50ms), 发现新节点时间 Settings settings = settingsBuilder() .put("discovery.type", "zen") //发现集群方式 .put ...
查看状态 /etc/init.d/iptables status 关闭 /etc/init.d/iptables stop 永久关闭: chkconfig --level 35 iptables off /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT /etc/rc.d/init.d/iptables save /etc/init.d/iptables restart
插件安装见鸿智兄的博客http://blog.csdn.net/laigood12345/article/details/7691068安装目前最新的插件命令如下:1../plugin  -install elasticsearch/elasticsearch-mapper-attachments/1.6.02../plugin -install richardwilly98/elasticsearch-river-mongodb/1.4.0 ES mongodb river 的时候, 如果是Mongo中数据量过大,会造成内存溢出。 原因是river 从mong里抓取数据的时候是100M/s. ...
安装前先同步服务器时间: a.yum install ntp b.ntpdate 210.72.145.44 同步时间方式2: yum install rdate rdate -t 60 -s stdtime.gov.hk hwclock -w rdate的命令使用方法介绍 功能说明:显示其他主机的日期与时间。 语  法:rdate [-ps][主机名称或IP地址...] 补充说明:执行rdate指令,向其他主机询问系统时间并显示出来。 参  数:   -p  显示远端主机的日期与时间。   -s  把从远端主机收到的日期和时间,回存到本地主机的系统时间。 配置总览: 3个分片sha ...
Install Perl Bugzilla 4.0.2 requires Perl version 5.8.1 or higher. Check with the following. perl -v If perl is not installed, then: yum install perl Before accepting, check if version is 5.8.1 or higher. Install MySQL Bugzilla 4.0.2 requires MySQL version 4.1.2 or higher. Check with the ...
vi /etc/sysconfig/network-scripts/ifc..eth0 DEVICE="eth0" BOOTPROTO=none NM_CONTROLLED="yes" ONBOOT="yes" TYPE="Ethernet" UUID="3965e64a-da5d-4414-871f-a9c3a63932f0" HWADDR=30:85:A9:43:38:4F IPADDR=192.168.1.226 PREFIX=24 GATEWAY=192.168.1.1 DNS1=22 ...

MYSQL改目录

[root@mailsvr home]# /etc/init.d/mysql stop 停止服务 [root@mailsvr home]# vi /etc/my.cnf 没有的话, cp /usr/share/mysql/my-medium.cnf /etc/my.cnf 修改以下的相当内容: [mysqld] datadir=/mysqlhome/mysql socket=/mysqlhome/mysql/mysql.sock [mysqld_safe] err-log=/var/lib/mysql/mysqld.log pid-file=/var/run/mys ...
搭建步骤如下:(root下执行) 1. yum install httpd php pcre php-mysql php-pear php-pecl-apc mysql-server ImageMagick sendmail php-intl wget system-config-firewall-tui 2. service mysqld start 3./usr/bin/mysql_secure_installation 4.登陆mysql,建立用户和密码如下: insert into mysql.user(Host,User,Password) values(& ...
Refer to: http://smilemonkey.iteye.com/blog/673848 http://heimuad.iteye.com/blog/129932 http://www.cnblogs.com/smalldirector/archive/2011/12/27/2303648.html # port set up mysql 5.5 using by make http://icooke.blog.51cto.com/4123148/764796 http://www.j927.net/lamp/centos-6-3-minimal%E7%BC%96%E8%AF% ...
Source URL: http://www.if-not-true-then-false.com/2010/install-svn-subversion-server-on-fedora-centos-red-hat-rhel/ Let's getting started now: 1. Change root user su - ## OR ## sudo -i 2. Install needed packages (mod_dav_svn and subversion) yum install mod_dav_svn subversion Note: If ...
way one: download the chrome rpm and run it, download url:http://rpmfind.net/linux/rpm2html/search.php?query=chromium. if you don't get permission, see this: http://enetq.blog.51cto.com/479739/802934 way two: Add following to /etc/yum.repos.d/google-chrome.repo file: 32-bit [google-chrome] na ...
Set up chinese wubi input method on centos 1.wget http://www.xiit.cn/wp-content/uploads/2011/03/vissible-ibus.tar.gz 2.tar -zxvf vissible-ibus.tar.gz 3.cp vissible.db /usr/share/ibus-table/tables 4.cp vissible.gif /usr/share/ibus-table/icons 5. Enable Input method:      “System”-->"Preferenc ...
Global site tag (gtag.js) - Google Analytics