目次

  1. 必要条件
  2. データベースの作製
  3. インストール

必要条件

  • ローカルの.htaccessファイルを使用できるApache Webサーバー1.3.34以降(mod_rewriteモジュールはオプションですが、強くお勧めします)。
  • MySQLデータベース5.0以降。
  • PDO、pdo_mysql、およびgd拡張機能を備えたPHP 5.4以降。

データベースの作製

データベース名:mibewdb
データベースユーザー名:mibewuser
データベースパスワード:password

# mysql -u root -p
Enter password:

mysql> create database mibewdb;
Query OK, 1 row affected (0.00 sec) 

mysql> GRANT ALL ON mibewdb.* TO mibewuser@localhost IDENTIFIED BY 'password';
Query OK, 0 rows affected (0.00 sec) 

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec) 

mysql> exit
Bye 

インストール

以下のコマンドでzipをダウンロード

# wget https://sourceforge.net/projects/mibew/files/core/3.2.4/mibew-3.2.4.zip/download --no-check-certificate^

ファイル作成,移動

# mkdir /var/www/html/mibew

# chown -R root:apache /var/www/html/mibew/

# cp mibew-3.2.4.zip /var/www/html/mibew/

展開

# unzip mibew-3.2.4.zip

データベースの登録

「default_config.yml 」を複製

# cp /var/www/html/mibew/configs/default_config.yml /var/www/html/mibew/configs/config.yml

こんな感じで書き換えてください

database:
    host: ""
    port: 3306
    db: ""
    login: ""
    pass: ""
    tables_prefix: ""
    use_persistent_connection: false


database:
    host: "localhost"
    port: 3306
    db: "mibewdb"
    login: "mibewuser"
    pass: "password"
    tables_prefix: ""
    use_persistent_connection: false

http:///mibew/install にアクセスして指示に従いインストール完了

参考

[![](https://web.archive.org/web/20200925233926im_/https://s0.wordpress.com/mshots/v1/https%3A%2F%2Fdocs.mibew.org%2Finstallation- and- update.html?w=160&h=90)![](https://web.archive.org/web/20200925233926im_/https://s0.wordpress.com/mshots/v1/https%3A%2F%2Fdocs.mibew.org%2Finstallation- and-update.html?w=160&h=90)Installation and update — Mibew Messenger docsdocs.mibew.org](https://web.archive.org/web/20200925233926/https://docs.mibew.org/installation- and-update.html “Installation and update — Mibew Messenger docs”)