<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/shanfeng888" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/shanfeng888" type="application/rss+xml"></fs:self_link><lastBuildDate>Tue, 04 Mar 2008 09:25:00 GMT</lastBuildDate><title>扣顶</title><link>http://blog.csdn.net/shanfeng888/</link><item><title>再次测试</title><link>http://blog.csdn.net/shanfeng888/archive/2008/03/04/2145376.aspx</link><wfw:comment>http://blog.csdn.net/shanfeng888/comments/2145376.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/shanfeng888/comments/commentRss/2145376.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2145376</trackback:ping><description>cs&lt;img src =&quot;http://blog.csdn.net/shanfeng888/aggbug/2145376.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/shanfeng888/264052614/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/shanfeng888/264052614/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 04 Mar 2008 17:25:00 +0800</pubDate><author>shanfeng</author><comments>http://blog.csdn.net/shanfeng888/archive/2008/03/04/2145376.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/shanfeng888/archive/2008/03/04/2145376.aspx</guid><dc:creator>shanfeng</dc:creator><fs:srclink>http://blog.csdn.net/shanfeng888/archive/2008/03/04/2145376.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/shanfeng888/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/shanfeng888/~5906207/264052614/4034632</fs:itemid></item><item><title>apt-get参数</title><link>http://blog.csdn.net/shanfeng888/archive/2008/01/14/2044158.aspx</link><wfw:comment>http://blog.csdn.net/shanfeng888/comments/2044158.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/shanfeng888/comments/commentRss/2044158.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2044158</trackback:ping><description>　　ubuntu下apt-get 命令参数　　常用的APT命令参数　　apt-cache search package 搜索包　　apt-cache show package 获取包的相关信息，如说明、大小、版本等　　sudo apt-get install package 安装包　　sudo apt-get install package - - reinstall 重新安装包　　sudo apt-get -f install 修复安装&quot;-f = ――fix-missing&quot;　　sudo apt-get remove package 删除包　　sudo apt-get remove package - - purge 删除包，包括删除配置文件等　　sudo apt-get update 更新源　　sudo apt-get upgrade 更新已安装的包　　sudo apt-get dist-upgrade 升级系统　　sudo apt-get dselect-upgrade 使用 dsel&lt;img src =&quot;http://blog.csdn.net/shanfeng888/aggbug/2044158.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/shanfeng888/264052615/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/shanfeng888/264052615/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 15 Jan 2008 06:22:00 +0800</pubDate><author>shanfeng</author><comments>http://blog.csdn.net/shanfeng888/archive/2008/01/14/2044158.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/shanfeng888/archive/2008/01/14/2044158.aspx</guid><dc:creator>shanfeng</dc:creator><fs:srclink>http://blog.csdn.net/shanfeng888/archive/2008/01/14/2044158.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/shanfeng888/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/shanfeng888/~5906207/264052615/4034632</fs:itemid></item><item><title>单机实验mysql的主从备份(master slaver)</title><link>http://blog.csdn.net/shanfeng888/archive/2007/12/09/1926152.aspx</link><wfw:comment>http://blog.csdn.net/shanfeng888/comments/1926152.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/shanfeng888/comments/commentRss/1926152.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1926152</trackback:ping><description>备份数据库是在架构系统 中的一个重要环节，对于大多数的数据库系统来说，用主从数据库备份就可以满足要要求。可以根据需要建立1个master与多个slaver.或者1个master,1个slaver.或者双重备份。&lt;img src =&quot;http://blog.csdn.net/shanfeng888/aggbug/1926152.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/shanfeng888/264052616/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/shanfeng888/264052616/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 10 Dec 2007 07:36:00 +0800</pubDate><author>shanfeng</author><comments>http://blog.csdn.net/shanfeng888/archive/2007/12/09/1926152.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/shanfeng888/archive/2007/12/09/1926152.aspx</guid><dc:creator>shanfeng</dc:creator><fs:srclink>http://blog.csdn.net/shanfeng888/archive/2007/12/09/1926152.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/shanfeng888/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/shanfeng888/~5906207/264052616/4034632</fs:itemid></item><item><title>mysqld_multi单机启动多个mysql</title><link>http://blog.csdn.net/shanfeng888/archive/2007/12/09/1926073.aspx</link><wfw:comment>http://blog.csdn.net/shanfeng888/comments/1926073.aspx</wfw:comment><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/shanfeng888/comments/commentRss/1926073.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1926073</trackback:ping><description>1.单机启动多个mysql的好处    1.1充分利用单机的计算能力    1.2可以有效的分配不同的逻辑到不同的mysql提高服务器并行处理能力    1.3单机也可以方便的实现主从备份2.实现方式&lt;img src =&quot;http://blog.csdn.net/shanfeng888/aggbug/1926073.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/shanfeng888/264052617/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/shanfeng888/264052617/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 10 Dec 2007 06:54:00 +0800</pubDate><author>shanfeng888</author><comments>http://blog.csdn.net/shanfeng888/archive/2007/12/09/1926073.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/shanfeng888/archive/2007/12/09/1926073.aspx</guid><dc:creator>shanfeng888</dc:creator><fs:srclink>http://blog.csdn.net/shanfeng888/archive/2007/12/09/1926073.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/shanfeng888/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/shanfeng888/~5906207/264052617/4034632</fs:itemid></item><item><title>发送邮件的python脚本</title><link>http://blog.csdn.net/shanfeng888/archive/2007/11/25/1902024.aspx</link><wfw:comment>http://blog.csdn.net/shanfeng888/comments/1902024.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/shanfeng888/comments/commentRss/1902024.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1902024</trackback:ping><description>一直再找linux下 用shell 发送邮件的方法。找了好长时间也没有找到，最终决点用python 的email模块发送邮件，在网上找了一下代码。
转自：李卫公的长安城
http://blog.donews.com/maverick/archive/2007/04/22/1159142.aspx

