-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME
48 lines (39 loc) · 1.16 KB
/
README
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
# Requisites
sudo apt-get install dnsmasq firefox2 (firefox-2)?
sudo apt-get install xinit xauth
# In order to set this up on the server you will need to do a couple of things, such as:
sudo adduser firefox
sudo su firefox
cd ~
git init
git remote add origin git://YOURLOCALIP/var/www/firefox
git pull origin master
cd src
make
cp apps/baobab.firefox/baobab.firefox* ..
cd ..
exit
sudo cp firefox-daemon /etc/init.d/
sudo /usr/sbin/update-rc.d -f firefox-daemon defaults
sudo /etc/init.d/firefox-daemon
# make sure you have a /usr/bin/firefox, you may have /usr/bin/firefox-2
sudo ln /usr/bin/firefox-2 /usr/bin/firefox
# make your /etc/dnsmasq.conf file look like this (replace x with your subnet)
dhcp-range=192.168.x.100,192.168.x.150,12h
# remove everything from your /etc/resolv.conf
# make your /etc/network/interfaces look like this:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.x.203
netmask 255.255.255.0
gateway 192.168.x.1
# You may want to debug
ps aux | grep firefox
sudo kill XXXX
sudo su firefox
cd ~
./baobab.firefox
<connect>
More info can be found here: http://neverlet.be/2010/1/15/pih-baobab-openmrs-x-forwarding-mateme-and-you