Changes between Version 12 and Version 13 of HowTo/SakuraVpsSetup2


Ignore:
Timestamp:
May 30, 2012, 8:53:45 PM (12 years ago)
Author:
村山 俊之
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/SakuraVpsSetup2

    v12 v13  
    361361}}}
    362362
     363Trac の DB データは blog と同様、 mysqldump コマンドを利用する。但し、今回は Trac 関連の DB はすべて同一の DB ユーザーで管理しているので、前回よりコマンド数は少なく済む (grant する回数はむしろ増えたけど)。
     364
     365 * 旧サーバー側での操作:
     366{{{
     367$ cd ~/tempsql
     368$ mysqldump -u trac_master -p --databases trac_otoco trac_ideanote trac_erk_board trac_muzplay trac_boeboe trac_paynote >trac_all.sql
     369}}}
     370 * 新サーバー側での操作:
     371{{{
     372$ cd ~/tempsql/
     373$ rsync -ae ssh onaka.harapeko.jp:/home/murachi/tempsql/trac_all.sql .
     374$ mysql -u root -p <trac_all.sql
     375$ mysql -u root -p
     376
     377mysql> grant all privileges on trac_otoco.* to trac_master@localhost identified by 'パスワード';
     378mysql> grant all privileges on trac_ideanote.* to trac_master@localhost;
     379mysql> grant all privileges on trac_erk_board.* to trac_master@localhost;
     380mysql> grant all privileges on trac_muzplay.* to trac_master@localhost;
     381mysql> grant all privileges on trac_boeboe.* to trac_master@localhost;
     382mysql> grant all privileges on trac_paynote.* to trac_master@localhost;
     383mysql> quit
     384}}}
    363385
    364386=== WSGI の設定 ===