再此表示感谢

#!/usr/bin/python
# -*- coding: utf-8 -*-

import email
import mimetypes
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
from email.MIMEImage import MIMEImage
import smtplib

def sendEmail(authInfo, fromAdd, toAdd, subject, plainText, htmlText):

        strFrom = fromAdd
        strTo = &lt;img src =&quot;http://blog.csdn.net/shanfeng888/aggbug/1902024.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/shanfeng888/264052618/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/shanfeng888/264052618/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 26 Nov 2007 06:07:00 +0800</pubDate><author>shanfeng888</author><comments>http://blog.csdn.net/shanfeng888/archive/2007/11/25/1902024.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/shanfeng888/archive/2007/11/25/1902024.aspx</guid><dc:creator>shanfeng888</dc:creator><fs:srclink>http://blog.csdn.net/shanfeng888/archive/2007/11/25/1902024.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/shanfeng888/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/shanfeng888/~5906207/264052618/4034632</fs:itemid></item><item><title>awstats 网站访问统计工具安装</title><link>http://blog.csdn.net/shanfeng888/archive/2007/11/18/1891623.aspx</link><wfw:comment>http://blog.csdn.net/shanfeng888/comments/1891623.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/shanfeng888/comments/commentRss/1891623.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1891623</trackback:ping><description>1.下载awstats     wget http://prdownloads.sourceforge.net/awstats/awstats-6.7.tar.gz2.解压    tar zxf awstats-6.7.tar.gz3.把解压后的文件copy到/usr/local/awstats    sudo mkdir /usr/local/awstats    sudo mv /usr/lcoal/awstats awstats-6.7 -R4.修改apache2的配置文件    1.把要统计的网站的CustomLog 的格式改成combined    2.添加awstats的web访问页面.把/usr/local/awstats/tools/httpd_conf中的内容复制到测试站点的location下面5.修改awstats的配置文件    1. cp /usr/local/awstats/wwwroot/cgi_&lt;img src =&quot;http://blog.csdn.net/shanfeng888/aggbug/1891623.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/shanfeng888/264052619/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/shanfeng888/264052619/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 19 Nov 2007 06:06:00 +0800</pubDate><author>shanfeng888</author><comments>http://blog.csdn.net/shanfeng888/archive/2007/11/18/1891623.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/shanfeng888/archive/2007/11/18/1891623.aspx</guid><dc:creator>shanfeng888</dc:creator><fs:srclink>http://blog.csdn.net/shanfeng888/archive/2007/11/18/1891623.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/shanfeng888/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/shanfeng888/~5906207/264052619/4034632</fs:itemid></item><item><title>ubuntu下开机自动运行脚本以及定时任务的处理</title><link>http://blog.csdn.net/shanfeng888/archive/2007/11/04/1866857.aspx</link><wfw:comment>http://blog.csdn.net/shanfeng888/comments/1866857.aspx</wfw:comment><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/shanfeng888/comments/commentRss/1866857.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1866857</trackback:ping><description>1.开机自运行    简单的处理开机自运行的方法是修改rc.local文件。此文件位于/etc目录下面. 在默认情况下，rc.local是一个空的脚。您只要修改它就可以了。要注意的是...........2。定时任务    介绍一种简单的处理方式    用cron处理定时任务,首先要保证cron操作已经运行。如果安装了cron 的话。正常情况下cron已经开机自运行了，如果没有运行的话。    /etc/init.d/cron start    用crontab来安排定时任务    crontab [-u user] {-l| -r |  -e}    -l:显示任务    -e:编辑任务&lt;img src =&quot;http://blog.csdn.net/shanfeng888/aggbug/1866857.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/shanfeng888/264052620/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/shanfeng888/264052620/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 05 Nov 2007 07:11:00 +0800</pubDate><author>shanfeng</author><comments>http://blog.csdn.net/shanfeng888/archive/2007/11/04/1866857.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/shanfeng888/archive/2007/11/04/1866857.aspx</guid><dc:creator>shanfeng</dc:creator><fs:srclink>http://blog.csdn.net/shanfeng888/archive/2007/11/04/1866857.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/shanfeng888/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/shanfeng888/~5906207/264052620/4034632</fs:itemid></item><item><title>ubuntu 下 imagick PHP扩展的安装</title><link>http://blog.csdn.net/shanfeng888/archive/2007/10/30/1858195.aspx</link><wfw:comment>http://blog.csdn.net/shanfeng888/comments/1858195.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/shanfeng888/comments/commentRss/1858195.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1858195</trackback:ping><description>在ubuntu下安装imagick的php扩展，还算比较的简单。用以下方法屡试不爽1，编译PHP    编译过程不在多说，可以看其它相关php编译的文章2.安装ImageMagick(此步骤不知可不可以省略大家可以试一下，因为我的机器原本装有此工具。由于时间关系没有测试)  sudo apt-get install imagemagick3.安装imagemagick 的lib 供php调用...................&lt;img src =&quot;http://blog.csdn.net/shanfeng888/aggbug/1858195.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/shanfeng888/264052621/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/shanfeng888/264052621/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 31 Oct 2007 06:34:00 +0800</pubDate><author>shanfeng</author><comments>http://blog.csdn.net/shanfeng888/archive/2007/10/30/1858195.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/shanfeng888/archive/2007/10/30/1858195.aspx</guid><dc:creator>shanfeng</dc:creator><fs:srclink>http://blog.csdn.net/shanfeng888/archive/2007/10/30/1858195.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/shanfeng888/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/shanfeng888/~5906207/264052621/4034632</fs:itemid></item><item><title>ubuntu下的项目管理工具dia, planner</title><link>http://blog.csdn.net/shanfeng888/archive/2007/10/29/1855404.aspx</link><wfw:comment>http://blog.csdn.net/shanfeng888/comments/1855404.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/shanfeng888/comments/commentRss/1855404.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1855404</trackback:ping><description>ubuntu下的项目管理工具&lt;img src =&quot;http://blog.csdn.net/shanfeng888/aggbug/1855404.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/shanfeng888/264052622/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/shanfeng888/264052622/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 30 Oct 2007 07:14:00 +0800</pubDate><author>shanfeng888</author><comments>http://blog.csdn.net/shanfeng888/archive/2007/10/29/1855404.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/shanfeng888/archive/2007/10/29/1855404.aspx</guid><dc:creator>shanfeng888</dc:creator><fs:srclink>http://blog.csdn.net/shanfeng888/archive/2007/10/29/1855404.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/shanfeng888/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/shanfeng888/~5906207/264052622/4034632</fs:itemid></item><item><title>MFC编码注意(2)</title><link>http://blog.csdn.net/shanfeng888/archive/2007/10/28/1852598.aspx</link><wfw:comment>http://blog.csdn.net/shanfeng888/comments/1852598.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/shanfeng888/comments/commentRss/1852598.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1852598</trackback:ping><description>多线程开发&lt;img src =&quot;http://blog.csdn.net/shanfeng888/aggbug/1852598.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/shanfeng888/264052623/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/shanfeng888/264052623/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 29 Oct 2007 06:47:00 +0800</pubDate><author>shanfeng</author><comments>http://blog.csdn.net/shanfeng888/archive/2007/10/28/1852598.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/shanfeng888/archive/2007/10/28/1852598.aspx</guid><dc:creator>shanfeng</dc:creator><fs:srclink>http://blog.csdn.net/shanfeng888/archive/2007/10/28/1852598.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/shanfeng888/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/shanfeng888/~5906207/264052623/4034632</fs:itemid></item></channel></rss>