Loading...
 

Installation

You don't have to be a web developer or programmer to install Tiki. Tiki has an easy-to-use, wizard-based installer which will do most of the work for you. The rest can be completed from your webhost's control panel. You can also use 1-click installers.

If you are a complete novice (or are just not into DIY = do it yourself ) consider using Tiki friendly hosts. Many will complete your Tiki setup you free of charge.


Overview

These videos offer an basic overview of Tiki installation. See Tiki TV and Tiki Movies for additional videos.


Watch how to complete the Tiki Installer screens, including how to configure your database connection. This movie also shows your initial Administrator login and General Administration pages.

From Tiki for Dummies Smarties

Watch how to complete the Tiki Installer screens, including how to configure your database connection. This movie also shows your initial Administrator login and General Administration pages.

From Tiki for Dummies Smarties

Basic overview in Tiki 3: Install and Profiles
This new installer and the application of the new set of Profiles is new in Tiki3, and you can have a quick look at it in the following 12 min. screencast:





Step by step installation

Before You Begin

Before installing Tiki, read the Requirements and Setup information and use the Server Check tool. Proper planning can ensure a worry-free installation. If you need a webhost for your Tiki, refer to the list of Tiki Friendly Hosts.

These instructions are intentionally generic, and should apply to most shared host installations. See Installation Guides for instructions for specific combination of operating system and web servers.

Pre-requisites

This guide assumes you have:
  • FTP or SSH (shell) access to a webserver (such as Apache) with PHP5
    • Typically, you upload the files via a FTP client such as WinSCP or FileZilla.
  • access to a MySQL database (should be provided by your webhost)

1. Create the database

Tiki requires a MySQL databse.

Many hosts offer a point & click interface to create databases and database users. For example, if your web host has cPanel you probably can see phpMyAdmin in the main menu or a the section labeled Databases.
cPanel
The MySQL and phpMyAdmin applications in cPanel 11.


Creating a database (and a database user) is a very simple operation. Essentially you will create a blank (empty) database that the Tiki installer will later populate with the correct tables and data.

