03.23.2011
1.
#du -h --max-depth=1
linux/freebsd下查看目录大小的命令
freebsd的命令:
在某个目录里执行 du -h -d 1 可以查看目录里的每个子目录的大小
linux的命令:
linux下则为: du -h --max-depth=1
http://blog.csdn.net/tengomi/archive/2007/07/20/1700033.aspx
2
mantis&postfix
mantis配置文件: config_inc.php
<?php
$g_hostname = '127.0.0.1';#连库
$g_db_type = 'mysql';
$g_database_name = 'mantis';
#修改g_smtp_host邮件服务器地址
#$g_smtp_host = "127.0.0.1";
$g_smtp_host = "mail.mail.cn";
#修改phpmailer的地址
#$g_phpMailer_path = '/var/www/extsuite/mantis/phpmailer';
$g_phpMailer_path = '/var/www/mantis/phpmailer';
3
4
5
6
7