<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6847315819283936863</id><updated>2024-11-09T00:35:26.728+09:00</updated><title type='text'>Drive my dreams</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>112</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-7118511657902779726</id><published>2013-01-29T18:51:00.002+09:00</published><updated>2013-01-29T18:51:20.860+09:00</updated><title type='text'>apacheのバーチャルホストとWordPressのマルチサイトを使う</title><content type='html'>apacheのバーチャルホストとWordPressのマルチサイトを利用する場合は、VirtualHostの一番先頭にWordPressのVirtualHostを定義すること。&lt;div&gt;
未定義のホスト名の場合、先頭の定義が使用されるため。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/7118511657902779726/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2013/01/apachewordpress.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/7118511657902779726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/7118511657902779726'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2013/01/apachewordpress.html' title='apacheのバーチャルホストとWordPressのマルチサイトを使う'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-8197340490382471768</id><published>2012-12-29T01:00:00.001+09:00</published><updated>2012-12-29T01:02:16.261+09:00</updated><title type='text'>httpd.conf : Apache2+mod_fastcgi+php-fpm</title><content type='html'>Apache + mod_fastcgi + php-fpm

Server version: Apache/2.2.15 (Unix)

&lt;pre class=&quot;prettyprint&quot;&gt;
ServerTokens Prod

KeepAlive On

&amp;lt;IfModule prefork.c&amp;gt;
StartServers       8
MinSpareServers    5
MaxSpareServers   20
ServerLimit      256
MaxClients       256
MaxRequestsPerChild  4000
&amp;lt;/IfModule&amp;gt;

LoadModule authz_host_module modules/mod_authz_host.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so

ServerAdmin root@localhost
ServerName www.luiukko.jp:80

&amp;lt;Directory /&amp;gt;
    Options FollowSymLinks
    AllowOverride None
&amp;lt;/Directory&amp;gt;

&amp;lt;Directory &quot;/var/www/html&quot;&amp;gt;
    Options -Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
&amp;lt;/Directory&amp;gt;

ServerSignature Off
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/8197340490382471768/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/apache2-on-sl6.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/8197340490382471768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/8197340490382471768'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/apache2-on-sl6.html' title='httpd.conf : Apache2+mod_fastcgi+php-fpm'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-6038923119022765379</id><published>2012-12-28T23:34:00.000+09:00</published><updated>2012-12-29T00:19:12.155+09:00</updated><title type='text'>SL6+mysql+php+apache+mod_fastcgi+php-fpm</title><content type='html'>WordPressをインストールするために、必要なモジュールをインストールしていきます。

&lt;h2&gt;mysql&lt;/h2&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
yum install mysql-server mysql
chkconfig mysqld on
&lt;/pre&gt;

次に/etc/my.cnfを編集します。ファイルの内容は、&lt;a href=&quot;http://drivemydreams.blogspot.jp/2012/12/vps-2gbmycnf.html&quot;&gt;VPS 2GB用のmy.cnf&lt;/a&gt;を参考にしてください。

&lt;pre class=&quot;prettyprint&quot;&gt;
service mysqld start
/usr/bin/mysql_secure_installation
&lt;/pre&gt;

&lt;h2&gt;PHP 5.3 + php-fpm&lt;/h2&gt;
PHP 5.3をインストールします。
&lt;pre class=&quot;prettyprint&quot;&gt;
yum install php54 php54-common php54-mysql php54-mbstring php54-gd php54-xml php54-fpm
&lt;/pre&gt;
/etc/php.iniを編集します。内容は、&lt;a href=&quot;http://drivemydreams.blogspot.jp/2012/12/vps-2gbphpini.html&quot;&gt;VPS 2GB用のphp.ini&lt;/a&gt;を参考にしてください。

mod_fastcgiをインストールします。
&lt;pre class=&quot;prettyprint&quot;&gt;
yum install mod_fastcgi
&lt;/pre&gt;

mod_fastcgiを有効にします。
/etc/httpd/conf.d/fastcgi.conf
&lt;pre class=&quot;prettyprint&quot;&gt;
User apache
Group apache

LoadModule fastcgi_module modules/mod_fastcgi.so

FastCgiExternalServer /var/www/fcgi-bin/php-fpm -socket /var/run/php-fpm.sock
AddHandler php-fastcgi .php
ScriptAlias /fcgi-bin/ /var/www/fcgi-bin/
Action php-fastcgi /fcgi-bin/php-fpm
AddType application/x-httpd-php .php
DirectoryIndex index.php
&lt;/pre&gt;

php.confを無効にする。
&lt;pre class=&quot;prettyprint&quot;&gt;
$ mv php.conf php.conf.bak
&lt;/pre&gt;

php-fpmをUnix Socketでリッスンするように設定します。
&lt;pre class=&quot;prettyprint&quot;&gt;
listen = /var/run/php-fpm.sock
listen.owner = apache
listen.group = apache
listen.mode = 0666
&lt;/pre&gt;

apacheの設定で、ExecCGIを有効にする。
/etc/httpd/conf/httpd.conf
&lt;pre class=&quot;prettyprint&quot;&gt;
&lt;Directory /xxx&gt;
    Options +ExecCGI
&lt;/Directory&gt;
&lt;/pre&gt;

サービスをリスタートする。
&lt;pre class=&quot;prettyprint&quot;&gt;
# service php-fpm restart
# service httpd restart
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/6038923119022765379/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/sl6mysqlphpapachemodfastcgiphp.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/6038923119022765379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/6038923119022765379'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/sl6mysqlphpapachemodfastcgiphp.html' title='SL6+mysql+php+apache+mod_fastcgi+php-fpm'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-4673083077249187625</id><published>2012-12-28T23:27:00.000+09:00</published><updated>2012-12-28T23:27:40.782+09:00</updated><title type='text'>Permission denied: FastCGI: failed to connect to server &quot;/var/www/fcgi-bin/php-fpm&quot;: connect() failed</title><content type='html'>原因は、SELinuxであることまでは分かりましたが、有効にしたまま動作するようにする方法は分かりません。
しばらくは、SELinuxを無効にしておきます。
&lt;pre class=&quot;prettyprint&quot;&gt;
# getenforce
Enforcing
# setenforce 0
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/4673083077249187625/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/permission-denied-fastcgi-failed-to.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/4673083077249187625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/4673083077249187625'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/permission-denied-fastcgi-failed-to.html' title='Permission denied: FastCGI: failed to connect to server &quot;/var/www/fcgi-bin/php-fpm&quot;: connect() failed'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-3294722127207723557</id><published>2012-12-24T19:59:00.001+09:00</published><updated>2012-12-24T19:59:15.368+09:00</updated><title type='text'>VPS 2GB用のphp.ini</title><content type='html'>&lt;a href=&quot;http://ck.jp.ap.valuecommerce.com/servlet/referral?sid=2971224&amp;pid=881593050&quot;&gt;お名前.com VPS&lt;/a&gt;の2GBプラン用のphp.iniファイルです。

&lt;pre class=&quot;prettyprint&quot;&gt;
post_max_size = 15M
upload_max_filesize = 15M

allow_url_fopen = On

[Date]
; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
date.timezone = &quot;Asia/Tokyo&quot;
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/3294722127207723557/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/vps-2gbphpini.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/3294722127207723557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/3294722127207723557'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/vps-2gbphpini.html' title='VPS 2GB用のphp.ini'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-7527494497508957291</id><published>2012-12-24T19:33:00.001+09:00</published><updated>2012-12-24T19:54:21.560+09:00</updated><title type='text'>VPS 2GB用のmy.cnf</title><content type='html'>&lt;a href=&quot;http://ck.jp.ap.valuecommerce.com/servlet/referral?sid=2971224&amp;pid=881593050&quot;&gt;お名前.com VPS&lt;/a&gt;の2GBプラン用のmy.cnfファイルです。

&lt;pre class=&quot;prettyprint&quot;&gt;
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
character-set-server = utf8
skip-name-resolve
skip-innodb
default-storage-engine=MyISAM

interactive_timeout = 50
join_buffer = 1M
key_buffer = 250M
max_connections = 100
max_heap_table_size = 32M
myisam_sort_buffer_size = 96M
query_cache_limit = 4M
query_cache_size = 250M
query_prealloc_size = 65K
query_alloc_block_size = 128K
read_buffer_size = 1M
read_rnd_buffer_size = 768K
sort_buffer_size = 1M
table_cache = 4096
thread_cache_size = 1024
tmp_table_size = 32M
wait_timeout = 500

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[mysql]
default-character-set = utf8

[isamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M

[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/7527494497508957291/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/vps-2gbmycnf.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/7527494497508957291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/7527494497508957291'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/vps-2gbmycnf.html' title='VPS 2GB用のmy.cnf'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-3709052850048606282</id><published>2012-12-24T19:08:00.000+09:00</published><updated>2012-12-28T19:54:39.852+09:00</updated><title type='text'>お名前.com VPSにSL6.3をインストールした時のメモ</title><content type='html'>&lt;a href=&quot;http://ck.jp.ap.valuecommerce.com/servlet/referral?sid=2971224&amp;pid=881593050&quot; target=&quot;_blank&quot; &gt;&lt;img src=&quot;http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2971224&amp;pid=881593050&quot; height=&quot;1&quot; width=&quot;1&quot; border=&quot;0&quot;&gt;お名前.comのVPSサーバー&lt;/a&gt;にSL6をインストールした時のメモ。

&lt;pre class=&quot;prettyprint&quot;&gt;
cat /etc/redhat-release
Scientific Linux release 6.3 (Carbon)
&lt;/pre&gt;

&lt;h2&gt;ID関連&lt;/h2&gt;
一般ユーザーを作って、sshを使ったrootログインを制限して、suできるユーザーを限定する。
&lt;pre class=&quot;prettyprint&quot;&gt;
useradd hoge
passwd hoge
usermod -G wheel hoge
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
vi /etc/ssh/sshd_config
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
Port 2022
Protocol 2
SyslogFacility AUTHPRIV
PermitRootLogin no
PasswordAuthentication yes
PermitEmptyPasswords no
ChallengeResponseAuthentication no
UsePAM yes
Subsystem       sftp    /usr/libexec/openssh/sftp-server
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
service sshd restart
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
vi /etc/pam.d/su
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
#%PAM-1.0
auth            sufficient      pam_rootok.so
# Uncomment the following line to implicitly trust users in the &quot;wheel&quot; group.
#auth           sufficient      pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the &quot;wheel&quot; group.
auth            required        pam_wheel.so use_uid
auth            include         system-auth
account         sufficient      pam_succeed_if.so uid = 0 use_uid quiet
account         include         system-auth
password        include         system-auth
session         include         system-auth
session         optional        pam_xauth.so
&lt;/pre&gt;

ついでにロケールを変更。
&lt;pre class=&quot;prettyprint&quot;&gt;
vi /etc/sysconfig/i18n
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
LANG=&quot;ja_JP.UTF-8&quot;
SYSFONT=&quot;latarcyrheb-sun16&quot;
&lt;/pre&gt;

&lt;h2&gt;IPv6関連&lt;/h2&gt;
IPv6が有効になっているかを確認。
&lt;pre class=&quot;prettyprint&quot;&gt;
ifconfig -a
eth0      Link encap:Ethernet  HWaddr 52:54:01:00:62:10  
          inet addr:49.212.122.248  Bcast:49.212.123.255  Mask:255.255.254.0
          inet6 addr: fe80::5054:1ff:fe00:6210/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
&lt;/pre&gt;

IPv6を無効にする。
&lt;pre class=&quot;prettyprint&quot;&gt;
echo &#39;options ipv6 disable=1&#39; &gt;/etc/modprobe.d/disable-ipv6.conf
chkconfig ip6tables off
reboot
&lt;/pre&gt;

&lt;h2&gt;APIPA関連&lt;/h2&gt;
APIPAが有効になっているかを確認する。
&lt;pre class=&quot;prettyprint&quot;&gt;
netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
49.212.122.0    0.0.0.0         255.255.254.0   U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
0.0.0.0         49.212.122.1    0.0.0.0         UG        0 0          0 eth0
&lt;/pre&gt;

netowkを編集して無効にする。
&lt;pre class=&quot;prettyprint&quot;&gt;
vi /etc/sysconfig/network
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
NETWORKING=yes
HOSTNAME=v103-3-18-170.myvps.jp
GATEWAY=49.212.122.1
NOZEROCONF=yes
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
service network restart
&lt;/pre&gt;

&lt;h2&gt;yumリポジトリ関連&lt;/h2&gt;
yumのプラグインを追加。

&lt;pre class=&quot;prettyprint&quot;&gt;
yum install yum-plugin-fastestmirror yum-plugin-priorities
&lt;/pre&gt;

sl.repoとsl-other.repoのプライオリティを1に設定し最優先にする。
&lt;pre class=&quot;prettyprint&quot;&gt;
cd /etc/yum.repos.d
vi sl.repo
&lt;/pre&gt;
それぞれのセクションの最後に以下の行を追加
&lt;pre class=&quot;prettyprint&quot;&gt;
priority=1
&lt;/pre&gt;

EPELをリポジトリに追加する。
&lt;pre class=&quot;prettyprint&quot;&gt;
yum install epel-release
&lt;/pre&gt;

IUS Yumリポジトリを追加する
&lt;pre class=&quot;prettyprint&quot;&gt;
wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/ius-release-1.0-10.ius.el6.noarch.rpm
rpm -Uvh ius-release-1.0-8.ius.el6.noarch.rpm
&lt;/pre&gt;

RPMforgeを追加する。
&lt;pre class=&quot;prettyprint&quot;&gt;
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
&lt;/pre&gt;

全てのパッケージをアップデートしておきます。
&lt;pre class=&quot;prettyprint&quot;&gt;
yum update
&lt;/pre&gt;

&lt;h2&gt;iptables&lt;/h2&gt;
iptablesを一括設定するファイルを作成しておきます。
ここでは、sshd, http, smtpを開けておきます。
&lt;pre class=&quot;prettyprint&quot;&gt;
#!/bin/sh
/sbin/iptables -F
/sbin/iptables -X

/sbin/iptables -P INPUT DROP
/sbin/iptables -P OUTPUT ACCEPT
/sbin/iptables -P FORWARD DROP

/sbin/iptables -A INPUT -i lo -j ACCEPT
/sbin/iptables -A OUTPUT -o lo -j ACCEPT

/sbin/iptables -A INPUT -s 10.0.0.0/8 -j DROP
/sbin/iptables -A INPUT -s 172.16.0.0/12 -j DROP
/sbin/iptables -A INPUT -s 192.168.0.0/16 -j DROP

/sbin/iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 2022 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 25 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 80 -j ACCEPT

/sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

/etc/rc.d/init.d/iptables save
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/3709052850048606282/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/com-vpssl63.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/3709052850048606282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/3709052850048606282'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/12/com-vpssl63.html' title='お名前.com VPSにSL6.3をインストールした時のメモ'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-8059631452132872802</id><published>2012-09-22T14:24:00.000+09:00</published><updated>2012-09-23T10:30:08.572+09:00</updated><title type='text'>PDFファイルをEvernoteに保存する</title><content type='html'>PDFファイルをDropboxに保存すると、自動的にEvernoteに連携される仕組みを作ってみました。

&lt;a href=&quot;http://wappwolf.com/dropboxautomator/&quot;&gt;Wappwolf&lt;/a&gt;のDropbox Automatorというサービスを使います。既にDropboxとEvernoteはアカウントを持っていますので、Wappwolfのアカウントを作るところからです。

Try now! をクリックして、Login with dropbox &quot;one folder&quot; accessを選びます。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjirlkYnF7tEi_UM8kRgMsIURbf-pgneCRPn5D4-mKY2jB8DlmkK8Ana8-fxg2Rxjw3Y_27DUNerLGjgvwk5sF_8fZRU0glB_1IeKVUG9Yq0A5zPtZchTud1NZX5eVqnaxBl7apujzaRlI/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-09-22+14.03.14.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; width=&quot;338&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjirlkYnF7tEi_UM8kRgMsIURbf-pgneCRPn5D4-mKY2jB8DlmkK8Ana8-fxg2Rxjw3Y_27DUNerLGjgvwk5sF_8fZRU0glB_1IeKVUG9Yq0A5zPtZchTud1NZX5eVqnaxBl7apujzaRlI/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-09-22+14.03.14.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
Dropboxにサインインして、Wappwolf Automator からの接続リクエストを許可します。

DropboxにWappwolfフォルダが作成され、その下に自動化するためのフォルダを指定する画面になりますので、適当な名前を入力します。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3eaF2lCeOB3gJkVAHBseBLLF66v6na1t6MZF2r8nW_Yz5I5mOtte0F1XwRGkbTQS1AgUiqASlBD-M909OGIOVZA66oklAkUfakyrPU69l6zYCmVSx5z0sxNHbFeVrmgLI_AdljTyS2mA/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-09-22+14.06.37.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; width=&quot;373&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3eaF2lCeOB3gJkVAHBseBLLF66v6na1t6MZF2r8nW_Yz5I5mOtte0F1XwRGkbTQS1AgUiqASlBD-M909OGIOVZA66oklAkUfakyrPU69l6zYCmVSx5z0sxNHbFeVrmgLI_AdljTyS2mA/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-09-22+14.06.37.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
次に画面をスクロールして、Any fileにある Upload it to Evernoteを選択して、Connect to Evernoteをクリックします。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnEiyd13LN4-q_N8dddpvfKi4hKlp8G9AQlGo3fRlkVrFQHw3JvKhkpW1IkQu_LfYd2ySJtPbxssFRgyluSYvMDX964KcLRXLoQfQNcEkPo2umVTMFxp47fa4Y2fkt3lwKP19L8H170Yo/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-09-22+14.10.09.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;384&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnEiyd13LN4-q_N8dddpvfKi4hKlp8G9AQlGo3fRlkVrFQHw3JvKhkpW1IkQu_LfYd2ySJtPbxssFRgyluSYvMDX964KcLRXLoQfQNcEkPo2umVTMFxp47fa4Y2fkt3lwKP19L8H170Yo/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-09-22+14.10.09.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
Evernoteにサインインして、Wappwolfのアクセスを承認します。
画面が戻ったら上に表示されている、Finishedをクリックします。

次の画面が表示されたら完了のようです。うまく行かなかった場合には、もう一回やってみるといいかもしれません。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT9U9EZsZ5wZd-JjXxgtOJzs7y-2JH06cJgvwlYQDGMcygZomdKEOVhxLlnA0BygoA788Y7w4DxLiZWh01Cgz9ROXyuweJuYByxz1fM4PtCLunHFnXvmuRxm8dAndvny13xn67FHE1x-A/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-09-22+14.19.09.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; width=&quot;372&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT9U9EZsZ5wZd-JjXxgtOJzs7y-2JH06cJgvwlYQDGMcygZomdKEOVhxLlnA0BygoA788Y7w4DxLiZWh01Cgz9ROXyuweJuYByxz1fM4PtCLunHFnXvmuRxm8dAndvny13xn67FHE1x-A/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-09-22+14.19.09.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
これで準備完了です。

EvernoteにアップロードしたいファイルをDropboxの¥Apps¥Wappwolf¥Evernoteに保存すればOKです。
</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/8059631452132872802/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/09/pdfevernote.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/8059631452132872802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/8059631452132872802'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/09/pdfevernote.html' title='PDFファイルをEvernoteに保存する'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjirlkYnF7tEi_UM8kRgMsIURbf-pgneCRPn5D4-mKY2jB8DlmkK8Ana8-fxg2Rxjw3Y_27DUNerLGjgvwk5sF_8fZRU0glB_1IeKVUG9Yq0A5zPtZchTud1NZX5eVqnaxBl7apujzaRlI/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-09-22+14.03.14.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-4287273082145556235</id><published>2012-08-05T10:54:00.000+09:00</published><updated>2012-08-05T21:56:08.741+09:00</updated><title type='text'>install php5 on OpenSUSE 12</title><content type='html'>&lt;pre class=&quot;prettyprint&quot;&gt;
# zypper install php5 php5-mysql php5-mbstring php5-gd php5-fpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  libsqlite3-0 php5 php5-ctype php5-dom php5-fpm php5-gd php5-iconv php5-json 
  php5-mbstring php5-mysql php5-pdo php5-sqlite php5-tokenizer php5-xmlreader 
  php5-xmlwriter sqlite2 t1lib 

The following recommended packages were automatically selected:
  php5-ctype php5-dom php5-iconv php5-json php5-sqlite php5-tokenizer 
  php5-xmlreader php5-xmlwriter 

The following packages are suggested, but will not be installed:
  php5-gettext php5-pear php5-suhosin 

17 new packages to install.
Overall download size: 3.6 MiB. After the operation, additional 13.6 MiB will 
be used.
Continue? [y/n/?] (y): y
Retrieving package t1lib-5.1.2-15.7.1.x86_64 (1/17), 152.0 KiB (405.0 KiB unpacked)
Retrieving: t1lib-5.1.2-15.7.1.x86_64.rpm [done]
Retrieving package php5-5.3.8-4.24.1.x86_64 (2/17), 1.1 MiB (4.6 MiB unpacked)
Retrieving: php5-5.3.8-4.24.1.x86_64.rpm [done (7.1 MiB/s)]
Retrieving package php5-xmlwriter-5.3.8-4.24.1.x86_64 (3/17), 29.0 KiB (47.0 KiB unpacked)
Retrieving: php5-xmlwriter-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package php5-tokenizer-5.3.8-4.24.1.x86_64 (4/17), 24.0 KiB (19.0 KiB unpacked)
Retrieving: php5-tokenizer-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package php5-pdo-5.3.8-4.24.1.x86_64 (5/17), 54.0 KiB (120.0 KiB unpacked)
Retrieving: php5-pdo-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package php5-mbstring-5.3.8-4.24.1.x86_64 (6/17), 402.0 KiB (2.1 MiB unpacked)
Retrieving: php5-mbstring-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package php5-json-5.3.8-4.24.1.x86_64 (7/17), 31.0 KiB (35.0 KiB unpacked)
Retrieving: php5-json-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package php5-iconv-5.3.8-4.24.1.x86_64 (8/17), 33.0 KiB (39.0 KiB unpacked)
Retrieving: php5-iconv-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package php5-gd-5.3.8-4.24.1.x86_64 (9/17), 100.0 KiB (333.0 KiB unpacked)
Retrieving: php5-gd-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package php5-fpm-5.3.8-4.24.1.x86_64 (10/17), 1.0 MiB (4.2 MiB unpacked)
Retrieving: php5-fpm-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package php5-dom-5.3.8-4.24.1.x86_64 (11/17), 64.0 KiB (173.0 KiB unpacked)
Retrieving: php5-dom-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package php5-ctype-5.3.8-4.24.1.x86_64 (12/17), 23.0 KiB (15.0 KiB unpacked)
Retrieving: php5-ctype-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package php5-mysql-5.3.8-4.24.1.x86_64 (13/17), 69.0 KiB (200.0 KiB unpacked)
Retrieving: php5-mysql-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package php5-xmlreader-5.3.8-4.24.1.x86_64 (14/17), 29.0 KiB (31.0 KiB unpacked)
Retrieving: php5-xmlreader-5.3.8-4.24.1.x86_64.rpm [done]
Retrieving package libsqlite3-0-3.7.8-1.1.2.x86_64 (15/17), 262.0 KiB (798.0 KiB unpacked)
Retrieving: libsqlite3-0-3.7.8-1.1.2.x86_64.rpm [done]
Retrieving package sqlite2-2.8.17-179.1.2.x86_64 (16/17), 148.0 KiB (346.0 KiB unpacked)
Retrieving: sqlite2-2.8.17-179.1.2.x86_64.rpm [done]
Retrieving package php5-sqlite-5.3.8-4.24.1.x86_64 (17/17), 62.0 KiB (160.0 KiB unpacked)
Retrieving: php5-sqlite-5.3.8-4.24.1.x86_64.rpm [done (0 B/s)]
Installing: t1lib-5.1.2-15.7.1 [done]
Installing: php5-5.3.8-4.24.1 [done]
Installing: php5-xmlwriter-5.3.8-4.24.1 [done]
Installing: php5-tokenizer-5.3.8-4.24.1 [done]
Installing: php5-pdo-5.3.8-4.24.1 [done]
Installing: php5-mbstring-5.3.8-4.24.1 [done]
Installing: php5-json-5.3.8-4.24.1 [done]
Installing: php5-iconv-5.3.8-4.24.1 [done]
Installing: php5-gd-5.3.8-4.24.1 [done]
Installing: php5-fpm-5.3.8-4.24.1 [done]
Installing: php5-dom-5.3.8-4.24.1 [done]
Installing: php5-ctype-5.3.8-4.24.1 [done]
Installing: php5-mysql-5.3.8-4.24.1 [done]
Installing: php5-xmlreader-5.3.8-4.24.1 [done]
Installing: libsqlite3-0-3.7.8-1.1.2 [done]
Installing: sqlite2-2.8.17-179.1.2 [done]
Installing: php5-sqlite-5.3.8-4.24.1 [done]
&lt;/pre&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
# chkconfig php-fpm on
&lt;/pre&gt;

phpの内容を確認します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# cd /srv/www/htdocs
# echo &#39;&amp;lt;?php phpinfo(); ?&amp;gt;&#39; &gt;info.php
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/4287273082145556235/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/08/install-php5-on-sles12.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/4287273082145556235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/4287273082145556235'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/08/install-php5-on-sles12.html' title='install php5 on OpenSUSE 12'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-9174987962416958868</id><published>2012-08-04T23:37:00.001+09:00</published><updated>2012-08-05T12:16:26.609+09:00</updated><title type='text'>install nginx on OpenSUSE 12</title><content type='html'>&lt;pre class=&quot;prettyprint&quot;&gt;
# zypper install nginx
Loading repository data...
Reading installed packages...
&#39;nginx&#39; not found in package names. Trying capabilities.
Resolving package dependencies...

The following NEW packages are going to be installed:
  GeoIP libGeoIP1 libxslt1 nginx-1.0 

The following recommended package was automatically selected:
  GeoIP 

4 new packages to install.
Overall download size: 1.3 MiB. After the operation, additional 4.0 MiB will be 
used.
Continue? [y/n/?] (y): y
Retrieving package libxslt1-1.1.26-15.8.1.x86_64 (1/4), 149.0 KiB (402.0 KiB unpacked)
Retrieving: libxslt1-1.1.26-15.8.1.x86_64.rpm [done (6.2 KiB/s)]
Retrieving package libGeoIP1-1.4.7-3.1.2.x86_64 (2/4), 75.0 KiB (242.0 KiB unpacked)
Retrieving: libGeoIP1-1.4.7-3.1.2.x86_64.rpm [done]
Retrieving package GeoIP-1.4.7-3.1.2.x86_64 (3/4), 481.0 KiB (1.2 MiB unpacked)
Retrieving: GeoIP-1.4.7-3.1.2.x86_64.rpm [done]
Retrieving package nginx-1.0-1.0.10-3.4.1.x86_64 (4/4), 581.0 KiB (2.1 MiB unpacked)
Retrieving: nginx-1.0-1.0.10-3.4.1.x86_64.rpm [done]
Installing: libxslt1-1.1.26-15.8.1 [done]
Installing: libGeoIP1-1.4.7-3.1.2 [done]
Installing: GeoIP-1.4.7-3.1.2 [done]
Installing: nginx-1.0-1.0.10-3.4.1 [done]

# chkconfig nginx on
# rcnginx start
&lt;/pre&gt;

SuSEfirewall2を設定して、ポート80へのInboundを許可します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# cd /etc/sysconfig/SuSEfirewall2.d/services
# echo &#39;TCP=&quot;80&quot;&#39; &gt;httpd
&lt;/pre&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
# vi /etc/sysconfig/SuSEfirewall2
FW_CONFIGURATIONS_EXT=&quot;sshd smtp dovecot httpd&quot;
&lt;/pre&gt;

設定を反映します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# rcSuSEfirewall2 restart
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/9174987962416958868/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/08/install-nginx-on-sles12.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/9174987962416958868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/9174987962416958868'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/08/install-nginx-on-sles12.html' title='install nginx on OpenSUSE 12'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-9218629042995075545</id><published>2012-08-04T22:05:00.001+09:00</published><updated>2012-08-05T12:17:00.102+09:00</updated><title type='text'>Install MySQL on OpenSUSE 12</title><content type='html'>パッケージをインストールします。
&lt;pre class=&quot;prettyprint&quot;&gt;
# zypper install mysql-community-server mysql-community-client
Loading repository data...
Reading installed packages...
&#39;mysql-community-client&#39; not found in package names. Trying capabilities.
No provider of &#39;mysql-community-client&#39; found.
Resolving package dependencies...

The following NEW packages are going to be installed:
  mysql-community-server mysql-community-server-client 
  mysql-community-server-errormessages 

3 new packages to install.
Overall download size: 8.0 MiB. After the operation, additional 60.5 MiB will 
be used.
Continue? [y/n/?] (y): y
Retrieving package mysql-community-server-errormessages-5.5.25-3.12.1.x86_64 (1/3), 146.0 KiB (1.0 MiB unpacked)
Retrieving: mysql-community-server-errormessages-5.5.25-3.12.1.x86_64.rpm [done]Retrieving package mysql-community-server-client-5.5.25-3.12.1.x86_64 (2/3), 736.0 KiB (17.1 MiB unpacked)
Retrieving: mysql-community-server-client-5.5.25-3.12.1.x86_64.rpm [done]Retrieving package mysql-community-server-5.5.25-3.12.1.x86_64 (3/3), 7.1 MiB (42.4 MiB unpacked)
Retrieving: mysql-community-server-5.5.25-3.12.1.x86_64.rpm [done]
Installing: mysql-community-server-errormessages-5.5.25-3.12.1 [done]
Installing: mysql-community-server-client-5.5.25-3.12.1 [done]
Installing: mysql-community-server-5.5.25-3.12.1 [done]
&lt;/pre&gt;

自動起動をOnにします。
&lt;pre class=&quot;prettyprint&quot;&gt;
# systemctl enable mysql.service
mysql.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig mysql on
&lt;/pre&gt;

サービスを起動します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# systemctl start mysql.service
Failed to issue method call: Unit mysql.service failed to load: No such file or directory. See system logs and &#39;systemctl status mysql.service&#39; for details.
&lt;/pre&gt;

エラーで起動できず。。。
原因がわからないので、一旦アンインストールして、パッケージの入手からやり直すことにします。

アンインストール。
&lt;pre class=&quot;prettyprint&quot;&gt;
# zypper remove mysql-community-server mysql-community-server-client mysql-community-server-errormessages
&lt;/pre&gt;

パッケージをMySQLのサイトからダウンロードします。SLESを選択して、MySQL ServerとClient Utilitiesをダウンロードします。
http://dev.mysql.com/downloads/mysql/5.5.html

rpmパッケージをインストールします。
&lt;pre class=&quot;prettyprint&quot;&gt;
# rpm -ivh MySQL-server-5.5.27-1.sles11.x86_64.rpmPreparing...                ########################################### [100%]
ls: cannot access /var/lib/mysql/*.err: No such file or directory
ls: cannot access /var/lib/mysql/*.err: No such file or directory
   1:MySQL-server           ########################################### [100%]
insserv: Service network is missed in the runlevels 2 4 to use service mysql

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

mysql                     0:off  1:off  2:on   3:on   4:on   5:on   6:off

# rpm -ivh MySQL-client-5.5.27-1.sles11.x86_64.rpm
Preparing...                ########################################### [100%]
   1:MySQL-client           ########################################### [100%]
&lt;/pre&gt;

セキュリティ設定用のスクリプトを実行します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# mysql_secure_installation 




NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we&#39;ll need the current
password for the root user.  If you&#39;ve just installed MySQL, and
you haven&#39;t set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none): 
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

Set root password? [Y/n] 
New password: 
Re-enter new password: 
Password updated successfully!
Reloading privilege tables..
 ... Success!


By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] 
 ... Success!

Normally, root should only be allowed to connect from &#39;localhost&#39;.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] 
 ... Success!

By default, MySQL comes with a database named &#39;test&#39; that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] 
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] 
 ... Success!

Cleaning up...



All done!  If you&#39;ve completed all of the above steps, your MySQL
installation should now be secure.

Thanks for using MySQL!
&lt;/pre&gt;

お終い！</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/9218629042995075545/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/08/mysql-install-opensuse.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/9218629042995075545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/9218629042995075545'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/08/mysql-install-opensuse.html' title='Install MySQL on OpenSUSE 12'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-6166968310802191602</id><published>2012-08-04T14:25:00.004+09:00</published><updated>2012-08-04T14:25:53.683+09:00</updated><title type='text'>telnetでIMAPアクセス</title><content type='html'>&lt;pre class=&quot;prettyprint&quot;&gt;
# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is &#39;^]&#39;.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=CRAM-MD5 AUTH=LOGIN AUTH=PLAIN] Dovecot ready.
1 login mascotpark@lool.jp password
1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
2 list &quot;&quot; *
* LIST (\HasNoChildren) &quot;.&quot; &quot;INBOX&quot;
2 OK List completed.
3 select INBOX
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $NotJunk)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $NotJunk \*)] Flags permitted.
* 1 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1342696244] UIDs valid
* OK [UIDNEXT 2] Predicted next UID
* OK [HIGHESTMODSEQ 1] Highest
3 OK [READ-WRITE] Select completed.
4 fetch 1 body[]
* 1 FETCH (BODY[] {523}
Return-Path: &lt;root@mail.lool.jp&gt;
X-Original-To: mascotpark@lool.jp
Delivered-To: mascotpark@lool.jp
Received: by mail.lool.jp (Postfix, from userid 0)
 id 4B8482003D4; Sat,  4 Aug 2012 14:20:25 +0900 (JST)
Date: Sat, 04 Aug 2012 14:20:25 +0900
To: mascotpark@lool.jp
Subject: hello
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: &lt;20120804052025.4B8482003D4@mail.lool.jp&gt;
From: root@mail.lool.jp (root)

test

)
4 OK Fetch completed.
5 logout
* BYE Logging out
5 OK Logout completed.
Connection closed by foreign host.
# 
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/6166968310802191602/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/08/telnetimap.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/6166968310802191602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/6166968310802191602'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/08/telnetimap.html' title='telnetでIMAPアクセス'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-1912947489341662178</id><published>2012-07-16T11:16:00.000+09:00</published><updated>2012-07-16T11:16:19.948+09:00</updated><title type='text'>[RESOLVED] warning: not set-gid or not owner+group+world executable:</title><content type='html'>postfix起動時に以下のメッセージが表示されます。
&lt;pre class=&quot;prettyprint&quot;&gt;
Jul 16 11:10:25 v103-3-189-170 postfix/postfix-script[3588]: warning: not set-gid or not owner+group+world executable: /usr/sbin/postqueue
Jul 16 11:10:25 v103-3-189-170 postfix/postfix-script[3589]: warning: not set-gid or not owner+group+world executable: /usr/sbin/postdrop
&lt;/pre&gt;

それぞれのファイルのパーミッションは以下の通りです。
&lt;pre class=&quot;prettyprint&quot;&gt;
-rwxr-xr-x 1 root maildrop 15064 May 10 18:44 postdrop
-rwxr-xr-x 1 root maildrop 15016 May 10 18:44 postqueue
&lt;/pre&gt;

パーミッションを以下の通り変更します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# cd /usr/sbin
# chmod g+s postdrop postqueue
# ls -l postqueue postdrop 
-rwxr-sr-x 1 root maildrop 15064 May 10 18:44 postdrop
-rwxr-sr-x 1 root maildrop 15016 May 10 18:44 postqueue
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/1912947489341662178/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/resolved-warning-not-set-gid-or-not.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/1912947489341662178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/1912947489341662178'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/resolved-warning-not-set-gid-or-not.html' title='[RESOLVED] warning: not set-gid or not owner+group+world executable:'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-4151335309236524852</id><published>2012-07-16T11:10:00.002+09:00</published><updated>2012-07-16T11:10:58.236+09:00</updated><title type='text'>[RESOLVED] warning: not owned by group maildrop:</title><content type='html'>メッセージの内容は以下の通り。
&lt;pre class=&quot;prettyprint&quot;&gt;
Jul 16 10:59:28 v103-3-189-170 postfix/postfix-script[3316]: warning: not owned by group maildrop: /usr/sbin/postqueue
Jul 16 10:59:28 v103-3-189-170 postfix/postfix-script[3317]: warning: not owned by group maildrop: /usr/sbin/postdrop
&lt;/pre&gt;

この時の各ファイルのオーナーは次の通り。
&lt;pre class=&quot;prettyprint&quot;&gt;
-rwxr-xr-x 1 root root 15064 May 10 18:44 postdrop
-rwxr-xr-x 1 root root 15016 May 10 18:44 postqueue
&lt;/pre&gt;

グループをmaildropに変更します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# chgrp maildrop postqueue postdrop
# ls -l
-rwxr-xr-x 1 root maildrop 15064 May 10 18:44 postdrop
-rwxr-xr-x 1 root maildrop 15016 May 10 18:44 postqueue
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/4151335309236524852/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/resolved-warning-not-owned-by-group.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/4151335309236524852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/4151335309236524852'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/resolved-warning-not-owned-by-group.html' title='[RESOLVED] warning: not owned by group maildrop:'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-5722705725059446459</id><published>2012-07-16T00:01:00.001+09:00</published><updated>2012-08-04T17:54:43.136+09:00</updated><title type='text'>openSUSE12.1 メールサーバー インストール postfix dovecot</title><content type='html'>openSUSE12.1に、postfixとdovecotをインストールして、メールサーバーを構築します。
&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
# zypper install --no-recommends postfix dovecot12
Loading repository data...
Reading installed packages...
&#39;postfix&#39; is already installed.
No update candidate for &#39;postfix-2.8.8-3.13.1.x86_64&#39;. The highest available version is already installed.
Resolving package dependencies...

The following NEW package is going to be installed:
  dovecot12 

The following packages are recommended, but will not be installed:
  dovecot12-backend-mysql dovecot12-backend-pgsql dovecot12-backend-sqlite 

1 new package to install.
Overall download size: 2.6 MiB. After the operation, additional 14.4 MiB will 
be used.
Continue? [y/n/?] (y): y
Retrieving package dovecot12-1.2.17-7.1.3.x86_64 (1/1), 2.6 MiB (14.4 MiB unpacked)
Retrieving: dovecot12-1.2.17-7.1.3.x86_64.rpm [done]
Installing: dovecot12-1.2.17-7.1.3 [done]
&lt;/pre&gt;
postfixはインストールされていました。

今回は次のようなメールサーバーを構築します。
&lt;ul&gt;
&lt;li&gt;SASL認証はdovecotで行う&lt;/li&gt;
&lt;li&gt;virtual mailboxを使う&lt;/li&gt;
&lt;li&gt;SSLによる暗号化&lt;/li&gt;
&lt;li&gt;IMAPを使う&lt;/li&gt;
&lt;/ul&gt;

postfixがdovecot SASLをサポートしていることを確認します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# postconf -a
cyrus
dovecot
&lt;/pre&gt;

SSLの自己証明書と秘密鍵を作ります。
&lt;pre class=&quot;prettyprint&quot;&gt;
# cd /etc/ssl/private
# openssl req -new -x509 -nodes -days 3650 -out mail.crt -keyout mail.key
Generating a 1024 bit RSA private key
.....++++++
...........................................++++++
writing new private key to &#39;mail.key&#39;
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter &#39;.&#39;, the field will be left blank.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:mail.lool.jp  
Email Address []:

# chmod 600 mail.key
&lt;/pre&gt;

次にvirtual mailbox用に、ユーザーとグループを作成します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# groupadd -g 1001 vmail
# useradd -u 1001 -g 1001 -d /var/spool/vmail -r -s /sbin/nologin vmail
&lt;/pre&gt;

virtual mailboxディレクトリを作成します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# mkdir /var/spool/vmail
# chown vmail.vmail /var/spool/vmail
# chmod 700 /var/spool/vmail
&lt;/pre&gt;

/etc/postfix/main.cfを編集します。
&lt;pre class=&quot;prettyprint&quot;&gt;
setgid_group = maildrop
daemon_directory = /usr/lib/postfix

myhostname = mail.lool.jp
mydomain = lool.jp
myorigin = $mydomain
mydestination = $myhostname localhost.$mydomain localhost
smtpd_recipient_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_unauth_destination,
        permit_auth_destination,
        reject

debug_peer_level = 3

home_mailbox = Maildir/

virtual_alias_maps = hash:/etc/postfix/virtual
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_gid_maps = static:1001
virtual_uid_maps = static:1001
virtual_mailbox_base = /var/spool/vmail
virtual_mailbox_domains = lool.jp

smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/dovecot-auth
&lt;/pre&gt;

/etc/postfix/vmailboxにvirtual mailboxを定義します。
&lt;pre class=&quot;prettyprint&quot;&gt;
mascotpark@lool.jp mascotpark/Maildir/
&lt;/pre&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
# cd /etc/postfix
# postmap vmailbox
&lt;/pre&gt;

/etc/postfix/master.cfを編集します。
&lt;pre class=&quot;prettyprint&quot;&gt;
smtp      inet  n       -       n       -       -       smtpd
submission inet n       -       n       -       -       smtpd
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
&lt;/pre&gt;

次に/etc/dovecot/dovecot.confを編集します。
&lt;pre class=&quot;prettyprint&quot;&gt;
protocols = imap imaps

   protocol imap {
     listen = *:143
     ssl_listen = *:993
   }
listen = *

disable_plaintext_auth = yes

ssl = yes
ssl_cert_file = /etc/ssl/private/mail.crt
ssl_key_file = /etc/ssl/private/mail.key
verbose_ssl = yes

mail_location = maildir:/var/spool/vmail/%u/Maildir

mail_uid = 1001
mail_gid = 1001

mail_debug = yes
lock_method = fcntl

protocol imap {
  mail_plugin_dir = /usr/lib64/dovecot/modules/imap
}

auth_username_format = %Ln

auth default {
  mechanisms = cram-md5 login plain
  passdb passwd-file {
    args = scheme=CRAM-MD5 username_format=%u /etc/dovecot/passwd
  }
  user = root
  socket listen {
    master {
      path = /var/run/dovecot/auth-master
      mode = 0600
      user = postfix
      group = postfix
    }
    client {
      path = /var/spool/postfix/private/dovecot-auth
      mode = 0660
      user = postfix
      group = postfix
    }
  }
}

dict {
}

plugin {
}
&lt;/pre&gt;

/etc/dovecot/passwdファイルを作ります。
&lt;pre class=&quot;prettyprint&quot;&gt;
mascotpark:{CRAM-MD5}477934589a58e54b516c742aff2e8a77019df50f3b33f134385b875047370666
&lt;/pre&gt;

サービスを再起動します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# systemctl restart postfix.service
# systemctl restart dovecot.service
&lt;/pre&gt;

Firewallを設定します。
smtpとdovecotで使用するポート番号を設定します。
/etc/sysconfig/SuSEfirewall2.d/services/smtp
&lt;pre class=&quot;prettyprint&quot;&gt;
TCP=&quot;25 465 587&quot;
&lt;/pre&gt;

/etc/sysconfig/SuSEfirewall2.d/services/dovecot
&lt;pre class=&quot;prettyprint&quot;&gt;
TCP=&quot;imap imaps pop3 pop3s sieve 4190&quot;
&lt;/pre&gt;

/etc/sysconfig/SuSEfirewall2を編集し、サービスを再起動します。
&lt;pre class=&quot;prettyprint&quot;&gt;
FW_CONFIGURATIONS_EXT=&quot;sshd smtp dovecot&quot;
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
# /sbin/SuSEfirewall2 stop
SuSEfirewall2: Firewall rules unloaded.
# /sbin/SuSEfirewall2 start
SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
SuSEfirewall2: using default zone &#39;ext&#39; for interface eth0
SuSEfirewall2: Firewall rules successfully set
&lt;/pre&gt;

telnetを使って動作を確認します。
&lt;pre class=&quot;prettyprint&quot;&gt;
# telnet localhost 25
EHLO localhost
250-mail.lool.jp
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM:root
250 2.1.0 Ok
RCPT TO:mascotpark@lool.jp
250 2.1.5 Ok
DATA
354 End data with &lt;CR&gt;&lt;LF&gt;.&lt;CR&gt;&lt;LF&gt;
TEST
.
250 2.0.0 Ok: queued as 6EC272003DA
quit
221 2.0.0 Bye
Connection closed by foreign host.
&lt;/pre&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is &#39;^]&#39;.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
x LOGIN mascotpark@lool.jp password
x OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
x LOGOUT
* BYE Logging out
x OK Logout completed.
Connection closed by foreign host.
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/5722705725059446459/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/opensuse121-postfix-dovecot.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/5722705725059446459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/5722705725059446459'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/opensuse121-postfix-dovecot.html' title='openSUSE12.1 メールサーバー インストール postfix dovecot'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-2126118006717516931</id><published>2012-07-10T21:29:00.002+09:00</published><updated>2012-07-10T21:29:46.340+09:00</updated><title type='text'>SUSE sshdのポートを変更したのでFirewallの設定を変える</title><content type='html'>sshdのポートを20から2022に変更したので、それに合わせてFirewallのポートも20から2022に変更します。

/etc/sysconfig/SuSEfirewall2.d/servicesディレクトリの下に、サービス名のファイル名があります。
今回は、sshdですので、その内容を以下に変更します。

&lt;pre class=&quot;prettyprint&quot;&gt;
## Name: Secure Shell Server
## Description: Open ports for Secure Shell Server

# space separated list of allowed TCP ports
#TCP=&quot;ssh&quot;
TCP=2022
&lt;/pre&gt;

設定の変更を反映する方法はまだ分かっていません。。。リブートしました。</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/2126118006717516931/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/suse-sshdfirewall.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/2126118006717516931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/2126118006717516931'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/suse-sshdfirewall.html' title='SUSE sshdのポートを変更したのでFirewallの設定を変える'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-4539001467421343600</id><published>2012-07-09T22:57:00.001+09:00</published><updated>2012-07-09T22:58:40.203+09:00</updated><title type='text'>SUSE ホスト名の変更 固定IPアドレス デフォルトゲートウェイ設定 DNS設定</title><content type='html'>ホスト名を変更するには、/etc/HOSTNAMEファイルを編集します。
&lt;pre class=&quot;prettyprint&quot;&gt;
myhostname
&lt;/pre&gt;

/etc/sysconfig/network/ifcfg-eth0を編集して、ネットワークを設定します。

&lt;pre class=&quot;prettyprint&quot;&gt;
BOOTPROTO=&#39;static&#39;
BROADCAST=&#39;103.3.189.255&#39;
ETHTOOL_OPTIONS=&#39;&#39;
IPADDR=&#39;103.3.189.170&#39;
MTU=&#39;&#39;
NAME=&#39;Ethernet Card 0&#39;
NETMASK=&#39;255.255.255.0&#39;
NETWORK=&#39;103.3.189.0&#39;
REMOTE_IPADDR=&#39;&#39;
STARTMODE=&#39;auto&#39;
USERCONTROL=&#39;no&#39;
&lt;/pre&gt;

デフォルトゲートウェイを設定します。
/etc/sysconfig/network/routesファイルを作成します。
&lt;pre class=&quot;prettyprint&quot;&gt;
default 103.3.189.1 - -
&lt;/pre&gt;

/etc/resolv.confを編集して、DNSサーバーを設定します。/etc/resolv.confを手動で編集する際には、/etc/sysconfig/network/configファイルを編集します。

&lt;pre class=&quot;prettyprint&quot;&gt;
NETCONFIG_DNS_POLICY=&quot;&quot;
&lt;/pre&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
search myvps.jp
nameserver 210.157.1.170
nameserver 210.172.133.178
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/4539001467421343600/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/suse-ip-dns.html#comment-form' title='2 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/4539001467421343600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/4539001467421343600'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/suse-ip-dns.html' title='SUSE ホスト名の変更 固定IPアドレス デフォルトゲートウェイ設定 DNS設定'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-6025768500715045782</id><published>2012-07-09T20:13:00.001+09:00</published><updated>2012-07-09T20:13:26.475+09:00</updated><title type='text'>お名前.com VPSにopenSUSEをインストール</title><content type='html'>お名前.comのVPS(2GB)を借りたので、openSUSEをインストールしてみました。
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; allowtransparency=&quot;true&quot; height=&quot;60&quot; width=&quot;468&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://ad.jp.ap.valuecommerce.com/servlet/htmlbanner?sid=2971224&amp;pid=881119549&quot; marginwidth=&quot;0&quot;&gt;&lt;script language=&quot;javascript&quot; src=&quot;http://ad.jp.ap.valuecommerce.com/servlet/jsbanner?sid=2971224&amp;pid=881119549&quot;&gt;&lt;/script&gt;&lt;noscript&gt;&lt;a href=&quot;http://ck.jp.ap.valuecommerce.com/servlet/referral?sid=2971224&amp;pid=881119549&quot; target=&quot;_blank&quot; &gt;&lt;img src=&quot;http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2971224&amp;pid=881119549&quot; height=&quot;60&quot; width=&quot;468&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/noscript&gt;&lt;/iframe&gt;
&lt;br /&gt;
まずはOS Imageをダウンロードします。
&lt;br /&gt;
&lt;a href=&quot;http://software.opensuse.org/121/ja&quot;&gt;software.opensuse.org: openSUSE 12.1 のダウンロード&lt;/a&gt;
&lt;br /&gt;
次にダウンロードしたISOイメージをアップロードします。そのために、コントロールパネルの画面から、ssh private keyをダウンロードします。ページの下の方にあります。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNvsMezYgRMFXG5V5MVgitZKesRvQjf_WlP7vcyWIYd1nAs3S5nsXVealp0VZzWH-7XI1UE8BGwvvOpNrklnQbR8vjneyxKwv3KVCR8OEJ_RcYoN-bqV6w8aGBQHGOddvr4yKfxHuOY_Y/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.04.53.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;148&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNvsMezYgRMFXG5V5MVgitZKesRvQjf_WlP7vcyWIYd1nAs3S5nsXVealp0VZzWH-7XI1UE8BGwvvOpNrklnQbR8vjneyxKwv3KVCR8OEJ_RcYoN-bqV6w8aGBQHGOddvr4yKfxHuOY_Y/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.04.53.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
接続先サーバー名、ユーザー名、ダウンロードした公開鍵ファイルを使って、SFTPで接続します。接続したらimagesディレクトリの下に、ダウンロードしたISOイメージファイルをアップロードします。
&lt;br /&gt;
次にOS再インストールのタブを選択して、OSにアップロードしたopenSUSEを選択します。パーティションはお好みで。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWkkAAGQ5pnJuPtf7Fr6qYr1CLKsnoI1uaNF2FHdRVEY7qOChKUR-j9RHkrFEk5rhZZewLd6HVpEao3Yd508mMJoMymLmlbG4Cic8ICOMmlmIuEOgVZXEfdOW8hi4p9Ncmm9LlddYiJgs/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.12.18.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;349&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWkkAAGQ5pnJuPtf7Fr6qYr1CLKsnoI1uaNF2FHdRVEY7qOChKUR-j9RHkrFEk5rhZZewLd6HVpEao3Yd508mMJoMymLmlbG4Cic8ICOMmlmIuEOgVZXEfdOW8hi4p9Ncmm9LlddYiJgs/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.12.18.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
実行すると、サーバーリストが表示されますので、IPアドレスと初期ホスト名をメモしておきます。起動をクリックして、VMをブートします。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQcxxvcSnrgPhiqIYdP60_rNC45llur1fLEOn4noiV0-UBadx9dzIBS8d8ICx6mz8rSQt5Vh3l98Ggqx6bVxz5S2y0vz65U7Noi93e9yC1cZjPs62sSWTWys1ADesC29LVHOlizhVdxzw/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.15.36.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;46&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQcxxvcSnrgPhiqIYdP60_rNC45llur1fLEOn4noiV0-UBadx9dzIBS8d8ICx6mz8rSQt5Vh3l98Ggqx6bVxz5S2y0vz65U7Noi93e9yC1cZjPs62sSWTWys1ADesC29LVHOlizhVdxzw/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.15.36.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKrcl9A-B26iJShrHXbS4SodrNb292Ce5oFnO7-zEj5C2WqwOQQCGz-9K8iJ60-UZcsnkQ85lE4aARBuwgjOmUhW9cW165ULAsp5JSlbhfyTUX8KsLpXd20cLfuPBEMEsAcg92WchIECk/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.17.18.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;326&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKrcl9A-B26iJShrHXbS4SodrNb292Ce5oFnO7-zEj5C2WqwOQQCGz-9K8iJ60-UZcsnkQ85lE4aARBuwgjOmUhW9cW165ULAsp5JSlbhfyTUX8KsLpXd20cLfuPBEMEsAcg92WchIECk/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.17.18.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
installationを選択します。
&lt;br /&gt;
言語とキーボードレイアウトを日本語に設定して、次へ。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzB72X2XwmHHwLNEhbq5xVYpEBuepjXFUh2Cmmy4dHCpTS3tVqo1eWWaWHJHyKRlk-0iMj6Fv-23UXsHPgV6soZg3EmNwWx02UmGB8QyYiv6aJaCQE0f-MgoVcj4fu0fy7eQcHdx3YSxw/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.21.00.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;298&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzB72X2XwmHHwLNEhbq5xVYpEBuepjXFUh2Cmmy4dHCpTS3tVqo1eWWaWHJHyKRlk-0iMj6Fv-23UXsHPgV6soZg3EmNwWx02UmGB8QyYiv6aJaCQE0f-MgoVcj4fu0fy7eQcHdx3YSxw/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.21.00.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
新規インストールと手動設定を選んで、次へ。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdJnGJgC5Ytj0sZpsGuhTfvkw9cVRF51e6U9eORwLqSt-7SJamhj14ODvIks9zcIJh98RuxKtPnzTPEuBIT18Rs1HK_v0T7ZrYOL5zhFuJwwwXajrDCc8SNSQl1QQZiXOsWHkCXBKmBv0/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.24.30.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;297&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdJnGJgC5Ytj0sZpsGuhTfvkw9cVRF51e6U9eORwLqSt-7SJamhj14ODvIks9zcIJh98RuxKtPnzTPEuBIT18Rs1HK_v0T7ZrYOL5zhFuJwwwXajrDCc8SNSQl1QQZiXOsWHkCXBKmBv0/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.24.30.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
ハードウェアの時刻はUTCに設定のチェックを外します。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguV_j0hzrQzIG9WGez2WM-JaCXddNCumBofvfABisipzc24AKCErp97DYZw_C2LXuqPnREg2fL_3nYC5cwzCcVVDgDXYBAgYNFacwSRZjyWe4YxAkj_mhPnoDKhNDerYYcldyy-NrK_wM/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.26.33.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;296&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguV_j0hzrQzIG9WGez2WM-JaCXddNCumBofvfABisipzc24AKCErp97DYZw_C2LXuqPnREg2fL_3nYC5cwzCcVVDgDXYBAgYNFacwSRZjyWe4YxAkj_mhPnoDKhNDerYYcldyy-NrK_wM/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.26.33.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
私はサーバー用途でインストールしますので、最小限のサーバ（テキストモード）を選びます。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0fCaH1l1w99yxRNGHqRjNah5KMBN5monwKhD7o83dyCnvmDPt40tZb8SOaxzCkkyyokPx23wx-Opv1cIPutGNgRyjQcIwpcKBMegCw0WmkxIMD9OayVsv9DUnHQNG-sAI1B1BjSJKn_I/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.27.26.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;298&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0fCaH1l1w99yxRNGHqRjNah5KMBN5monwKhD7o83dyCnvmDPt40tZb8SOaxzCkkyyokPx23wx-Opv1cIPutGNgRyjQcIwpcKBMegCw0WmkxIMD9OayVsv9DUnHQNG-sAI1B1BjSJKn_I/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.27.26.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
パーティションを任意に設定して、次へ。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQTVaqzmGetNeFH0DO-H2MZBvqiymeM8C080BXWfB0RUh3frvhFta2EPRnFulYYk3DrlPIHsN6b35TKxTpXzoaFLPUbR5eh9xZV_4ELeQ-u_43rN07gYLfNPR7mP8wNcReYfWAyyQ7mIo/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.29.20.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;296&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQTVaqzmGetNeFH0DO-H2MZBvqiymeM8C080BXWfB0RUh3frvhFta2EPRnFulYYk3DrlPIHsN6b35TKxTpXzoaFLPUbR5eh9xZV_4ELeQ-u_43rN07gYLfNPR7mP8wNcReYfWAyyQ7mIo/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.29.20.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
ユーザー名とパスワードなどこちらもお好みで。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUsJ5mUAgftW2cApXNzMTP-a9lnVMRYkjwnTljOmD8ehrToAdjQ2qRZALZwLfllFO_Xblj538ckmPuqeEElccCXFbUPbZCLeKO0DKC9F-jUYNkiuK6lN5ktDH06IfyQOYFi3-LiDd7dwg/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.32.49.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;298&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUsJ5mUAgftW2cApXNzMTP-a9lnVMRYkjwnTljOmD8ehrToAdjQ2qRZALZwLfllFO_Xblj538ckmPuqeEElccCXFbUPbZCLeKO0DKC9F-jUYNkiuK6lN5ktDH06IfyQOYFi3-LiDd7dwg/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.32.49.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
インストール設定を確認します。最後のsshを有効にしました。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipN5gaNoe5Mtuai54zfPjiMu9PZga0Nupzk_0N4ebwOY4V16kassUlt4wNg1yCYNTL78hgLvNEh9O1RpCHT-Yg8bIDjygYeMKWX-YuckoIiHbTZMHzpqXWY0gQtZI_kqGeLHZGqmoXNbM/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.36.50.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; width=&quot;397&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipN5gaNoe5Mtuai54zfPjiMu9PZga0Nupzk_0N4ebwOY4V16kassUlt4wNg1yCYNTL78hgLvNEh9O1RpCHT-Yg8bIDjygYeMKWX-YuckoIiHbTZMHzpqXWY0gQtZI_kqGeLHZGqmoXNbM/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.36.50.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
問題がなければインストールをGO!
&lt;br /&gt;
&lt;br /&gt;
ホスト名とドメイン名を設定しますが、とりあえずデフォルトのまま進みます。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2SYVhNdKzMtbyitO3jZ_IP-qGF_DFj57ESrpeyLINcVxOtcyHwx6Bve1CleZt9XaVcTkY-S3taPDT5VSKNrxV54BXIHetTOurlvAJ2xmQwDod25D3oZ5SbAtkZJcgboL2exK4mxVf2cg/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.42.49.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;297&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2SYVhNdKzMtbyitO3jZ_IP-qGF_DFj57ESrpeyLINcVxOtcyHwx6Bve1CleZt9XaVcTkY-S3taPDT5VSKNrxV54BXIHetTOurlvAJ2xmQwDod25D3oZ5SbAtkZJcgboL2exK4mxVf2cg/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.42.49.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
デフォルトのままでもいいですが、IPv6を無効にしてから次に進みます。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii-Y5_6tmJRwFg7H2qVn1BxWNYPrLj3vu-LsvXvs6i1jNlBawbQuz5JYNyPqKmsX_hJof2VXhxSLYLpEUIIbE7S6ELO6s-y6TCYUMfiwYUMXCl2cUu-_V3IRMD9I51OIxxOfMcTrvU16E/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.46.16.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii-Y5_6tmJRwFg7H2qVn1BxWNYPrLj3vu-LsvXvs6i1jNlBawbQuz5JYNyPqKmsX_hJof2VXhxSLYLpEUIIbE7S6ELO6s-y6TCYUMfiwYUMXCl2cUu-_V3IRMD9I51OIxxOfMcTrvU16E/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.46.16.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
インターネットへの接続テストはお好みで。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2l2L67eMY7VCV5KmrHLWY6cIqJYmZ5jowOavQbC1GYml5_YPoVDHQWKTgirvKO5lO_PKMldX4sReBBeVThn587-_TYQOjZ68id25FWNqQ8go6YoIlzVmbnuNbDofyryCi3W2yKpoJAAc/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.47.22.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2l2L67eMY7VCV5KmrHLWY6cIqJYmZ5jowOavQbC1GYml5_YPoVDHQWKTgirvKO5lO_PKMldX4sReBBeVThn587-_TYQOjZ68id25FWNqQ8go6YoIlzVmbnuNbDofyryCi3W2yKpoJAAc/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.47.22.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
エラーが表示されてもあまり気にせず前に進みます。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVAQxQ-Y5mFwzl7SEcwdhN_7OghY_0W2TCR6-8T9Nmcs_V2Tedrgf4AMskcVINAGcCNHirBxWk86zIV3Wp0m8HwxwN4MieyAomcWR3jBDxxmJQXRge8B0a3tJeYneA5OBQqi5LesC_u6I/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.48.25.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;286&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVAQxQ-Y5mFwzl7SEcwdhN_7OghY_0W2TCR6-8T9Nmcs_V2Tedrgf4AMskcVINAGcCNHirBxWk86zIV3Wp0m8HwxwN4MieyAomcWR3jBDxxmJQXRge8B0a3tJeYneA5OBQqi5LesC_u6I/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.48.25.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
オンライン更新を実行するのまま、次に進みます。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwMskowjgnhzdZH4Eq-8iEr1EqxKwIJzN7bIvTn-c7v_0v7Bx03RCRgPMUri2uNF5Ti8Dsgoe2hWDEQNh7XfN_7hnKVBrKDvU9aM9OeFikgIe2BmULyFbruGcPUmRWr2AukTUm94C-DCA/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.50.15.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwMskowjgnhzdZH4Eq-8iEr1EqxKwIJzN7bIvTn-c7v_0v7Bx03RCRgPMUri2uNF5Ti8Dsgoe2hWDEQNh7XfN_7hnKVBrKDvU9aM9OeFikgIe2BmULyFbruGcPUmRWr2AukTUm94C-DCA/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.50.15.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
了解して次へ進みます。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqVn0WvrPQUyaVPUfzl9ANRopXbNzf0fLVkd9x6dz6_rCeuoI8nhWR0FWgoZ6rsau14oAEs7oDSQzKBRBssgnOIBTqrvYD-XHUnDB6KAKzLy7cPUVe6UjwRZfesYGJE4V3aGcgnmrc7aA/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.51.21.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqVn0WvrPQUyaVPUfzl9ANRopXbNzf0fLVkd9x6dz6_rCeuoI8nhWR0FWgoZ6rsau14oAEs7oDSQzKBRBssgnOIBTqrvYD-XHUnDB6KAKzLy7cPUVe6UjwRZfesYGJE4V3aGcgnmrc7aA/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.51.21.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
修正のダウンロードとインストールが完了したら次へ進みます。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioJRbTe0vThnu17B88u4qWUg5yG7FsvJ6CwO2jAoDN11BSSC2u1TEcsIukV8rxSTfAkCPiTqkrBLzh8K6Tj5NCDSMEWNgeQydFRk6_E0Zj4B2rSWDWw5VZgtud62n0FJS_plzP8pw4Cmg/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.52.28.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;286&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioJRbTe0vThnu17B88u4qWUg5yG7FsvJ6CwO2jAoDN11BSSC2u1TEcsIukV8rxSTfAkCPiTqkrBLzh8K6Tj5NCDSMEWNgeQydFRk6_E0Zj4B2rSWDWw5VZgtud62n0FJS_plzP8pw4Cmg/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.52.28.png&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
途中おかしくなったら再起動します。次の画面が表示されたらインストールは終わりです。
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2U0QGiAHoSHFFoDeZcVEQvtaJ89kyh6G3cmqIQ-zim5J16fXWtpn-TGdz_c9EfXcn2Qv4VSnajdFr7vK2I-d4JvYtOIfSICUbzhFvPyXx5O-Qo8bFwhfR0TBrL1zBIjuBqTms25PrpAc/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+20.12.32.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2U0QGiAHoSHFFoDeZcVEQvtaJ89kyh6G3cmqIQ-zim5J16fXWtpn-TGdz_c9EfXcn2Qv4VSnajdFr7vK2I-d4JvYtOIfSICUbzhFvPyXx5O-Qo8bFwhfR0TBrL1zBIjuBqTms25PrpAc/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+20.12.32.png&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/6025768500715045782/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/com-vpsopensuse.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/6025768500715045782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/6025768500715045782'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/com-vpsopensuse.html' title='お名前.com VPSにopenSUSEをインストール'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNvsMezYgRMFXG5V5MVgitZKesRvQjf_WlP7vcyWIYd1nAs3S5nsXVealp0VZzWH-7XI1UE8BGwvvOpNrklnQbR8vjneyxKwv3KVCR8OEJ_RcYoN-bqV6w8aGBQHGOddvr4yKfxHuOY_Y/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-07-09+19.04.53.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-5844981231844273810</id><published>2012-07-08T09:20:00.002+09:00</published><updated>2012-07-16T10:55:57.388+09:00</updated><title type='text'>postfix + dovecot on SL6</title><content type='html'>&lt;h2&gt;postfixの設定&lt;/h2&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
local_recipient_maps = proxy:unix:passwd.byname $alias_maps $virtual_mailbox_maps
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost
myhostname = mail.lumiukko.jp
mynetworks = 49.212.129.72
mynetworks_style = host
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/pki/tls/certs/mail.crt
smtpd_tls_key_file = /etc/pki/tls/certs/mail.key
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_gid_maps = static:502
virtual_mailbox_base = /var/spool/vmail
virtual_mailbox_domains = lumiukko.jp
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_uid_maps = static:502
&lt;/pre&gt;

/etc/postfix/master.cfの内容
&lt;pre class=&quot;prettyprint&quot;&gt;
smtp      inet  n       -       n       -       -       smtpd
submission inet n       -       n       -       -       smtpd
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o milter_macro_daemon_name=ORIGINATING
#smtps     inet  n       -       n       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
&lt;/pre&gt;

/etc/postfix/vmailboxの内容
&lt;pre class=&quot;prettyprint&quot;&gt;
nordenlife@lumiukko.jp lumiukko.jp/nordenlife/Maildir/
&lt;/pre&gt;

&lt;h2&gt;dovecotの設定&lt;/h2&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
# doveconf -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-220.7.1.el6.x86_64 x86_64 Scientific Linux release 6.2 (Carbon) 
auth_mechanisms = cram-md5 login
auth_username_format = %Lu
auth_verbose = yes
listen = *
mail_debug = yes
mail_location = maildir:~/Maildir
mbox_write_locks = fcntl
passdb {
  args = scheme=CRAM-MD5 username_format=%u /etc/dovecot/passwd
  driver = passwd-file
}
protocols = imap
service auth {
  unix_listener /var/spool/postfix/private/dovecot-auth {
    group = postfix
    mode = 0600
    user = postfix
  }
}
ssl = required
ssl_cert = &amp;lt;/etc/pki/tls/certs/mail.crt
ssl_key = &amp;lt;/etc/pki/tls/certs/mail.key
userdb {
  args = uid=vmail gid=vmail home=/var/spool/vmail/%d/%n
  driver = static
}
&lt;/pre&gt;

/etc/dovecot/passwdの内容
&lt;pre class=&quot;prettyprint&quot;&gt;
nordenlife@lumiukko.jp:{CRAM-MD5}c68d3329d0db55548a14e9d7
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/5844981231844273810/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/postfix-dovecot-on-sl6.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/5844981231844273810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/5844981231844273810'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/postfix-dovecot-on-sl6.html' title='postfix + dovecot on SL6'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-9053319772246801785</id><published>2012-07-07T23:15:00.000+09:00</published><updated>2012-07-16T11:12:11.684+09:00</updated><title type='text'>[RESOLVED] Recipient address rejected: User unknown in local recipient tabl</title><content type='html'>postfix + dovecotでメールサーバーを構築中ですが、以下のメッセージが表示されうまくメールが送信できません。
ユーザー認証は、dovecot側でバーチャルユーザーを使っています。

&lt;pre class=&quot;prettyprint&quot;&gt;
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is &#39;^]&#39;.
220 mail.lumiukko.jp ESMTP Postfix
HELO mail.lumiukko.jp
250 mail.lumiukko.jp
MAIL FROM:root
250 2.1.0 Ok
RCPT TO:nordenlife@lumiukko.jp
550 5.1.1 &lt;nordenlife@lumiukko.jp&gt;: Recipient address rejected: User unknown in local recipient table
&lt;/pre&gt;

上記のテストで、/var/log/maillogに出力されるエラーメッセージは以下の通り。
&lt;pre class=&quot;prettyprint&quot;&gt;
Jul  7 23:01:17 www4298uf postfix/smtpd[19280]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 &lt;nordenlife@lumiukko.jp&gt;: Recipient address rejected: User unknown in local recipient table; from=&lt;root&gt; to=&lt;nordenlife@lumiukko.jp&gt; proto=SMTP helo=&lt;mail.lumiukko.jp&gt;
&lt;/pre&gt;

dovecotにimapで接続する際の認証はうまく行ってる気がするのですが。。。

&lt;pre class=&quot;prettyprint&quot;&gt;
# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is &#39;^]&#39;.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
x LOGIN nordenlife@lumiukko.jp password
x OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
x LOGOUT
* BYE Logging out
x OK Logout completed.
Connection closed by foreign host.
&lt;/pre&gt;

postfixの認証を試してみるとうまく行きます。うーん。
ログイン認証はbase64でエンコードする必要があります。

&lt;pre class=&quot;prettyprint&quot;&gt;
# echo -n &quot;nordenlife@lumiukko.jp&quot; | base64
bm9yZGVubGlmZUBsdW1pdWtrby5qcA==
# echo -n &quot;password&quot; | base64
cGFzc3dvcmQ=
[root@www4298uf ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is &#39;^]&#39;.
220 mail.lumiukko.jp ESMTP Postfix
AUTH LOGIN
334 VXNlcm5hbWU6
bm9yZGVubGlmZUBsdW1pdWtrby5qcA==
334 UGFzc3dvcmQ6
cGFzc3dvcmQ=
235 2.7.0 Authentication successful
QUIT
221 2.0.0 Bye
Connection closed by foreign host.
&lt;/pre&gt;

&lt;h2&gt;原因判明&lt;/h2&gt;
local_recipient_mapsを設定していなかったことが原因でした。
/etc/postfix/main.cf
&lt;pre class=&quot;prettyprint&quot;&gt;
local_recipient_maps = proxy:unix:passwd.byname $alias_maps $virtual_mailbox_maps
alias_maps = hash:/etc/aliases
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
&lt;/pre&gt;

ちなみに、/etc/postfix/vmailboxの内容は以下になっています。

&lt;pre class=&quot;prettyprint&quot;&gt;
nordenlife@lumiukko.jp lumiukko.jp/nordenlife/Maildir/
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/9053319772246801785/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/recipient-address-rejected-user-unknown.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/9053319772246801785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/9053319772246801785'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/07/recipient-address-rejected-user-unknown.html' title='[RESOLVED] Recipient address rejected: User unknown in local recipient tabl'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-8299113410352226927</id><published>2012-06-11T21:02:00.000+09:00</published><updated>2012-06-13T18:54:17.631+09:00</updated><title type='text'>お名前.com VPS scientific linuxをインストール</title><content type='html'>お名前.comのVPS(2GB)を借りたので、Scientific Linuxをインストールしてみました。
&lt;br /&gt;
&lt;iframe allowtransparency=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;60&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://ad.jp.ap.valuecommerce.com/servlet/htmlbanner?sid=2971224&amp;amp;pid=881119549&quot; width=&quot;468&quot;&gt;&amp;amp;amp;lt;p&amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;lt;p&amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;p&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;p&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;p&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;p&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;script language=&quot;javascript&quot; src=&quot;http://ad.jp.ap.valuecommerce.com/servlet/jsbanner?sid=2971224&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;pid=881119549&quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/script&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;noscript&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;a href=&quot;http://ck.jp.ap.valuecommerce.com/servlet/referral?sid=2971224&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;pid=881119549&quot; target=&quot;_blank&quot; &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;img src=&quot;http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2971224&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;pid=881119549&quot; height=&quot;60&quot; width=&quot;468&quot; border=&quot;0&quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/noscript&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/p&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/p&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/p&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/p&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;lt;/p&amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;lt;/p&amp;amp;amp;gt;&lt;/iframe&gt;
&lt;br /&gt;
まずはコントロールパネルから「OS再インストール」を選びます。OSとして、Scientific Linux 6.2 (64bit)を選び、ディスク構成はお好みで。私は1パーティションにします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyYv0LU95heQ9PCv5u8GfudlQbsrLAfnbU5Ct633DCdPCsxYv4zvHcFir5k6DSNC9fy8gegVX7_bePSC0WrxSY2p8Z72qBiMY56WOv_hr6G73ny-XfchftaVFml4mXmCOaL0J967pI-Fw/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-06-11+20.21.10.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;358&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyYv0LU95heQ9PCv5u8GfudlQbsrLAfnbU5Ct633DCdPCsxYv4zvHcFir5k6DSNC9fy8gegVX7_bePSC0WrxSY2p8Z72qBiMY56WOv_hr6G73ny-XfchftaVFml4mXmCOaL0J967pI-Fw/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-06-11+20.21.10.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
確認、実行と進んでいきます。
&lt;br /&gt;
次にコントロールパネルの「コンソール画面」を選びます。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJoe2xq85_klnx_rDqSFMCHP5mHgjWwoeNowe0M29iIJPQRwxrWD4LcN9skeXnr0_ObJYAonWxuiHxj0X60Zk8TsuTfWyOLaDsIsNU6nDTZ09K7ZxFUa3g-Nf-tO572aShaCYh-7GXmbg/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-06-11+20.29.42.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: none; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;303&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJoe2xq85_klnx_rDqSFMCHP5mHgjWwoeNowe0M29iIJPQRwxrWD4LcN9skeXnr0_ObJYAonWxuiHxj0X60Zk8TsuTfWyOLaDsIsNU6nDTZ09K7ZxFUa3g-Nf-tO572aShaCYh-7GXmbg/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-06-11+20.29.42.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
上に並んでいる「起動」をクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDPUwr3LhQNQezowaZ3wRLNxqrZAbtgR20g5lC5T-8ta4d8xH_FfQhEAmzVQvpYU_elHexpZFC-blz8RjwiRqHLtFhvXXi1JsASg6dMU-ZDX84SihYJx62Q9qVsaEKPS2IUG4NpK5KLI4/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-06-11+20.33.56.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;236&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDPUwr3LhQNQezowaZ3wRLNxqrZAbtgR20g5lC5T-8ta4d8xH_FfQhEAmzVQvpYU_elHexpZFC-blz8RjwiRqHLtFhvXXi1JsASg6dMU-ZDX84SihYJx62Q9qVsaEKPS2IUG4NpK5KLI4/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-06-11+20.33.56.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
カーソルを一番上の「Install or upgrade an existing system」に合わせて、リターンキーを押します。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiARxhO7HhJLPVOCZ8T6pjDXyRJFx9WukwCbwG2qxj5t4tFvGnq5BPlBiCrWzeC2UYXcQ-kWmFJS7zDFdAhKARu6PkcoBK-iIoVC7wO71i8UH__WwZuNe-ncvRhUkrUgSx6C0jtOMduloI/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+17.49.19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;222&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiARxhO7HhJLPVOCZ8T6pjDXyRJFx9WukwCbwG2qxj5t4tFvGnq5BPlBiCrWzeC2UYXcQ-kWmFJS7zDFdAhKARu6PkcoBK-iIoVC7wO71i8UH__WwZuNe-ncvRhUkrUgSx6C0jtOMduloI/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+17.49.19.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
メディアチェックはどちらでも構わないと思いますので、OKかSkip好きな方を選択します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
次のインストール中の言語設定は、日本語は使えないので英語のままでも問題ないのですが、Japaneseを選んでおくと、タイムゾーン設定が少し楽になります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhusqotdD_uXfbHLyutK3Gp3cTOozYreL3ixyVkMVzbZKCPhhwmm1Ub0XbfyngXfYLW10wl75OXaJ3-9HsPmfTQPwa-WPinG6jAah5jIMAqtg-HVmZOpyLMe0SPXoEx1ii4j1e9rftdwuM/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+17.51.38.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhusqotdD_uXfbHLyutK3Gp3cTOozYreL3ixyVkMVzbZKCPhhwmm1Ub0XbfyngXfYLW10wl75OXaJ3-9HsPmfTQPwa-WPinG6jAah5jIMAqtg-HVmZOpyLMe0SPXoEx1ii4j1e9rftdwuM/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+17.51.38.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
次のキーボードタイプは、環境にもよりますが、jp106の日本語キーボードを選択します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRYNMOJLe34L0J6wKOATZDUSsjWmdVpWkByTo3O0ICeXqDsXxksCDk5bSe17U_gw9H5RnD1vWRXAW-IkZFIce7SNFqyyWG2fIT68FqyGSWvV5ALV-nHJTG-Vd4Z5OBbmvQW2TvZO0faJ4/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+17.54.36.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;222&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRYNMOJLe34L0J6wKOATZDUSsjWmdVpWkByTo3O0ICeXqDsXxksCDk5bSe17U_gw9H5RnD1vWRXAW-IkZFIce7SNFqyyWG2fIT68FqyGSWvV5ALV-nHJTG-Vd4Z5OBbmvQW2TvZO0faJ4/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+17.54.36.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
次が一番はまりやすいインストールイメージの選択画面です。正解は「URL」ですのでお間違い無く！&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPju61BXx7e0u9q5HQvcHEVV2-yll8ypOdcMy8nBvi6E3KBcL7lnt7IFCxctaL-4JNEQDBA3_5VEoBuEpkTLapgb03qJ9_63KJkeTnSPCOhBRkRT3GYyZf1H0Kq4MNh7zHNIJ2rQfYoic/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+17.55.58.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;220&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPju61BXx7e0u9q5HQvcHEVV2-yll8ypOdcMy8nBvi6E3KBcL7lnt7IFCxctaL-4JNEQDBA3_5VEoBuEpkTLapgb03qJ9_63KJkeTnSPCOhBRkRT3GYyZf1H0Kq4MNh7zHNIJ2rQfYoic/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+17.55.58.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
ネットワークの設定ですが、私はまだIPv6を使っていないので無効にしますが、どちらでも構わないと思います。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBgO6ZqtQPt8HU4QlQW-7PQRdC92ALimaB0IvbpqVWh994SZXC-UVmoQvP22rJGcj310JVPIuNhJoVfXNnTwlcbs-xfIhiFZbUViNmThLzxuPR2SxjennVU6f0ky5FStcaISmUNifPjE4/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+17.57.33.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBgO6ZqtQPt8HU4QlQW-7PQRdC92ALimaB0IvbpqVWh994SZXC-UVmoQvP22rJGcj310JVPIuNhJoVfXNnTwlcbs-xfIhiFZbUViNmThLzxuPR2SxjennVU6f0ky5FStcaISmUNifPjE4/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+17.57.33.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
さて、次にイメージを置いてあるサーバーのURLを指定するのですが、&lt;a href=&quot;http://www.scientificlinux.org/download&quot;&gt;公式サイト&lt;/a&gt;から最寄りのミラーサイトを見つけます。私は埼玉のKDDIにしました。64bitをインストールするので、入力するアドレスは、http://ftp.ne.jp/Linux/distributions/scientificlinux/6.2/x86_64/os/&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
となります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijz_AAg2EX28aTQGwixA255H9BNgPIyfWhSU49gbqV5f5_k01ovdygxc50MoMfutoPebkkSnzxu5xqe_xntryBufwYJJOsaaMZdXR_rk7PAT0bLfia6h06Ry_4gQdXqQFLYLao5kEnvPY/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.08.42.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijz_AAg2EX28aTQGwixA255H9BNgPIyfWhSU49gbqV5f5_k01ovdygxc50MoMfutoPebkkSnzxu5xqe_xntryBufwYJJOsaaMZdXR_rk7PAT0bLfia6h06Ry_4gQdXqQFLYLao5kEnvPY/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.08.42.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
正しく入力すれば次の画面になります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5miVGq1p8W158rIBNrGVjtXXxo-KH9SQOWj2k0LR7CivhIQsL8rzWLPgD7wAueb65fOGBZRDSX9P0PkYsiSHXUu2q88yzighf-E6GhAVXq9sVrLob27aU5MS0uREYPFwWu_We4_O8CJ4/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.10.16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;297&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5miVGq1p8W158rIBNrGVjtXXxo-KH9SQOWj2k0LR7CivhIQsL8rzWLPgD7wAueb65fOGBZRDSX9P0PkYsiSHXUu2q88yzighf-E6GhAVXq9sVrLob27aU5MS0uREYPFwWu_We4_O8CJ4/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.10.16.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
分かりにくいのですが、右下にスクロールすると、「次⇒」というのが表示されていますので、それをクリックします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpquigFrOcJMXrybuinizSyvLxJAV7UwJIofrq9Bde5-jYZHICS0qC-omSWaqwP6nJrfZ_VzoKzWPuSksem2EGhtC0jJvaq18EfSY469Z4l78qOgV7NsxYepVJ2zWfkIdlqDI3N0d8QDA/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.19.17.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;372&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpquigFrOcJMXrybuinizSyvLxJAV7UwJIofrq9Bde5-jYZHICS0qC-omSWaqwP6nJrfZ_VzoKzWPuSksem2EGhtC0jJvaq18EfSY469Z4l78qOgV7NsxYepVJ2zWfkIdlqDI3N0d8QDA/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.19.17.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
どんどん画面を進めていきます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgonl2oI-GlwFhdK-KHfBqyPFnWlG5J3Cj6UnjfgF78UtdDqIpXU6LOa7rZ2fWCk4qnFvHDB1YytWa13qMeO4PjBznGovFsEYS71w2nHVcuuubxA_6-p6t1fIj2Ij95_hebvH_pBHtIyA8/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.23.25.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;333&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgonl2oI-GlwFhdK-KHfBqyPFnWlG5J3Cj6UnjfgF78UtdDqIpXU6LOa7rZ2fWCk4qnFvHDB1YytWa13qMeO4PjBznGovFsEYS71w2nHVcuuubxA_6-p6t1fIj2Ij95_hebvH_pBHtIyA8/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.23.25.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtOZbwlxMwr5WSBDRcvlX-jW6joySp7jOnenEo3u1P7eyRs_2Lpue6uQcDrHUsniUZ4Kzt19ckZ1mEuZBBRnIHfssCp4i7gueWKqSzAXCw630LuE_VcAcGFgzyyrW23LwsydWj6Jd_WOc/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.32.09.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;177&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtOZbwlxMwr5WSBDRcvlX-jW6joySp7jOnenEo3u1P7eyRs_2Lpue6uQcDrHUsniUZ4Kzt19ckZ1mEuZBBRnIHfssCp4i7gueWKqSzAXCw630LuE_VcAcGFgzyyrW23LwsydWj6Jd_WOc/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.32.09.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
タイムゾーンの設定ですが、ここは次のように設定し、デフォルトでついている「システムクロックでUTCを使用」のチェックを外した方がすっきりしていいと思います。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYythNn1f_pVcgNdBdePQFydfGzNQqjqOi1dU8ifJnp9TTmyd5SxkRaBVxhH26J1JYtj0k7uadW6H2312U4T1eAHiIwyW0NfpHGrxVniRmPPpgU4dC4iDA5T014r5ZQXjqoerWM_vh4YQ/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.36.01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYythNn1f_pVcgNdBdePQFydfGzNQqjqOi1dU8ifJnp9TTmyd5SxkRaBVxhH26J1JYtj0k7uadW6H2312U4T1eAHiIwyW0NfpHGrxVniRmPPpgU4dC4iDA5T014r5ZQXjqoerWM_vh4YQ/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.36.01.png&quot; width=&quot;278&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCjOuLWtARXOjk0Y4tHoKL0Wb9-voBtRlJj0QtInWBvF-skdoa_7Je34hyz7KzM0E8v5ZD2HekfkooPRaEKALtq9Ll0DxT0mm5xfA-91WYj9RRwXycX-IHI5tfnaLO0V5jlJZGVwP6ras/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.38.14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCjOuLWtARXOjk0Y4tHoKL0Wb9-voBtRlJj0QtInWBvF-skdoa_7Je34hyz7KzM0E8v5ZD2HekfkooPRaEKALtq9Ll0DxT0mm5xfA-91WYj9RRwXycX-IHI5tfnaLO0V5jlJZGVwP6ras/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.38.14.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
インストールパーティションは次のようにしておきます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisu9cTI0y-HX2sYNA23jAHuwjo33rysWlapusYQeazEWXORciHA8rzRH_Ee2lDmFfI5eV-0X7j7HD3jZW4tggXWeR9_EyHsYiYVNlJVkqgojb96rdiOh0g_qXIw3XPADb5RluL41Pefj8/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.39.37.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;392&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisu9cTI0y-HX2sYNA23jAHuwjo33rysWlapusYQeazEWXORciHA8rzRH_Ee2lDmFfI5eV-0X7j7HD3jZW4tggXWeR9_EyHsYiYVNlJVkqgojb96rdiOh0g_qXIw3XPADb5RluL41Pefj8/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.39.37.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
パーティションのレイアウトは、最初このようになっていると思います。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCoM00Al4G8jrHf2zEwaqgeKaCqG7sza0nQRDFvDV-y6rPEmDR_lca38weqgsLE8Qvw-eHL0XZFnhFUpqpaZSsMa4jFNCc6CVYY1Yi5Zjq142u0rahlQpJfKAXzW1X_YPQCLkr3Og7qt8/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.42.43.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;153&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCoM00Al4G8jrHf2zEwaqgeKaCqG7sza0nQRDFvDV-y6rPEmDR_lca38weqgsLE8Qvw-eHL0XZFnhFUpqpaZSsMa4jFNCc6CVYY1Yi5Zjq142u0rahlQpJfKAXzW1X_YPQCLkr3Og7qt8/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.42.43.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
LVMをrootとhomeで分ける必要を感じないので、削除して1つにまとめます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
まず、lv_homeを選択して削除。そして、lv_rootを選択して編集。サイズを最大に変更します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2nGeXT93z0tV_1BEgnsd_WjKxluzJTKOtYw3nN5wYuiPorZ2PKr_bkaNsZqHl4qSIUOeI9PjyT34S9zyL-RVKQuvMgiVynFBputINtX7kEAxQz49gXNnqVLc2mG4a-l2kO_fnxNUQDOc/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.44.41.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2nGeXT93z0tV_1BEgnsd_WjKxluzJTKOtYw3nN5wYuiPorZ2PKr_bkaNsZqHl4qSIUOeI9PjyT34S9zyL-RVKQuvMgiVynFBputINtX7kEAxQz49gXNnqVLc2mG4a-l2kO_fnxNUQDOc/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.44.41.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhybhC5yFu4QBnuBvBRqx57g1aHrm5Cecjl-hS8GHHLwoBbtNg-P9CXDni_1jqPy4UXJZwWnutm-M11gLtjlEhBMMNLULLllJHrF87zfCMbMVxxUGz6u335IV194Q3Du2RYJFf9vCIto88/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.46.10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;138&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhybhC5yFu4QBnuBvBRqx57g1aHrm5Cecjl-hS8GHHLwoBbtNg-P9CXDni_1jqPy4UXJZwWnutm-M11gLtjlEhBMMNLULLllJHrF87zfCMbMVxxUGz6u335IV194Q3Du2RYJFf9vCIto88/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.46.10.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
これで次へ進みます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoVnUqUHykgF20cgUUFnBGb7T2mI5N0d3iWPz8OJHFYqk0fGGnYfSRZI1aB6qAenA_MXnR398_EiEYOhOlRBTOwFzwheCM8-NVLxlWz4grjJN9wAuaIZO5Fkna8wlDnscOxNHsoDid7qI/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.47.52.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;137&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoVnUqUHykgF20cgUUFnBGb7T2mI5N0d3iWPz8OJHFYqk0fGGnYfSRZI1aB6qAenA_MXnR398_EiEYOhOlRBTOwFzwheCM8-NVLxlWz4grjJN9wAuaIZO5Fkna8wlDnscOxNHsoDid7qI/s320/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.47.52.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Write changes to diskを押して変更を書き込みます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
これで次へ進みます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-y-NM6fb8yOZCgydjOL8fl7x_FGaiKggpFrEAsOo0ex-2Jn8g9hnjT-u7jIC9qa4CqpEfJSuuysPdVRqefaZnxCvKDMQlyb5uredcIJb58PCVedUh0KGSLCwjSDBG8aFKWddmspQID28/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.49.44.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;186&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-y-NM6fb8yOZCgydjOL8fl7x_FGaiKggpFrEAsOo0ex-2Jn8g9hnjT-u7jIC9qa4CqpEfJSuuysPdVRqefaZnxCvKDMQlyb5uredcIJb58PCVedUh0KGSLCwjSDBG8aFKWddmspQID28/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.49.44.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
このまま次へ進みます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi9duThLUIKufS8MyI7F9TehM_-BBxoo5UyzwM7UGixWg9f6xpX4dDlo_20vbhlqgWxgNTQDhN-5OGYFNif2MVaNzr3DWb4F-PUJw_wvbbYoKIdae5dWgipRTgi5ZeWvr0Be23rJNWAM0/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.51.17.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi9duThLUIKufS8MyI7F9TehM_-BBxoo5UyzwM7UGixWg9f6xpX4dDlo_20vbhlqgWxgNTQDhN-5OGYFNif2MVaNzr3DWb4F-PUJw_wvbbYoKIdae5dWgipRTgi5ZeWvr0Be23rJNWAM0/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-06-13+18.51.17.png&quot; width=&quot;373&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
必要最低限のパッケージだけをインストールしたいので、Minimalを選びます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
インストールが開始されますので、しばらくお待ち下さい。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
終わったら、インストールイメージを取り出して、リブートします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
以上で無事にインストールできました。&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/8299113410352226927/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/06/com-vps-scientific-linux.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/8299113410352226927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/8299113410352226927'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/06/com-vps-scientific-linux.html' title='お名前.com VPS scientific linuxをインストール'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyYv0LU95heQ9PCv5u8GfudlQbsrLAfnbU5Ct633DCdPCsxYv4zvHcFir5k6DSNC9fy8gegVX7_bePSC0WrxSY2p8Z72qBiMY56WOv_hr6G73ny-XfchftaVFml4mXmCOaL0J967pI-Fw/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2012-06-11+20.21.10.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-5115436225525813617</id><published>2012-06-04T22:08:00.001+09:00</published><updated>2012-06-04T22:08:11.621+09:00</updated><title type='text'>WordPressのページタイトルをいじりたい</title><content type='html'>URLパラメータとして ?keyword=hogehoge が指定されたら、ページタイトルにそのパラメータを追加するということをやってみました。

function.phpの中で、wp_titleをhookしてあげればいいようです。

&lt;pre class=&quot;prettyprint&quot;&gt;
function yk_title_filter($title, $sep, $seplocation) {
    // If it&#39;s a item_search page                                                                                  
    if (isset($_GET[&#39;keyword&#39;])) {
        if (&#39;right&#39; == $seplocation) {
            $title = $_GET[&#39;keyword&#39;] . &quot; $sep &quot; . $title;
 } else {
            $title = $title . &quot; $sep &quot; . $_GET[&#39;keyword&#39;];
 }
    }

    return $title;
}
add_filter(&#39;wp_title&#39;, &#39;yk_title_filter&#39;, 10, 3);
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/5115436225525813617/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/06/wordpress_6964.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/5115436225525813617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/5115436225525813617'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/06/wordpress_6964.html' title='WordPressのページタイトルをいじりたい'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-1419931210274418991</id><published>2012-06-04T22:06:00.001+09:00</published><updated>2012-06-04T22:06:09.273+09:00</updated><title type='text'>http://r.hatena.ne.jp/rpc could not be pinged. Error message: &quot;transport error - HTTP status code was not 200&quot;</title><content type='html'>&lt;blockquote&gt;http://r.hatena.ne.jp/rpc could not be pinged. Error message: &quot;transport error - HTTP status code was not 200&quot;&lt;/blockquote&gt;

サービス終了のお知らせ</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/1419931210274418991/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/06/httprhatenanejprpc-could-not-be-pinged.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/1419931210274418991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/1419931210274418991'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/06/httprhatenanejprpc-could-not-be-pinged.html' title='http://r.hatena.ne.jp/rpc could not be pinged. Error message: &quot;transport error - HTTP status code was not 200&quot;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-3498823026714915870</id><published>2012-06-04T21:56:00.001+09:00</published><updated>2012-06-04T21:56:10.006+09:00</updated><title type='text'>http://hamo-search.com/ping.php could not be pinged. Error message: &quot;transport error - HTTP status code was not 200&quot;</title><content type='html'>&lt;blockquote&gt;http://hamo-search.com/ping.php could not be pinged. Error message: &quot;transport error - HTTP status code was not 200&quot;&lt;/blockquote&gt;

&lt;blockquote&gt;HARMONY SEARCHにつきまして5/6にサービスを終了いたしました。
今までのご利用ありがとうございました。&lt;/blockquote&gt;

ということで、サービス終了ですので、エントリーを削除しました。</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/3498823026714915870/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/06/httphamo-searchcompingphp-could-not-be.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/3498823026714915870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/3498823026714915870'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/06/httphamo-searchcompingphp-could-not-be.html' title='http://hamo-search.com/ping.php could not be pinged. Error message: &quot;transport error - HTTP status code was not 200&quot;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6847315819283936863.post-7640570387550152438</id><published>2012-06-04T21:55:00.001+09:00</published><updated>2012-06-04T21:55:38.794+09:00</updated><title type='text'>http://ping.ask.jp/xmlrpc.m could not be pinged. Error message: &quot;transport error - could not open socket&quot;</title><content type='html'>&lt;blockquote&gt;http://ping.ask.jp/xmlrpc.m could not be pinged. Error message: &quot;transport error - could not open socket&quot;&lt;/blockquote&gt;

どうやらpingサーバーは廃止されているようです。
sitemapは受け付けているようなので、そちらで代用することにしました。

&lt;blockquote&gt;http://submissions.ask.com/ping?sitemap=http%3A//www.the URL of your sitemap here.xml&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://drivemydreams.blogspot.com/feeds/7640570387550152438/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://drivemydreams.blogspot.com/2012/06/httppingaskjpxmlrpcm-could-not-be.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/7640570387550152438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6847315819283936863/posts/default/7640570387550152438'/><link rel='alternate' type='text/html' href='http://drivemydreams.blogspot.com/2012/06/httppingaskjpxmlrpcm-could-not-be.html' title='http://ping.ask.jp/xmlrpc.m could not be pinged. Error message: &quot;transport error - could not open socket&quot;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06934420293313959945</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>