日志标签 ‘Debian’

ScanMon收录的debian学习笔记

2010年5月18日

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

OpenSSH logging with ChrootDirectory

2010年1月7日

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 contents in /etc/rsyslog.d/sshd.conf :

# Create an additional socket for some of the sshd chrooted users.
$AddUnixListenSocket /var/fileserv/dev/log

# Log internal-sftp in a separate file
:programname, isequal, "internal-sftp" -/var/log/sftp.log
:programname, isequal, "internal-sftp" ~

 » 阅读更多: OpenSSH logging with ChrootDirectory

Installing Xen 3.0 upon Debian Unstable, with a custom Kernel

2009年12月31日

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’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 building the Xen kernel from source is that you can add, or remove, drivers – so the kernel is utterly customised for your

» 阅读更多: Installing Xen 3.0 upon Debian Unstable, with a custom Kernel

debian 下为apt-get设置http代理

2009年12月21日

这是一种临时的手段,如果您仅仅是暂时需要通过http代理使用apt-get,您可以使用这种方式。

在使用apt-get之前,在终端中输入以下命令(根据您的实际情况替换yourproxyaddress和proxyport)。

export http_proxy=http://yourproxyaddress:proxyport

export http_proxy=http://10.10.246.21:808

Linux下加载模块命令

2009年12月21日

» 阅读更多: Linux下加载模块命令

debian下mysql server的一个问题的解决

2009年12月21日

» 阅读更多: debian下mysql server的一个问题的解决

tmpfs介绍 虚拟内存文件系统

2009年12月21日

» 阅读更多: tmpfs介绍 虚拟内存文件系统

将centos系统迁移到debian的xen中

2009年12月13日

» 阅读更多: 将centos系统迁移到debian的xen中

Create Centos5 DomU on Debian Etch Dom0

2009年12月12日

» 阅读更多: Create Centos5 DomU on Debian Etch Dom0

Debian 5下的nginx+php+mysql的解决方案

2009年12月12日

» 阅读更多: Debian 5下的nginx+php+mysql的解决方案