My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Setup  
Setup
Featured
Updated Feb 27, 2010 by pekka.ja...@gmail.com

Setup as system administrator aka root user

Install PHP5, Apache2, MySQL5

Ubuntu Intrepid Ibex:

aptitude install libapache2-mod-php5 
aptitude install mysql-server-5.0 
aptitude install php5 php5-{curl,gd,mysql,mcrypt,mhash} phpmyadmin

Add Apache virtual host

Example for Ubuntu:

  • Open file /etc/apache2/sites-available/zfce.vhost with your favorite editor
  • run a2ensite zfce.vhost to add zfce.vhost to apache's sites-enabled directory
  • restart apache /etc/init.d/apache2 restart

/etc/apache2/sites-available/zfce.vhost contents:

<VirtualHost *>
  DocumentRoot /home/zfce/public_html
  ServerName comic.example.com
  Options +All
</VirtualHost>

Add MySQL Database

Example: Database = zfce Username = zfce Password = zfcepass

mysql -u root -p

SQL:

CREATE DATABASE zfce;
GRANT USAGE ON *.* to zfce@localhost IDENTIFIED BY 'zfcepass';
GRANT ALL PRIVILEGES ON zfce.* TO zfce@localhost;
FLUSH PRIVILEGES;

To quit write quit or \q

Select version

Released

Download latest version

SVN

Example:

svn --force export http://zfcomicengine.googlecode.com/svn/trunk/ /home/zfce

Or if you want SVN metadata, use checkout.

Configure zfce

  • Modify config.ini with database settings
  • Generate string at least 64 characters long as salt (a-z, A-Z, 0-9)

Initialize database

Example:

mysql zfce -u zfce -p < db.sql

You can also use PHPMyAdmin or MySQL Administrator or similar software to load the initial .sql file

Ready to go

Go to comic page with your browser and you should be redirected to admin page. Give your email address and password. zfce generates first user and logs you in. Add comics, posts and pages.


Sign in to add a comment
Powered by Google Project Hosting