source: main/trunk/greenstone3/README-Ubuntu-VM.txt@ 36484

Last change on this file since 36484 was 36484, checked in by davidb, 20 months ago

Notes on how to setup an Ubuntu VM (speficially with VirtualBox).

File size: 1.5 KB
Line 
1
2# Create a VM in VirtualBox
3
4Ubuntu 22 (Jammy Jellyfish) VDI was downloaded from:
5 https://www.osboxes.org/ubuntu/
6
7Machine created with:
8 Settings -> System -> Processor -> VT-x/AMD-V (checked on)
9 (required if using the Greenstone3 docker extension)
10
11Launch VM
12
13
14# Guest Desktop OS Customization and Setup
15
16Pin terminal to taskbar
17
18Use 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
23Then the desktop GUI update manager (Software Updater) opened up
24 => chose yes to update
25
26
27Even with a VDI with Guest Additions, it does not always auto-scale the
28desktop to fill the screen. It like makes the desktop bigger than the login
29screen, but typically only around 75% of the available screen size.
30
31Have found the re-installing Guest-Editions seems to 'flush' this out.
32
33 sudo apt-get install build-essential
34
35VB Device -> Insert Guest Additions ...
36
37Right-click on 'autorun.sh' => enter admin password
38
39Reboot
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
Note: See TracBrowser for help on using the repository browser.