
Flash Advertise
| Book Preview: Apache Roller 4.0 – Beginner's Guide |
| 摘自: www.packtpub.com 被阅读次数: 136 |
由 yangyi 于 2010-01-29 20:33:47 提供 |
A complete guide for running an Apache Roller blog from your own PC. In Detail Apache Roller enables you to build a fully-featured, multi-user blog server apt for all kinds of blogging sites. It is an ideal tool to create your own blogging network with unlimited users and blogs, forums, photo galleries, and more! While it is exciting to have a list of interesting features it can offer you, it might be a little difficult to get started with it by your self. This book will teach you how to get started with Apache Roller and make the most of all its features using step-by-step, detailed instructions. You will learn how to establish your internet presence with an Apache Roller blog and use the latest web tools to enhance your posts and attract visitors. You will also learn how to promote your blog on popular social bookmarking services and customize it to suit your need. This hands-on and practical book introduces you to Apache Roller. Starting off with the configuration and installation of your own blog, you'll then quickly learn how to add interesting content to your blog with the help of plenty of examples. You'll also learn how to change your blog's visual appearance with the help of Roller themes and templates and how to create a community of blogs for you and your colleagues or friends in your Apache Roller blog server. The book also looks at ways you can manage your community, and keep your site safe and secure, ensuring that it is a spam-free, enjoyable community for your users. What you will learn from this book * Install and configure Apache Roller on a Windows or Linux environment * Integrate Apache Roller with Tomcat by installing and configuring the mod_jk connector * Upload images, sounds, and videos to your blog with ease * Customize your blog's visual appearance using Roller themes and templates * Enhance the appearance of your posts using the Rich Text Editor included in Roller * Promote your blog using major social bookmarking services like Technorati, Digg, Del.icio.us, and StumbleUpon * Embed maps, videos, and document presentations in your blog using Google Maps, YouTube, and SlideShare * Run a Roller blog from your own PC by creating an account with a dynamic DNS service provider * Create a community of blogs with Apache Roller's built-in multi-user/multi-blog tools and the Planet Roller aggregator Chapter 1: An Introduction to Weblog Chapter 2: Installing Roller on Windows Chapter 3: Installing Roller on Linux Chapter 4: How to Start Working on Roller Chapter 5: Spicing Up Your Blog Chapter 6: Roller Themes Chapter 7: Working with Templates Chapter 8: Comments and Trackbacks Approach This beginner's guide is packed with information, tips, and tricks, based on the author's extensive experience with Apache Roller. In next to no time, you will be able to build and deploy your own blog. The clear and concise hands-on exercises will teach you everything you need to know to install, configure, and use Apache Roller, along with the open source software required to run it. The book includes plenty of illustrations to guide you through all the detailed exercises and tutorials, so you can get the most out of every chapter. Who this book is written for If you are interested in establishing a blog, using Apache Roller and popular web applications to write attractive posts and promote your blog on all the major social bookmarking services, this book is for you. No previous experience on Tomcat, MySQL, the Apache Web Server, or Linux is required. Author(s) Alfonso Romero Alfonso Romero is a freelance computer consultant and translator from Mexico. He's been working with Linux and open source software since 1999. He started operating his first web server (Apache) from a PC at home, offering free hosting services to experiment with Postfix, Squirrel Mail, MySQL, Apache, Tomcat, and Virtual Hosting. Since then, he's been working as a computer consultant for several clients in Mexico – writing Java, C++, and Web applications. Since 2000, he has worked for Pearson Education in Mexico as a computer books freelance translator and consultant. His latest book translations are the Spanish versions of Java How to Program, Seventh Edition, from Deitel & Deitel, and C++ How to Program, Sixth Edition, also from Deitel & Deitel. Al enjoys writing tutorials and teaching about Java, C++, PHP, the Apache Web server, Tomcat, MySQL, Web applications like Apache Roller, and all of the wonderful open source applications used today, and when he's not experimenting with new trends in Open Source applications, he enjoys playing his electric guitar. Table of Contents Preface Chapter 1: An Introduction to Weblogs Chapter 2: Installing Roller on Windows Chapter 3: Installing Roller on Linux Chapter 4: How to Start Working with Roller Chapter 5: Spicing Up Your Blog Chapter 6: Roller Themes and Blog Promotion Chapter 7: Working with Templates Chapter 8: Comments and Trackbacks Pop Quiz Answers Index * Preface Up * Chapter 1: An Introduction to Weblogs o Basic concepts about weblogs o What can you do with a weblog? + Express your feelings to the world o Time for action – a little visit to Technorati + Get in touch with other people o Time for action – leaving comments on other people's weblogs + Promote your business or professional activities o Time for action – Microsoft employee blogs + Share experiences with other users o Who's using Apache Roller + Rollerweblogger.org + Blogs.sun.com + Blog.usa.gov + IBM developerWorks blogs + JRoller community o Weblogs versus Content Management Systems + A blog is not a CMS o Blogs and newsfeeds – the world is your audience + What is a newsfeed + How can a newsfeed help to promote your blog o Time for action – subscribing to a newsfeed + Using newsfeed readers o Time for action – using Bloglines o Summary Up * Chapter 2: Installing Roller on Windows o Checking your environment o Installing Apache, Java, Tomcat, and MySQL + Apache web server o Time for action – installing the Apache web server + The Java SE Development Kit o Time for action – installing a JDK + Tomcat servlet engine o Time for action – installing Tomcat + MySQL database server o Time for action – installing MySQL o Downloading and installing Apache Roller o Files required for Apache Roller + The JavaMail API o Time for action – downloading the JavaMail API + The JavaBeans Activation Framework API o Time for action – downloading the JAF API + The MySQL JDBC driver o Time for action – installing MySQL connector/J 5.1 o Deploying Roller files to Tomcat o Time for action – downloading and deploying Roller o Creating the Roller database o Time for action – creating a MySQL database for Roller o Roller properties and context files + The roller-custom.properties file o Time for action – creating roller-custom.properties + The Context.xml file o Time for action – creating Context.xml + Changing keys in security.xml o Time for action – changing key values in security.xml o Testing your Roller installation o Time for action – testing Roller o The mod_jk connector for Apache and Tomcat o Time for action – installing the mod_jk connector o Summary Up * Chapter 3: Installing Roller on Linux o Checking your environment o Installing Apache, Java, Tomcat, and MySQL + Apache web server o Time for action – installing the Apache web server + The Java SE Development Kit o Time for action – installing a JDK + Tomcat servlet engine o Time for action – installing Tomcat + MySQL database server o Time for action – installing MySQL o Downloading and installing Apache Roller o Files required for Apache Roller + The JavaMail API o Time for action – downloading the JavaMail API + The JavaBeans Activation Framework API o Time for action – downloading the JAF API + The MySQL JDBC driver o Time for action – downloading and installing MySQL connector/J 5.1 o Deploying Roller files to Tomcat o Time for action – downloading and deploying Roller o Creating the Roller database o Time for action – creating a MySQL database for Roller o Roller properties and context files + The roller-custom.properties file o Time for action – creating roller-custom.properties + The Context.xml file o Time for action – creating Context.xml + Changing keys in security.xml o Time for action – changing key values in security.xml o Testing your Roller installation o Time for action – testing Roller o The mod_jk connector for Apache and Tomcat o Time for action – installing the mod_jk connector o Summary Up * Chapter 4: How to Start Working with Roller o Your first steps with Roller + Creating your first user and weblog o Time for action – creating your first user and weblog + Adjusting basic server settings o Time for action – basic server settings + Creating/editing your first entry o Time for action – creating/editing entries + Defining weblog categories o Time for action – define a category for your blog o Enhancing your weblog + Adjusting basic weblog settings o Time for action –basic weblog settings + Creating/editing bookmarks (blogroll) o Time for action – managing bookmarks in Roller + Using a Rich Text Editor o Time for action – using Roller's Rich Text Editor + The Summary field o Time for action – using the Summary field o Summary Up * Chapter 5: Spicing Up Your Blog o Before the action begins o Uploading files to your weblog + Using images on your posts o Time for action – uploading images into Roller o Changing file upload size limit + File upload settings o Time for action – changing Roller's file upload settings + The struts.properties file o Time for action – modifying the struts.multipart.maxSize property + Using videos in your posts o Time for action – uploading and inserting videos on your posts + Using sound files in your posts o Time for action – uploading and inserting sound files in your posts o Google Maps, YouTube, and SlideShare + Including Google Maps in your posts o Time for action – using Google Maps + Including YouTube videos in your posts o Time for action – including a YouTube video + Including SlideShare presentations in your posts o Time for action – including a SlideShare presentation o Summary Up * Chapter 6: Roller Themes and Blog Promotion o Before the action begins o Choosing a weblog theme o Time for action – choosing a Roller theme + Exploring the differences between themes o Time for action – differences between the Brushed Metal and Basic themes o Downloading and installing additional themes o Time for action – getting additional themes for your weblog o Editing themes + Using a custom theme o Time for action – editing a custom theme + Adding a Twitter widget to your custom theme o Time for action – adding a Twitter box + Promoting your blog on Technorati, Digg, StumbleUpon, and Delicious # Get a free dynamic DNS service account o Time for action – open a No-IP.com account + Open up your web port (80) to the world o Time for action – forwarding port 80 + Adding a Digg It button to your weblog o Time for action – adding a Digg It button o Summary Up * Chapter 7: Working with Templates o Your first template + Creating and editing templates o Time for action – creating your first template + The Velocity template language # Using Velocity macros in your Roller weblog o Time for action – showing your weblog's blogroll and most recent entries + Velocity model and data objects in Apache Roller o Time for action – properties of the $config model object o Time for action – properties and methods of the $model model object o Time for action – properties and methods of the $url and $utils objects o Creating a Roller theme from scratch + Creating a directory for your theme o Time for action – creating a directory for your theme + The stylesheet override file o Time for action – editing the stylesheet override file + The weblog template: Your weblog's main page o Time for action – editing the weblog template o Summary Up * Chapter 8: Comments and Trackbacks o Managing comments + Enabling comments in your Roller weblog o Time for action – enabling comments + How to leave a comment in your weblog o Time for action – leaving comments in your weblog + Deleting unwanted comments in your weblog o Time for action – deleting a comment in your weblog o Moderating comments + Enabling comment moderation in your weblog o Time for action – enabling moderation in your weblog + Approving comments o Time for action – how to approve and disapprove comments o Avoiding spam in your weblog + Marking comments as spam o Time for action – marking comments as spam + Using Roller's comment validators o Time for action – Roller's comment validators o Trackbacks + Enabling comment notification via e-mail o Time for action – enabling e-mail comment notification in Roller + Sending a trackback from your weblog o Time for action – sending trackbacks o Summary Up * Pop Quiz Answers Up * Index Original link: http://www.packtpub.com/apache-r... |