#1  
Alt 28.06.07, 15:15
Benutzerbild von oli686
Forum Zuschauer
 
Registriert seit: 28.06.07
Alter: 32
Beiträge: 1
Beitrag Tutorial: Typo3 4.1. Install on Mac Book Pro (Intel) OS X 10.4.10

hallo,

nachdem ich einige Zeit und Nerven mit der Installation von Typo3 4.1 auf meinem neuen MacBook Pro verschwendet habe und mir selber ein Tutorial geschrieben habe, will ich es allen Mac Usern mit dem gleichen Set-Up nicht vorenthalten.

Keine Garantie und ich würde mich freuen, wenn ihr postet ob es auch bei euch geklappt hat.

Los geht es.....

------------------------------------------------------------------------------------------------------------

Typo3 4.1. Instalation on Mac Book Pro (Intel)
System OS X 10.4.10

For this tutorial I used PHP Version 5.2. Redirect Release 1 (Universal Binary), MySQL 5.0.37 OS X 10.4 Intel i686 Standard and ImageMagick 6.1.7 from entropy.ch together with the TYPO3 4.1.1. Read the download instructions on the corresponding pages.

Marc Liyanage - Software - Mac OS X Packages (Marc Liyanage's Site)
MySQL AB :: The world's most popular open source database
http://typo3.org/download/packages/


------------------------------------------------------------------------------------------

Start the installation process by checking your system preferences

Check that your web server (Personal Websharing) is running. You can check this using the Sharing-Panel in the System Preferences. If it is not running, you will get some error messages when you try to reload Apache later on in this tutorial...

Install the PHP module (from entropy.ch) for Apache 1.3 (Mac´s Org. delievered Apache)

I recommend to follow the instructions on Marc Liyanage's Site. If you have installed the PHP module using Marc's installer everything is done. You can proceed with the installation of MySQL. Marc's new installer will also update the Apache configuration, so you do no longer have to edit the httpd.conf! The installer will try start (or restart if already running) your Apache web server, so the new module should be auto-activated.

Install MySQL 5.0.24

If you're not familiar with Unix I recommend the official binary package (the .dmg-file). This is only available for OS X 10.2 and later. Also read the »ReadMe.txt« on the disk image!

To install the package follow the intructions on the screen from the installer.
Install all the packages of the .dmg file to have a Button for MySql in the Preference Pane.

If you install MySQL for the first time, you have to set a password for the MySQL root user. The root user is the super user which has all privileges on the database and can execute all MySQL commands.

If you are not familar with the terminal, here is what you have to do:

- activate the root user:
sudo su (enter your Log-In pass)

- start MySql:
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start

- you will see the following message:
Starting MySQL database server.

- Set a new Password for the root user:
/usr/local/mysql/bin/mysql -u root

- The prompt changes to:
mysql> (means mysql will take the following commands not the shell)

- Set a new pass for root user:
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('secret');

- where <secret> is the desired MySQL root password. Remember this password! You will need it anytime you want to create new MySQL users, maintain your databases and so on!

- Use the command: exit (to return to the shell)

Create a new MySQL-user for TYPO3

- Start MySql again with:
/usr/local/mysql/bin/mysql -u root –p
(the option –p makes it nessary to enter the new pass, which was created in the step above.

- The prompt of the shell changes again to:
mysql> (means mysql will take the following commands not the shell)

- Create a database with the name:
CREATE DATABASE `typo3`;

- The following message will be created after installing of the new database:
Query OK, 1 row affected (0.26 sec)

- Create a new user with the name: typo3db and pass: 123 with: GRANT ALL PRIVILEGES ON typo3.* TO typo3db@localhost IDENTIFIED BY '123' WITH GRANT OPTION;

- Use the command: exit (to return to the shell)


All preliminary work for MySql is done.

Install ImageMagick

No need to explain in detail, simply double click the package (from entropy.ch) in the Finder and follow the instructions in the installer.

Installing the TYPO3 package

Unzip the TYPO3 ZIP-archive (using StuffIt Expander for example) and copy or move the folder (you can change the foldername) to your web server's document root. The document root is your web server's main document repository. Normally it is located in /Library/WebServer/Documents/ .
Copy or move the TYPO3 folder (typo3) there.

Enable the TYPO3 Install Tool

Open the file index.php in /Library/WebServer/Documents/<foldername>/typo3/install/ in a text editor (like BBEdit or JEdit , even TextEdit will do) and make two slashes (//) in front of the die(...) function to enable the TYPO3 install tool. Beware that you do not insert line breaks because this will cause some errors later on (TextEdit, will only wrap the line virtually, not inserting breaks, so it's ok).
Save your changes and close the document.

Change permissions of the TYPO3 files

Open a new Terminal-window ( COMMAND + N in the Terminal application ), change to the web server document root using the command

cd /Library/WebServer/Documents/

and type

sudo chown -R :www <foldername>

hit the RETURN- key and type

sudo chmod -R g+w <foldername>

(where <foldername> is the name of the folder containing your TYPO3 files). With this commands you will change the owner (chown = change owner) and modify the permissions (chmod = change mode) of the TYPO3 folder so the web server application can modify the files in there. If you're done, you can close the Terminal window.

Using the TYPO3 Install Tool

Open a web-browser and go to http://127.0.0.1/<foldername>/. The TYPO3 site should open with the Install Tool in 1-2-3-Mode.

In the first step, you have to enter your MySQL user name, the password and the host name of the database server. Because it's all on the same machine, you should enter localhost as the host name.. The database is called typo3db. Enter the appropriate values and click on the button »Update localconf.php« to update your configuration and save the changes.

If you succeed, you should be able to select the database typo3db in step 2 and save your changes with a click on the button »Update localconf.php«.

Step 3 is for importing the data into the database. After doing that (select database.sql from the pull down and click on »Import database«) you should click on »Continue to configure TYPO3 (Recommended)« and proceed with the last step in this tutorial.

Last step

The last thing you have to do is to click on »1: Basic Configuration«, scroll down to the bottom of the page and select your ImageMagick binary in the pull down. Save your changes by pressing the button »Update localconf.php«.

That's it. You should now have a working TYPO3 installation! You can start by logging in to the TYPO3-Back end of your installation with a web browser http://127.0.0.1/<foldername>/typo3/


If you have the following message in the backend:

Important notice!
- The Reference Index table is empty which is likely to be the case because you just upgraded your TYPO3 source. Please to the Tools>DB Check and update the reference index.

It is highly recommended that you change this immediately.
do the following:

- Go to the Module Install Tool.
- Got to database Analyser
- Click on Dump Static Data Import
- Choose Import the whole file CURRENT_STATIC directly
- Click on WRITE DATABASE
- Go to the Module DB Check
- Choose Manage Reference Index (wait fort he update)
- Click Update.

Empty both Caches Log-Out and back in. The Message should be gone at the next Log-In.

Hope this tutorial helped you to be a happy user of Typo3 on your local apache!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Sponsored Links
Unterstützen Sie das Forum und buchen Sie Ihren Webspace beim
T3N Testsieger, dem Webhoster der auch dieses Forum hostet!


Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


LinkBacks (?)
LinkBack to this Thread: http://www.typo3forum.net/forum/typo3-4-x-installation-updates/21626-tutorial-typo3-4-1-install-mac-book-pro-intel-os-x-10-4-10-a.html
Erstellt von For Type Datum
Home Loan Refinance Va - home refinance bond, due refinance This thread Refback 07.09.07 01:31
Web Link This thread Refback 06.09.07 04:41

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
YAML manuell in Typo3 einfügen? Tutorial? josDesign Barrierefreiheit 14 17.03.09 12:42
Problem bei der Install von Typo3 BoniToe TYPO3 4.x Fragen und Probleme 1 18.01.08 10:45
Install server typo3 Musashi TYPO3 4.x Installation und Updates 1 06.09.07 14:46
Typo3 4.1 Install Tool millerbe TYPO3 4.x Installation und Updates 7 28.08.07 02:04
Install Typo3 Anleitung basti3k TYPO3 4.x Installation und Updates 6 24.07.07 10:19


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:06 Uhr.


Powered by vBulletin® Version 3.8.4 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165