⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 desktop-browsers.html

📁 FreeBSD操作系统的详细使用手册
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta name="generator" content="HTML Tidy, see www.w3.org" /><title>Browsers</title><meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /><link rel="HOME" title="FreeBSD Handbook" href="index.html" /><link rel="UP" title="Desktop Applications" href="desktop.html" /><link rel="PREVIOUS" title="Desktop Applications" href="desktop.html" /><link rel="NEXT" title="Productivity" href="desktop-productivity.html" /><link rel="STYLESHEET" type="text/css" href="docbook.css" /></head><body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"alink="#0000FF"><div class="NAVHEADER"><table summary="Header navigation table" width="100%" border="0" cellpadding="0"cellspacing="0"><tr><th colspan="3" align="center">FreeBSD Handbook</th></tr><tr><td width="10%" align="left" valign="bottom"><a href="desktop.html"accesskey="P">Prev</a></td><td width="80%" align="center" valign="bottom">Chapter 6 Desktop Applications</td><td width="10%" align="right" valign="bottom"><a href="desktop-productivity.html"accesskey="N">Next</a></td></tr></table><hr align="LEFT" width="100%" /></div><div class="SECT1"><h1 class="SECT1"><a id="DESKTOP-BROWSERS" name="DESKTOP-BROWSERS">6.2 Browsers</a></h1><p>FreeBSD does not come with a particular browser pre-installed. Instead, the <ahref="http://www.FreeBSD.org/ports/www.html" target="_top">www</a> directory of the portscollection contains a lot of browsers ready to be installed. If you do not have time tocompile everything (this can take a very long time in some cases) many of them areavailable as packages.</p><p><b class="APPLICATION">KDE</b> and <b class="APPLICATION">GNOME</b> already provideHTML browsers. Please refer to <a href="x11-wm.html">Section 5.7</a> for more informationon how to set up these complete desktops.</p><p>If you are looking for light-weight browsers, you should investigate the portscollection for <a href="http://www.FreeBSD.org/cgi/url.cgi?ports/www/dillo/pkg-descr"><ttclass="FILENAME">www/dillo</tt></a>, <ahref="http://www.FreeBSD.org/cgi/url.cgi?ports/www/links/pkg-descr"><ttclass="FILENAME">www/links</tt></a>, or <ahref="http://www.FreeBSD.org/cgi/url.cgi?ports/www/w3m/pkg-descr"><ttclass="FILENAME">www/w3m</tt></a>.</p><p>This section covers these applications:</p><div class="INFORMALTABLE"><a id="AEN7259" name="AEN7259"></a><table border="0" frame="void" class="CALSTABLE"><col /><col /><col /><col /><thead><tr><th>Application Name</th><th>Resources Needed</th><th>Installation from Ports</th><th>Major Dependencies</th></tr></thead><tbody><tr><td><b class="APPLICATION">Mozilla</b></td><td>heavy</td><td>heavy</td><td><b class="APPLICATION">Gtk+</b></td></tr><tr><td><b class="APPLICATION"><span class="TRADEMARK">Netscape</span>&reg;</b></td><td>heavy</td><td>light</td><td>Linux Binary Compatibility</td></tr><tr><td><b class="APPLICATION">Opera</b></td><td>light</td><td>light</td><td>FreeBSD and Linux versions available. The Linux version depends on the Linux BinaryCompatibility and <b class="APPLICATION">linux-openmotif</b>.</td></tr><tr><td><b class="APPLICATION">Firefox</b></td><td>medium</td><td>heavy</td><td><b class="APPLICATION">Gtk+</b></td></tr><tr><td><b class="APPLICATION">Konqueror</b></td><td>medium</td><td>heavy</td><td><b class="APPLICATION">KDE</b> Libraries</td></tr></tbody></table></div><div class="SECT2"><h2 class="SECT2"><a id="AEN7303" name="AEN7303">6.2.1 Mozilla</a></h2><p><b class="APPLICATION">Mozilla</b> is perhaps the most suitable browser for yourFreeBSD Desktop. It is modern, stable, and fully ported to FreeBSD. It features a verystandards-compliant HTML display engine. It provides a mail and news reader. It even hasa HTML composer if you plan to write some web pages yourself. Users of <bclass="APPLICATION"><span class="TRADEMARK">Netscape</span></b> will recognize thesimilarities with <b class="APPLICATION">Communicator</b> suite, as both browsers sharedthe same basis.</p><p>On slow machines, with a CPU speed less than 233MHz or with less than 64MB of RAM, <bclass="APPLICATION">Mozilla</b> can be too resource-consuming to be fully usable. You maywant to look at the <b class="APPLICATION">Opera</b> browser instead, described a littlelater in this chapter.</p><p>If you cannot or do not want to compile <b class="APPLICATION">Mozilla</b> for anyreason, the FreeBSD GNOME team has already done this for you. Just install the packagefrom the network by:</p><pre class="SCREEN"><samp class="PROMPT">#</samp> <kbd class="USERINPUT">pkg_add -r mozilla</kbd></pre><p>If the package is not available, and you have enough time and disk space, you can getthe source for <b class="APPLICATION">Mozilla</b>, compile it and install it on yoursystem. This is accomplished by:</p><pre class="SCREEN"><samp class="PROMPT">#</samp> <kbd class="USERINPUT">cd /usr/ports/www/mozilla</kbd><samp class="PROMPT">#</samp> <kbd class="USERINPUT">make install clean</kbd></pre><p>The <b class="APPLICATION">Mozilla</b> port ensures a correct initialization byrunning the chrome registry setup with <tt class="USERNAME">root</tt> privileges.However, if you want to fetch some add-ons like mouse gestures, you must run <bclass="APPLICATION">Mozilla</b> as <tt class="USERNAME">root</tt> to get them properlyinstalled.</p><p>Once you have completed the installation of <b class="APPLICATION">Mozilla</b>, you donot need to be <tt class="USERNAME">root</tt> any longer. You can start <bclass="APPLICATION">Mozilla</b> as a browser by typing:</p><pre class="SCREEN"><samp class="PROMPT">%</samp> <kbd class="USERINPUT">mozilla</kbd></pre><p>You can start it directly as a mail and news reader as shown below:</p><pre class="SCREEN"><samp class="PROMPT">%</samp> <kbd class="USERINPUT">mozilla -mail</kbd></pre></div><div class="SECT2"><h2 class="SECT2"><a id="MOZ-JAVA-FLASH" name="MOZ-JAVA-FLASH">6.2.2 Mozilla, <spanclass="TRADEMARK">Java</span>&#8482;, and <span class="TRADEMARK">Macromedia</span>&reg;<span class="TRADEMARK">Flash</span>&#8482;</a></h2><i class="AUTHORGROUP"><span class="CONTRIB">Contributed by</span> Tom Rhodes.</i> <p>Installing <b class="APPLICATION">Mozilla</b> is simple, but unfortunately installing<b class="APPLICATION">Mozilla</b> with support for add-ons like <spanclass="TRADEMARK">Java</span>&#8482; and <span class="TRADEMARK">Macromedia</span>&reg;<span class="TRADEMARK">Flash</span>&#8482; consumes both time and disk space.</p><p>The first thing is to download the files which will be used with <bclass="APPLICATION">Mozilla</b>. Take your current web browser up to <ahref="http://www.sun.com/software/java2/download.html"target="_top">http://www.sun.com/software/java2/download.html</a> and create an accounton their website. Remember to save the username and password from here as it may beneeded in the future. Download a copy of the file <ttclass="FILENAME">j2sdk-1_3_1-src.tar.gz</tt> and place this in <ttclass="FILENAME">/usr/ports/distfiles/</tt> as the port will not fetch it automatically.This is due to license restrictions. While we are here, download the ``java environment''from <a href="http://java.sun.com/webapps/download/Display?BundleId=7905"target="_top">http://java.sun.com/webapps/download/Display?BundleId=7905</a>. Thefilename is <tt class="FILENAME">j2sdk-1_3_1_08-linux-i586.bin</tt> and is large (about25 megabytes!). Like before, this file must be placed into <ttclass="FILENAME">/usr/ports/distfiles/</tt>. Finally download a copy of the ``javapatchkit'' from <a href="http://www.eyesbeyond.com/freebsddom/java/"target="_top">http://www.eyesbeyond.com/freebsddom/java/</a> and place it into <ttclass="FILENAME">/usr/ports/distfiles/</tt>.</p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -