- Purpose
- Installation
- Create Mozilla Profile
- Import Netscape Address Books
- Import Local Mail Folders
- Copy Bookmarks
- Import Mail Filters
- Install Java Plugin
- Multi-User Installs - instructions from mozilla.org site.
This document walks through an installation of the Berkeley Lab Customized
Mozilla installer. Many of the screens you will encounter have been
captured and shown here for ease of navigating the installer.
The first parts (1-2) of this document gets Mozilla installed. In order to
convert existing Netscape profiles, bookmarks, local mail and address
book you will need to follow the additional procedures. (3-8)
The symbol # denotes the command line prompt.
# cd /usr/local/mozilla
means type "cd /usr/local/mozilla" on the command line and press return.
The nomenclature of [Entry] will be used to denote that you should click
[Entry]. The brackets indicate that some action is required by the
user.
BACK TO TOP
- Login as root
# su -
- Remove the old mozilla and any programs that depend on it. (How this is done will vary between Linux distributions.)
# rpm -e mozilla mozilla-psm mozilla-mail
- Create the directory /usr/local/src/mozilla and change to that directory.
# mkdir /usr/local/src/mozilla
# cd /usr/local/src/mozilla
- Download Custom-Mozilla1.2.tar.gz and put it in the directory you just created.
- untar mozilla
# tar xvzf Custom-Mozilla1.2.tar.gz
- Change to mozilla-installer directory
# cd mozilla-installer
- Run the mozilla installer. The first window will contain the Mozilla Readme.
Note: On some systems root can't access X without first entering # xhost + hostname in a non-root window.
# ./mozilla-installer
Click [Next].

- Read the Software License Agreement and Click [Accept] to continue.

- Select the setup type you wish to install. Custom is the only option and is already selected.
Leave the Destination Directory /usr/local/mozilla.
Click [Next].

- The installation software would like to create a directory
for Mozilla to be installed into. In order to confirm the installation
of this directory, click [Yes].

- The components you need to install are preconfigured for you.
Click [Next] to continue installing the Mozilla mail client, browser,
Personal Security Manager, and spellchecker.

- On this screen Mozilla informs you it is ready to begin the installation. Click [Install].

- Here mozilla is copying files. You get to kick back and relax for a moment, but there is still more work to do!

- Click [OK] that the Installation has completed.

- If you previously used Netscape, Mozilla will now ask you if you want to migrate your Netscape Profile.
Because you are running the installer as root, this refers to root's Netscape profile.
Migrating root's Netscape profile will copy root's bookmarks into root's mozilla profile. What you should do depends on how root will be using Mozilla.
If:
- root does not need a mozilla profile, click [Manage Profiles...], and on the next screen click [Exit].
- root uses bookmarks, but does not need to configure the mozilla email client, then Click [Convert Profile].
Mozilla will start up. Exit Mozilla and create user profiles with instructions in Create Mozilla Profile .
- root uses bookmarks and needs the email client configured, then follow the installation instructions under Create Mozilla Profile for root. Then Create Mozilla Profile again for any users.
If your not sure what to do, go with option 1. You can always configure root's profile later.

- Put Mozilla1.4 in your path.
# ln -s /usr/local/mozilla/mozilla /usr/bin/mozilla
BACK TO TOP
- Open a shell as the user for whom you want to create a Mozilla
profile. The remainder of this document will assume "you" are the user
for whom you are creating a profile.
- Start mozilla.
# ./mozilla
- Mozilla will ask you if you want to convert your profile.
Click [Manage Profile...]

- This brings you to the Profile Manager.
Delete any existing profiles by [selecting the profile] and clicking [Delete Profile].

- Remove the profile from the list of profiles by clicking [OK].

- Click [Create Profile...]

- Read the information about profiles and click [Next].

- Change the profile name to your name. Click [Finish].

- Select your profile and click [Start Mozilla]

- Mozilla will start. Select [Window] => [Mail and Newsgroups] to bring up the mail client.

- The Account Wizard will start. Select Berkeley Lab Email Account, and click [Next].

- Enter your name and your LDAP name, then click [Next].

- Verify the information is correct and click [Finish].

- Congratulations! You have successfully setup Mozilla 1.4 Custom Berkeley Lab!
BACK TO TOP
- Launch Netscape.
# netscape &

- Select [Communicator] menu and [Address Book] to open the Addressbook.

- Select [File] menu and [Export].

- Enter the location to save the exported address books. Click [OK] to save the address books.

- Exit Netscape.
- Launch Mozilla mail.
# mozilla -mail &
- Select [Tools] menu, and click [Import].

- [Address Books] should be selected. Click [Next].

- Select Text file. (The exported file is an LDIF.) Click [Next].

- Select the file you saved. Click [Open].

- Click [Finish].

BACK TO TOP
- From the Mail and Newsgroups window, click on [Tools] => [Import]

- Select [Mail] and click [Next].

- Select [Communicator 4.x] and click [Next].

- Click [Finish].

BACK TO TOP
- Close mozilla
- Change directory to your mozilla profile.
Substitute the apporpriate directories for [Profile name] and [slt name].
Your profile will be in ~/.mozilla/[Profile name]/[slt name]
I would enter:
# cd ~/.mozilla/sandra/zak1qc64.slt/
- Copy bookmarks.html from ~/.netscape to your mozilla profile.
# cp ~/.netscape/bookmarks.html .
BACK TO TOP
- Close mozilla
- Copy Netscape filters into Mozilla.
Substitute the appropriate directories for [home directory], [profile name], and [slt name].
# cp [home directory]/ns_imap/imap4.lbl.gov/mailrule [home directory]/.mozilla/[profilename]/[slt name]/ImapMail/imap4.lbl.gov/mailrule/msgFilterRules.dat
BACK TO TOP
- For general information about Mozilla plugins, go to http://plugindoc.mozdev.org/linux.html.
- Download the Java Runtime Environment installer from http://java.sun.com/j2se/1.4.2/download.html
Click [DOWNLOAD] for "Linux self-extracting file" JRE.

- Fill out forms and answer questions on the Sun site until you can download the file to /usr/local/src/.
- cd to /usr/local/src, where you saved the j2re-1_4_2-linux-i586.bin installer.
- Make the installer executable and run it from /usr, where we want java to be installed.
# chmod +x j2re-1_4_2-linux-i586.bin
# cd /usr
# /usr/local/src/j2re-1_4_2-linux-i586.bin
- Agree to the license terms.
- When the installer is finished, there will be a directory containing java called /usr/j2re1.4.2.
- Create a symbolic link to this java directory.
# ln -s /usr/j2re1.4.2 /usr/java
- Create a symbolic link for the plugin. (This is all one line, but may be wrapped on your browser.)
# ln -s /usr/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/mozilla/plugins/libjavaplugin_oji.so
BACK TO TOP
If you have questions and comments, please contact:
Sandra Wittenbrock
email: SWittenbrock@lbl.gov
Ernest Orlando Lawrence Berkeley National Laboratory
MailStop 50C
1 Cyclotron Road
Berkeley, CA 94720
Phone: +1-510-486-4860
Fax: +1-510-486-4888