-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBUILD.ubuntu
33 lines (22 loc) · 1.12 KB
/
BUILD.ubuntu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
To build a WRE on Ubuntu Oneiric Ocelot (11.10). Do the following tasks:
1) Install the following packages:
libncurses5-dev build-essential zlib1g-dev libssl-dev libexpat1-dev libglib2.0-dev wget graphviz graphviz-dev rsync
2) Install MySQL. We recommend the Percona Server version:
Installation is easy via the repository. Add (as root) the key:
# gpg --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
# gpg -a --export CD2EFD2A | sudo apt-key add -
Add the repository to /etc/apt/sources.list:
deb http://repo.percona.com/apt oneiric main
deb-src http://repo.percona.com/apt oneiric main
Install client and server and optionally the toolkit and test.
Note: this wil remove mysql-common.
# apt-get install percona-server-server percona-server-test-5.5 percona-toolkit percona-server-client
3) Install a my.cnf file. A suggested one is in var/setupfiles/my.cnf. It cannot be used without modification. (Need to look into this.)
You will need to add a system user webgui:
# useradd -s /sbin/nologin webgui
4) Import the WRE into your environment:
. wre/sbin/setenvironment.sh
5) Run:
./getsource.sh
6) Run:
./build.sh --all