Web site developers - When you re finished creating your openingWeb page, choose

When you re finished creating your openingWeb page, choose File.Save As from themenubar. If you re running Fedora or Mandrake Linux, saveyour file as/var/www/html/index.htmlIf you re running SuSE, save your file as /srv/www/htdocs/index.html5.Use the scroll bar next to the File Type field tohighlight the HTML Document (OpenOffice,orgWriter)(.html;htm) option in the drop-down list. 6.Click the Save button. Your new Web page is saved where your Apacheserver can find it. To check out your new network Web site, open yourbrowser and surf to http://127.0.0.1. Your new page is displayed; it should appear nearlyidentical to the document you created in Writer (seeFigure 42-8). Figure 42-8:Start your site quick with OpenOffice.org. For a top-notch tour of OpenOffice.org and acomplete rundown of its capabilities, look forOpenOffice.org For Dummies, by Gurdy Leete, Ellen Finkelstein, and Marty Leete (Wiley) atyour favorite online or local bookstore. If you want to serve up data to the rest of the world, you need an IP address and domain name moreabout that later. Building a Quick Web Pagewith OpenOffice.orgAfter you have a server up and running, you need toprovide some content for your users. A quick andeasy way to set up and maintain an internal newslet- ter is with OpenOffice.org. One of the great featuresof OpenOffice.org Writer is a WYSIWIG editor thatlets you create and save HTML documents in notime. It s also very affordable. If you haven t already installed OpenOffice, you need to install it before you proceed withthe steps in this section. See Technique 17 ifyou need help installing software on yoursystem. To create a simple Web page with OpenOffice.orgWriter, follow these steps: 1.Open a terminal window and give yourselfsuperuser privileges with the sucommand. 2.Enter the following command and press Enter: # oowriterOpenOffice.org Writer opens to a blank docu- ment, waiting for you to add content to your newWeb page. 3.Add content to the Web page text, pictures, and any graphics you want to distribute. If you add graphics, don t forget to copy theminto place within the directory structure ofyour Web page so that Apache can find them. If you copy pictures into an OpenOffice.orgdocument that you later save to an HTML file, the pictures are added as links. The links arereplaced with images when the document isviewed in a browser.
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision J2ee Web Hosting services.

Leave a Reply