leshe4ka revised this gist . Go to revision
1 file changed, 21 insertions
firefox.txt(file created)
| @@ -0,0 +1,21 @@ | |||
| 1 | + | ``` | |
| 2 | + | docker run -p 6080:80 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc | |
| 3 | + | ``` | |
| 4 | + | ||
| 5 | + | Browse to http://127.0.0.1:6080/ | |
| 6 | + | ||
| 7 | + | In the VNC UI, run the LXTerminal. Paste these commands to install a given version of Firefox. Set `FF_VERS` to the release you want. See available releases at http://releases.mozilla.org/pub/firefox/releases | |
| 8 | + | ||
| 9 | + | ``` | |
| 10 | + | apt-get update && apt-get install wget | |
| 11 | + | FF_VERS=60.6.3esr | |
| 12 | + | FF_INST=/firefox/$FF_VERS | |
| 13 | + | FF_URL=http://releases.mozilla.org/pub/firefox/releases/$FF_VERS/linux-x86_64/en-US/firefox-$FF_VERS.tar.bz2 | |
| 14 | + | mkdir -p $FF_INST | |
| 15 | + | wget -qO- $FF_URL | tar xvj --strip 1 -C $FF_INST/ | |
| 16 | + | $FF_INST/firefox | |
| 17 | + | # Optionally link this install as the default FF install: | |
| 18 | + | # ln -s "$FF_INST/firefox" /usr/bin/firefox | |
| 19 | + | ``` | |
| 20 | + | ||
| 21 | + | If you have trouble pasting the commands into the Terminal, first launch the Leafpad accessory and try copy/pasting in there first. Then use the Edit menu to copy/paste within apps. You might also try pasting the commands into the novnc clipboard toolbar flyout before pasting into Leafpad. | |
Newer
Older