1 |
|
---|
2 | # Create a VM in VirtualBox
|
---|
3 |
|
---|
4 | Ubuntu 22 (Jammy Jellyfish) VDI was downloaded from:
|
---|
5 | https://www.osboxes.org/ubuntu/
|
---|
6 |
|
---|
7 | Machine created with:
|
---|
8 | Settings -> System -> Processor -> VT-x/AMD-V (checked on)
|
---|
9 | (required if using the Greenstone3 docker extension)
|
---|
10 |
|
---|
11 | Launch VM
|
---|
12 |
|
---|
13 |
|
---|
14 | # Guest Desktop OS Customization and Setup
|
---|
15 |
|
---|
16 | Pin terminal to taskbar
|
---|
17 |
|
---|
18 | Use Taskbar search for 'privicy' and select 'screen'
|
---|
19 | => switch off lock-screen for (both) when going blank, and suspend
|
---|
20 |
|
---|
21 | sudo apt-get update
|
---|
22 |
|
---|
23 | Then the desktop GUI update manager (Software Updater) opened up
|
---|
24 | => chose yes to update
|
---|
25 |
|
---|
26 |
|
---|
27 | Even with a VDI with Guest Additions, it does not always auto-scale the
|
---|
28 | desktop to fill the screen. It like makes the desktop bigger than the login
|
---|
29 | screen, but typically only around 75% of the available screen size.
|
---|
30 |
|
---|
31 | Have found the re-installing Guest-Editions seems to 'flush' this out.
|
---|
32 |
|
---|
33 | sudo apt-get install build-essential
|
---|
34 |
|
---|
35 | VB Device -> Insert Guest Additions ...
|
---|
36 |
|
---|
37 | Right-click on 'autorun.sh' => enter admin password
|
---|
38 |
|
---|
39 | Reboot
|
---|
40 |
|
---|
41 |
|
---|
42 | # Greenstone3 Installation and Setup
|
---|
43 |
|
---|
44 | sudo apt-get install subversion emacs-nox
|
---|
45 |
|
---|
46 | cd /opt
|
---|
47 | sudo svn co https://svn.greenstone.org/main/trunk/greenstone3 greenstone3-svn
|
---|
48 |
|
---|
49 | sudo adduser osboxes www-data
|
---|
50 | newgrp www-data
|
---|
51 | sudo chown -R osboxes:www-data greenstone3-svn
|
---|
52 | chmod -R g+w greenstone3-svn
|
---|
53 | find greenstone3-svn -type d -exec chmod g+s {} \; -print
|
---|
54 |
|
---|
55 | cd greenstone3-svn
|
---|
56 |
|
---|
57 | ./gs3-check-cli.sh
|
---|
58 |
|
---|
59 |
|
---|
60 | # Extras
|
---|
61 |
|
---|
62 | sudo apt-get install mlocate
|
---|
63 |
|
---|
64 | sudo apt-get install git
|
---|
65 | sudo apt-get install zsh
|
---|
66 |
|
---|
67 |
|
---|