Open三国志 (Google Android) | Official Web
Open三国志(サーバーサイド) (0.1.5) | 2010-11-10 23:28 |
Open三国志(クライアント) (0.1.6(Client)) | 2011-02-06 00:56 |
オンラインゲームを支える技術 --壮大なプレイ空間の舞台裏
初めてのGoogle Androidプログラミング サンプルで学ぶ必須作法と基本手順
Google Androidアプリケーション開発入門 画面作成からデバイス制御まで――基本機能の全容
コードからわかるAndroidプログラミングのしくみ 開発で困ったときの解決アプローチ
「ヒットする」のゲームデザイン ―ユーザーモデルによるマーケット主導型デザイン
groupadd mysql useradd -g mysql -d /dev/null -s /usr/sbin/nologin mysql cd /usr/local/src yum -y install gcc.x86_64 yum -y install gcc-c++.x86_64 yum -y install ncurses-devel.x86_64
wget http://www.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.44.tar.gz/from/http://ftp.iij.ad.jp/pub/db/mysql/ tar zxvf mysql-5.1.44.tar.gz
cd mysql-5.1.44 ./configure \ --prefix=/usr/local/mysql \ --with-charset=utf8 \ --with-extra-charsets=all \ --with-mysqld-user=mysql \ --with-plugins=max make make check make install ./scripts/mysql_install_db --datadir=/var/lib/mysql --user=mysql cp /usr/local/mysql/share/mysql/my-medium.cnf /etc/my.cnf cp /usr/local/mysql/share/mysql/mysql.server /etc/init.d/mysqld chown -R mysql:mysql /usr/local/mysql mkdir -p /var/run/mysql chown mysql:mysql /var/run/mysql vi /etc/my.cnf
([mysqld]に追加)
datadir=/var/lib/mysql bind-address = 127.0.0.1 ← 外からアクセスするなら不要
chkconfig --add mysqld service mysqld start /usr/local/mysql/bin/mysqladmin -u root password パスワード /usr/local/mysql/bin/mysql -u root -p
use mysql delete from user where User = ''; flush privileges; quit
cd /usr/local/src wget http://www.fastcgi.com/dist/fcgi.tar.gz tar zxvf fcgi-2.4.0.tar.gz cd fcgi-2.4.0 ./configure make make check make install
groupadd wwwsangokushi useradd -g wwwsangokushi -d /dev/null -s /usr/sbin/nologin wwwsangokushi yum -y install openssl-devel.x86_64 yum -y install pcre-devel.x86_64 cd /usr/local/src wget http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.26.tar.gz tar xvzf lighttpd-1.4.26.tar.gz cd lighttpd-1.4.26 ./configure --with-openssl --with-openssl-libs=/usr/lib --without-bzip2 make make check make install lighttpd -v cp doc/rc.lighttpd.redhat /etc/init.d/lighttpd mkdir /etc/lighttpd cp doc/lighttpd.conf /etc/lighttpd/lighttpd.conf ln -s /usr/local/sbin/lighttpd /usr/sbin/lighttpd mkdir -p /srv/www/htdocs mkdir -p /var/log/lighttpd chown :wwwsangokushi /var/log/lighttpd/ vi /etc/lighttpd/lighttpd.conf
server.pid-file = "/var/run/lighttpd.pid server.username = "wwwsangokushi" server.groupname = "wwwsangokushi" server.modules = ( "mod_rewrite", "mod_redirect", "mod_alias", "mod_access", # "mod_trigger_b4_dl", # "mod_auth", # "mod_status", "mod_setenv", "mod_fastcgi", # "mod_proxy", # "mod_simple_vhost", # "mod_evhost", # "mod_userdir", # "mod_cgi", # "mod_compress", # "mod_ssi", # "mod_usertrack", # "mod_expire", # "mod_secdownload", # "mod_rrdtool", "mod_accesslog" ) fastcgi.server = ( ".php" => ( "localhost" => ( "socket" => "/tmp/php-fastcgi.socket", "bin-path" => "/usr/local/bin/php-cgi" ) ) )
設定後
lighttpd -t -p -f /etc/lighttpd/lighttpd.conf chkconfig --add lighttpd
cd /usr/local/src yum -y install libxml2-devel.x86_64 yum -y install autoconf.x86_64 wget http://www.php.net/get/php-5.2.13.tar.gz/from/jp.php.net/mirror tar zxvf php-5.2.13.tar.gz ln -s /usr/local/mysql/include/mysql /usr/local/include/mysql ln -s /usr/local/mysql/lib/mysql /usr/local/lib/mysql ln -s /usr/local/include/mysql/ include ln -s /usr/local/lib/mysql/ lib ln -s /usr/local/mysql/lib /usr/local/mysql/lib64 cd php-5.2.13 ./configure \ --without-sqlite \ --enable-fastcgi \ --enable-discard-path \ --enable-force-cgi-redirect \ --enable-mbstring \ --enable-mbregex \ --enable-sockets \ --enable-zend-multibyte \ --enable-pdo \ --with-pdo-mysql=/usr/local/mysql \ --with-mysql=/usr/local/mysql \ --with-libdir=lib64 \ --with-zlib make make test make install cp php.ini-dist /usr/local/lib/php.ini vi /usr/local/lib/php.ini extension=pdo.so extension=pdo_mysql.so cd /usr/local/src
pecl install pdo_mysql
かもしくは
pecl download pdo_mysql tar xvfz PDO_MYSQL-1.0.2.tgz cd PDO_MYSQL-1.0.2 cd PDO_MYSQL-1.0.2 yum -y automake yum -y autoconf phpize ./configure --with-pdo-mysql=/usr/local/mysql make make test make install vi /srv/www/htdocs/phpinfo.php
<?php phpinfo(); ?>
service lighttpd startブラウザからphpinfo.phpを確認