电子存款的AMQP绑定到长时间保存系统。
edeposit.amqp.ltp的Python项目详细描述
简介
此项目提供对LTP(长时间保存)系统的绑定,LTP系统 存档电子书
安装
准备系统
edeposit-aplikace:~ # groupadd edep edeposit-aplikace:~ # useradd ltp
将用户ltp和edeposit添加到组edep
安装软件包:
edeposit-aplikace:~ # pip install -U edeposit.amqp
创建必要的目录:
edeposit-aplikace:~ # mkdir /home/ltp edeposit-aplikace:~ # chown ltp:edep /home/ltp/ -R edeposit-aplikace:~ # sudo su - ltp ltp@edeposit-aplikace:~> mkdir edep2ltp ltp@edeposit-aplikace:~> mkdir ltp2edep
添加适当的权限:
ltp@edeposit-aplikace:~> chgrp edep edep2ltp/ ltp@edeposit-aplikace:~> chgrp edep ltp2edep/ ltp@edeposit-aplikace:~> chmod 770 edep2ltp/ ltp2edep/ ltp@edeposit-aplikace:~> ls -al total 16 drwxr-xr-x 4 ltp edep 4096 Jul 24 15:48 . drwxr-xr-x 6 root root 4096 Jul 24 15:40 .. drwxrwx--- 2 ltp edep 4096 Jul 24 15:48 edep2ltp drwxrwx--- 2 ltp edep 4096 Jul 24 15:48 ltp2edep
通过外部ssh用户的公钥对其进行授权:
ltp@edeposit-aplikace:~> mkdir .ssh ltp@edeposit-aplikace:~> cat public-key.pub >> .ssh/authorized_keys ltp@edeposit-aplikace:~> ls -al .ssh/ total 12 drwxr-xr-x 2 ltp users 4096 Jul 24 16:13 . drwxr-xr-x 5 ltp edep 4096 Jul 24 16:05 .. -rw-r--r-- 1 ltp users 603 Jul 24 16:13 authorized_keys
运行应用程序
以ltp用户身份运行:
ltp@edeposit-aplikace:~> edeposit_amqp_ltpd.py start --foreground
贡献者
- bystrooshaak<;bystrousak@kitakitsune.org>;,开发人员
更改日志
1.0.4
- Added ^{tt5}$ prefix to export directory.
1.0.3
- Temporarily disabled features and tests allowed again.
1.0.2
- Bugfixes based on feedback.
- Temporary disabled some of tests and functionality (UUID in info name, checksums), because LTP subsystem is broken on their side.
1.0.1
- Bugfix of MANIFEST.in.
1.0.0
- URN:NBN incorporated into info file.
- Some refactorings.
- This version should successfully export package into to output directory and also trace the state changes.
0.11.0-0.11.3
- Rewritten info_composer.
- Rests fixed and significantly improved.
- Added tracking feature to AMQP connector.
- Fixed bug in packaging system.
- Fixed bug in import system.
- Attempt to fix the directory copying problem.
0.10.0
- Fixed a lot of bugs.
- Applied feedback from the LTP team.
- Code for the MODS transformation moved into own module https://github.com/edeposit/marcxml2mods
0.9.0-0.9.2
- Alpha version released for my colleague, which needs to use xslt_transformer.py.
- Alpha 2. Fixed few bugs, added documentation.
- Fixed some bugs, comments. Added more postprocessing.
- Fixed bugs by the comments from mr. Bouchner.
- Added content of the README.
- ^{tt6}$ parameters modified.
0.1.0
- Project created.