-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
67 lines (48 loc) · 1.35 KB
/
INSTALL
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
gpet 0.4 2011-09-10
gpet (Gui Policy Editor for TOMOYO Linux)
Build / Install / Run / Uninstall
*** Build ***
$ sudo apt-get install gcc make libncurses-dev
$ sudo apt-get install intltool libgtk2.0-dev libgconf2-dev
$ tar xjvf gpet-0.4.tar.bz2
$ cd gpet-0.4
$ ./configure --prefix /usr
$ make
*** Install ***
$ sudo make install
*** Run ***
$ sudo sh -c 'echo /usr/sbin/gpet >> /etc/{ccs|tomoyo}/manager.conf'
$ sudo {ccs|tomoyo}-loadpolicy -m < /etc/{ccs|tomoyo}/manager.conf
$ sudo gpet [{policy_dir|remote_ip:remote_port}] [<namespace>]
Ubuntu 11.04 disable overlay scrollbars.
$ sudo sh -c "LIBOVERLAY_SCROLLBAR=0 gpet"
--- Options ---
Font & color change
$ cp /usr/share/doc/gpet/gpetrc.sample ~/.gpetrc
Desktop Launcher
$ cp /usr/share/doc/gpet/gpet.desktop ~/Desktop/
*** Instll location ***
/usr
|-- sbin
| `-- gpet
`-- share
|-- doc
| `-- gpet
| |-- AUTHORS
| |-- COPYING
| |-- ChangeLog
| |-- ChangeLog.ja
| |-- INSTALL
| |-- NEWS
| |-- README
| |-- gpet.desktop
| `-- gpetrc.sample
|-- gpet
| `-- pixmaps
| `-- tomoyo.png
`-- locale
`-- ja
`-- LC_MESSAGES
`-- gpet.mo
*** Uninstall ***
$ sudo make uninstall