Strict Standards: Declaration of action_plugin_blog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/blog/action.php on line 13

Strict Standards: Declaration of action_plugin_indexmenu::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/indexmenu/action.php on line 13

Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/importoldchangelog/action.php on line 8

Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/importoldindex/action.php on line 8

Strict Standards: Declaration of action_plugin_include::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/include/action.php on line 19

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 208

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 421

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 594

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/cache.php on line 291

Deprecated: Function split() is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/auth.php on line 154

Strict Standards: Only variables should be passed by reference in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/doku.php on line 73
fgmベータ環境関連 [開発チーム]

fgmベータ環境関連

fgm_web1 と fgm_web2 で作業

smartyテンプレートディレクトリ作成

mkdir /var/www/templates_c_beta
chown www-data.www-data /var/www/templates_c_beta

バーチャルホスト作成

vi /etc/apache2/sites-available/beta
<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName fgm-beta.fideli.com
        ServerAlias fgm-beta-1.fideli.com
        ServerAlias fgm-beta-2.fideli.com
        DocumentRoot /var/www/mp/beta/html
        Alias /upload /image_data/files/upload
        Alias /pwd /image_data/files/upload/account/2/pwd
        <Directory /var/www/mp/beta/html>
                Options FollowSymLinks
                AllowOverride All
                # BASIC start------------------------
#                       Options All
                        AuthName "Welcome to FGM"
                        AuthType Basic
                        AuthUserFile /var/www/.htpasswd.web
                        require valid-user
                # BASIC end---------------------------
        </Directory>

         ServerSignature Off
       ErrorLog "|\"/usr/sbin/rotatelogs\" \"/var/log/apache2/beta.error.%Y-%m-%d.log\" 86400 540"
       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Host}i\"" combined
       CustomLog "|\"/usr/sbin/rotatelogs\" \"/var/log/apache2/beta.access.%Y-%m-%d.log\" 86400 540" combined
</VirtualHost>

バーチャルホスト有効化

a2ensite beta

DBのリストア

account1 のダンプ取得

mysqldump -h fgm_mysql1 -u mpadmin -p account1 >  account1_20091126.dump

account2 作成。DB作成だけ、fgm_mysql1 と fgm_mysql2 の両方行う

mysql -h fgm_mysql1 -u mpadmin -p
create database account2;
\q

account1 のダンプを account2 へリストア

mysql -h fgm_mysql1 -u mpadmin -p account2 < account1_20091126.dump

account2 用のユーザ作成

mysql -h fgm_mysql1 -u mpadmin -p
update account_master set am_domain = 'fgm-beta-1.fideli.com' where am_uniqnum = 2;

account2 用のディレクトリ作成
「product」の下は自動?、うまく動かなかったら後で手動追加

mkdir -p /image_data/files/upload/account/2/product
mkdir -p /image_data/files/upload/account/2/pwd
mkdir -p /image_data/files/upload/account/2/site
mkdir -p /image_data/files/upload/account/2/web
cp -p /image_data/files/upload/account/1/pwd/.htaccess /image_data/files/upload/account/2/pwd/.htaccess
chown -R www-data.www-data /image_data/files/upload/account/2
fgmベータ環境関連.txt · 最終更新: 2010/07/27 15:47 (外部編集)
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0

Strict Standards: Only variables should be passed by reference in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/doku.php on line 81