Copyright © 2013 XXXX Inc. 保留一切權利。
Copyright © 2013 XXXX Inc. All rights reserved.
2013年7月14日 星期日
2013年2月24日 星期日
HiBox MX DNS 設定備忘
新版
mail.domain.com.tw. IN A 210.71.195.10
domain.com.tw. MX 5 mailfilter.hibox.biz.
domain.com.tw. IN TXT "v=spf1 include:hibox.hinet.net ~all"
舊版
| 名稱 | 紀錄類型 | 優先權 | POINT |
| A | 202.39.131.130 | ||
| mailfilter | A | 210.71.187.212 | |
| webmail | CNAME | mail. | |
| @ | MX | 10 | mailfilter. |
| @ | TXT | v=spf1 include:hibox.hinet.net |
2013年1月29日 星期二
GOOGLE APPS DNS設定備忘
2023 之後
| 名稱 | 紀錄類型 | 優先權 | POINT |
| @ | MX | 1 | smtp.google.com |
| CNAME | ghs.googlehosted.com | ||
| @ | TXT | v=spf1 include:_spf.google.com ~all |
2023 之前
| 名稱 | 紀錄類型 | 優先權 | POINT |
| @ | MX | 1 | ASPMX.L.GOOGLE.COM. |
| @ | MX | 5 | ALT1.ASPMX.L.GOOGLE.COM. |
| @ | MX | 5 | ALT2.ASPMX.L.GOOGLE.COM. |
| @ | MX | 10 | ALT3.ASPMX.L.GOOGLE.COM. |
| @ | MX | 10 | ALT4.ASPMX.L.GOOGLE.COM. |
| CNAME | ghs.googlehosted.com | ||
| @ | TXT | v=spf1 include:_spf.google.com ~all |
2012年10月13日 星期六
2012年10月11日 星期四
HTML 常用的META
語系
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-TW" />
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Language" content="ja" />
適用於FB分享
<meta property="og:site_name" content="/>
<meta property="og:url" content="">
<meta property="og:title" content="">
<meta property="og:description" content="">
https://developers.facebook.com/docs/opengraphprotocol/
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-TW" />
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Language" content="ja" />
適用於FB分享
<meta property="og:site_name" content="/>
<meta property="og:url" content="">
<meta property="og:title" content="">
<meta property="og:description" content="">
https://developers.facebook.com/docs/opengraphprotocol/
2012年10月6日 星期六
CentOS 6 安裝 MRTG
#安裝基本套件
yum -y install perl gd libpng zlib mrtg httpd net-snmp net-snmp-utils
#設定與啟動 SNMP
vim /etc/snmp/snmpd.conf
#增加下列兩行
view systemview included .1.3.6.1.2.1.2.2.1.10
view systemview included .1.3.6.1.2.1.2.2.1.16
啟動 SNMP
$service snmpd restart
設定開機啟動
#chkconfig snmpd on
#設定 MRTG
vi /etc/mrtg/mrtg.cfg
#增加以下數行
Language: big5
Target[eth0]: 2:public@127.0.0.1
MaxBytes[eth0]: 1250000
Title[eth0]: Traffic Analysis
PageTop[eth0]: <H1>127.0.0.1 eth0</H1>
#產生基本網頁
#執行 3 次下面指令, 產生基本網頁
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
#產生 MRTG 首頁
indexmaker /etc/mrtg/mrtg.cfg > /var/www/mrtg/index.html
#設定排程
crontab -e
*/5 * * * * root env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
#開放其他機器查詢MRTG&調整編碼
vi /etc/httpd/conf.d/mrtg.conf
#原參數
Alias /mrtg /var/www/mrtg
<Location /mrtg>
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
# Allow from .example.com
</Location>
#增加允許瀏覽的主機或網段
Alias /mrtg /var/www/mrtg
<Location /mrtg>
# Order deny,allow
# Deny from all
AddDefaultCharset big5
Allow from 192.168.0.0/255.255.255.0
Allow from 127.0.0.1
Allow from ::1
# Allow from .example.com
</Location>
--
官方網頁
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html
yum -y install perl gd libpng zlib mrtg httpd net-snmp net-snmp-utils
#設定與啟動 SNMP
vim /etc/snmp/snmpd.conf
#增加下列兩行
view systemview included .1.3.6.1.2.1.2.2.1.10
view systemview included .1.3.6.1.2.1.2.2.1.16
啟動 SNMP
$service snmpd restart
設定開機啟動
#chkconfig snmpd on
#設定 MRTG
vi /etc/mrtg/mrtg.cfg
#增加以下數行
Language: big5
Target[eth0]: 2:public@127.0.0.1
MaxBytes[eth0]: 1250000
Title[eth0]: Traffic Analysis
PageTop[eth0]: <H1>127.0.0.1 eth0</H1>
#產生基本網頁
#執行 3 次下面指令, 產生基本網頁
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
#產生 MRTG 首頁
indexmaker /etc/mrtg/mrtg.cfg > /var/www/mrtg/index.html
#設定排程
crontab -e
*/5 * * * * root env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
#開放其他機器查詢MRTG&調整編碼
vi /etc/httpd/conf.d/mrtg.conf
#原參數
Alias /mrtg /var/www/mrtg
<Location /mrtg>
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
# Allow from .example.com
</Location>
#增加允許瀏覽的主機或網段
Alias /mrtg /var/www/mrtg
<Location /mrtg>
# Order deny,allow
# Deny from all
AddDefaultCharset big5
Allow from 192.168.0.0/255.255.255.0
Allow from 127.0.0.1
Allow from ::1
# Allow from .example.com
</Location>
--
官方網頁
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html
訂閱:
文章 (Atom)