<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>月影鹏鹏 &#187; Debian</title>
	<atom:link href="http://jk.aiwaly.com/wp/tag/debian/feed" rel="self" type="application/rss+xml" />
	<link>http://jk.aiwaly.com</link>
	<description>不断探索,追求卓越,做快乐自己</description>
	<lastBuildDate>Thu, 29 Mar 2012 01:09:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ScanMon收录的debian学习笔记</title>
		<link>http://jk.aiwaly.com/wp/debian-study-note.html</link>
		<comments>http://jk.aiwaly.com/wp/debian-study-note.html#comments</comments>
		<pubDate>Tue, 18 May 2010 02:24:14 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 系统]]></category>
		<category><![CDATA[网站运维]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2497</guid>
		<description><![CDATA[ScanMon 鹏鹏工作室为大家提供的debian学习笔记希望对学习 debian和ubuntu的朋友们有点用处
Debian是Linux发行版当中最自由的一种。由位于世界各地上千名的自愿者不断开发和维护。它不属于任何的商业公司，完全由开源社区所有。本 笔记记录Debian的相关知识和我在学习中遇到的各种问题及解决方法。该笔记也可说是我学习Linux过程中的积累成果。希望这些文字能帮到正在用 Linux或正想进入Linux这个奇妙世界的朋友。
Debian中代号为Sarge的发行版已获得开放源码发展实验室（OSDL）的电信运营商等级Linux（CGL）规格认证。
debian学习笔记
debian学习笔记资料地址 http://www.scanmon.com/wiki/linux_unix/system/Debian%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0.htm
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/debian-study-note.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSH logging with ChrootDirectory</title>
		<link>http://jk.aiwaly.com/wp/openssh-logging-with-chrootdirectory.html</link>
		<comments>http://jk.aiwaly.com/wp/openssh-logging-with-chrootdirectory.html#comments</comments>
		<pubDate>Thu, 07 Jan 2010 07:08:01 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[English Version]]></category>
		<category><![CDATA[linux 系统]]></category>
		<category><![CDATA[question (问题)]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=1746</guid>
		<description><![CDATA[Finally following up on the previous article on the subject, I found some time to investigate logging what happens in an internal-sftp session using rsyslog.
Making syslog available in the chroot
Simply create a dev directory in each one of the chosen user chroot directories.
# mkdir /home/user/dev

Configuring rsyslog to probe the new logging source
Simply drop the following [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/openssh-logging-with-chrootdirectory.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Xen 3.0 upon Debian Unstable, with a custom Kernel</title>
		<link>http://jk.aiwaly.com/wp/installing-xen-3-0-upon-debian-unstable-with-a-custom-kernel.html</link>
		<comments>http://jk.aiwaly.com/wp/installing-xen-3-0-upon-debian-unstable-with-a-custom-kernel.html#comments</comments>
		<pubDate>Thu, 31 Dec 2009 02:27:23 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[English Version]]></category>
		<category><![CDATA[虚拟化]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/1695.html</guid>
		<description><![CDATA[Recently we demonstrated the process of installing a binary release of Xen 3.0 on Sarge, since the packages on Debian Unstable are not yet available for Xen 3.0 we&#8217;re now going to look at installing it via the packages provided by Ralph Passgang. This also includes building a custom Xen kernel from source.
The advantage to [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/installing-xen-3-0-upon-debian-unstable-with-a-custom-kernel.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debian 下为apt-get设置http代理</title>
		<link>http://jk.aiwaly.com/wp/debian-%e4%b8%8b%e4%b8%baapt-get%e8%ae%be%e7%bd%aehttp%e4%bb%a3%e7%90%86-2.html</link>
		<comments>http://jk.aiwaly.com/wp/debian-%e4%b8%8b%e4%b8%baapt-get%e8%ae%be%e7%bd%aehttp%e4%bb%a3%e7%90%86-2.html#comments</comments>
		<pubDate>Mon, 21 Dec 2009 12:58:42 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://jacky.scanmon.com/?p=1470</guid>
		<description><![CDATA[这是一种临时的手段，如果您仅仅是暂时需要通过http代理使用apt-get，您可以使用这种方式。
在使用apt-get之前，在终端中输入以下命令（根据您的实际情况替换yourproxyaddress和proxyport）。
export http_proxy=http://yourproxyaddress:proxyport
export http_proxy=http://10.10.246.21:808
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/debian-%e4%b8%8b%e4%b8%baapt-get%e8%ae%be%e7%bd%aehttp%e4%bb%a3%e7%90%86-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下加载模块命令</title>
		<link>http://jk.aiwaly.com/wp/linux%e4%b8%8b%e5%8a%a0%e8%bd%bd%e6%a8%a1%e5%9d%97%e5%91%bd%e4%bb%a4.html</link>
		<comments>http://jk.aiwaly.com/wp/linux%e4%b8%8b%e5%8a%a0%e8%bd%bd%e6%a8%a1%e5%9d%97%e5%91%bd%e4%bb%a4.html#comments</comments>
		<pubDate>Mon, 21 Dec 2009 12:51:56 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux 系统]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jacky.scanmon.com/?p=1467</guid>
		<description><![CDATA[常用命令：
1、lsmod 查看被内核调用的模块。
2、modinfo 查看模块信息。
3、insmod 手工加载模块（# insmod 8139too.ko ）
4、modprobe 智能加载模块 （# modprobe 8139too.ko）
5、rmmod 删除模块，也可以# modprobe -r 8139too.ko
内核守护进程（kerneld）分为2个部分，一部分工作在linux内核中，负责发出请求。一部分工作在系统用户数据区，负责调入所需要的模块。
kudzu 可以系统开机时检测新的硬件，如果新的硬件的驱动程序存在，就会被自动的加载，但是一般为了启动的速度都将kudzu服务关掉。（ntsysv进入服务选项）
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/linux%e4%b8%8b%e5%8a%a0%e8%bd%bd%e6%a8%a1%e5%9d%97%e5%91%bd%e4%bb%a4.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debian下mysql server的一个问题的解决</title>
		<link>http://jk.aiwaly.com/wp/debian%e4%b8%8bmysql-server%e7%9a%84%e4%b8%80%e4%b8%aa%e9%97%ae%e9%a2%98%e7%9a%84%e8%a7%a3%e5%86%b3-2.html</link>
		<comments>http://jk.aiwaly.com/wp/debian%e4%b8%8bmysql-server%e7%9a%84%e4%b8%80%e4%b8%aa%e9%97%ae%e9%a2%98%e7%9a%84%e8%a7%a3%e5%86%b3-2.html#comments</comments>
		<pubDate>Mon, 21 Dec 2009 12:45:01 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[databases]]></category>
		<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[linux 系统]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[问题]]></category>

		<guid isPermaLink="false">http://jacky.scanmon.com/?p=1462</guid>
		<description><![CDATA[$sudo /etc/init.d/mysql start
Starting MySQL database server: mysqld . . ..
Checking for corrupt, not cleanly closed and upgrade needing tables..
/usr/bin/mysqladmin: connect to server at &#8216;localhost&#8217; failed
error: &#8216;Access denied for user &#8216;debian-sys-maint&#8217;@'localhost&#8217; (using password: YES)&#8217;
那么这时候可以去/etc/mysql/debian.cnf,找到里面的password
然后登录到mysql shell:
mysql&#62; GRANT ALL PRIVILEGES ON *.* TO &#8216;debian-sys-maint&#8217;@'localhost&#8217; IDENTIFIED BY &#8216;password&#8217; WITH GRANT OPTION;
mysql&#62; flush privileges;
七中的就是上面找到的password
然后
$sudo /etc/init.d/mysql restart
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/debian%e4%b8%8bmysql-server%e7%9a%84%e4%b8%80%e4%b8%aa%e9%97%ae%e9%a2%98%e7%9a%84%e8%a7%a3%e5%86%b3-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tmpfs介绍 虚拟内存文件系统</title>
		<link>http://jk.aiwaly.com/wp/tmpfs%e4%bb%8b%e7%bb%8d-%e8%99%9a%e6%8b%9f%e5%86%85%e5%ad%98%e6%96%87%e4%bb%b6%e7%b3%bb%e7%bb%9f.html</link>
		<comments>http://jk.aiwaly.com/wp/tmpfs%e4%bb%8b%e7%bb%8d-%e8%99%9a%e6%8b%9f%e5%86%85%e5%ad%98%e6%96%87%e4%bb%b6%e7%b3%bb%e7%bb%9f.html#comments</comments>
		<pubDate>Mon, 21 Dec 2009 12:42:59 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux 系统]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jacky.scanmon.com/?p=1459</guid>
		<description><![CDATA[
Tmpfs是一个虚拟内存文件系统，它不同于传统的用块设备形式来实现的Ramdisk，也不同于针对物理内存的Ramfs。
Tmpfs可以使用物理内存，也可以使用交换分区。在Linux内核中，虚拟内存资源由物理内存（RAM）和交换分区组成，这些资源是由内核中的虚拟内存子系统来负责分配和管理。
Tmpfs向虚拟内存子系统请求页来存储文件，它同Linux的其它请求页的部分一样，不知道分配给自己的页是在内存中还是在交换分区中。同Ramfs一样，其大小也不是固定的，而是随着所需要的空间而动态的增减。
使用tmpfs，首先你编译内核时得选择&#8221;虚拟内存文件系统支持（Virtual memory filesystem support）&#8221; 。
然后就可以加载tmpfs文件系统了：
# mkdir -p /mnt/tmpfs
# mount tmpfs /mnt/tmpfs -t tmpfs
同样可以在加载时指定tmpfs文件系统大小的最大限制：
# mount tmpfs /mnt/tmpfs -t tmpfs -o size=32m
debian下设置
/tmp 使用 tmpfs
一般而言，若將記憶體模擬成磁碟並拿來做為 /tmp 的話將會有效加快一些應用程式的執行速度。而相同的，有些暫放在 /tmp 下的資料如果在關機後被人拿去解讀的話也會產生安全上的問題。所以若能將 /tmp 放在記憶體裡，不但能增進系統的速度，在關機後 /tmp 裡的資料也將跟著消失，這將是一舉兩得的做法。
在 Debian GNU/Linux 裡，預設上就會把記憶體拿來模擬成磁碟了，也就是您在 df 指令裡所看到的 /dev/shm。由於系統記憶體十分寶貴，所以 /dev/shm 會動態調整其大小，但您還是可以修改 /etc/default/tmpfs 來指定其限額，例：
# SHM_SIZE sets the maximum size (in bytes) that the /dev/shm tmpfs can use.
# If this [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/tmpfs%e4%bb%8b%e7%bb%8d-%e8%99%9a%e6%8b%9f%e5%86%85%e5%ad%98%e6%96%87%e4%bb%b6%e7%b3%bb%e7%bb%9f.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>将centos系统迁移到debian的xen中</title>
		<link>http://jk.aiwaly.com/wp/%e5%b0%86centos%e7%b3%bb%e7%bb%9f%e8%bf%81%e7%a7%bb%e5%88%b0debian%e7%9a%84xen%e4%b8%ad.html</link>
		<comments>http://jk.aiwaly.com/wp/%e5%b0%86centos%e7%b3%bb%e7%bb%9f%e8%bf%81%e7%a7%bb%e5%88%b0debian%e7%9a%84xen%e4%b8%ad.html#comments</comments>
		<pubDate>Sun, 13 Dec 2009 04:46:53 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[虚拟化]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://jacky.scanmon.com/?p=1418</guid>
		<description><![CDATA[关于在debian下运行其它版本的linux,这种资料已经很多了,我在blog里面也收集了一些.  http://jacky.scanmon.com/category/unixlinux/xen
鹏鹏工作室尝试将一些负载比较轻的服务器迁移到xen 下运行,从而降低运维成本..
本次测试的是将整个运行在centos 5.2 环境下的服务器迁移到运行在debian的xen 中.
1、首先是xen的环境已经安装成。
ironhide:~#  uname -a
Linux ironhide 2.6.26-2-xen-686 #1 SMP Wed Nov 4 23:23:33 UTC 2009 i686 GNU/Linux
带 xen 标准的内核已经运行
2、制作块文件
$ dd if=/dev/zero of=ken.scanmon.com-centos.img bs=1024k count=1000
$ dd if=/dev/zero of=ken.scanmon.com-swap.img bs=1024k count=500
 格式化ext3分区 和swap
$ mkfs.ext3 ken.scanmon.com-centos.img
$ mkswap ken.scanmon.com-swap.img
挂载镜像文件，将镜像挂载到一个目录下
mount -o loop ken.scanmon.com-centos.img mnt/
同步服务器上的文件到
rsync -av -e 'ssh '  ken.scanmon.com:/* mnt/
注：像 proc 和 dev 目录 就不用通过了，如果同步也会出错。
修改配置文件
vi /etc/inittab
hvc0:2345:respawn:/sbin/agetty  [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/%e5%b0%86centos%e7%b3%bb%e7%bb%9f%e8%bf%81%e7%a7%bb%e5%88%b0debian%e7%9a%84xen%e4%b8%ad.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Centos5 DomU on Debian Etch Dom0</title>
		<link>http://jk.aiwaly.com/wp/create-centos5-domu-on-debian-etch-dom0.html</link>
		<comments>http://jk.aiwaly.com/wp/create-centos5-domu-on-debian-etch-dom0.html#comments</comments>
		<pubDate>Sat, 12 Dec 2009 06:55:28 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[虚拟化]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://jacky.scanmon.com/?p=1408</guid>
		<description><![CDATA[
This article will show you how to setup, install and config a Guest Centos5 Xen Virtual Server ontop of a Debian Etch Xen Install.  This setup presumes you have a working Xen install (xen3) on a Debian Etch Server
//  
 Setup and Install Centos domU on Etch dom0 

 Xen-tools/rmpstrap Method &#8211; Problematic [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/create-centos5-domu-on-debian-etch-dom0.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian 5下的nginx+php+mysql的解决方案</title>
		<link>http://jk.aiwaly.com/wp/debian-5%e4%b8%8b%e7%9a%84nginxphpmysql%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88.html</link>
		<comments>http://jk.aiwaly.com/wp/debian-5%e4%b8%8b%e7%9a%84nginxphpmysql%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88.html#comments</comments>
		<pubDate>Sat, 12 Dec 2009 01:53:09 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[web应用]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://jacky.scanmon.com/?p=1399</guid>
		<description><![CDATA[
月影鹏鹏在debian下配置nginx+php+mysql 参考了以下文档
使用php-fpm就必须重新编译php，不能使用系统自带的php。MySQL使用Debian自带的，Nginx是从Debian官方软件库中下载的最新版本。
安装Nginx
Debian 5系统自带的nginx版本比较低，现在Nginx的新稳定版本0.7.61，即将发行的Debian 6里面带的是最新版本的nginx，测试后发现这个nginx在Debian 5下可以运行。我们在 http://ftp.us.debian.org/debian/pool/main/n/nginx/ 下载了Nginx的deb包，放到了 http://rashost.com/download/ 方便客户下载
安装命令：
dpkg -i nginx_0.7.61-3_amd64.deb
/etc/init.d/nginx start
mkdir -p /var/www/nginx-default
echo &#8216;nginx ok&#8217;>/var/www/nginx-default/index.html
echo &#8216;&#8216; > /var/www/nginx-default/test.php
另外运行dpkg -L nginx命令可以看到nginx的文件都安装在哪些目录下面了
Debian下nginx的缺省网页目录是/var/www/nginx-default，这个目录安装的时候没有创建，我们是手工创建的。
通过浏览器访问，应该能看到nginx的缺省网页了，说明nginx正常工作了！
安装MySQL
我们使用Debian自带的MySQL，安装命令：
apt-get install mysql-server-5.0
/etc/init.d/mysql start
运行mysql -uroot -p命令，应该可以正常连接到MySQL
安装php &#038; php-fpm
安装php所需要的库文件：
apt-get update
apt-get install libxml2 libldap-2.4-2 libmhash2 curl libpng3 libjpeg62 libsasl2-2 libmcrypt4
到 http://rashost.com/download/ 下载安装我们自己在Debian下编译的php-fpm:
cd /opt
tar zxf php-fpm-5.2.10-amd64.tar.gz
ln -s /opt/php/sbin/php-fpm /etc/init.d/php-fpm
update-rc.d -f php-fpm defaults
/etc/init.d/php-fpm start
整合
首先在/var/www/nginx-default目录下创建文件test.php，其内容很简单，只要下面一行：

假设所在VPS的地址是debian5.rashost.com，这时通过浏览器访问http://debian5.rashost.com/test.php是得不到正确的显示结果的。
修改nginx的配置文件/etc/nginx/sites-enabled/default，在文件内搜索fastcgi_pass，修改该部分内容为：
      [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/debian-5%e4%b8%8b%e7%9a%84nginxphpmysql%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

