Archive for July 23, 2009
在 Slackware 下全部从源代码安装邮件服务器
02 years ago
in TechniquE
习惯于自己从源代码开始编译安装软件,现在要配置一个邮件服务器,以前用的 Qmail,感觉不是很好,sendmail 也被骂死了,决定改 Postfix 看看。
目的:搭建一个支持 POP3、IMAP、SMTP、WebMail 的邮件系统,支持虚拟域和虚拟账户。
操作系统:Slackware,所需软件(库):Postfix、Cyrus SASL、Courier Auth Lib、Courier IMAP server、Courier Maildrop、amavisd-new、Clam AntiVirus、MySQL、Apache、Extman/Extmail、RRDtool。
说明:
- 安装操作系统的时候,只安装最基本的开发环境和库,其他的服务器软件一律不装。
- 考虑到实际用途,很可能还会需要安装 PHP 和 phpMySQL,请在安装完 Cyrus SASL 后安装 PHP,否则可能会产生依赖关系,关于 PHP 的安装,请参加本 Blog 的其他文章。
- 本人习惯于按照如下方式设定安装目录,如果您习惯其它方式,请相应的修改目录,如果您全部采用默认目录,则更简洁:
- 数据文件,放在
/home下,比如 www、mailbox。 - 大型的,需要配置、启动服务的软件,放在
/home下,例如 MySQL、Apache、Postfix 等。 - 不需要配置的,而且不需要独立启动的库,放在默认目录下,例如 Perl 的模块等。
- 数据文件,放在
目录
- 系统需求
- 下载软件包
- 创建所需的用户、组和目录
- 安装 MySQL
- 安装 Apache
- 安装 Cyrus SASL
- 安装 Postfix
- 安装 Courier Authlib
- 安装 Courier IMAP
- 安装 Courier Maildrop
- 安装 Spamassassin
- 安装 Amavisd-new
- 安装 Clam AntiVirus
- 配置 MySQL
- 配置 Apache
- 配置 Postfix
- 配置 CYRUS-SASL
- 配置 Courier Authlib
- 配置 Courier IMAP
- 配置 Courier MailDrop
- 配置 Spamassassin
- 配置 Amavisd-new
- 配置 Clam AntiVirus
- 系统需求说明
- 添加数据库
- 安装 Extman/Extmail
- 配置 Apache 的虚拟主机
- 安装 RRDtool
- 配置 Extman/Extmail
- 其他配置
- 启动服务
- 测试
Install LILO to MBR on CCISS device
02 years ago
in TechniquE
I was in hell when trying to get LILO installed on a CCISS driver, which is how HP SmartArray RAID card recognized as. No matter I installed LILO to MBR or Boot Record, it always failed.
Here is my solution:
- After installing Slackware finished, reboot server with Installation CD.
- At prompt, input:
1hugesmp.s root=/dev/cciss/c0d0p2 rdinit= ro
Change
hugesmp.sto your kernel if necessary.
c0d0p2means second partition of logical drive 0 on controller 0, which is my “/” partition. - Login as root, modify
/etc/lilo.conf. Changeboot = /dev/sdatoboot = /dev/cciss/c0d0p2. - Run the command:
1
2lilo -M /dev/cciss/c0d0 mbr
lilo
Reboot to check if everthing is right.
Recent Comments