Loading...
 

History: InstallTikiGentoo

Preview of version: 43

Installing TikiWiki on Gentoo Linux


Gentoo Portage provides Tikiwiki 1.8.5 stable and 1.9.0 unstable
Note: The Gentoo Portage Managers have updated TikiWiki packages:

For a list of pending bugs on gentoo bugzilla query:

How to choose your version
TikiWiki 1.7.x is not secure and is no longer being maintained. Admins should adopt 1.8.5. (Old policy: Receives only bug fixes and security fixes.We do not add any new feature to it, nor backport any new feature.)

TikiWiki 1.8.5 should be used in production environments.
TikiWiki 1.9 is a developer and tester version, it is stable enough to run but things break from time to time. New features go there. (Old policy: We are in feature freeze and code clean up.)

TikiWiki 1.10 is a developer version, major new features go there.


Please select the version you wish to install from the list, above.

If you feel like testing MapServer with TikiWiki, check out developments on InstallTikiMapserverGentoo

-(TikiWiki 1.9)-----------

Copy to clipboard
ACCEPT_KEYWORDS="~x86" emerge tikiwiki -pv emerge tikiwiki


-(TikiWiki 1.9 developers ebuild testing method)-----------

TikiWiki 1.9 Sirius Developers and Testers Release (NOT FOR LIVE SITES)


1.9.x is a developer and tester version, it is stable enough to run but things break from time to time. New features go there.

If you feel like using 1.9, , lets use our well-known PORTAGE OVERLAY feature. Turn it on in /etc/make.conf ...

Copy to clipboard
$ mkdir /usr/local/portage/www-apps/tikiwiki $ cp /usr/portage/www-apps/tikiwiki/tikiwiki-1.8.5.ebuild \ > /usr/local/portage/www-apps/tikiwiki/tikiwiki-1.9.0_rc4.ebuild #for DR4


Now we create the "tarballs for our install from latest cvs" for our own client-service. Go to your webserver root directory and create a folder "tar".

Copy to clipboard
$ cd /var/www/localhost/htdocs $ mkdir ./tar $ cd tar $ wget http://de.tikiwiki.org/tar/lastiki_BRANCH-1-9.tar.bz2 $ mv ./lastiki_BRANCH-1-9.tar.bz2 ./tikiwiki-1.9.0_rc4.tar.bz2


Finally, lets modify and emerge

Copy to clipboard
$ vim /usr/local/portage/www-apps/tikiwiki/tikiwiki-1.9.0_rc4.ebuild # edit the variables: HOMEPAGE="http://localhost" SRC_URI="${HOMEPAGE}/tar/${P}.tar.bz2" # line 26 append to DIRS another value local DIRS=" whelp" # whelp is a directory for dumps of structures to html format, coded by LuisArgerich
Copy to clipboard
$ emerge tikiwiki -pv These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] www-apps/tikiwiki-1.9.0_rc4 -vhosts 0 kB [1] Total size of downloads: 0 kB Portage overlays: [1] /usr/local/portage $ emerge tikiwiki

If all goes well you are now fetching the download, first failing from official mirros, but finally downloading from the HOMEPAGE/tar/ directory we specified in the ebuild.

No information about this file ebuild and associated downloaded file we created above yet exists in our local portage tree. We need to create the digest now:

Copy to clipboard
$ ebuild /usr/local/portage/www-apps/tikiwiki/tikiwiki-1.9.0_rc4.ebuild digest $ emerge tikiwiki


As this is not a release, you will get errors about missing docs, thats ok.

All this should put a copy of Tikiwiki into /var/www/localhost/htdocs/tikiwiki, unless you use the +vhost USE flag and know what your doing with your webapp-config.

Now you should go to your tikiwiki directory and continue installation steps as usual. Create empty database, create database user, grant permissions on new database to user. Point your browser to localhost/tikiwiki/tiki-install.php. Or in tikiroot do $ ./setup.sh apache apache 02775, edit db/tiki-db.php, pipe tiki.sql into new database.

For TikiMods you will have to go on commandline and use fixperms.sh to be safe.

-(TikiWiki 1.8.5)--------

TikiWiki 1.8.5 Polaris Stable (for production environments)

There is an ebuild in portage for GentooLinux users, who would like to test and use a Tiki, and benefit of the easy updates of both worlds.

1. To use it: emerge tikiwiki

Copy to clipboard
$ emerge sync $ emerge -pv tikiwiki $ emerge tikiwiki


2. then enable PHP in your /etc/conf.d/apache(*) if you have not done :

Copy to clipboard
APACHE(*)_OPTS="-D PHP(*) -D SSL"


3. you may want to create an empty tiki database:

Copy to clipboard
$ mysqladmin -uroot -p create tikiwiki


4a.Check your Requirements and Setup

4b. follow on-screen instructions:

Copy to clipboard
* To complete installation, you should manually review the following * * Tiki requires PHP to have in /etc/php/apache(*)-php(*)/php.ini * ==> 'memory_limit = 16M' * ==> 'max_execution_time = 60' * Tiki likes PHP to have : * ==> 'default_charset = utf-8' * ==> 'file_uploads enabled = On' * Please edit /etc/php/apache(*)-php(*)/php.ini. Match your running php and apache version. * * * You may find further information on the Tikiwiki website * ==> ((InstallGettingStarted)) *

5a. Open http://localhost/tikiwiki/tiki-install.php. This helps setting up the db connection and some "database profiles".

5b. On the commandline, cd to your tikiwiki install root directory, then

Copy to clipboard
cd ./db $ mysql -uroot -p tikiwiki < ./tiki.sql
  • Like this you pipe the db into your empty tikiwiki db directly.


Setup db/local.php for tikiwiki database access for single tikiwiki:

Copy to clipboard
# or edit in db/tiki-db.php the following lines to match your settings: $host_tiki = 'localhost'; $user_tiki = 'root'; $pass_tiki = 'Password'; $dbs_tiki = 'tikiwiki';


6. Now, point your browser to the location of tiki-install.php
* e.g. http://localhost/tikiwiki/tiki-install.php
* Login using admin/admin and start using Tikiwiki!

7. enjoy!

-(Notes)--------

Notes

What is Gentoo?

GentooLinux: We produce Gentoo Linux, a special flavor of Linux that can be automatically optimized and customized for just about any application or need. Extreme performance, configurability and a top-notch user and developer community are all hallmarks of the Gentoo experience. To learn more, click here.
http://www.gentoo.org/main/en/about.xml


Further reading:

  1. HowtoUseExternalSmarty
  2. HowtoUseExternalAdodb
  3. HowtoUseExternalPear
  4. TikiModSecurity

Copy to clipboard
$ emerge smarty $ emerge adodb $ emerge pear # and many others like PEAR-Date etc.

History

Advanced
Information Version
drsassafras Mass search and replace 50
View
mlpvolt 49
View
Philippe Cloutier doh 48
View
Philippe Cloutier move PHP5 instructions for Gentoo to InstallTikiGentoo 47
View
Lorinc 46
View
Lorinc 45
View
Lorinc 44
View
Lorinc 43
View
Lorinc 42
View
Lorinc 41
View
dp7 40
View
Lorinc 39
View
Michael Davey 38
View
Lorinc 37
View
Lorinc 36
View
Lorinc 35
View
Lorinc 34
View
Lorinc 33
View
Michael Davey 32
View
Lorinc 31
View
Michael Davey 30
View
Terence? 29
View
seggy Added a step to enable php4 in the previous update, and removed extraneous SSL option in this one. 28
View

Upcoming Events

1)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6) 
Tiki birthday
7)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
8)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting