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 web host'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.
If you are a web developer or programmer, command line installation of Tiki is also supported.
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 web host 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. (Full disclosure: the specific installation guides aren't updated as often as the general instructions so could be out of date. Please use the project's mailing lists, forums, etc. to get more information if necessary.)
This guide assumes you have:
Tiki requires a MySQL database.
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.
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.
utf8mb4
since Tiki19, so a collation such as utf8mb4_unicode_ci
should be selected, in the field shown in the following image:
../db/local.php
file in your Tiki directory.
Following these steps, a database is created that is ready to use, as well as a database user (and password) with the necessary permissions.
This method requires (a) a server with shell (command line) access and (b) the Git command line tool already installed on your server.
Example for a fresh checkout (recommended also for major upgrades)
Method 1
Cloning to a new folder (that you will specify)
$ git clone https://gitlab.com/tikiwiki/tiki.git mynewfolder
Method 2
Cloning to the current folder (when you created the intended tikiroot already and changed into this directory prior to the checkout):
$ git clone https://gitlab.com/tikiwiki/tiki.git .
Note
To clone only the latest 500 commits from a Git repository, you can use the --depth option, which allows you to create a shallow clone with a limited commit history. Here’s how to do it:
$ git clone --depth 500 https://gitlab.com/tikiwiki/tiki.git mynewfolder
Ressources
If you are new to Git and you want to use Git to either deploy and manage a live website or you are a developer moving to Git from another version control system (vcs), you might want to find a course or a book.
The entire Pro Git book, written by Scott Chacon and Ben Straub and published by Apress, is available here. All content is licensed under the Creative Commons Attribution Non Commercial Share Alike 3.0 license. Print versions of the book are available on Amazon.com.
See also: A short history of Git
Alternatively, you can download a package of all the files, including external library files, of any supported version of Tiki to your local computer from http://tiki.org/download.
The full Tiki archive file download is 25 to 95MB depending on the version and compression format (zip, bz2, etc.).
If cPanel (a feature commonly offered by shared hosting providers) is available on the web host, you can upload Tiki's zipped package as one file without first extracting the files. Use cPanel's file manager to upload the zipped archive and extract the files after the upload is complete. The files can be selected and moved to another directory in one action if necessary. If cPanel is available, this is a safer and faster method than uploading multiple files.
If your web host doesn't have cPanel, after downloading the Tiki archive file, decompress (unzip) the file to your local PC.
Use FTP (or SCP, SFTP, Rsync, SSH, etc) to connect to your web host.
Once connected, find your web directory. It is often called www
or public_html
.
Note: This directory name may vary, depending on your web host.
lftp -u username ftp.example.com
lcd /path/to/local/tiki
cd /path/to/web/tiki
set ftp:ssl-allow no
mirror -R ./
An ftp testing upload session to an external web host needed approximately two hours, and the limitation was the provider's setting. The local internet connection was not saturated.
To complete the setup of the checked-out files, including fetching external libraries and setting permissions, run setup.sh, (in the tikiroot):
$ sh setup.sh
For more information on using setup.sh, also see the Troubleshooting section, or run sh setup.sh -h
in the shell. Regarding Composer, which is only needed to fetch external libraries when Tiki is being installed from the repository, use the option "c" after starting the setup.sh script:
For Tiki < 27
$ sh setup.sh . . . Your choice [c or f]? c
For Tiki ≥ 27
See: https://dev.tiki.org/The-Tiki-27-plus-Build-System
$ sh setup.sh . . . Your choice [b]? b
Run the Tiki installer (tiki-install.php)
Navigate in 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:
Complete each page of the Tiki Installer.
There are a couple of important security choices during installation as follows:
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 your domain. These can be obtained or purchased from your web hosting company or, in the case of the security certificate, from third parties.
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 recommended that you lock the installer for any production site. The option is provided for convenience for development sites only. The installer allows the site's database to be changed or destroyed through the browser so it is very important to keep it locked once the installation or upgrade is complete.
If you are unable to complete the Tiki Installer, continue with a manual installation.
Log in using the login box in the right-hand column.
Use a strong password. You may want to log out right away, and log in again, letting your password manager record your password.
It is recommended to create a new user and give this user 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.
Please visit Initial Configuration, which describes the recommended next steps, or configuration for the table of contents related to configuring Tiki.
You can enable a set of settings/permissions/content features in a single action, in order to provide a common feature at your Tiki site (make it multilingual, add tags, configure it as a collaborative environment, etc.) with a just few clicks using the Profile Manager from "Admin > Profiles".
Read more about it at Profiles.
Related pages:
Installation FAQ Installation Guides - recipes, tips and detailed knowledge about specific hosting environments Migrate to Tiki 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 |