LiveJournal Server

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in in the section entitled “Appendix B, GNU Free Documentation License”.

Abstract

This part of the documentation covers installation, customization, and maintenance of a LiveJournal server.


Table of Contents

Preface
I. Introduction to LiveJournal
1. What is LiveJournal?
2. The Story Behind LiveJournal
3. Why Use LiveJournal?
1. Features
4. Frank the Goat
II. LiveJournal Installation
5. Requirements
6. Perl
1. Installing Perl
2. Installing Perl Modules
7. General Setup
1. $LJHOME Environment Variable
2. Installing the files
8. MySQL
1. Install MySQL
2. Secure your MySQL installation
3. Create the LiveJournal Database
4. Configuring %LJ::DBINFO
5. Populate the Database
9. Supplemental Software
1. Install extra required packages and modules
2. Setting up multiple database servers
3. Configure memcached and SSL
4. Configure Perlbal
4.1. Install Perlbal
4.2. Set up Perlbal
4.3. Example perlbal.conf
4.4. SSL steps and startup
5. Configure MogileFS
5.1. Install MogileFS
5.2. Set up MogileFS
6. Set up LJ <=> FotoBilder Integration
10. Configuring ljconfig.pl
1. $LJ:: Variables
1.1. Auto-Configured
1.2. User-Configurable
2. %LJ::HELPURLS
3. %LJ::DISABLED
4. Setting Capabilities
11. Apache
1. Installation
1.1. mod_perl
1.2. Apache suEXEC Support
1.3. Virtual Hosts
2. Example httpd.conf
12. Configure Gearman / TheSchwartz
1. Install Gearman / TheSchwartz
2. Set up Gearman / TheSchwartz
13. Scheduling Maintenance tasks
14. Finishing Up
III. Customizing Your Installation
15. Using your own SVN directory
1. cvsreport.pl (vcv) : Adding & Overlaying
16. Using your own images and icons
1. Using imageconf.pl
17. Customizing LJ's Content
1. Using site-specific text
18. Setting your own Limits
19. Setting and using Hooks
1. Writing Hooks
2. Hooks Reference
20. BML Schemes
1. Writing a BML Scheme
2. BML Template Reference
21. Running your own Maintenance Tasks
IV. Administering a LiveJournal Site
22. Creating Users
23. Capabilities Classes
1. Introduction
2. Setting Capabilities
3. Capabilities Reference
24. Administrating Privileges
1. Using privs effectively
2. A list of all Privs
25. The Administrative Console
1. Taking control of the Console
2. Console Command Reference
26. Banning Users
27. Running a Busy Site
A. Frequently Asked Questions
V. LiveJournal Features
28. Internal Support System
1. Introduction
B. GNU Free Documentation License
C. Documentation Contributors
Glossary

List of Tables

6.1. Required Perl Modules

List of Examples

7.1. Creating the $LJHOME directory:
7.2. SVN Install:
8.1. Sample %LJ::DBINFO hash
10.1. Sample %LJ::CAP_DEF
10.2. Sample %LJ::CAP
19.1. Sample hook: userinfo_html_by_user
20.1. Sample _config-local.bml
25.1. Using the console to suspend a user
26.1. Using ljsysban.pl