awstats配置的补充说明

9、重新启动apache2。出问题了。。
Alias /awstatsclasses "/usr/share/doc/awstats/examples/wwwroot/classes/"
Alias /awstatscss "/usr/share/doc/awstats/examples/wwwroot/css/"
Alias /awstatsicons "/usr/share/doc/awstats/examples/wwwroot/icon/"
ScriptAlias /awstats/ "/usr/share/doc/awstats/examples/wwwroot/cgi-bin/"
这个路径不对。修改巴。
首先屏蔽这几行。apache2正常启动。但统计中的图片无法显示了。。。
检查。发现其实并不需要把awstats中的静态文件复制,只需要在apache2.conf里面正确设定路径就可以
了:)

Debian下配置AWStats

1、安装awstats。直接使用apt-get install awstats
2、检察awstats 是否正常。awstias在在ubuntu上有/etc/awstats和/usr/share/awstats 目录。
而根据网上教程,需要找到他的pl文件来完成配置。
使用find / -name awstats.pl 来进行查找,结果为/usr/lib/cgi-bin/awstats.pl.
还是没有找到配置文件。只好find / -name *.pl|more
结果,n多的文件。。。。不过显示了/usr/share/doc/awstats/examples/
3、运行./awstats_configure.pl
会有提示。第一步,指定apache2配置文件的准确位置。
第二步,生成配置文件。第一次安装时必须。会提示你输入web的域名
第三步,选择配置文件的存放目录。默认是/etc/awstats
结果:Error: Failed to open ‘/usr/share/doc/awstats/examples/wwwroot/cgi-
 
bin/awstats.model.conf’ for read.
仔细看执行过程,有Warning: AWStats standard directory on Linux OS is ‘/usr/local/awstats’.
If you want to use standard directory, you should first move all content
of AWStats distribution from current directory:
/usr/share/doc/awstats/examples
to standard directory:
/usr/local/awstats
查看安装说明把。。README.Debian。
4、无奈,只好man awstats_configure.pl。结果发现
 
$AWSTATS_ICON_PATH=’/usr/local/awstats/wwwroot/icon’;
$AWSTATS_CSS_PATH=’/usr/local/awstats/wwwroot/css’;
$AWSTATS_CLASSES_PATH=’/usr/local/awstats/wwwroot/classes’;
$AWSTATS_CGI_PATH=’/usr/local/awstats/wwwroot/cgi-bin’;
$AWSTATS_MODEL_CONFIG=’/etc/awstats/awstats.model.conf’;                # Used only when
 
configure ran on linux
$AWSTATS_DIRDATA_PATH=’/var/lib/awstats’
 
所以,可能问题在这个地方。不管了。备份一下。然后修改
icon的路径/usr/share/awstats/icon
css文件的路径/usr/share/doc/awstats/examples/css
没有找到/usr/local/awstats/wwwroot/classes对应目录。
cgi目录也没有相应的。只好定位到/usr/lib/cgi-bin
awstats.model.conf没有找到。但发现example目录下有一个awstats.model.conf.gz。解压缩,发现
awstats.model.conf就在这里;)于是仅仅修改
 
$AWSTATS_MODEL_CONFIG=’/usr/share/doc/awstats/examples/awstats.model.conf’;结果运行,不成功
 
。。
5、将awstats.model.conf复制到/etc/awstats中。然后重新运行。提示
—–> Create config file ‘/etc/awstats/awstats.computer.ouc.edu.cn.conf’
 Config file /etc/awstats/awstats.computer.ouc.edu.cn.conf created.
 
—–> Add update process inside a scheduler
Sorry, configure.pl does not support automatic add to cron yet.
You can do it manually by adding the following command to your cron:
/usr/share/doc/awstats/examples/wwwroot/cgi-bin/awstats.pl -update –
 
