Choose your tiki version for the FTP install guide by clicking the version numbers above.
-(1.7.2)--------------
TikiWiki 1.7.2 FTP installation guide
I've installed tikiwiki (1.7.2) just a few minutes ago for the first time and am writing this immediately after the installation.
If you are trying to install tikiwiki to your webhosting account and you have only FTP access (no telnet, SSH), read on:
steps:
1. Download the latest tikiwiki and extract the contents on your local computer.
2. Create a folder anywhere under your web root. For example: tiki
3. Upload all the extracted files to that folder.
4. CHMOD the following such that PHP can write to them:
- backups (if you plan to use backups)
- db
- dump (if you plan to use Wiki dumps or export the Wiki) and dump/html
- games (if you plan to enable game uploading) Make sure that games/thumbs and games/flash are also writeable.
- img/wiki (if you want to use drawings)
- img/wiki_up (if you want quick picture uploading to wiki pages)
- modules/cache (Mandatory)
- temp (if you want to enable batch uploading)
- templates_c (Needed to run tiki)
- templates
- styles
- lib/Galaxia/processes
(Note 1: in my case, I CHMODed 777 to all these, which makes them readable and writeable by anybody on the system, including the PHP and Apache programs. Some hosts dislike this, and require 755 permissions.)
(Note 2: most FTP utility programs will ask you whether you want to CHMOD the directory only or include the files under it. Choose with the files under it. For those who are not familiar with CHMOD, here are a short tutorial and a more complete tutorial. — Jean-François
Permissions work like this:
700 would give you -rwx-- in the directory listing
755 would give you -rwxr-xr-x in the directory listing
(r=4, w=2, x=1 with the digit positions representing owner, group,
others in that order)
This might look like:
chmod 777 -R backups db dump dump/html games games/thumbs
games/flash img/wiki img/wiki_up modules/cache temp templates_c templates
styles lib/Galaxia/processes
)
5. Have the mySQL db, userlogin, userpassword ready. Ensure that the user has full rights to the db.
6. Using a tool like phpmyadmin, navigate to the db, click on 'SQL', click on 'choose' button besides 'or Location of the text file', select the tiki.sql in 'db' folder on your local computer. Press 'Go' button
7. Now that you've populated the db w/ tikiwiki tables, open up tiki-db.php in notepad/wordpad and enter the db info. You can leave the $tikidomain = ''; as is. Save it
8. Replace the existing db/tiki-db.php in your webserver w/ the one you saved in above step.
9. Go to http://yoursite.com/tiki/tiki-index.php and
you should see some page displaying an error message since you won’t have permission to access any feature yet. Perhaps, you may need to follow instructions given on http://sourceforge.net/tracker/index.php?func=detail&aid=796457&group_id=64258&atid=506846.
9a. Sometimes, for whatever reason, you may need to try going directly to the admin page at http://yoursite.com/tiki/tiki-admin.php. Things will usually work fine from then on, but que cera.
10. Delete the tiki-install.php file. Jann Röder notices that local.php doesn't exist with this install procedure leaving the Tiki open to very bad things without this step. I wonder if creating a local.php instead of editing tiki-db.php at step 7 could eliminate this step. Chealer9 --- tiki-db.php already calls local.php, there's no need to edit it. Just create local.php with the proper variables daaave
11. Login as admin/admin and change the pwd.
Congrats! You've installed tikiwiki successfully. 😀
-
For people with FTP and SSH access to web serwer
Uploading an extracted Tiki takes very very long. There are thousands files in Tiki. So here is a faster way of achieving step 3 of the above instruction.
3a. upload tikiwiki-VERSION.tar.gz
3b. execute following commands:
tar -xvzf tikiwiki-VERSION.tar.gz
cd tikiwiki-VERSION
cp -R * ../
rm -Rf *
cd ..
rmdir tikiwiki-VERSION
rm tikiwiki-VERSION.tar.gz
...and you've saved a lot of time! 😊
-(1.8.3)--------------
TikiWiki 1.8.3 FTP installation guide
Installing Tiki 1.8.3 to a Remotely Hosted Website
by Mykk, July 23, 2004
Introduction:
Greetings. I came to the TikiWiki install page as a newbie looking to see how to install Tiki on a website hosted by a webhost, and found only directions for installing version 1.7.2. Although at the time of this writing the developers are working on versions 1.9.x and even 1.10.x, the latest stable version out there was 1.8.3. My webhost uses Scripta (similar to Fantastico) and makes it very simple to install version 1.8.2 with just a few mouseclicks, but my curiosity demanded I see if I could install 1.8.3 all by myself. After a few tries, I got it to work! A newbie like me can't offer a lot to the Tiki community (yet), but I figured like the person who gave directions to install 1.7.2, I'd "perfect" my method, take notes, then share my results here. Also, I find a lot of directions over my head, so I'm writing this as simple as I can (I HAVE to assume you know some basic Windows file management and clicking and such). I'm not talking down to you, but hey--I LIKE simple, so here goes!
First, some stats. People seem to like stats:
- My computer:
- AMD 2600
- Windows XP Professional (I'm a hard drive away from dual-booting into Linux)
- Mozilla Firefox browser (recent convert thanks to Tiki forums, love it now)
Step 1: Downloading Tiki
- Visit http://sourceforge.net/projects/tikiwiki/ and click on Files
- Download tikiwiki-1.8.3.zip
- Why the zip file? Tars and Gzs are for Linux geeks. Although WinRAR seems to unzip them fine, I'm just a dumb Windows user, so give me a zip file!
- Extract the file. Inside you'll find a folder called 'tikiwiki-1.8.3'. Inside that you'll find all the folders and files necessary to run TikiWiki... but don't get too excited, there's a lot to do yet.
Step 2: Create the database
- Databases. You either don't understand them, in which case just accept the fact they create the magic that is a CMS. Or you understand them, but don't know why you can't just browse it with M$ Access. Either way, you need one, so go to your website's control panel. Don't bother with phpMyAdmin like everyone says, it's cool, but I don't think you need it. See if you don't have an option like I do called MySQL, and open that.
- The top third of the page is "Databases:". There's a field called "db:" with a button next to it called "Add Db". In the field, type the name of your database. It doesn't matter so much what you call it--call it 'tiki' if you want. Click the "Add Db" button. You should get an accepted message "Added the database (tiki)". On my Cpanel you can now click "Go Back".
- The middle section of MySQL is about "Users:". In the "UserName:" field, type a user name, like "admin". In the "Password:" field type a password. Remember these well, or write them down, you will need them soon. Click the "Add User" button. Again the confirmation message will appear "Added (username) with the password (password)". Again, I click "Go Back".
- In the top section "Databases:" There is a "User" field that might already be populated with the username you selected, and a "db" field that might also be populated with the database you created. They are drop-down combo fields, so if you had previous users and/or databases, you might have to use the drop-downs to choose the ones you just created. Because there are multiple accounts on each server, whatever your sign-on for Cpanel is, that is appended to the front of these fields. So in "User:" it might say "smith_(username, ie admin)" and in the "Db:" field it might say "smith_(database name, ie tiki)". Underneath that is a bunch of "Privileges:" check-boxes, but the first one should say "ALL" and it should already be checked. If this is all as I've stated, you just have to click the "Add User to Db" button, and you'll get the "Added the user (cpanel signon)_(user name) to the database (cpanel signon)_(database name)" message. Done!
- The above could be confusing, and Cpanels may be different, or maybe you don't have a MySQL and only have phpMyAdmin. The bottom line is you need a database, you need a user, and that user needs to have ALL privileges to that database. I used phpMyAdmin in a different installation, and there was no "ALL" option, so I had to make sure to check every privilege I could possibly check.
- Hopefully this all went smoothly, and you are done with the database process.
Step 3: Create a folder on your website where Tiki will go
- I've seen in various documentation that you REALLY want a separate folder for all this (avoids bugs), so why fight it.
- Use your webhost's Cpanel or your ftp program, whichever you are more comfortable with.
- Cpanel: Log in, click 'File Manager', click the 'public_html' folder, click the 'Create New Folder' folder, enter a distinct name like 'tiki' and click the Create button. OR
- Filezilla (ftp): Logon to your website, navigate into the 'public_html' folder, right-click and choose Create Directory, then again come up with a folder name like 'tiki'.
- Note: The folder name will appear on all your future URLs to your tiki site, ie. www.yoursitename.com/thefoldername/index.php
Step 4: Upload Tiki
- This is a step that different CMSs I researched seem to think is sooooo easy. All you have to do is "untar the file" and you're set to go. I'm a dumb Windows user, remember? I don't know my "untar" from my "(insert unix command here)". Well, my research tells me that if you have root access to your server, they are right. "Untarring" is to .tar and .gz files as "unzipping" is to .zip files, and sure, if you were at the server and could "untar/unzip" the file right to the directory it would take about 10 seconds. But not us. We're paying a webhost $10/mo, and we're just praying this thing works at all. So break out that ftp program and upload all the files. Yes, it will take a while this way. Get a drink, have a smoke, check the mail, watch tv, whatever you are into.
- In Filezilla (ftp), the right window pane is your website if you're still logged in from Step 2. If not, re-log in. Navigate into your 'public_html' folder again, and this time there should be the folder you created in Step 3 (which I have named 'tiki'). Navigate into the folder. (If you were still logged in from Step 3, double-clicking the new folder should get you inside it.)
- In the left window pane, navigate to that 'tikiwiki-1.8.3' folder we unzipped earlier. Select all the folders INSIDE it. In Filezilla, the top folder is a folder with two dots next to it (..). That's what you click to navigate up a level, so you don't need to select that one. Select all the rest (I click the top one, then while holding Shift down, click the bottom one). When I do it the top folder under the ".." folder is the 'backups' folder, and the last file is 'xmlrpc.php'. Select them all.
- Drag all the selected files from the left side to the right side, and hopefully they will begin uploading. If not... well, it's more of an FTP/FileManagement issue, not a Tiki issue, so you need to figure out ftp'ing yourself somewhat, sorry.
- On my cable modem, I just did this, and it took 25 minutes. If you're still using dial-up... umm... it will take somewhat longer.
Step 5: Assigning permissions to the right folders
- If you're as new to websites as I am, this will be new. If you read CMS install documents, they refer to this as "CHMOD"ing a folder/file. CHMOD. There's another *nix term for you. If you have the ability and can "CHMOD", go ahead and assign these folders full rights.
- If "CHMOD" doesn't mean much to you, open your Cpanel and log into your website.
- Open your File Manager.
- Click your "public_html" folder, then your newly created tiki folder. Inside you should see all your Tiki folders and files.
- Click on the name of the folder "backups" such that Cpanel shows you the options to "Delete this folder and all files under it", "Rename this folder", "Change permissions", "Move this folder", and "Copy this folder". Choose "Change permissions".
- There are 3 modes and 3 categories. The 3 modes are Read, Write, and Execute. The 3 categories are User, Group, and World. There is a fourth line with permissions, and numbers for each column, like "7-5-5". There is also a "Change" button.
- Chances are the folder "backups" has all the boxes checked except for two, the Write-group and the Write-world, and the number is probably "7-5-5". You want to check those two boxes, so that all 9 are checked. The permission numbers will change automatically to "7-7-7". Then click the "Change" button. You'll get a confirmation message.
- Joy! Do this to the following folders:
- backups
- db
- dump
- games and games/thumbs and games/flash
- images
- img/wiki and img/wiki-up
- lib/Galaxia/processes
- modules/cache
- styles
- temp
- templates
- templates_c
- The previous install instructions had these two notes: One, is that some webhosts might not like "7-7-7" permissions, but it didn't say what to do if that happens. The second was that if you use an ftp program to set permissions, and if it asks you if you want to include all the files in the folder to the permission change, do so.
- I'm basing my list mostly on the list from the previous instructions. Except when I followed the those instructions, the install failed and told me "Tiki Installer cannot proceed: The directory '/styles' is not writeable." (You'll see I added this above now.) If you get a similar message, just do what is says and change the permission of the offending folder to "7-7-7".
Step 6: Installing Tikiwiki
- What? Installing? What have I been doing this whole time then? You've been just setting things up, getting everything in it's place, ready for the big moment. You've got the files uploaded, and the database is created and ready to go. Might as well close out of your Cpanel, close out of ftp program--if this is going to be successful, you're just going to need your browser from here on out. Open up your browser, and head to the following address: www.(yourwebsitename).com(net,etc)/(tikifoldername, ie tiki)/tiki-install.php
- IF everything is in place (step 2-4), and IF you've set up all your permissions (step 5), instead of an error page telling you which permission you forgot, you'll get a page with the heading "Tiki installer v1.8.3 (CVS)". Under that it says "reload"--ignore that. Under that, it has the message "Tiki cannot find a database connection" which seems like an error, but it's not, if you're this far, you're doing great.
- In the "Database type:" row, use the drop-down box to choose MySQL 4.0.x (or the default 3.x if that's what your website supports)
- In the "Host:" row, it should say "localhost". Leave that alone.
- In the "User:" row, enter the user name you created in Step 2.
- In the "Password:" row, enter the password you created in Step 2.
- In the "Database name:" row, enter the database name from Step 2.
- Don't forget, your Cpanel added your login prefix to the User and Database name. See step 2.
- Click the "Submit Query" button
- If this went right, you'll be on a similar looking screen with the message, "Welcome to the installation script!"
- The first choice is "Create database with profile" and another drop-down combo box. The default choice is "Basicenabled profile for easy use" and that works for me. Click the button next to it called "create". (Don't worry about the rest of the page).
- The new page has a top window and a bottom window. For me at least, the top window is "Print operations executed successfully" and has a bunch of code in it. The bottom window says "Print operations failed" and is empty. I hope your's looks the same!
- If you scroll down, you see a hyperlink for "Click here to remove the install script and proceed into tiki". Click it.
- I then got a message about "Security Alert! Tiki installer failed to rename tiki-install.php. Please remove or rename the file, tiki-install.php, manually. Others can potentially wipe out your Tiki database if you do not remove or rename this file. Proceed to your site after you have removed or renamed tiki-install.php" What does that tell me? Maybe I should've changed the permissions to that file? Not sure. Using my ftp program (or File Manager in Cpanel), I either remove or rename the file like it says to do. Then I click the hyperlink "Proceed to your site" (which is a link to http://www.yoursitename.com/foldername/index.php).
That should be it! You should be looking at the Home Page of your new Tiki site! From there, you should log in as username=admin and password=admin. Note, the username/password is admin and admin. This has nothing to do with the username and password you created for your database in step 2. It's "admin" and "admin". (Then first thing it does is make you change the password! This is a good thing for security.)
Next, start enjoying Tiki! I'm sure everyone has their own strategy for attacking the new website, but for the record, I do the following:
- Create a new user with all permissions. I'd rather have my welcome page say "created by Creativename" than "created by admin".
- Go to admin - features, and select the features you think you will actually use. You can always change them later.
- Create a new menu, just with Home Page in it, just for starters.
- Create a new module called "Main Menu", and put the new menu in it. Assign it "anonymous" permission. This becomes the menu visitors to your site see, meanwhile that huge admin menu should only be something you see when you are personally logged in as an administrator.
- Then personally, I start modifying the theme, but I like doing that! With so many themes to choose from, many of you will be happy just playing around with all the new features. But I guess that's the fun of Tiki.
I'll leave you with a few useful links:
Troubleshooting: http://tikiwiki.org/InstallTikiTroubleShootingDoc
Documentation: http://tikiwiki.org/TikiDocumentation
PHP Memory Limit Requirements: http://tikiwiki.org/tiki-read_article.php?articleId=82
Themes: http://tikiwiki.org/tiki-index.php?page=ThemesDoc
If you have issues or questions, I recommend the forums and the Tiki IRC channel.