@ -0,0 +1,58 @@ |
|||
Installation directory |
|||
-------------------------------------------- |
|||
|
|||
Basically, the destination directory is location independant, |
|||
besides that the symbolic links to the typo3_src dir are fixed. |
|||
|
|||
Install the respective package you have choosen (testsite, quickstart |
|||
or dummy), located in the Apache lib directory (usually /var/opt/apache/lib) |
|||
into you htdocs directory. |
|||
|
|||
Example: |
|||
cp -avP /var/opt/apache/lib/typo3-quickstart /var/opt/apache/lib/htdocs/typo3 |
|||
|
|||
Prerequisites |
|||
-------------------------------------------- |
|||
|
|||
MySQL |
|||
|
|||
If you haven't setup mysql yet, it's now time to execute the following commands |
|||
and start mysql afterwards: |
|||
|
|||
/opt/mysql/bin/mysql_install_db |
|||
|
|||
/opt/mysql/bin/mysqladmin -u root password 'new-password' |
|||
/opt/mysql/bin/mysqladmin -u root -h data password 'new-password' |
|||
|
|||
After being connected to mysql, issue the following commands to create |
|||
a typo3 user: |
|||
|
|||
grant all privileges on typo3.* TO 'typo3' identified by 'new-password'; |
|||
flush privileges; |
|||
|
|||
[...] |
|||
|
|||
Typo3 Installation Password |
|||
-------------------------------------------- |
|||
|
|||
The following paths given are relative to the document root |
|||
(see httpd.conf: DocumentRoot). |
|||
|
|||
Before first usage of the typo3 installation tool, you have to |
|||
set two passwords, the first one resides in typo3conf/localconf.php |
|||
and the second one is in typo3/typo3/install/.htpasswd. In the latter |
|||
case you may alternatively modify the respective |
|||
typo3/typo3/install/.htaccess file. |
|||
|
|||
Creating the password in typo3conf/localconf.php is done with |
|||
# echo -n "password" | md5sum |
|||
|
|||
Creating the password in typo3/typo3/install/.htpasswd is done with |
|||
# touch typo3/typo3/install/.htpasswd |
|||
# htpasswd -b typo3/typo3/install/.htpasswd username password |
|||
|
|||
Remove the die() call from |
|||
typo3/typo3/install/index.php |
|||
|
|||
Finally start your browser with |
|||
http://localhost/typo3/typo3/install/ |
@ -0,0 +1,5 @@ |
|||
-remove die() in typo3/install/index.php |
|||
-replace the default passwords (typo3conf/localconf.php) |
|||
with random ones |
|||
-admin password: admin/password (probably in database.sql) |
|||
should also be replaced |
@ -0,0 +1,21 @@ |
|||
if pkgcheck typo3 X |
|||
then |
|||
pkgfork typo3 typo3-src |
|||
|
|||
menu_begin MENU_PKG_TYPO3 'TYPO3 Options' |
|||
bool 'Create dummy package (empty site)' \ |
|||
ROCKCFG_PKG_TYPO3_DUMMY 0 |
|||
[ "$ROCKCFG_PKG_TYPO3_DUMMY" = 1 ] && pkgfork typo3 typo3-dummy |
|||
|
|||
bool 'Create quickstart package (tutorial site)' \ |
|||
ROCKCFG_PKG_TYPO3_QUICKSTART 1 |
|||
[ "$ROCKCFG_PKG_TYPO3_QUICKSTART" = 1 ] && pkgfork typo3 typo3-quickstart |
|||
|
|||
bool 'Create test site package (advanced test site)' \ |
|||
ROCKCFG_PKG_TYPO3_TESTSITE 0 |
|||
[ "$ROCKCFG_PKG_TYPO3_TESTSITE" = 1 ] && pkgfork typo3 typo3-testsite |
|||
menu_end |
|||
|
|||
pkgremove typo3 |
|||
fi |
|||
|
@ -0,0 +1,7 @@ |
|||
<?php |
|||
$TYPO3_CONF_VARS["SYS"]["sitename"] = 'Default site name'; |
|||
$TYPO3_CONF_VARS["EXT"]["extList"] = 'tsconfig_help,context_help,extra_page_cm_options,rte,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,tstemplate_styler,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,phpmyadmin,aboutmodules,imagelist,setup,taskcenter,sys_notepad,taskcenter_recent,taskcenter_rootlist,info_pagetsconfig,viewpage,tt_guest,mininews,tt_board,sys_todos,sys_workflows,conf_userts'; |
|||
|
|||
// create your own password here with: echo -n 'password' | md5sum
|
|||
$TYPO3_CONF_VARS["BE"]["installToolPassword"] = "180689261dcfc1a5be3794765dd1f012"; |
|||
?>
|
@ -0,0 +1,159 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/jsaw/typo3/typo3.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
#FIXME: I need apache's $localstatedir |
|||
if [ "$ROCKCFG_PKG_APACHE_PREFIX" ] ; then |
|||
apacheprefix="$ROCKCFG_PKG_APACHE_PREFIX" |
|||
if [ "$apacheprefix" = "/usr" ]; then |
|||
apachelocalstatedir="var/apache" |
|||
else |
|||
apachelocalstatedir="var/$apacheprefix" |
|||
fi |
|||
else |
|||
apachelocalstatedir="var/opt/apache" |
|||
fi |
|||
TYPO3BASE=$apachelocalstatedir/lib |
|||
TYPO3SRC=$TYPO3BASE/typo3_src |
|||
|
|||
#FIXME should be config option |
|||
APACHEUSER=http |
|||
APACHEGROUP=http |
|||
|
|||
typo3_random_md5() { |
|||
dd bs=64 count=1 if=/dev/random 2>/dev/null | md5sum | cut -f1 -d ' ' |
|||
} |
|||
|
|||
typo3_doc_files="ChangeLog GPL.txt LICENSE.txt Package.txt README.txt INSTALL.txt Package.txt" |
|||
typo3_doc() { |
|||
local each mydocdir |
|||
|
|||
echo "Creating documentation..." |
|||
case "$xpkg" in |
|||
*-src) mydocdir=$docdir ;; |
|||
*) mydocdir=$docdir/${xpkg#typo3-} ;; |
|||
esac |
|||
|
|||
for each in $typo3_doc_files; do |
|||
[ -f $each ] && cp -avP $each $mydocdir/ |
|||
done |
|||
} |
|||
|
|||
# this is called in the testsite/dummy/quickstart directory |
|||
typo3_src_links() { |
|||
# main typo3 installation |
|||
ln -svf /$TYPO3SRC typo3_src |
|||
|
|||
for i in t3lib tslib typo3; do |
|||
ln -svf typo3_src/$i |
|||
done |
|||
|
|||
ln -svf tslib/media |
|||
ln -svf tslib/showpic.php |
|||
ln -svf tslib/index_ts.php index.php |
|||
} |
|||
|
|||
# this is called in the testsite/dummy/quickstart directory |
|||
typo3_access() { |
|||
chown daemon.$APACHEGROUP . -R |
|||
mkdir -p typo3temp/ \ |
|||
typo3/{temp,ext} \ |
|||
typo3conf/ext \ |
|||
fileadmin/_temp_ \ |
|||
uploads/{pics,media,tf} |
|||
chmod 0750 typo3temp/ \ |
|||
typo3/{temp,ext} \ |
|||
typo3conf/{,ext,localconf.php} \ |
|||
fileadmin/{,_temp_} \ |
|||
uploads/{,pics,media,tf} |
|||
chown $APACHEUSER.$APACHEGROUP typo3temp/ \ |
|||
typo3/{temp,ext} \ |
|||
typo3conf/{,ext,localconf.php} \ |
|||
fileadmin/{,_temp_} \ |
|||
uploads/{,pics,media,tf} |
|||
} |
|||
|
|||
typo3_site() { |
|||
local each |
|||
|
|||
echo "Installing files..." |
|||
rm -rf $root/$TYPO3BASE/typo3-$1 |
|||
for each in fileadmin typo3conf typo3temp uploads; do |
|||
mkdir -p $root/$TYPO3BASE/typo3-$1/$each |
|||
if [ ! "`echo $builddir/$1-$ver/$each/*`" = "$builddir/$1-$ver/$each/*" ]; then |
|||
cp -avP $builddir/$1-$ver/$each/* $root/$TYPO3BASE/typo3-$1/$each/ |
|||
fi |
|||
done |
|||
|
|||
cp -avP $builddir/$1-$ver/clear.gif $root/$TYPO3BASE/typo3-$1/ |
|||
cp -avP $builddir/$1-$ver/_.htaccess $root/$TYPO3BASE/typo3-$1/.htaccess |
|||
|
|||
( |
|||
cd $root/$TYPO3BASE/typo3-$1 |
|||
typo3_src_links |
|||
typo3_access |
|||
) |
|||
|
|||
typo3_doc |
|||
cp -avP $confdir/README.txt $docdir/README.ROCK-Linux |
|||
} |
|||
|
|||
################################################################################### |
|||
typo3_testsite() { |
|||
typo3_site testsite |
|||
} |
|||
|
|||
typo3_dummy() { |
|||
typo3_site dummy |
|||
} |
|||
|
|||
typo3_quickstart() { |
|||
typo3_site quickstart |
|||
} |
|||
|
|||
typo3_src() { |
|||
local each |
|||
|
|||
echo "Installing files..." |
|||
rm -rf $root/$TYPO3SRC |
|||
for each in misc t3lib typo3; do |
|||
mkdir -p $root/$TYPO3SRC/$each |
|||
cp -avP $builddir/typo3_src-$ver/$each/* $root/$TYPO3SRC/$each/ |
|||
done |
|||
ln -sv typo3/sysext/cms/tslib $root/$TYPO3SRC/tslib |
|||
|
|||
# correct user/group |
|||
chown daemon.$APACHEGROUP $root/$TYPO3SRC -R |
|||
chown $APACHEUSER.$APACHEGROUP $root/$TYPO3SRC/typo3/ext |
|||
chmod o-rwx $root/$TYPO3SRC -R |
|||
|
|||
# create typo3_src/typo3/install/.htaccess |
|||
mv -vf $root/$TYPO3SRC/typo3/install/_.htaccess \ |
|||
$root/$TYPO3SRC/typo3/install/.htaccess |
|||
sed -i "s,/www,/$TYPO3SRC/typo3/install," $root/$TYPO3SRC/typo3/install/.htaccess |
|||
|
|||
# documentation |
|||
typo3_doc |
|||
} |
|||
|
|||
custmain=typo3_${xpkg#typo3-} |
|||
chownsrcdir=0 |
|||
createdocs=0 |
@ -0,0 +1,76 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/jsaw/typo3/typo3.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
#if xpkg == typo3-src |
|||
[I] TYPO3 sources -- a free, professional Web content management system. |
|||
#endif |
|||
|
|||
#if xpkg == typo3-dummy |
|||
[I] TYPO3 dummy package - empty site with a single admin |
|||
#endif |
|||
|
|||
#if xpkg == typo3-quickstart |
|||
[I] TYPO3 quick start - tutorial site |
|||
#endif |
|||
|
|||
#if xpkg == typo3-testsite |
|||
[I] TYPO3 Test site -- advanced test site |
|||
#endif |
|||
|
|||
[T] TYPO3 is a Web content management system which features automatic |
|||
[T] creation of navigational menus, headlines, and other dynamic graphical |
|||
[T] elements, automatic conversion and scaling of images, the ability to |
|||
[T] present different templates based on variables such as client browser |
|||
[T] or country code, support for multiple templates on a site, and a |
|||
[T] built-in password-protection option. Pages can be timed to be shown on |
|||
[T] a certain date, be hidden on a certain date or just temporarily |
|||
[T] hidden. TYPO3 supports search in SQL-databases and redesigning of a |
|||
[T] website at once is just a matter of creating a single new template. |
|||
|
|||
[U] http://typo3.com/ |
|||
|
|||
[A] TODO: Author |
|||
[M] Juergen "George" Sawinski <jsaw@rocklinux.org> |
|||
|
|||
[C] extra/tool |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 3.6.2 |
|||
[P] X -----5---9 800.000 |
|||
|
|||
#if xpkg == typo3-src |
|||
[D] 0 typo3_src-3.6.2.tar.gz http://typo3.sunsite.dk/unix-archives/3.6.2/typo3_src/ |
|||
#endif |
|||
|
|||
#if xpkg == typo3-dummy |
|||
[D] 0 dummy-3.6.2.tar.gz http://typo3.sunsite.dk/unix-archives/3.6.2/dummy/ |
|||
#endif |
|||
|
|||
#if xpkg == typo3-quickstart |
|||
[D] 0 quickstart-3.6.2.tar.gz http://typo3.sunsite.dk/unix-archives/3.6.2/quickstart/ |
|||
#endif |
|||
|
|||
#if xpkg == typo3-testsite |
|||
[D] 0 testsite-3.6.2.tar.gz http://typo3.sunsite.dk/unix-archives/3.6.2/testsite/ |
|||
#endif |