首先配置环境nginx+nodejs。。。(没有请看我的其他文章,此处不重复) cd 到nginx的site-available目录 ubuntu的在 创建一个server文件 然后可以copy下面的代码进去了(勤劳的coder可以手写一遍的哦) OK文件搞定,但配置还差一步。。。 创建软链接到si ...
分类:
Web程序 时间:
2016-09-08 13:02:22
阅读次数:
287
1、None of the configured nodes are available 或者 org.elasticsearch.transport.RemoteTransportException: Failed to deserialize exception response from st ...
分类:
编程语言 时间:
2016-09-07 22:59:05
阅读次数:
422
可用内存:Available memory=free+buffers+cached,即2021=235+394+1392已使用内存:Used memory=used-buffers-cached,即30217=32003-394-1392而在用zabbix自身的Template OS Linux模版 ...
分类:
系统相关 时间:
2016-09-07 14:39:11
阅读次数:
5504
1.如何安装软件yum
yumlistall###列出所有安装包
yumlistinstalled###列出已经安装的
yumlistavailable###列出没有安装的
yumremovesoftware###卸载软件
yuminstallsoftware###安装软件
yumsearch关键字###搜索与关键字相关的软件
yumwhatprovides文件###搜索包含此文件的包
yu..
分类:
系统相关 时间:
2016-09-06 23:33:31
阅读次数:
331
http://kurenai.elastos.org/2013/05/02/ubuntu-apt-get%E5%B7%A5%E4%BD%9C%E5%8E%9F%E7%90%86/ 先介绍几个和apt-get相关的目录: /var/lib/dpkg/available文件的内容是软件包的描述信息, 该 ...
分类:
系统相关 时间:
2016-09-06 15:30:09
阅读次数:
217
Ubuntu好像是直接支持的,现在回到Debian有点不适应了。需要人工配置一下: 安装模块:apt-get install libapache2-mod-python 编辑文件:/etc/apache2/sites-available/000-default 增加如下内容: 重启服务:/etc/i ...
分类:
编程语言 时间:
2016-09-05 20:55:07
阅读次数:
257
使用Bundle 的getParcelableArray 出现了以下错误: 这个可能就需要设置下ClassLoader, 比如: ...
分类:
移动开发 时间:
2016-09-04 15:49:15
阅读次数:
568
You are given two jugs with capacities x and y litres. There is an infinite amount of water supply available. You need to determine whether it is poss ...
分类:
其他好文 时间:
2016-09-04 15:40:00
阅读次数:
109
控制台输出的时候显示一串这样的信息:[Project Name] was compiled with optimization - stepping may behave oddly; variables may not be available.如图所示:解决方法:1>2> ...
分类:
其他好文 时间:
2016-09-03 14:52:19
阅读次数:
2217
There are lots of free tools available online to get easy access to the WiFi networks intended to help the network admins and the programmers working ...
分类:
Web程序 时间:
2016-09-02 21:47:48
阅读次数:
191