2013年06月20日 AWSのEC2インスタンスを起動したときに最初にやるべきこと Amazon Web Serviceを使い始めて2年 どんどん使える機能が追加されてきましたね VPCが便利になって当初使い始めたころに比べるともはや下手なデータセンターよりよっぽど充実しています。 結構何度か環境を作ってきて最初にやるべきことをまとめておきます。 Amazon Linux 最強説 最近はもっぱらAmazon Linux 64bitを利用しています。理由は楽だから。 最初のころは安定しなかった感じでしたがCentOS6ベース(2013年6月現在)なので慣れたエンジニアも多いうえに、CentOSへの移植も簡単、その上最初からコマンドラインツールが導入済みなので環境変数を設定するだけでEC2コマンドを利用できるのが最大の利点です。 1. インスタンスを起動したらELBの変更サイズを認識させる
そんな事はあんまりないとは思いますが。 configureした時に configure: error: libjpeg.(a|so) not found.って出ます。 ./configure \ --with-apxs=/usr/local/apache/bin/apxs \ --with-jpeg-dir=/usr/lib64 \ --with-png-dir=/usr/lib64 \ --with-zlib \ --with-gd \ --enable-mbstring \ --enable-mbregex \とか指定してるのに、なんでかなぁーってconfigure見てたら for i in $withval /usr/local /usr; do if test -f "$i/lib/libjpeg.$SHLIB_SUFFIX_NAME" -o -f "$i/lib/libjpeg.
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
PHP コードを直接テンプレートに埋め込むことができます。 $php_handling の設定にかかわらず、これはエスケープされません。 このテンプレート内で、Smartyの変数を定義することも可能です。 テンプレート {php} echo 'テンプレート内のPHPでechoもできます'; // 変数を Smarty に割り当てます $this->assign('hoge','テスト'); {/php} {* テンプレート内のPHPで指定された変数も使えます *} {$hoge} PHP $a = 1; $b = 2; テンプレート(1) {php} // PHPの変数を使うには global を使います global $a, $b; if($a == $b){ echo 'テンプレート内のPHPでechoもできます'; } {/php} テンプレート(2) {php} // PHPの変数
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く