- 博客(6)
- 资源 (4)
- 收藏
- 关注
转载 用drupal 建立多语言站点
第一步:启用Local模块(module), Administer -> site building -> Modules 选中local模块,保存!第二步:添加语言, Administer -> site configuration -> Languages ,右侧tab中选择 Add language ,在下拉列表中选择要添加的语言,然后保存!
2014-07-18 10:24:43 776
转载 sendmail: fatal: chdir /var/spool/Postfix: Permission denied
sendmail: fatal: chdir /var/spool/postfix: Permission denied引起原因,apache因为selinux默认设置不能发送邮件。其实在命令用mail是可以发送邮件的。解决办法:setsebool httpd_can_sendmail on如果是旧版系统on不行的话,可以用1,这个我没测试过另外,重启问题,可以在/etc/
2014-07-18 09:28:19 1601
转载 How To Install Drupal on a Virtual Server Running CentOS 6
How To Install Drupal on a Virtual Server Running CentOS 6Tagged In: CentOS,DrupalAbout DrupalDrupal is a free and open source content management that uses a PHP and a backend database
2014-07-17 17:04:47 947
转载 分布式搜索elasticsearch配置文件详解
elasticsearch的config文件夹里面有两个配置文件:elasticsearch.yml和logging.yml,第一个是es的基本配置文件,第二个是日志配置文件,es也是使用log4j来记录日志的,所以logging.yml里的设置按普通log4j配置文件来设置就行了。下面主要讲解下elasticsearch.yml这个文件中可配置的东西。cluster.name: elasti
2014-07-14 15:36:42 460
原创 curl operate elasticsearch
export elasticsearchwebaddress=localhost:9200# 1. Add documentcurl -X PUT "$elasticsearchwebaddress/megacorp/employee/1" -d '{ "first_name" : "John", "last_name" : "Smith", "age"
2014-07-11 17:40:44 1045
转载 Scripting
The scripting module allows to use scripts in order to evaluate customexpressions. For example, scripts can be used to return "script fields"as part of a search request, or can be used to evaluate a c
2014-07-11 16:13:28 1264 1
Oracle OCP 认证教材Administration.II.Exam.Guide.Exam.1Z0-053(英文版)
2011-03-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人