(Add EL-5 bodhi request links) |
|||
Line 116: | Line 116: | ||
* [http://toshio.fedorapeople.org/packages/zikula-module-pagemaster-0.3.1-3.fc11.noarch.rpm zikula-module-pagemaster-0.3.1-3.fc11] [https://bugzilla.redhat.com/show_bug.cgi?id=519483 (review ticket)] [https://admin.fedoraproject.org/updates/zikula-module-pagemaster-0.3.1-3.el5,zikula-module-filterutil-0-0.2.20090915svn15.el5 (EL5 Push request)] | * [http://toshio.fedorapeople.org/packages/zikula-module-pagemaster-0.3.1-3.fc11.noarch.rpm zikula-module-pagemaster-0.3.1-3.fc11] [https://bugzilla.redhat.com/show_bug.cgi?id=519483 (review ticket)] [https://admin.fedoraproject.org/updates/zikula-module-pagemaster-0.3.1-3.el5,zikula-module-filterutil-0-0.2.20090915svn15.el5 (EL5 Push request)] | ||
* [http://toshio.fedorapeople.org/packages/zikula-module-filterutil-0-0.2.20090915svn15.fc11.noarch.rpm zikula-module-filterutil-0-0.2.20090915svn15.fc11] [https://bugzilla.redhat.com/show_bug.cgi?id=526595 (review ticket)] [https://admin.fedoraproject.org/updates/zikula-module-pagemaster-0.3.1-3.el5,zikula-module-filterutil-0-0.2.20090915svn15.el5 (EL5 Push request)] | * [http://toshio.fedorapeople.org/packages/zikula-module-filterutil-0-0.2.20090915svn15.fc11.noarch.rpm zikula-module-filterutil-0-0.2.20090915svn15.fc11] [https://bugzilla.redhat.com/show_bug.cgi?id=526595 (review ticket)] [https://admin.fedoraproject.org/updates/zikula-module-pagemaster-0.3.1-3.el5,zikula-module-filterutil-0-0.2.20090915svn15.el5 (EL5 Push request)] | ||
* xinha [https://bugzilla.redhat.com/show_bug.cgi?id=528003 review ticket] | |||
[[Category:Zikula]] | [[Category:Zikula]] |
Revision as of 21:06, 22 October 2009
This page explains how to set up a Zikula installation on your local system. You can use this for testing packages or other content before deployment.
Package installation
- Switch user to the
root
account:su -
Provide the system administrator password at the prompt. - If you have not already done so, install the Apache web and MySQL servers:
yum groupinstall 'Web Server' 'MySQL Database'
- Install the Zikula package, the PHP mbstring package, and any other modules needed:
yum install zikula php-mbstring <zikula_module_pkg...>
The
php-mbstring
package is not strictly required but may be helpful for some content or modules.System setup
- If you have not already done so, configure and start the services you just installed:
chkconfig httpd on chkconfig mysqld on service httpd start service mysqld start
- Make sure that the firewall allows traffic on port 80 (HTTP). Use system-config-firewall to perform this task if needed.
When you are finished, you should be able to open a Web browser, visit the URL http://localhost, and see the Fedora test page.
Set up database
- If you have not already done so, set up the MySQL database server. First, provide a root password:
mysqladmin -u root password
- Create a database for Zikula:
mysqladmin -u root -p create zikula
- Grant rights for a zikula user on this database:
mysql -u root -p <Enter password for MySQL "root" account> GRANT ALL PRIVILEGES ON zikula.* TO zikulaadmin@localhost IDENTIFIED BY 'new_password_here'; FLUSH PRIVILEGES; QUIT;
The zikulaadmin account and the new password you used above are the ones you will use in Zikula's installation process shortly.
Zikula installation
- Make the Zikula configuration file writable by changing its SELinux context:
chcon -t httpd_sys_content_t /etc/zikula/config.php
- Open a Web browser and point it at http://localhost/zikula (or the appropriate host name if you're running the Web browser on a different system).
- Click the link for the install script.
- Follow the prompts. First select the appropriate language (e.g. English) and select Next.
- Read and then accept the license by clicking the Accept license button.
- The checklist should be completed. Click the Next button to proceed.
- Use the following database information:
Database type: MySQL Table type: MyISAM Host: localhost Username: zikulaadmin Password: <password> Database name: zikula Table prefix: zk
Do not check the box for Create database. Click Next to proceed. - For installation type, select Complete, and then select Next to proceed.
- Now you will create a Zikula administrator account. This is the information that a user types into the Zikula Web interface to log in, and is separate and distinct from the database account you created earlier. Fill out the form, using a real email address (which you can change later), and select Next to proceed.
- The Tour module is an appropriate start page for now. Select Next to proceed.
- Select a theme and Next to proceed.
- Read the credits if desired, and then click the Go to your Zikula site link.
Move install and update bits
When you try to manage your Zikula sandbox, Zikula will complain unless you make the following changes, still using the root
account:
cd /usr/share/zikula ls -d install* upgrade* | xargs -i mv '{}' '{}-orig' chmod 444 /etc/zikula/config.php
Install AuthFAS for FAS Authentication
AuthFAS allows users to log into Zikula using their FAS credentials. If they have not logged in before, they will be registered on the Zikula system as default users. Any users in the cmsadmin group on FAS will automatically become administrators on any and every instance of Zikula. zikula-module-fasauth is in the infrastructure repository (precise instructions on how to install AuthFAS are to follow).
Once the files are installed, there are three further changes to make. First, log into your Zikula instance, and find the 'Modules' module (in the 'System' tab of the admin panel). In the resulting list, find, initialize and activate the AuthFAS module. Next, find the 'AuthPN' module (usually in the same tab of the admin panel). Here, replace the current 'AuthPN' string with 'AuthFAS,AuthPN' (without the quotes) and save the form. Lastly, move modules/AuthFAS/config/personal_config.php to config/personal_config.php. This file contains the URL string to use for FAS - there are two possible settings, one for debug and one for production. If you are reading this, you probably want the debug version, which is the default. Once you have completed these steps, installation of AuthFAS is complete and you should be able to login using your FAS username and password.
Short URLs System
To get the fancy directory based URL scheme (such as http://www.example.com/News/2009/06/03/my_cool_article.htm) you will need some directives in either a .htaccess placed in the root directory of your Zikula instance, or alternatively the same ruleset added to your Apache .conf file. Short URLs can then be switched on through the administration interface. Click the 'System' tab, then the 'Settings' tab.
Fedora Insight specific modules
To set up a Fedora Insight specific instance, you'll need the following packages (some of which are already detailed in the list above).
These are in repos.
zikula-module-crpTag-0.1.3-3.el5 zikula-module-fedora-fasauth-0.2-2.el5 zikula-1.1.2-3.el5
These are on their way to being in repos, but for now here is a link to the f11 rpm (other architectures often available in the parent directory).