CentOS 5系のサーバを何気なくrebootしたら上がってこなくなった。
慌ててリモートコンソール繋ぐと、

INIT: version 2.86 booting
Welcome to  CentOS release 5 (Final)
Press ‘I’ to enter interactive startup.

この画面で止まってた。。


Continue reading

Redmine構築

Redmine構築したのでメモ。(いつも忘れてググってるので。。)

環境

  • CentOS 6.5
  • Redmine 2.5.1
  • Ruby 2.0.0-p481
  • Nginx 1.6.0
  • MySQL 5.1.73

Apache Passengerは使わず、unicornで起動してproxyとしてnginxを使います。unicornはupstartで起動します。rubyはrbenvでお好きなものを。


Continue reading

いつも忘れるのでメモ。

  • ローカルネットワークは192.168.10.0/24 とする。
sed -i "s|net.ipv4.ip_forward = 0|net.ipv4.ip_forward = 1|" /etc/sysctl.conf
sysctl -p
iptables -t nat -A POSTROUTING -s 192.168.10.0/255.255.255.0 -j MASQUERADE
service iptables save


Continue reading

Author's picture

youyo

I’m cloud engineer and software engineer.
This is a daily memorandum.

Cloud engineer
Software engineer

Sendai in Japan