59 lines
1.0 KiB
Markdown
59 lines
1.0 KiB
Markdown
# Secondo Packages for Debian
|
|
This package provides the needed tools to build Debian packages for the [SECONDO](http://dna.fernuni-hagen.de/secondo/) database.
|
|
|
|
|
|
# SECONDO build using docker
|
|
```bash
|
|
docker run -it ubuntu:18.04
|
|
apt-get update
|
|
apt-get install git vim wget rsync dpkg-dev screen -y
|
|
cd secondo-debian/ubuntu_1804
|
|
./build.sh
|
|
```
|
|
|
|
```bash
|
|
docker create --name ubuntu-20-10 -it ubuntu:20.10
|
|
docker start ubuntu-20-10
|
|
docker exec -it ubuntu-20-10 /bin/bash
|
|
|
|
docker stop ubuntu-20-10
|
|
docker rm ubuntu-20-10
|
|
```
|
|
|
|
# Testing
|
|
```bash
|
|
dpkg -i secondo_*.deb
|
|
useradd -m secondouser -s /bin/bash
|
|
su - secondouser
|
|
/opt/secondo/bin/secondo_installer.sh
|
|
source ~/.secondorc
|
|
|
|
SecondoTTYBDB
|
|
> restore database opt from '/opt/secondo/bin/opt'
|
|
> query ten
|
|
|
|
open
|
|
SecondoPLTTY
|
|
> open database opt
|
|
> select * from ten
|
|
> exit
|
|
|
|
screen
|
|
# Screen1
|
|
SecondoMonitor -s
|
|
# Screen2
|
|
SecondoTTYCS
|
|
> exit
|
|
StartOptServer
|
|
> exit
|
|
|
|
exit
|
|
userdel -r secondouser
|
|
```
|
|
|
|
### Misc
|
|
|
|
```bash
|
|
docker cp 520c2a9cc927:/secondo-debian/secondo_ubuntu_1804/secondo_4.1.3-1+ubuntu1804_amd64.deb .
|
|
```
|