Ms7 Search
Google 搜尋 翻譯
calendar
« 十一月 2024 »
        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  
近期文章
文章分類
網站連結
Syndicate

« | »

wwwcount 2.6 的安裝

2008-12-08 @ 19:46 in Linux

因為想要一個計數器,所以在網路上找到了 wwwcount2.6 ,可是在安裝時一直有問題,後來在官網上的說明中發現 Berkeyley db 1x ,2.x or 3.x support,而 Fedora8 用的是 db 4x, 所以在 ./build --without-database 加上不含入database 就可以了

參考 wwwcount2.6 網站

2008/12/10 新增使用

在鳥哥網站看到可以顯示今日,昨日,本月,上月的累計人數,想說是如何做到的,看了一下網站原始程式,昨日及上月的累計人數是固定秀圖,所以想說只要能將今日的累計轉存成圖檔就好了,可是查了wwwcount 的使用好像沒有這種功能,所以只好想別的方法,最後測出用 lynx 存檔的方式做出,方法如下:

  1. 將 count.cfg 內的
    auto_file_creation=Yes (讓資料檔可以自動產生)
    strict_mode=No (若設 Yes 無法產生圖檔)
  2. 在 cron.daily 建一個 count-today.sh 的執行程序,內容如下(產生昨日圖檔)
    #!/bin/bash
    /usr/bin/lynx --dump "http://localhost/cgi-bin/Count.cgi?ft=0&df=today.dat" > /var/www/html/count/yesterday.gif
    rm -f /usr/local/Counter/data/today.dat
  3. 在 cron.month 建一個 count-month.sh 的執行程序,內容如下(產生上月圖檔)
    #!/bin/bash
    /usr/bin/lynx --dump "http://localhost/cgi-bin/Count.cgi?ft=0&df=month.dat" > /var/www/html/count/month.gif
    rm -f /usr/local/Counter/data/month.dat
  4. 範例 count.htm

迴響

wwwcount 2.6 的安裝 | 豬窩

Thanks a lot for being the coach on this matter. My spouse and i enjoyed your own article very much
and most of all enjoyed the way you handled the issues I regarded as being controversial.
You're always incredibly kind towards readers like me and
help me in my living. Thank you.

作者 soi keo @ 04:58, 2018-10-21

wwwcount 2.6 的安裝 | 豬窩

Don't worry about stopping and starting, just perform a regular masturbation. Same-sex couples also have the same Centrelink benefits as de facto and married couples.

For centuries, we have had to be able to transform the physical aspect in our bodies with aesthetic surgery.

作者 voyeur @ 12:24, 2018-10-21

wwwcount 2.6 的安裝 | 豬窩

Online dating is most likely the perfect solution in the event you want to meet singles in your area.
The online dating arena is growing immensely as increasing numbers of individuals are depending upon internet to meet
new people, find their someone special, friendship and much more activities.
Meeting online and dating is tricky but being honest causes
it to be much easier.

作者 fitourindonesia.com @ 03:11, 2019-03-02

wwwcount 2.6 的安裝 | 豬窩

If you attempt to make use of those secrets while using
the online dating services opportunities then you've got more chances to obtain your date partner.
Now, nothing is to think about because internet world and online dating services
have eradicated this trouble. Meeting web dating is tricky when you are honest can make it much easier.

作者 Fitourindonesia.com @ 17:57, 2019-03-11

wwwcount 2.6 的安裝 | 豬窩

After all, it is not a hardship on visitors to recognise what you are taking a look at for the Internet
by simply intercepting the signals. Since then, her singles 'Hot
n Cold', 'California Girls', 'Teenage Dream', 'Firework' and 'E.
Fifty Dead Men Walking: This film is based around the novel with
the same name that reflects the real story associated with an undercover agent and just how he successfully
got into the IRA.

作者 Grace @ 04:03, 2019-03-12
發表迴響
 authimage