子ページ
  • Maintenance

比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。

...

In case of the database, sample of backup commands are like this.

コード ブロック
languagetext
 /usr/bin/mysqldump -unc2user -pnc2pass nc2db > /var/www/backup/wekoBackup.sql

Restore

Its so easy to restore the WEKO from the backup files which were taken by the above. It's just restore the application directory and database itself.

Version-Up

In order to get the latest source code of WEKO repository, you need to check out it from the source repository.
This is an example in case of trunk code. If you are using a stable branch, please modify the end point.

コード ブロック
languagetext
svn co http://forge.at.nii.ac.jp/svn/nc/repository/trunk repository

Next, you need to copy the code to the application directory It's better to make a backup before this process.

コード ブロック
languagetext
sudo cp -rp repository /var/www/html/nc2/webapp/modules/

Login to the NetCommons as an administrator then go to the "Control Panel" -> "Module Manager".
In this case, you can see that the WEKO is updating from 2.1.4 to 2.1.6.
Please click the "Update" link on the WEKO column. Just it!

Image Added