From Fedora Project Wiki

Revision as of 22:52, 3 February 2016 by Hugh (talk | contribs) (→‎Browing Webpages: typo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Fedora uses Mozilla Firefox by default in Gnome and Konqueror in KDE to access the World Wide Web (Web). There are many other browsers available to suit different users' needs. Dillo is an example of a lightweight browser, and browsers such as lynx, w3m, and elinks are console based.

Besides being standards-compliant web browsers, Firefox and Konqueror have many features beyond basic web browsing. This chapter explains how to use some of the more popular features, and provides links to further information.

The internet can also be used to transfer files. This chapter covers different methods of doing this using graphical applications as well as the command line. If you wish to transfer files using email, then you should probably read the chapter on communications instead. This is often the best choice for smaller files such as pictures and documents.

Browsing Webpages

Firefox and Konqueror are the suggested web browsers for most users. If you require a more lightweight browser (especially if you are using a slower system), you may want to try Dillo. If you are using the command line, then you may want to use lynx, w3m, or elinks. None of these programs are installed in Fedora by default, but can be installed using the instructions in the chapter on managing software.

Using Firefox

To start Firefox in GNOME, select Applications > Internet > Firefox Web Browser or use the menu panel icon. To start Firefox in KDE, select KMenu > Applications > Internet > Firefox Web Browser.

File:Docs Drafts DesktopUserGuide Web firefoxicon.png This is the default icon associated with Firefox.

Navigating The Web

Fedora starts Firefox with a default home page that has links to useful Fedora-related sites. Navigate to other web pages by typing the web address - also called the univeral resource locator, or URL - into the long navigation bar across the top of the Firefox screen, replacing "http://start.fedoraproject.org".

If the URL is not known, enter a keyword (or words) into the search bar to the right of the navigation bar, then press the [ENTER] key. The search engine used to perform your search can be changed by left-clicking the logo in the search box. You will be presented with a list of options including Google, Yahoo, eBay, Amazon, and Creative Commons.

Like other web browsers, Firefox makes it possible to save a web page for future reference by adding it to a list of bookmarks. Use the key combination [Ctrl] [d] to bookmark a page you are viewing. To manage bookmarks, use the Bookmark menu from the top of the Firefox window. You can also create a live bookmark (a feed) that automatically checks for updates from a page with an RSS or Atom feed. If a feed is available for a particular web page, there will be an orange icon at the right hand edge of the address bar while you are visiting that page. Left click the feed icon and a preview of the feed is displayed. Select the method you would like to use to subscribe to the feed.

Use your favorite feed reader
Firefox can use a number of popular web-based options for subscribing to feeds, such as Bloglines, My Yahoo, and Google Reader, as well as Firefox's own live bookmarks. Another option is to use a desktop feed reader you have installed, such as Liferea.

Tabs

Open a new tab with [Ctrl] [t] . A blank page is presented and a new bar is available under the navigation bar showing all open tabs; to switch between them left-click the desired tab. To close a tab you can either right click to access the context menu or press the red "X" on the tab.

Navigating a large number of open tabs can be difficult. To make it easier, use the arrow icon on the right hand side of the tabs toolbar. Click this to reveal a list of all open tabs that you can switch to by clicking on the relevant item.

Extensions

Firefox is designed to be moderately fast and lightweight. As a result, some functionality found in other browsers may not be available by default. To solve this problem the Firefox team made the browser extensible, so it easy to create and integrate extensions that add new functionality to the browser.

Themes, plugins and search engines
Firefox can also be extended by adding new search engines to the search box, installing new themes to customize the look, and installing new plugins allowing the use of Java and other web technologies. All of these can be found at Mozilla's Firefox add-ons site.

To manage and install extensions, plug-ins, and themes, select the Tools > Add-ons menu entry. New extensions are found by visiting the Firefox add-on site. To install an extension from this site follow the Install link, and when prompted click Install Now.

Further Reading

Firefox has many more features than discussed here; you can find more information on Firefox at the Mozilla Firefox website.

Using Konqueror

To start Konqueror in KDE, select KMenu > Applications > Internet > Konqueror or select KMenu > Favorites > Web Browser. To start Konqueror in GNOME, select Applications > Internet > Konqueror.

File:Docs Drafts DesktopUserGuide Web konqueror.png This is the default icon associated with Konqueror.
Konqueror is not installed by default
If you only have Gnome installed, the Konqueror browser is not installed by default. You may install Konqueror if you wish, as well as several other browsers. Konqueror is installed by default if you have installed KDE. See the chapter on managing software.

Transferring Files

Advanced Usage
This content is written for the more advanced user. It assumes that you are comfortable with the command line and have a relatively good knowledge of Linux terminology. It is probably not necessary to using Fedora as a desktop user, but can help a desktop user expand his or her knowledge base and face more complicated troubleshooting issues.

Fedora includes several programs for transferring files between different computers on the same network (or on the Internet). On of the most common methods is called the File Transfer Protocol (FTP). There are several graphical programs available to use FTP, including Filezilla and gFTP. You can also use the command line utilities ftp, lftp, and sftp.

FTP is insecure
If you are transferring files over a public network (such as the Internet), you may not want to use FTP. FTP transfers can be easily intercepted, and FTP data is not encrypted. For more security, use SFTP, which encrypts your data over SSH.

Using FileZilla

Filezilla is an application that allows you to transfer files over FTP using a simple graphical interface. Like many FTP applications, it has two important panes: a file browser for your local machine, and a file browser for the remote machine. This way, you can browse to a file on a remote server and drag-and-drop it to a folder on your local host.

FTP with web browsers
If you don't need to send a file, but only retrieve it, you can use Firefox, Konqueror, and many other web browsers. Just browse to the ftp server in the address bar, and make sure to specify that you want to use FTP. Generically, you would type ftp://ftp.server.com, where ftp.server.com is the address of your FTP server.

To install the package filezilla, read the chapter on managing software. You can install filezilla by either using the PackageKit application or on the command line by using Yum. More information about FileZilla is available at: http://filezilla-project.org/.

This is the default icon associated with FileZilla.

Connecting to a Server

To connect to an FTP server in FileZilla, you must add the server to your Site Manager. You can open the Site Manager dialog in three ways:

  • Click on File > Site Manager,
  • Click the first icon to the left on the tool bar, or
  • Use the keyboard shortcut [ Ctrl ] + S.

When the Site Manager dialog is open, click the New Site button. The first thing FileZilla will want to know is the name that you want to use to refer to this server. There will be a text entry box under My Sites on the left side of the dialog. Here, type whatever name you want to use to refer to the new server. This name doesn't have any technical implications; choose something convenient for you.

On the right side of the dialog box, you will need to enter the following information:

Host
This is the address of the server. If the server has a URL (such as ftp.server.com), you can type it in here. Otherwise, you'll need to type in the IP address. An IP address is of the form A.B.C.D, where A, B, C, and D are integer values between 0 and 255 (inclusive). The server you are connecting to should provide you with this information.
Port
You only need to fill in a value for this field if the server does not use the default (port 21 for FTP, 22 for SFTP).
Servertype
Here, you can choose FTP, SFTP, FTPS, or FTPES. Only FTP and SFTP will be discussed here.
Logontype
This field allows you to choose how you will authenticate with the server. This information should be provided by the server you are trying to connect to.
User, Password, Account
These fields will only be active if you user certain Logontypes. If they are active, you should use them for your username, password, and account on the remote server.
Comments
This field has no technical relevance. It may be convenient for you to make a note of something about the server here.

When you have filled out the fields, click [ OK ] to close the Site Manager or [ Connect ] to close the Site Manager and then connect to the FTP server immediately. Pressing [ Cancel ] will ignore any changes you made to the Site Manager and close the dialog.

To connect to a server later on that you have already added to Site Manager, simply open the Site Manager, click on the server you want to connect to, and click [ Connect ].

Transferring Files

If you connect to a server successfully, you should see some status messages appear in the top pane indicating that you have connected to the remote server. The right-hand file browser pane should also display the contents of the remote directory you connected to.

To transfer a file, simply drag-and-drop it from one file browser into the folder of the other file browser. You can also select a file in one pane, a folder in the other, and click the appropriate arrow button to transfer the file.

FTP on the Command Line

To use the ftp program, type ftp at a console prompt. You should be put into an FTP shell that looks like this:

ftp> 

To get a list of commands, type help. To get a simple description of any command, type help command. This guide will only cover a fraction of these commands; read about the rest in the ftp man page.

Connecting to an FTP Server

To login to an ftp server, use the open command. The syntax is

ftp> open ftp.server.com port

Where ftp.server.com is the FTP server you wish to connect to. It is not necessary to specify a port with this command unless you are connecting to a non-default port. The default port for FTP is port 21. Alternatively, you can connect to an FTP server as you start the ftp program. To do this, use the syntax

ftp ftp.server.com port

Where the port option is, again, optional.

Managing Files

Oftentimes, FTP is used to retrieve a file from a public server. You can pull this file from the server by using the get file command, where file is the name or path of the file you want to retrieve. To view all the files in the directory you have connected to, you can use the ls command. You can also use pwd to determine which directory you are currently in, and then cd to change your directory.

To send a file to the server, type put file, where file is the name or path of the file you wish to send. To view all the files in your local directory (not the remote FTP server), type lcd. You can also type lcd directory to change to a new directory on your local machine.

SFTP on the Command Line

Secure FTP, or SFTP, is an encrypted version of FTP. It connects over to the remote server through a secure socket layer, like SSH. This means that it is a much more secure solution than traditional FTP. Use the commend sftp to start the client. The syntax is nearly identical to the syntax for FTP.

Secure Copy: SCP

Another option for transferring files between two computer with SSH is using the command scp. This attempts to use the same syntax as the tradition copy command (cp), but differs in that you can specify remote servers. For example, to send a file to a remote server, type:

$ scp localFile user@server:/destination/directory/

You can similarly fetch a file:

$ scp user@server:/path/to/wantedfile destinationFile

Or even between two remote servers:

$ scp user1@server1:/path/to/source user2@server2:/path/to/destination

In every case that you access a remote server, you will be prompted for your credentials (such as a username and password).

Previous Page - Connecting to the Internet Table of Contents Next Page - Communications (Email, IM)