Tiki in Ten Minutes
(roughly)
This recipe is intended for (beginner) web developers who want to use command line client like PuTTY for a Tikiwiki installation in a standard web hosting environment with root access permissions. This is a complete step by step, command by command set of instructions.
You should be able to select, copy and and then right-click to paste these commands in the PuTTY command window.
Currently we include commands for both a 1.9.8.3 install and a 1.10 install.
See also Installation
Before you start
This is the development environment these instructions are written for.
Server: LAMP (Linux, Apache, MySQL, PHP)
SSH/Telenet Client: PuTTY
Server Control Panel Interface: WHM (Cpanel/WebHostManager)
NOTE: To perform these steps you have root (shell) access. Most shared (cheap) hosting companies do not provide this.
Tiki in 10 minutes Install:
If you haven't before, get PuTTY.
Login. Initially you need to open PuTTY, put in your your IP address and port number (leave this as the default or ask your Hosting Provider if that doesn't work. Then, once you are logged, you have to enter your account name and pw. Login Ok? Lets proceed.
1.
Use ls to verify you are in the root folder of your account. You should see folders like public_html public_ftp here.
2.
move to public_html wherer the web stuff goes.
3.
download the compressed tiki files directly from the source.
for 2.0:
# wget http://downloads.sourceforge.net/tikiwiki/tikiwiki-2.0.zip?modtime=1218472166&big_mirror=1
for 3.0 (trunk) (alpha zip file):
wget ~np~http://de.tiki.org/tar/lastiki_trunk.zip
Note: for other versions, surf to http://downloads.sourceforge.net/tikiwiki and copy a new link location
4.
uncompress.
# tar -zxvf tikiwiki-1.9.8.3.tar.gz (for .gz)
or
# unzip lastiki_BRANCH-1-10.zip (for .zip)
or
# bunzip2 file.bz2 (for .bz2)
5.
move the decomressed files to the public_html folder
# mv tikiwiki-1.9.8.3/* ~/public_html
or
- mv BRANCH-1-10/* ~/public_html
6.
optional: erase the original downloaded zip file
# rm tikiwiki-1.9.8.3.tar.gz
7.
verify
check the list of files and folders in public_html. it should contain folders starting with "ajax"
8. Shortcut!
In most cases, you must now close Putty, goto your control panel and create a database, user and assign permissions. navigate in your broswer to your home site and see if you get the "local.php not found . . . run install.php" screen. If so - choose install and enter your DB setup, and you are done here!
If you can't access tiki-install.php because of a permissions error, reopen Putty, login again and use the following.
9. (optional)
# mkdir files
# chmod 777 files
# chmod 777 tiki-install.php
10.(optional)
If we don't use control panel we can create a database and user for tikiwiki.
# mysql
# mysql> CREATE DATABASE youraccountname_tiki CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
# mysql> GRANT ALL PRIVILEGES ON youraccountname_tiki.* TO 'youraccountname_yourusername'@'localhost' IDENTIFIED BY 'yourpassword';
# mysql> \q
Now close putty again. open your browser. Enter your site's URL,
You should be directed to the installer, which completes the installation by creating the ‘’local.php’’ file with the appropriate database settings.
Enter your database information. And click “Installâ€Â
-
Hello World
Hello World! Your tiki exists. By default you are logged as the “adminâ€Â (superuser) with password “adminâ€Â – change that now.
Now the hard stuff (which takes longer than 10 minutes) – content. But before you do that, secure your tiki by dropping the permissions on the installer file.
Alternate Install: restore a database from a dump file.
This command will run any sql file you have uploaded to the server, such as a dump (DB backup) from a previous install of tikiwiki.
mysql -h localhost -u root -p database-name < text-file-with-sql-statements.sql
|