Total739311 Week302 Yesterday161 Today141 1count/day on each IP Since 2006-06-06

RaspberryPi

«Prev || 1 || Next»

30 July 2013

Raspberry Pi - 作業記録

dovecot apop と cram-md5 の 設定
 passdb に {CARM-MD5} で登録すると apopができない
 {PLAIN} で 登録してあると apop でも cram-md5 どちらでも認証できた

07/30/13 15:06:56 - noboru - No comments RaspberryPi , Mail

29 July 2013

Raspberry Pi - 作業記録

bind を入れる
# apt-get install bind9
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bind9utils geoip-database libbind9-80 libdns88 libgeoip1 libisc84 libisccc80 libisccfg82 liblwres80
Suggested packages:
dnsutils bind9-doc resolvconf ufw geoip-bin
The following NEW packages will be installed:
bind9 bind9utils geoip-database libbind9-80 libdns88 libgeoip1 libisc84 libisccc80 libisccfg82 liblwres80
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,126 kB of archives.
After this operation, 8,613 kB of additional disk space will be used.
Do you want to continue [Y/n]? y

Setting up geoip-database (20130213-1) ...
Setting up libgeoip1 (1.4.8+dfsg-3) ...
Setting up libisc84 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libdns88 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libisccc80 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libisccfg82 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libbind9-80 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up liblwres80 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up bind9utils (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up bind9 (1:9.8.4.dfsg.P1-6+nmu2) ...
Adding group `bind' (GID 116) ...
Done.
Adding system user `bind' (UID 111) ...
Adding new user `bind' (UID 111) with group `bind' ...
Not creating home directory `/var/cache/bind'.
wrote key file "/etc/bind/rndc.key"
#
[ ok ] Starting domain name service...: bind9.


# apt-get install dnsutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bind9-host
Suggested packages:
rblcheck
The following NEW packages will be installed:
bind9-host dnsutils
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 231 kB of archives.
After this operation, 508 kB of additional disk space will be used.
Do you want to continue [Y/n]? y

Setting up bind9-host (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up dnsutils (1:9.8.4.dfsg.P1-6+nmu2) ...
#

07/29/13 09:27:42 - noboru - No comments RaspberryPi , Linux , Network

25 July 2013

Raspberry Pi - 作業記録

postfix smtp-authの設定を行う
パッケージの追加
root@raspberrypi:~# apt-get install sasl2-bin

/etc/postfix/main.cf の修正
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous,noplaintext
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination

sasl パスワードの登録
saslpasswd2 -c -u myhostname username

sasl パスワードDBをpostfixから参照できるようにする
 chgrp postfix /etc/sasldb2
 chmod 640 /etc/sasldb2
 ln /etc/sasldb2 /var/spool/postfix/etc/sasldb2

参考ページ
debian postfix dovecot sasl - わすれないうちにメモしよう

07/25/13 14:33:06 - noboru - No comments RaspberryPi , Linux , Mail

24 July 2013

Raspberry Pi - 作業記録

ssh 公開鍵の登録

sshd 設定
 root ログイン拒否
 パスワード ログイン拒否

vsftpd の導入
 apt-get install vsftpd

dovecont の導入
 dovecot-core
 dovecot-pop3d

 dovecot.conf
   #listen = *, ::
   listen = *

 conf.d/10-mail.conf
   #mail_access_groups =
   mail_access_groups = mail

パスワード生成
doveadm pw -s CRAM-MD5

postfix 設定変更
/etc/postfix/main.cf
#inet_protocols = all
inet_protocols = ipv4

07/24/13 16:09:00 - noboru - No comments RaspberryPi , Linux , Mail

23 July 2013

Raspberry Pi - 作業記録

Raspbianを16GBSDXCカードに入れた

以下のパッケージを入れた
cvs 1.11.17 ソースをダウンロードしてインストールした
          データは、Kuro-boxからコピーした
          チェックアウトできた
postfix     apt-get で入れた
bsd-mailx   apt-get で入れた

07/23/13 21:52:46 - noboru - No comments RaspberryPi , Linux

03 July 2013

Raspberry Pi

20130704-IMAG0444_2.jpg

20130704-IMAG0435_2.jpg
Raspberry Pi に、Raspbianを入れ、GUIディスクトップ画面が表示された。
最初はSDカードがFAT32だったので起動時にエラーが出た。
パーテションを切り直しFATでフォーマットし直したらエラーは出なくなった。

07/03/13 20:08:00 - noboru - No comments RaspberryPi , 組込 , Linux

02 July 2013

日経Linux「Raspberry Pi」特別セット

20130702-IMAG0412.jpg

20130702-IMAG0413.jpg
6月13日に頼んでおいた特別セットが今日届いた。
日経Linux「Raspberry Pi」特別セット販売

07/02/13 17:31:00 - noboru - No comments 書籍 , Linux , RaspberryPi
«Prev || 1 || Next»