えくすとらんのブログ

ウィルススキャン

archlinuxに移って始めてのウィルススキャン

です(ただいま実行中)

















clamavではひとまず定義ファイルを更新するため/etc/clamav/freshclam.confを

編集

##
## Example config file for freshclam
## Please read the freshclam.conf(5) manual before editing this file.
##


# Comment or remove the line below.
#Example

# Path to the database directory.
# WARNING: It must match clamd.conf's directive!
# Default: hardcoded (depends on installation options)
#DatabaseDirectory /var/lib/clamav

# Path to the log file (make sure it has proper permissions)
# Default: disabled
#UpdateLogFile /var/log/freshclam.log

# Maximum size of the log file.
# Value of 0 disables the limit.
# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)
# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes).
# in bytes just don't use modifiers. If LogFileMaxSize is enabled,
# log rotation (the LogRotate option) will always be enabled.
# Default: 1M
#LogFileMaxSize 2M

# Log time with each message.
# Default: no
#LogTime yes

# Enable verbose logging.
# Default: no
#LogVerbose yes

# Use system logger (can work together with UpdateLogFile).
# Default: no
#LogSyslog yes

# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names.
# Default: LOG_LOCAL6
#LogFacility LOG_MAIL

# Enable log rotation. Always enabled when LogFileMaxSize is enabled.
# Default: no
#LogRotate yes

# This option allows you to save the process identifier of the daemon
# Default: disabled
#PidFile /var/run/freshclam.pid

# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
# Default: clamav (may depend on installation options)
#DatabaseOwner clamav

# Initialize supplementary group access (freshclam must be started by root).
# Default: no
#AllowSupplementaryGroups yes

# Use DNS to verify virus database version. Freshclam uses DNS TXT records
# to verify database and software versions. With this directive you can change
# the database verification domain.
# WARNING: Do not touch it unless you're configuring freshclam to use your
# own database verification domain.
# Default: current.cvd.clamav.net
#DNSDatabaseInfo current.cvd.clamav.net

# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
# You can use db.XY.ipv6.clamav.net for IPv6 connections.
DatabaseMirror db.jp.clamav.net

# database.clamav.net is a round-robin record which points to our most
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
# not working. DO NOT TOUCH the following line unless you know what you
# are doing.
DatabaseMirror database.clamav.net

# How many attempts to make before giving up.
# Default: 3 (per mirror)
#MaxAttempts 5

# With this option you can control scripted updates. It's highly recommended
# to keep it enabled.
# Default: yes
#ScriptedUpdates yes

# By default freshclam will keep the local databases (.cld) uncompressed to
# make their handling faster. With this option you can enable the compression;
# the change will take effect with the next database update.
# Default: no
#CompressLocalDatabase no

# With this option you can provide custom sources (http:// or file://) for
# database files. This option can be used multiple times.
# Default: no custom URLs
#DatabaseCustomURL http://myserver.com/mysigs.ndb
#DatabaseCustomURL file:///mnt/nfs/local.hdb

# This option allows you to easily point freshclam to private mirrors.
# If PrivateMirror is set, freshclam does not attempt to use DNS
# to determine whether its databases are out-of-date, instead it will
# use the If-Modified-Since request or directly check the headers of the
# remote database files. For each database, freshclam first attempts
# to download the CLD file. If that fails, it tries to download the
# CVD file. This option overrides DatabaseMirror, DNSDatabaseInfo
# and ScriptedUpdates. It can be used multiple times to provide
# fall-back mirrors.
# Default: disabled
#PrivateMirror mirror1.mynetwork.com
#PrivateMirror mirror2.mynetwork.com

# Number of database checks per day.
# Default: 12 (every two hours)
#Checks 24

# Proxy settings
# Default: disabled
#HTTPProxyServer myproxy.com
#HTTPProxyPort 1234
#HTTPProxyUsername myusername
#HTTPProxyPassword mypass

# If your servers are behind a firewall/proxy which applies User-Agent
# filtering you can use this option to force the use of a different
# User-Agent header.
# Default: clamav/version_number
#HTTPUserAgent SomeUserAgentIdString

# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
# multi-homed systems.
# Default: Use OS'es default outgoing IP address.
#LocalIPAddress aaa.bbb.ccc.ddd

# Send the RELOAD command to clamd.
# Default: no
#NotifyClamd /path/to/clamd.conf

# Run command after successful database update.
# Default: disabled
#OnUpdateExecute command

# Run command when database update process fails.
# Default: disabled
#OnErrorExecute command

# Run command when freshclam reports outdated version.
# In the command string %v will be replaced by the new version number.
# Default: disabled
#OnOutdatedExecute command

# Don't fork into background.
# Default: no
#Foreground yes

# Enable debug messages in libclamav.
# Default: no
#Debug yes

# Timeout in seconds when connecting to database server.
# Default: 30
#ConnectTimeout 60

# Timeout in seconds when reading from database server.
# Default: 30
#ReceiveTimeout 60

# With this option enabled, freshclam will attempt to load new
# databases into memory to make sure they are properly handled
# by libclamav before replacing the old ones.
# Default: yes
#TestDatabases yes

