2011年7月15日金曜日

ubuntu 64bitsにavastをインストールしてみた。

デビアンモジュールをダウンロードしてインストールした。
http://www.avast.com/linux-home-edition#tab4

# dpkg --force-architecture -i avast4workstation_1.3.0-2_i386.deb

メニューに登録
# cd /usr/lib/avast4workstation/share/avast/desktop/
# ./install-desktop-entries.sh install

ライセンスキーをメールで受け取って完了。

2011年7月9日土曜日

Wiresharkでエラーがでた。

rootで起動するとエラーがでる。

Lua: Error during loading:
 [string "/usr/share/wireshark/init.lua"]:45: dofile has been disabled

45行目をコメントにしたら、エラーが止まった。

--  dofile = function() error("dofile has been disabled") end
    loadfile = function() error("loadfile has been disabled") end
    loadlib = function() error("loadlib has been disabled") end
    require = function() error("require has been disabled") end

2011年7月7日木曜日

プロクシ自動認証の為squidを設定した。

acl SSL_ports port 9418         # git           for git protocol

# add start
acl mynetwork src 129.1.xx.0/255.255.255.0
http_access allow mynetwork
# add end


# add start
shutdown_lifetime 0 seconds
http_port 3128 transparent
cache_peer 192.168.xxx.xxxparent 8080 3130 proxy-only no-query default login=userid:password
never_direct allow all
# add end

シャットダウン時の後処理 (shutdown)

# vi /etc/systemd/system/drop.service [Unit] Description= stop httpgwd DefaultDependencies=no Before=shutdown.target RefuseManualStart=true ...