Project

General

Profile

« Previous | Next » 

Revision 13966

added config/VirtualBox_VMs/vegbiendev/README.TXT with instructions to test the import

View differences:

trunk/config/VirtualBox_VMs/vegbiendev/README.TXT
1
to test the import:
2
# set up the VM:
3
# start up the vegbiendev VM
4
ssh -t 128.111.220.240
5
rm inputs/GBIF/_MySQL/GBIFPortalDB-2013-02-20.data.sql
6
sudo mkdir -p /var/lib/postgresql/9.3/main/
7
sudo chown postgres:postgres /var/lib/postgresql/9.3/main/
8
sudo -E -u postgres /usr/lib/postgresql/9.3/bin/initdb -D /var/lib/postgresql/9.3/main/
9
sudo ln -sf /etc/postgresql/9.3/main/*.conf /var/lib/postgresql/9.3/main/
10
make postgres_reload
11
# at "Modifying postgresql.conf and pg_hba.conf", type y and press ENTER
12
# at "kernel.shmmax ... Press ENTER to continue", press ENTER
13
# at "restart PostgreSQL manually ... Press ENTER to continue":
14
# open a new window
15
ssh -t 128.111.220.240
16
# run what it says
17
# press Ctrl-D
18
# return to the previous window
19
# press ENTER
20
(cd inputs/; for dir in */; do dir="${dir%/}"; case "$dir" in analytical_db|IRMNG|IUCN|newWorld|ARIZ) : ;; *) mv "$dir" .archive/"$dir";; esac; done)
21
make misc-Linux db inputs/install schemas/public/reinstall
22
# at "This will delete the current public schema of your VegBIEN DB", type y and press ENTER
23
# at "If asked for MySQL root password ... Press ENTER to continue", press ENTER

Also available in: Unified diff