TYPO3 6.2 typo3_src应该是链接 [英] TYPO3 6.2 typo3_src should be a link

查看:95
本文介绍了TYPO3 6.2 typo3_src应该是链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在MAMP PRO上安装TYPO3 6.2安装程序,但是当我启动时出现错误:

I wanna setup a TYPO3 6.2 Installation on MAMP PRO but when I start I get the error:

/typo3_src应该是链接,但不存在链接不能是 由该系统固定

/typo3_src should be a link, but it does not exist Links cannot be fixed by this system

那现在该怎么办?结构为:Application/MAMP/htdocs/typo3/

So what to do now? Structure is: Application/MAMP/htdocs/typo3/

有什么建议吗?

推荐答案

您必须手动创建符号链接,清单:

You have to create symlinks manually, checklist:

  1. 打开terminal

typo3_src-6.2.4.zip下载到主机的根目录

mv ~/Downloads/typo3_src-6.2.4.zip /Application/MAMP/htdocs/typo3/

  • 转到目标文件夹:

  • Go to destination folder:

    cd /Application/MAMP/htdocs/typo3/
    

  • 仍在此位置将下载的软件包解压缩(您可以在此之后删除zip文件)

  • Still in this location unzip downloaded package (you can remove zip file after that)

    unzip typo3_src-6.2.4.zip
    

  • 仍在此位置创建指向该提取目录的符号链接,名称为typo3_src:

  • Still in this location create a symlink to that extracted directory with name typo3_src :

    ln -s typo3_src-6.2.4 typo3_src
    

  • 仍在此位置在创建的符号链接中创建指向index.php指向文件的符号链接:

  • Still in this location create a symlink to index.php pointing file in created symlink:

    ln -s typo3_src/index.php index.php
    

  • 仍在此位置,在创建的符号链接中创建指向typo3文件夹指向文件夹的符号链接:

  • Still in this location create a symlink to typo3 folder pointing folder in created symlink:

    ln -s typo3_src/typo3 typo3
    

  • 仍在此位置将文件_.htaccess从源文件夹复制到主机的根目录:

  • Still in this location copy file _.htaccess from source folder to host's root:

    cp typo3_src/_.htaccess ./
    

  • 仍在此位置将文件composer.json从源文件夹复制到主机的根目录:

  • Still in this location copy file composer.json from source folder to host's root:

    cp typo3_src/composer.json ./
    

  • 仍在此位置创建文件FIRST_INSTALL

  • Still in this location create file FIRST_INSTALL

    touch FIRST_INSTALL
    

  • 就是这样!在浏览器中打开主机并开始配置

  • That's it! Open the host in the browser and start the configuration

    所有步骤之后,您的文件结构应如下所示(命令ls -la):

    After all the steps your file structure should look like (command ls -la):

    FIRST_INSTALL
    _.htaccess
    composer.json
    index.php -> typo3_src/index.php
    typo3 -> typo3_src/typo3
    typo3_src -> typo3_src-6.2.4
    typo3_src-6.2.4
    

    注意::尽量避免使用名称typo3作为主机根目录的文件夹名称,最好根据项目使用名称,即:/Application/MAMP/htdocs/my-project-1/

    NOTE: try to avoid using name typo3 as a folder name for host's root, it's better to use name according to project i.e.: /Application/MAMP/htdocs/my-project-1/

    这篇关于TYPO3 6.2 typo3_src应该是链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