[TYPO3-UG-Muenster] installer script lamp typo3

angy angela.simonte at t-online.de
Fri Feb 22 21:51:34 CET 2008


# 
clear
echo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo
echo *WHEW!* Ok, everything should be compiled and installed. Now we
echo just need to set up the webserver and install the Typo3
application.
echo
echo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo
echo

# replace configuration files
rm -r -f /usr/local/typo3/lib/php.ini
cp /typo3install/patches/php.ini /usr/local/typo3/lib
rm -r -f /usr/local/typo3/conf/httpd.conf
cp /typo3install/patches/httpd.conf /usr/local/typo3/conf

# get rid of the old apache install files
rm -Rf $PREFIX/htdocs/*

# Link libraries -- this is important or PHP has no idea how to access
its
# libraries and so won't start
ldconfig $PREFIX/lib

mv /typo3install/testsite.tar.gz /
cd /
tar -zxvf testsite.tar.gz
rm -r -f testsite.tar.gz
cp /typo3install/README.txt /usr/local/typo3/htdocs
cp /typo3install/patches/test.txt /usr/local/typo3/htdocs
mv /usr/local/typo3/htdocs/test.txt /usr/local/typo3/htdocs/test.php
cp /typo3install/patches/index.html /usr/local/typo3/htdocs

cd /var/lib/mysql
mkdir typo3
cd /var/lib
chown -R mysql:mysql mysql

cd /etc/init.d
./mysqld stop

chown -R nobody:nobody /usr/local/typo3

# Turn on write access for cache and config directories
chmod ugo+rw $PREFIX/htdocs/testsite/typo3temp
$PREFIX/htdocs/testsite/uploads
$PREFIX/htdocs/testsite/typo3conf/localconf.php 

Hallo Sascha @all,

angelblich läuft das script jetzt fehlerlos, aber ich kann apache u.
mysaql  nicht starten  und der ordner typo3 ist leer....

Hat jemand eine Lösung?

gruss
angela





$PREFIX/htdocs/testsite/fileadmin

# Let rock it !
$PREFIX/bin/apachectl start
cd /etc/init.d
./mysqld start

# Clean up the build directory
clear
echo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo 
echo Clean up the build directory
echo 
echo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo
echo
cd /
rm -r -f /typo3install

# Import Typo3 Database
cd /usr/local/typo3/htdocs/testsite/typo3conf
mysql typo3 < database.sql

clear
echo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo
echo Installation finished!
echo
echo If you like to proceed with your Typo3 enviroment, please go to
echo
echo 	   http://localhost:81 or 
echo       http://yourdomain.com:81
echo	   http://ipaddress:81
echo
echo depending on your enviroment you installed this script on.
echo Please make sure to restart your system first to make MySQL run
properly.
echo
echo
echo Latest version always available at http://www.typo3-installer.de
echo
echo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo
echo
echo
exit



More information about the TYPO3-UG-Muenster mailing list