前言现在sendmail服务是Linux系统自带服务,默认可能没有启动.本文不是讲解如何搭建本地mail服务器,而仅仅是作为客户端,使用外部smtp服务发送邮件,因此无需启动sendmail服务.学习笔记,以备查阅.1.Sendmail配置配置发生邮件的邮箱认证信息vi/etc/mail.rc---增加如下内容---1setfr..
分类:
系统相关 时间:
2014-05-27 03:31:19
阅读次数:
543
首先,主要是ecmall使用的phpmailer版本太低,不支持加密连接。然后,得对相应代码做一定调整。1.
覆盖phpmailer请从附件进行下载:http://files.cnblogs.com/x3d/ecmall_phpmailer_lib.zip2.
改造lib涉及到两个lib:mail....
分类:
其他好文 时间:
2014-05-27 01:55:57
阅读次数:
268
使用Docker一段时间之后,准备在公司内部使用Docker +
Hadoop(HDFS)组件内部一个私有云,统一管理公司和产品/项目组内部的代码、文档。我选择先从文档管理开始,在底层架子搭建好之后,需要给内部人员提供一个好的“门面”,在没有这个门面之前,我们大量使用SSH+Command方式操作,...
分类:
其他好文 时间:
2014-05-24 03:44:10
阅读次数:
1071
The "." command is one of the most simple yet
powerful commands in Vim. Itrepeats the last change. For instance, suppose you
are editing an HTML filea...
分类:
其他好文 时间:
2014-05-23 22:52:50
阅读次数:
372
文件配置如下:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:sch...
分类:
编程语言 时间:
2014-05-22 07:38:58
阅读次数:
388
source/etc/profile报错-bash:xport:commandnotfound这个错误,我百了很长时间没有找到答案,最后我自己解决了。原因是这样的。我在/etc/profile中添加过东西,vi/etc/profile我发现在最后几行,有一个export写成了xport.改过来之后就好了。
分类:
其他好文 时间:
2014-05-21 00:22:00
阅读次数:
452
http://poj.org/problem?id=3164第一次做最小树形图,看着别人的博客写,还没弄懂具体的什么意思。 1 #include 2
#include 3 #include 4 #include 5 #define maxn 1000 6 using namesp...
分类:
Web程序 时间:
2014-05-20 09:39:34
阅读次数:
324
PowerShell中有Measure-Command命令用于测量进程运行时间,和Unix下time命令的作用相似。Measure-Command
{ start-process command "argument" -wait }比如,Measure-Command { start-process...
1.使用visudo来配置,因为visudo在配置完毕后,会检查是否有语法错误.2.配置格式:授权账号
授权账号所在hostname=(可切换的账号)
可执行的命令command(如果是具体命令,最好使用绝对路径)例如:无论Tom在哪个地方登陆,都可以替换为任何账号来执行命令.Tom All=(Al...
分类:
系统相关 时间:
2014-05-19 17:01:29
阅读次数:
346
1、windows下的编译 1.1、解压后打开nmake.opt,设置GDAL_HOME
1.2、进入vs的command promot,进入正常的那个即可,64位的没试过,可以参考gdal官网 1.3、nmake /f makefile.vc
1.4、nmake /f makefile.v...
分类:
其他好文 时间:
2014-05-19 14:34:10
阅读次数:
288