Database JUNKY

MySQL,MariaDBを中心としたブログです

ZendCoreでWEBサイトを楽々構築 ① インストール

web + php の環境つくるのに、苦労しておりませんか?ZendCoreを入れれば、GUIから追加機能から、動的に。、しかも簡単にモジュールを追加したり削除したりすることができます。 説明するまでもなく、本当に設定が簡単に行えるZendCoreについてのインストール方法を記載しました。

  1. ダウンロードしたZendCoreのモジュールを解凍します。 # tar zxvf ZendCore-2.5.7-linux-glibc23-amd64.tar.gz
  2. ディレクトリの移動 # cd ZendCore-2.5.7RC4-linux-glibc23-amd64/
  3. インストール開始します。この後、利用規約とかうわーってでてきますのでそのまま、スクロールしていきます。 # ./install -y Welcome to the Zend Core v2.5 Installer. [To continue, press Enter] Do you accept the terms of this license? Answer (yes or no) [yes]: Enter the destination path for the Zend Core Installation. [/usr/local/Zend]: The GUI Password is used to gain access to the Zend Core Web GUI.
  4. GUIパスワードを入力します。ZendCoreは、モジュールの着脱をWEBブラウザから簡単に行えます。 The GUI Password is used to gain access to the Zend Core Web GUI. Please enter a GUI Password: Password: Verify password:
  5. コンポーネントを何いれる?って聞いてきます。特別な用途でない限りそのままでいいでしょう。 Please select which components to install / configure: [ ] 0. Configure Zend Network [X] 1. Install Zend Framework [ ] 2. Install phpMyAdmin [X] 3. Configure Apache Webserver [ ] 4. Install MySQL 5 [ ] 5. Install Oracle Client [ ] 6. Install IBM DB2 Express-C [ ] 7. Install IBM DB2 Client
  6. apacheをどうする?聞いてきます。apacheは、yumでインストール済みなので、このまま進みます。もしapacheもまとめてインストールしたい場合は、[3]を選択すると良いかと思いますが、まあいらないでしょう。 Select an Apache package to install. ------------------------------------ [0] /etc/init.d/httpd [1] /usr/sbin/apachectl  : (2.2.3) [2] Specify Web Server's Location [3] Install the Zend Core bundled Apache.
  7. apacheの設定を自動検出してconfigを書き換えるならばy、手動でいくのであれば、nを選択してといっております。迷わずyで(笑 IMPORTANT! Zend Core Installation must detect your Apache server configuration. Two detection options are available: Auto detection: Configuration will be automatically detected. Note: Selecting this option will cause the installation to stop all running web servers and start selected Apache, using /etc/init.d/httpd. Expert mode: Manually enter the Apache configuration. Choosing this option will NOT interrupt your web servers and will restart only selected Apache. Answer 'yes' to use auto detection or 'no' to enter expert mode.y
  8. apacheのスタートコマンドは何?と聞かれますのでデフォルトの設定でよければそのまま、enter Please confirm your apache startup command [/etc/init.d/httpd start]:
  9. こんな設定をしますっていう確認画面が出ますので、それで問題なければ、7番を入力して、enter Installation has detected the following apache settings. Please review them and modify if needed, then confirm. -------------------------------------------------------- [0] apachectl: /etc/init.d/httpd [1] conf_file: /etc/httpd/conf/httpd.conf [2] host: localhost [3] htdocs: /var/www/html [4] httpd: /usr/sbin/httpd [5] pid_file: /etc/httpd/run/httpd.pid [6] url: http://localhost:80 [7] Configuration is correct, continue
  10. phpをモジュールで動かすか、fastcgiで動かすか?って聞いております。0を入力してenter Select an Apache Installation Method: ------------------------------------- [0] Apache Module (Recommended) [1] FastCGI Please select  :0
  11. しばらくすると、インストールが完了します。そのままenterで終わるか、ログなどを見たい場合は、指定した番号を入力してください。 Zend Core Installation complete. Select one of the following actions: ------------------------------------ [0] Display the installation log file [1] Open the Zend Updater [2] Finish installation Please select [2]:
  12. GUIが動くか確認してみます。ブラウザを利用して、http://192.168.XXX.XXX/ZendCore でアクセスしてみてください。ログイン画面が表示されれば、設定はうまくいっていると思って良いかと思います。またここでのパスワードは、上記4で入力したパスワードになります。
  13. 上記にてログイン成功いたしますと、メニューが表示されます。ここまでいけばおめでとう!です。どうでしょうか・?結構簡単なのがわかったかと思います。個人的には、phprpmyumでちまちまインストールするのすら面倒な人なので、ここまでいたり尽くせりですと本当にうれしくなってしまいます。