config=computer.ouc.edu.cn
Or if you have several config files and prefer having only one command:
/usr/share/doc/awstats/examples/tools/awstats_updateall.pl now
看来生成正常。但以前我执行过,所以。。
6、按照提示继续把。执行./awstats.pl -update -config=computer.ouc.edu.cn
提示With data in log file "/var/log/httpd/mylog.log"…
Error: Couldn’t open server log file "/var/log/httpd/mylog.log" : 没有那个文件或目录
应该是日子的问题。嘿嘿。修改/etc/awstats下的配置文件。把路径指向apache2的日子位置
7、重新执行。终于正常了
Phase 1 : First bypass old records, searching new record…
Searching new records from beginning of log file…
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)…
Jumped lines in file: 0
Parsed lines in file: 2581
 Found 0 dropped records,
 Found 4 corrupted records,
 Found 0 old records,
 Found 2577 new qualified records.
8、现在就是设置awstats的web问题了。
用web访问awstats.pl。正常显示。嘿嘿。不过似乎图片等不正常。看看路径
http://computer.ouc.edu.cn/awstatsicons/browser/msie.png。然后使用无敌find大法。
find / -name msie.png。结果/usr/share/awstats/icon/browser/msie.png
嘿嘿。把usr/share/awstats/icon所有文件复制到web目录相应位置就行了。正常。嘿嘿
 

《无冬之夜 2》最新高质截图抢鲜

《无冬之夜2》最初由BioWare一手开发,以引人入胜的情节与深刻内涵一举成为RPG游戏的经典之作。令人沉迷的角色培养路线,震撼的画面,以及一个空前绝后、开创性的多人游戏系统……而如今,雅达利、黑曜石和BioWare又再次准备出击,预期在2006年初,《无冬之夜2》将会被推向PC平台与广大玩家见面。
新特性:
1.期待已久的结局终于将在本作完成
2.全新的、功能更强大的《无冬之夜2》设置工具来创造自己的冒险旅程,和朋友们共同分享刺激,或者以DM(地下城主)的身份来直接引导朋友们在自己所设计的故事中冒险。
3.更强大的在线游戏能力
4.更强大更尖端的图像技术与更广袤详尽的大陆地图
5.基于龙与地下城3.5版规则,将拥有更多全新的法术、专长和声望系统。
6.队友将增加至3名,而队伍操作性也大大增强,可以灵活地控制各种战术,也增加了更多的人性交流。
7.能重返一些在《无冬之夜》前作里出现过的地方,还会遇见一些熟悉的老朋友哦。
 

deamon tool 4.0发布

跳票了 n个月之后,4.0版本终于发布。现在泄露的是free版本。pro版本还没有下载到,。。。
 
但是,free版本让我很不爽。里面附带了n多的广告软件。现在居然也有一个searchbar了。。
 
Image00043.jpg
 
 
ps: 更新内容
Daemon Tools版本主要更新内容:
 
– 软件彻底重写
– 支持最多4个虚拟光驱
– 只能运行在32为操作系统,不支持x64
– 为每台机器生成完全不同的随机的驱动器名(未完成)
– 驱动器生产商和版本号随机生成
– 完成新的模拟架构
– DCP (DaemonCodeProtect)令anti-DT tools的难度大大增加
– 以安全模式访问DT的程序需要经过数字签名验证
– 完全实现自动插入通知功能(可在控制面板中开关该功能)
– 不再采用微软Install,改用修改版的NullsoftInstaller
– 不再支持模拟音轨(因为w2k以后的操作系统无需此功能)
– 支持所有流行的防拷加密技术
 
总之,DT4修复了虚拟加密镜像和安装过程中的许多问题。另外下一个版本已经在开发中!
 
安装注意事项:
 
1/不包含IDE-Jammer atm ,不过该模块正在开发中。
 
2/虚拟SF等加密镜像时,仍需要禁用系统中所有IDE光驱或者禁用IDE node
 
3/集成ADWARE:DAEMON TOOLS SEARCHBAR,不过可以在安装时选择是否安装,或者在安装后在添加删除程序中卸载。