FastDomain(BlueHost)主机的几个小Tips

| No Comments | No TrackBacks

1)备份目录:

[yimutian@fast22 /home]
$ ls
total 20
drwxr-xr-x  22 root     root   4096 Nov 21 23:13 yimutian.weekly/
drwxr-xr-x  21 root     root   4096 Dec 13 03:12 yimutian.daily/
drwx--x---  22 yimutian nobody 4096 Dec 14 08:25 yimutian/

2)日志分析使用的临时目录:
[yimutian@fast22 /home/yimutian/tmp]
$ ls
total 40
drwxr-xr-x   2 yimutian yimutian 4096 May 27  2008 analog/
drwxr-xr-x   3 yimutian yimutian 4096 May 28  2008 pear/
drwxr-xr-x   3 yimutian yimutian 4096 Dec  3 02:43 webalizer/
drwxr-xr-x   2 yimutian yimutian 4096 Dec 14 04:03 webalizerftp/
drwxr-xr-x   2 yimutian yimutian 4096 Dec 14 07:13 mysql_slow_queries/
drwxr-xr-x   9 yimutian yimutian 4096 Dec 14 07:34 ./
-rw-r--r--   1 yimutian yimutian  122 Dec 14 08:11 stats.conf
drwxr-xr-x   2 yimutian yimutian 4096 Dec 14 08:11 cpbandwidth/
drwxr-xr-x   2 yimutian yimutian 4096 Dec 14 08:25 awstats/
drwx--x---  22 yimutian nobody   4096 Dec 14 08:25 ../

3)apache log目录
cd /var/log/domlogs/yimutian/

4)Awstats自定义配置
在~/tmp/awstats目录中有一个custom.txt文件,添加下面的内容:
ShowFlagLinks="cn en"
再次刷新Awstats时会出现"chinese"链接,点这个链接会自动更新为简体中文。
Awstats默认是cron的排程更新,多数情况下我们需要查看即时信息,可以在custom.txt中添加以下内容:
HostAliases="localhost"
AllowToUpdateStatsFromBrowser=1
再次刷新Awstats时会出现"Update now"链接,点这个链接会自动更新。

5)被河蟹之后怎么办?

先找个机器可以ssh上来,ifconfig看看都有哪些IP地址,用其它IP地址ssh上来吧~~嘿嘿,爽。其实这也说明了Dedicated IP 的主机其实和Shared IP Hosting的待遇是一样的嘛。搞的都没升级的冲动了。

 

 

--EOF--

No TrackBacks

TrackBack URL: http://www.guduo.net/cgi-bin/mt/mt-tb.cgi/135

Leave a comment

Pages

May 2016

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by 谷多 published on December 15, 2008 12:20 AM.

整理目录,清理文件 was the previous entry in this blog.

香港银行和证卷公司佣金对比计算 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.