2013-02-01から1ヶ月間の記事一覧
echo "scale=3; ($(cut files.ltsv -f5 | cut -d":" -f2 | tr '\n' ' ' | sed -e "s/\ $//g;s/\ /\ \+\ /g")) /1024/1024/1024" |bc
install postfix dovecot-pop3 mkdir ~/Maildir/{cur,tmp,new} http://aikichi.jp/server_memo/memo11_postfix.html postfix 設定 http://centossrv.com/postfix.shtml dovecot 設定
元ディレクトリ: App (既にファイルが置いてある) リモートディレクトリ: AppOrigin リモート設定名: origin とする ローカルで # Git化 cd App git init git add . git commit -m "initial" リモートで mkdir AppOrigin cd AppOrigin git init --bare ロー…
ローカルでポート変換 待ち受けポート固定のアプリを複数のホストで動かしたい時、かつグローバルIPが一つしかなくてNATで制御を行っている場合、便利 ex)192.168.0.3 で40001から40002へ変換 (:40001 でも :40002 でもどちらでも疎通可) sudo iptables -t n…
fping -ag 192.168.0.0/24 2> /dev/null | tee "alive_ip"