7,166
edits
(→諸注意) |
(→諸注意) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
/etc/systemd/system/timers.target.wants/apt-daily.timer | /etc/systemd/system/timers.target.wants/apt-daily.timer | ||
* public dns resolver | |||
一律 "172.16.0.23" から、それぞれの VPC network 定義による network address の下位オクテットに 2 足す。通常下位オクテットは 0 にすると思うので 2 になる。 | |||
:: ex) address 空間 172.16.0.0/16 で network address 172.16.0.0 の場合、amazon dns は 172.16.0.2 に設定される。 | |||
* ec2 metadata | |||
これは VPC でも同じ "169.254.169.254" | |||
== まだ安定してなさそげ == | |||
* systemd メモ | |||
[https://github.com/varnishcache/pkg-varnish-cache/issues/31 "systemctl varnishncsa reload" stops varnishncsa on Ubuntu 16.04 LTS] | |||
== 諸注意 == | == 諸注意 == | ||
* /boot/grub/menu.lst の件 | * /boot/grub/menu.lst の件 | ||
[http://www.egrep.jp/wiki/index.php/Ubuntu_10.04_LTS_(Lucid_Lynx)_AMI#root_device_.E5.95.8F.E9.A1.8C ここ再確認] | [http://www.egrep.jp/wiki/index.php/Ubuntu_10.04_LTS_(Lucid_Lynx)_AMI#root_device_.E5.95.8F.E9.A1.8C ここ再確認] | ||
:HVM は grub2 だった! | |||
:/etc/default/grub.d/00-fix-boot-device.cfg | |||
<pre> | |||
GRUB_DISABLE_LINUX_UUID=true | |||
GRUB_DEVICE=/dev/xvda1 | |||
</pre> | |||
:update-grub2 | |||
::念のために PV-GRUB 用の変更もしておく。 | |||
* clocksource | |||
/etc/default/grub.d/50-cloudimg-settings.cfg | |||
で | |||
GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0 clocksource=tsc" | |||
ubuntu AMI そのままでは ntp が起動しないので ntp と ntpdate を install する。 | |||
[https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1577596 ntpd not started when using ntpdate] | |||
::まだ fix してない... | |||
* elasticsearch と systemd | * elasticsearch と systemd | ||
Line 27: | Line 57: | ||
* lm-sensors はお預け | * lm-sensors はお預け | ||
kernel module がない... image-extra もない... | kernel module がない... image-extra もない... | ||
module verification failed: signature and/or required key missing - tainting kernel | |||
:野良 kernel module は拒否されるっぽい | |||
::Ubuntu 純正 の linux-image-extra は見つからない... | |||
* zimbra | * zimbra | ||
<pre> | <pre> | ||
# bin等 を書き換える | |||
chown -R zimbra:zimbra zimbra | |||
/opt/zimbra/libexec/zmfixperms | |||
# install する | |||
apt-get install bsd-mailx | apt-get install bsd-mailx | ||
Line 43: | Line 83: | ||
newaliases | newaliases | ||
emacs /opt/zimbra/conf/postfix_blacklist | |||
postmap /opt/zimbra/conf/postfix_blacklist | |||
</pre> | </pre> |