# When enabled freshclam will submit statistics to the ClamAV Project about
# the latest virus detections in your environment. The ClamAV maintainers
# will then use this data to determine what types of malware are the most
# detected in the field and in what geographic area they are.
# Freshclam will connect to clamd in order to get recent statistics.
# Default: no
#SubmitDetectionStats /path/to/clamd.conf

# Country of origin of malware/detection statistics (for statistical
# purposes only). The statistics collector at ClamAV.net will look up
# your IP address to determine the geographical origin of the malware
# reported by your installation. If this installation is mainly used to
# scan data which comes from a different location, please enable this
# option and enter a two-letter code (see http://www.iana.org/domains/root/db/)
# of the country of origin.
# Default: disabled
#DetectionStatsCountry country-code

# This option enables support for our "Personal Statistics" service.
# When this option is enabled, the information on malware detected by
# your clamd installation is made available to you through our website.
# To get your HostID, log on http://www.stats.clamav.net and add a new
# host to your host list. Once you have the HostID, uncomment this option
# and paste the HostID here. As soon as your freshclam starts submitting
# information to our stats collecting service, you will be able to view
# the statistics of this clamd installation by logging into
# http://www.stats.clamav.net with the same credentials you used to
# generate the HostID. For more information refer to:
# http://www.clamav.net/documentation.html#cctts
# This feature requires SubmitDetectionStats to be enabled.
# Default: disabled
#DetectionStatsHostID unique-id

# This option enables support for Google Safe Browsing. When activated for
# the first time, freshclam will download a new database file (safebrowsing.cvd)
# which will be automatically loaded by clamd and clamscan during the next
# reload, provided that the heuristic phishing detection is turned on. This
# database includes information about websites that may be phishing sites or
# possible sources of malware. When using this option, it's mandatory to run
# freshclam at least every 30 minutes.
# Freshclam uses the ClamAV's mirror infrastructure to distribute the
# database and its updates but all the contents are provided under Google's
# terms of use. See http://www.google.com/transparencyreport/safebrowsing
# and http://www.clamav.net/documentation.html#safebrowsing
# for more information.
# Default: disabled
#SafeBrowsing yes

# This option enables downloading of bytecode.cvd, which includes additional
# detection mechanisms and improvements to the ClamAV engine.
# Default: enabled
#Bytecode yes

# Download an additional 3rd party signature database distributed through
# the ClamAV mirrors.
# This option can be used multiple times.
#ExtraDatabase dbname1
#ExtraDatabase dbname2

一応このファイルではデフォルトのファイルを

Example→#Example

#DatabaseMirror db.xy.clamav.net→DatabaseMirror db.jp.clamav.net

に変えただけです

他のところはあまり見ていませんが
また気が向いたら見てみようかなと思っています

定義ファイルの更新もウイルスチェックも気が向いたときにしますので
他の設定はまぁいいかぁという感じです

初回のチェックですのでテスト用ウイルスが
引っかかるかとおもっていますがどうでしょうか?^^
ハードディスク忙しそうです

追記


----------- SCAN SUMMARY -----------
Known viruses: 4298764
Engine version: 0.99.1
Scanned directories: 17825
Scanned files: 155147
Infected files: 0
Total errors: 16707
Data scanned: 10598.54 MB
Data read: 7318.20 MB (ratio 1.45:1)
Time: 1331.405 sec (22 m 11 s)

でした^^

あれ...ひっかかってないなぁ
テスト用のコマンドがあるのかな?




裏庭にズッキーニを植えてみました

日当たりのあまりよくない裏庭に即席で

畑をつくりズッキーニを植えてみました






















まずは真砂土しか出てこない土の部分を平らに削り・・・

周りはそのへんで出てきた石で囲んでみました

まぁこれで即席プランターの出来上がりです

買ってきた堆肥と積んでおいた土を混ぜ合わせ

遅効性の肥料と即効性の化学肥料で土をつくりました

もちろん積んであった土というのは真砂土ベースですので

あまり作物を育てるのには適していませんが

野菜屑などを混ぜ込んで堆肥化を少ししていますので

これですこしでもコストを下げたいとおもっています

これまでの経緯からいって積んでおいた土だけを使って

作物は作れないようですのでやはり科学肥料や元肥は

必須条件のようです

まぁそんなことをやってもできないときにはできません^^;






















”うね”を作ってホームセンターから買ってきた苗をいれてみました

美味しいズッキーニができるとうれしいです







被災された皆さまに、心より. お見舞いを申し上げます。

はりぎりもう少しか?

タラノメなどの芽吹きも最盛期のようですが....



山から採ってきたはりぎりはもう少しという所でしょうか?

来週くらいには食べられるかも

この木はここに植えてから2年くらいたっているでしょうか

ちょっと調べてみないとなんともいえませんが

山の中でこの木を見つけたときは本当におどろきました

ちょうどウコギ科の植物にはまりはじめたころで

コシアブラやタラノメといった春の珍味の情報をwebで調べていた頃でした

この木があったのはなんと竹やぶの中で

