<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[linuxの飘扬]]></title> 
<link>https://www.linuxfly.org/index.php</link> 
<description><![CDATA[Power by www.linuxfly.org]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[linuxの飘扬]]></copyright>
<item>
<link>https://www.linuxfly.org/post/690/</link>
<title><![CDATA[[原]精简Asianux 4.0 SP2 中的系统服务]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[常见服务]]></category>
<pubDate>Fri, 17 May 2013 05:21:59 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/690/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;新部署的一台Asianux 4.0 SP2 for x86_64，启动后一看，(#‵′)靠，那自启动服务一大串，打开的端口更是有十几个。简单过了一遍，大多服务都是服务器不需要的或没什么意义的。写了个简单的脚本，把不需要的服务关掉。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/asianux/" rel="tag">asianux</a> , <a href="https://www.linuxfly.org/tags/service/" rel="tag">service</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/684/</link>
<title><![CDATA[[原]在Debian 7 下使用CUPS 1.5共享打印机]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[常见服务]]></category>
<pubDate>Thu, 18 Apr 2013 10:22:15 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/684/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;最近因作为出口网关的机器老化，淘汰后，改用<a href="http://www.linuxfly.org/post/620/" target="_blank">福陇 2F迷你电脑</a>替换。事实证明，龙芯2F虽然只有900MHz，但作为服务器效率还是不错的。不过，红旗的龙芯版不适合做服务器，改用社区版Debian 7。随着版本的升级，很多软件都需要重新配置，CUPS 共享打印是其中之一。我会陆续把遇到的问题整理出来，这作为首篇吧。<br/>&nbsp;&nbsp;&nbsp;&nbsp;配置过程与一篇旧文：<a href="http://www.linuxfly.org/post/72/" target="_blank">[原]用好Linux下的CUPS打印机服务</a>类同，还是直接用CUPS 提供的HTTP 网络共享，不依赖Samba服务，更简单、速度更快。<br/>&nbsp;&nbsp;&nbsp;&nbsp;社区版Debian 7，核心：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"># uname -r<br/>3.2.0-3-loongson-2f</div></div><br/>&nbsp;&nbsp;&nbsp;&nbsp;CUPS 用apt-get安装，版本为：1.5.3：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"># dpkg -l cups<br/>ii&nbsp;&nbsp;cups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.5.3-5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mipsel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Common UNIX Printing System(tm) - server</div></div><br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/cups/" rel="tag">cups</a> , <a href="https://www.linuxfly.org/tags/debian/" rel="tag">debian</a> , <a href="https://www.linuxfly.org/tags/loongson/" rel="tag">loongson</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/671/</link>
<title><![CDATA[[原]执行ldapadd 命令时报错：ldap_bind: Invalid credentials (49)]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[常见服务]]></category>
<pubDate>Thu, 18 Oct 2012 05:50:56 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/671/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;某项目，需要在Asianux 4.0上配置LDAP服务。参考以前的<a href="http://www.linuxfly.org/post/569/" target="_blank">[原]操作ldap 数据库</a>一文，在执行ldapadd 命令时报错：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">ldap_bind: Invalid credentials (49)</div></div><br/>经分析及查询相关资料，原来该版本的OpenLDAP已改用其他格式保存配置数据，原来的slapd.conf 仅作为模板使用。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/ldap/" rel="tag">ldap</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/625/</link>
<title><![CDATA[[原]龙芯社区版的Debian系统安装Nginx+PHP+Mysql]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[常见服务]]></category>
<pubDate>Mon, 19 Sep 2011 03:06:21 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/625/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;这是对<a href="http://www.linuxfly.org/post/623/" target="_blank">[原]龙芯社区版的Debian系统安装Apache2+PHP+Mysql</a>一文的补充。过程就是简单的apt-get，和修改配置文件，算做个记录吧。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/loongson/" rel="tag">loongson</a> , <a href="https://www.linuxfly.org/tags/debian/" rel="tag">debian</a> , <a href="https://www.linuxfly.org/tags/nginx/" rel="tag">nginx</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/623/</link>
<title><![CDATA[[原]龙芯社区版的Debian系统安装Apache2+PHP+Mysql]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[常见服务]]></category>
<pubDate>Wed, 07 Sep 2011 03:09:00 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/623/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;继续昨天的工作，既然系统已经装好，那就从最简单的服务开始吧：Apache 2.2+PHP 5.3.3 +Mysql 5.1。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/loongson/" rel="tag">loongson</a> , <a href="https://www.linuxfly.org/tags/debian/" rel="tag">debian</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/608/</link>
<title><![CDATA[[原]Asianux 4.0 中KVM 使用桥接]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[常见服务]]></category>
<pubDate>Tue, 05 Jul 2011 09:16:21 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/608/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;默认情况下，Asianux 4.0 中带的KVM 虚拟机是使用NAT模式的，但为了更方便的使用。（例如，用PXE 安装系统）我们更喜欢像VMware下的桥接（bridge）方式。不过，这有点麻烦，需要手动改改配置。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/network/" rel="tag">network</a> , <a href="https://www.linuxfly.org/tags/vm/" rel="tag">vm</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/587/</link>
<title><![CDATA[[原]在红旗Asianux 3.0 上安装Moodle]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[常见服务]]></category>
<pubDate>Tue, 12 Apr 2011 06:47:49 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/587/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;Moodle(Modular Object-Oriented Dynamic Learning Environment)，即：模块化面向对象的动态学习环境，是一套基于“社会建构主义理论”设计开发的开放源代码的网络教学平台。因项目需要，这里把其在红旗Asinux 3.0 SP3 for x86_64 上安装的过程描述一下。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/moodle/" rel="tag">moodle</a> , <a href="https://www.linuxfly.org/tags/php/" rel="tag">php</a> , <a href="https://www.linuxfly.org/tags/mysql/" rel="tag">mysql</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/569/</link>
<title><![CDATA[[原]操作ldap 数据库]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[常见服务]]></category>
<pubDate>Sun, 03 Oct 2010 15:42:02 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/569/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;好久以前曾写过<a href="http://www.linuxfly.org/post/104/" target="_blank">[原]LDAP服务介绍</a>一文，其中介绍了LDAP服务的基本情况。最近，因项目原因，需要对某个ldap 数据库进行修改和迁移的工作，目前已基本完成。特此机会，把在bash和php 中操作ldap 的注意事项简单总结一下。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/ldap/" rel="tag">ldap</a> , <a href="https://www.linuxfly.org/tags/php/" rel="tag">php</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/556/</link>
<title><![CDATA[[原]自定义SNMP Agent]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[常见服务]]></category>
<pubDate>Mon, 13 Sep 2010 06:48:46 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/556/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;通过<a href="http://www.linuxfly.org/post/552/" target="_blank">[原]SNMP 原理及配置简述</a>一文，我们知道，SNMP 发布的信息来自MIB，而MIB中定义的OID 数据，则是Agent 提供的。因此，除了SNMP 默认提供的监控信息外（实际上也是通过各个不同的Agent 获取），我们也可以自定义自己的Agent，用于监控其他资源信息，并发布给SNMP Manager 端。<br/>&nbsp;&nbsp;&nbsp;&nbsp;Linux 平台上使用的net-snmp 提供多种Agent 编写方式，较复杂的，可用C 调用其提供的API 接口来实现（附录中有份转载的文章）。简单的情况，可利用shell 脚本，借助net-snmp 提供的接口脚本来实现。这些，可参考/etc/snmp/snmpd.conf 中提供的说明。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/snmp/" rel="tag">snmp</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/552/</link>
<title><![CDATA[[原]SNMP 原理及配置简述]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[常见服务]]></category>
<pubDate>Tue, 07 Sep 2010 10:38:13 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/552/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;随着机器数量的增长，管理员不能像过去那样，一台台机器进行监控、解决问题，而需要借助各方工具进行统一监控和管理。利用SNMP，一个管理工作站可以远程管理所有支持这种协议的网络设备，包括监视网络状态、修改网络设备配置、接收网络事件警告等。<br/>&nbsp;&nbsp;&nbsp;&nbsp;在这里，我不想讲太多原理性的东西，网上有大堆的资料可以参考（附录中有链接），下面仅说明关键内容，并提供Linux 和 Windows 环境下snmp实现的方法。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/snmp/" rel="tag">snmp</a>
]]>
</description>
</item>
</channel>
</rss>