The Three steps of Database Setup.

  1. Create a database.
    • You can name the database anything you want, but don't get fancy with the name — you can use tiki. Depending on your web host, your full database in phpMyAdmin may be listed as accountname_tiki.
      Note: By default, Tiki uses UTF-8 for your database encoding. We strongly encourage you to select "utf8" in the "collation" drop-down box in phpmyadmin (or similar), in the field shown in the following image:
      Image
      If you select a different encoding method, you may need to manually update your ../db/local.php file.
      Tip: If you plan on having multiple Tiki installations, don't use tiki as the database name.
    • Be sure to record the database name, you will need it later.
  2. Create a database user (with password).
    • Again, don't get fancy with the database username. In fact, you can use the same name that you selected for the database (in step 1).
    • Select a strong password. You can easily recover your database username and password if necessary (by reviewing the ../db/local.php file in your Tiki directory.
    • Be sure to record the username and password. You will need it later.
  3. Assign all database permissions to the database user that you created (in step 2).

Congratulations. You now have a database that is ready to use, as well a a database user (and password) with the necessary permissions.

2. Download and unzip

Download the current version of Tiki to your local computer from http://tiki.org/download.

Download
Download button on tiki.org

From Tiki for Dummies Smarties

The full Tiki archive file download is 20-50MB depending on the version and compression (zip, bz2, etc,).

After downloading the Tiki archive file, decompress (unzip) the file to your local PC.

3. Upload to your webhost

Use FTP (or SCP, SFTP, Rsync, SSH, etc) to connect to your webhost.

Once connected, find your web directory. It is often called www or public_html.
Note: This directory name may vary, depending on your webhost.

Upload all the Tiki files from your PC to you webhost.
  • If you upload the Tiki files to the root of your web directory, Tiki will be accessible directly from the URL: http://example.org
  • If you have installed (or plan to install) other applications on your webhost, you may consider putting Tiki in its own subdirectory (for example: http://example.org/tiki/). Keep in mind that this might mean that you will have to manually edit the file .htaccess to activate the Tiki subdirectory (for example this "RewriteRule ^(.+)$ /tiki-index.php?page=$1 [QSA,L]" might need to become this "RewriteRule ^(.+)$ /tiki/tiki-index.php?page=$1 [QSA,L]")

3.1. Example: Installation with lftp

lftp -u username ftp.example.com
lcd /path/to/local/tiki
cd /path/to/web/tiki
set ftp:ssl-allow no
mirror -R ./

A ftp testing upload session to an external webhoster needed approximately two hours, and the limitation was the provider's setting. The local internet connection was not saturated.
Time for more coffee?

4. Go to your website.

Open your web browser and access the web directory in which you copied the Tiki files (for example: http://example.org/tiki/ or simply http://example.org if you copied Tiki to the root of your web directory.

The Tiki Installer Welcome screen appears.
Image
From Tiki for Dummies Smarties
The Tiki Installer Welcome screen appears.
Image
From Tiki for Dummies Smarties

The Tiki Installer Welcome screen appears.
Image
From Tiki for Dummies Smarties

The Tiki Installer Welcome screen appears.
Image
From Tiki for Dummies Smarties

The Tiki Installer Welcome screen appears.
Image
From Tiki for Dummies Smarties

The Tiki Installer Welcome screen appears.
Image
From Tiki for Dummies Smarties

You should see a message indicating that Tiki could not connect to the database and prompting you to run the Tiki installer (tiki-install.php).
Tiki
This message is normal and indicates that you are ready to install Tiki.





The Tiki Installer includes important links to the ReleaseNotes and Documentation. Be sure to review these documents before installing Tiki.

4.1. Troubleshooting


2012-09: A new Server Check script has been developed that will make everything easier! Just upload a single PHP file to your server and you will get advice on your server configuration.



If your browser returns an error such as Parse error: syntax error, unexpected T_STRING, you may have the incorrect PHP version.

Starting with Tiki 3.0, Tiki requires PHP5. Review the _htaccess file included in the Tiki archive file for instructions on activating PHP5.

Image See the Installation FAQs for more help.

1. File and Folder permissions

If your server is unhappy with Tiki file and folder permissions (this is dependent on server configuration), you may get an error message or blank pages. These failed attempts are typically in the error log (ask your web host to know where they are as it's different depending of your setup)

Too few permissions
If a message appears indicating that specific directories are not writable, you will need to change the permissions on the indicated directories. Tiki will attempt to verify that it can read (and write) to all necessary directories. This error message will include instructions about how to resolve the issue.

Too many permissions
If you are getting Internal Server Error 500, blank pages or similar, it could be that the permissions on the files are not appropriate for your webhost.

If your permissions are currently at "777", use your FTP client to change the files to "755". If Tiki is installed in a directory, make sure to also change the permission of the folder which contains the tiki files.

If you have shell access, you can run:
sh setup.sh

and answer any questions. If you don't know what to answer, just click "enter" to keep the defaults.

If "sh setup.sh" doesn't work for you, you may try, in your ./tiki/ directory
chmod -R 777 ./db ./dump ./img/wiki ./img/wiki_up ./img/trackers ./modules/cache ./temp ./temp/cache ./templates_c ./templates ./styles ./whelp/

Another way is to set permissions for all directories and then set permissions for all files. For example, to set the permissions for all directories to 777 and the permissions for all files to 644, use the following separate commands through shell access:
find [YOURDIR] -type d -exec chmod 777 {} \;

find [YOURDIR] -type f -exec chmod 644 {} \;

After correcting any directory or file permission problems, visit tiki-install.php to continue.

2. SuPHP Problems

Systems with SuPHP need permissions 755 at maximum. Group must not be allowed to write. This includes the complete path in the filesystem, not only document root of the webserver. Wrong permissions may lead to 500 Internal Server Error here. On the other hand less permissions (namely 750 without x/execute/subdir entry for webserver) may lead to 403 Forbidden Error.

3. Permission Matrix

Several usecases and minimum to maximum permissions you may try if something doesn't work properly. Permissions refer to data directly accessed by the webserver (files included by Tiki itself may and should have less permissions):
Ownership
username:groupname
no SuPHP
files / subdirectories
with SuPHP
files / subdirectories
webserver:webserver
600 - 666 / 700 - 777
?
user:user
604 - 666 / 705 - 777
600 - 644 / 701 - 755
user:webserver
660 - 666 / 770 - 777
?
webserver:user
660 - 666 / 770 - 777
?

3.1. Option

For your consideration
find . -type d -exec chmod 755 {} \; ; chmod 755 . ; find . -type f -exec chmod 755 {} \; ; chmod 751 db/local.php

3.2. Option

The following commands might be useful. In particular, it might help you use an IDE (PhpStorm), etc:
For your consideration
$ export PathToTiki="/var/www/tiki"
$ export WebServerOwner="www-data"
$ sudo usermod -aG ${WebServerOwner} $(whoami)
$ sudo chown -R ${WebServerOwner}: ${PathToTiki}
$ sudo chmod -R g+rw ${PathToTiki}

In English, the above code adds you to the web-server group; forces the tiki tree to be owned by the web-server user and group; and then makes sure the tiki tree is readable and writable by the web-server group (you). Suggestions welcome!





5. Run the Tiki installer (tiki-install.php)

Open a web browser to: http://example.org/tiki-install.php (or http://example.org/tiki/tiki-install.php if you installed Tiki in a subdirectory).

The first page of the Tiki Installer appears. This installer will allow you to:
  • Pick a language
  • Test your server settings
    • If the installer detects that some of your server settings are inadequate, it will suggest changes to comply to the requirements.
  • Enter your database host, name, username, and password.
    This is the information from the database that you created earlier. You did remember to write it down, right? For non-default port number use syntax "example.com;port=3307"
  • Create/update the database
    • Note: on osx installations, the mysql socket is a bit different. In /etc/php.ini, change all instances of /var/mysql/mysql.sock to /tmp/mysql.sock and then restart the web server
  • Set some preferences, such as admin email
  • Disable the install script
  • and more

Complete each page of the Tiki Installer.

5.1. Security choices during installation

There are a couple of important security choices during installation as follows:

5.1.1. Secure login

When configuring general settings during installation, there is an option to "Require secure (https) login". It is recommended to select this option so that data sent between the browser and the site server is kept private.

In order to implement secure logins, in addition to selecting this option, you will need a security certificate and a dedicated IP address for yuor domain. These can be obtained or purchased from your web hosting company or, in the case of the security certificate, from third parties.

5.1.2. Locking in the installer

In the last step of the installer, the installer is locked by default once you click the button to enter your Tiki. There is an option to elect to not lock the installer in that last step of the installation. It is highly recommneded that you lock the installer for any production site. The option is provided for concenience for development sites only. The installer allows a user to change or destroy the site's database through the browser so it is very important to keep it locked once the installation or upgrade is complete.

5.2. Alternative "Step 5" without tiki-install.php

If you are unable to complete the Tiki Installer, continue with a Manual Installation.

6. Log in for the first time

Log in using the login box in the right-hand column.
  1. Enter this information:
    1. user: Enter admin
    2. pass: Enter admin
  2. Click login.

7. Change the default password.

Use a strong password. You may want to logout right away, and login again, letting your password manager record your password.

8. Congratulations !

It is recommended to create a new user and give him admin privileges instead of regularly using the admin account. You can now explore the interface but you should check the extra steps before to get you started.

9. Configure Your Tiki

Please visit Initial Configuration to explain the recommended next steps, or configuration for the table of contents related to configuring Tiki.

Add new features through post-install Profiles

Starting in Tiki3, you can enable several settings/permissions/content in sets altogether in a single go, in order to provide a common feature to your tiki site (make it multilingual, add freetags, configure it as a Collaborative environment, ...). And all that with a just few clicks through the Profile Manager from "Admin > Profiles".

Read more about it at Profiles.

For more information on the Tiki installation process...


Related pages:
Installation FAQ
Installation Guides - recipes, tips and detailed knowledge about specific hosting environments
Migrate to Tikiwiki
Move Tiki to a new server
Reinstall - to point tiki to a new Database or re-run an upgrade
Tiki in Ten minutes - a recipe for command line installations.
Fantastico Installation
Using SSH (for newbies)
Manual Installation
MultiTiki


Alias

doc.tiki.org
[Toggle]


Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki
Show php error messages