一本だけ弓のような木がありトゲがありましたので

もしやとおもい家に帰って特徴を調べたところ

どうやらハリギリらしいという結論にたっしました


薄暗い竹やぶの中では枯れてしまうであろうということもあり

(芽を食べたかっただけですが....^^;)

日当たりのよいところまでもってきました

一枚目の写真の芽の部分の毒々しさが特徴的ですね

針もタラノメなどと比べると鋭利な感じがします

どんな味がするんでしょうかねぇ



またまたOSを変えてみました

antargosからarchlinuxへと戻りました

まぁ同じといえばほぼ同じなんですが....

今回インストール自体は早かったのですが

日本語環境の設定やら

フォルダ名の変更やらで少々てこづってしまいました


















compizいれてみました

あとアイコンやらテーマやらかえています^^

えくすとらんの環境では最初うまく動かなかったのですが

~/.config/lxsession/LXDE/desktop.conf



window_manager=compiz
windows_manager/command=compiz --replace ccp
windows_manager/session=compiz

を設定
スタートメニューからもデスクトップセッションの設定
高度なオプションに

compiz --replace ccpを追加しました
(こちら変えるとdesktop.confも上書きされるのかも...)

えーと...あとなにかしなくちゃならないことはあるかなぁ
こんなことを考えているとすぐに時間がたってしまいます

ご飯食べよ


えくすとらんのブログで広告収入を.....

なんて考えていたのですが.......

結果........駄目ですハードルが高いらしい

youtubeで広告収入を上げているので
次の収入からは独自ドメインとってブログを作ってください
ということらしいです
google社長決済で+1がたまったら広告表示できるようにしてくださいませ(なんてね)

一生懸命ブログを書いてやっとこのブログでアドセンス登録ができるように
なったのですが....
youtubeでアドセンスのアカウントをとっていましたので
Bloggerでの広告表示はできないようです(独自ドメインをとってブログを登録すれば
表示できるようです)

ブログにアドセンス広告を....
そんなことをおもいながら

限りなく無料に近くそして自由に構築できる環境をつくるとすると...

1サーバーをつくっちゃえ

 まぁ一番自由度が高い方法かとおもいますが....なんとえくすとらん家の
 プロバイダーocnです><固定アドレスにすると....うわーコワイコワイ
 けれどそもそもサーバーつくれないでしょ

 プロバイダ変更はもちろん選択肢に入っていますが...なんだか腰が重い
 まあこの方法は興味があるので検討していきたいですが..

2レンタルサーバー借りる?
 セキュリティーの面やコストを考えるとこの辺がやはりベストチョイス
 というところでしょうか?
 けれどそもそもブログ設置できないでしょう

3youtubeの広告収入をやめて新しくBloggerでアドセンスアカウントを取り直す
 これならいいかも...いま考えてることはこれ(出来るかどうかはわかりません)

まぁ...趣味で書いているブログですので
収入があろうがなかろうが書くのですが......
ちょっとだけモチベーション維持のポーションになってくれると
うれしいなぁなんておもったりしたりします

ということで...

落胆の色が隠せないえくすとらんがBloggerからお送りしました
今日も笑顔でトラブル無しでがんばりましょう^^ノ

 
 







linux chromeの起動オプションは?No2

おはようございます

今朝は使っているchrome-devのアップデートがありました

stable(安定版)からunstableに変えて使っていますが

















写真のように出ていたため/.configに

chrome-dev-flags.confを作成し起動しました

最初起動できなかったのですが調べた所どうやらstableの

flags.confと衝突していたようでstableのflagsを削除しました

例のごとく--incognitoをつけて起動^^

シークレットモードで起動できました

えくすとらんはただのパソコン好きで英語もあまり読めませんので間違った情報の
可能性もありますので実行は

自己責任にておねがいしますm(_ _)m

広告貼ったよー

ようやくBloggerのほうでアドセンスが使えるように

なりそうです


まだ設定して48時間たっていないのでどんな広告が貼られるのか

楽しみです^^

それはさておき・・・・

なぜだかchromeの動きが悪く引っかかるので・・・・



stableからunstableに変えてみた所.....

スムーズになりました

stableのときはなぜだかCPUの使用率が高かったような気がします


















いったいなにが悪かったのでしょう?

やっぱり設定の仕方が悪かったのかなぁ

ただ設定とかはアカウントで引き継がれていると思うのですが....

どうなっているのでしょう

まぁえくすとらんは専門家じゃありませんので

早くなった.....よかったよかったで終わりです

(chrome://version/ をみてみました)設定引き継がれてはないようですので
やはり設定が悪かったのかもしれませんね^^;

unstableをつかうのでしばらくのあいだ

使用統計データや障害レポートを自動的に Google に送信する

にしときます

開発者のかたの少しでも役に立てればいいのにな^^

 久しぶりの更新です 備忘録 使っているarchlinuxにnvidiaのドライバを入れたところドライバがあっていなかったのかxが起動せずこれをアンインストールしたがその後xf86-video-nouveauが入っているにもかかわらずxが起動しなくなったのでarchwikiにて調...