drupal-7 - (drupal) (drupal console) (drupal ) (cli). (drupal console) , drupal 8 . drupal ....

Download drupal-7 - (Drupal) (Drupal Console) (Drupal ) (CLI). (Drupal Console) , Drupal 8 . Drupal . site:new:

Post on 23-Aug-2020

2 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • drupal-7

    #drupal-7

  • 1

    1: drupal-7 2

    2

    Examples 2

    2

    Drupal 7 2

    1 : Drupal 2

    2 : 4

    3 : settings.php 4

    4 : 7

    2: (Drupal ) 14

    14

    14

    Examples 14

    14

    15

  • You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: drupal-7

    It is an unofficial and free drupal-7 ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official drupal-7.

    The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners.

    Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to info@zzzprojects.com

    https://riptutorial.com/ko/home 1

    http://riptutorial.com/ebook/drupal-7 https://archive.org/details/documentation-dump.7z mailto:info@zzzprojects.com

  • 1: drupal-7 drupal-7 , .

    drupal-7 . drupal-7 .

    Drupal JavaScript ( JQuery ) PHP , MariaDB / MySQL PostgreSQL .

    Drupal Drupal . (Linux, Windows, Mac OS X), (Apache, IIS, Nginx) (MariaDB / MySQL, PostgreSQL, SQLite) Drupal .

    Examples

    drupal-7 .

    Drupal 7

    1 : Drupal

    Drupal . Drupal 8 (2015 11 ) Drupal 7. . Drupal .

    Drupal http://localize.drupal.org/translate . .

    : Drupal 8 .

    6 Drupal .

    Drush • (Drupal) •

    • FTP •

    • •

    . ...

    ...

    Drupal URL . URL . Drupal URL http://localhost. http://localhost. Drupal URL http://example.com .

    Drush

    Drush Drupal . Drupal : pm-download ( dl ) :

    drush dl drupal

    . drush help dl .

    https://riptutorial.com/ko/home 2

    https://www.drupal.org/project/drupal https://www.drupal.org/documentation/version-info https://www.drupal.org/documentation/version-info https://www.drupal.org/documentation/version-info https://www.drupal.org/documentation/version-info https://www.drupal.org/documentation/version-info http://localize.drupal.org/translate http://localize.drupal.org/translate http://localize.drupal.org/translate http://localize.drupal.org/translate http://localize.drupal.org/translate http://localize.drupal.org/translate https://www.drupal.org/project/drush

  • (Drupal)

    (Drupal Console) (Drupal ) (CLI). (Drupal Console) , Drupal 8 . Drupal .

    site:new :

    # specifying to download version 8.0.2 into folder "mydrupalsite" drupal site:new mydrupalsite 8.0.2 # select version from interactive mode drupal site:new mydrupalsite

    . drupal site:new --help .

    ssh Drupal . * nix / var / www / html cd /var/www/html . ( cd ~/www cd ~/public_html ). .

    Drupal ( : wget curl ). .

    wget http://ftp.drupal.org/files/projects/drupal-x.x.tar.gz

    curl -O http://ftp.drupal.org/files/projects/drupal-x.x.tar.gz

    : curl "O" 0 .

    http://ftp.drupal.org/files/projects/drupal-xxtar.gz .

    Drupal Core . Drupal .

    "xx" .

    tar -xvzf drupal-x.x.tar.gz

    .

    rm drupal-x.x.tar.gz

    drupal-xx HTML "".

    mv drupal-x.x/* drupal-x.x/.htaccess ./

    Drupal 7 .

    mv drupal-x.x/.gitignore ./

    (Drupal 8) .

    tar .

    https://riptutorial.com/ko/home 3

    https://www.drupal.org/project/console https://www.drupal.org/project/console https://www.drupal.org/project/console https://www.drupal.org/project/console https://www.drupal.org/project/console https://www.drupal.org/project/console https://www.drupal.org/project/console https://www.drupal.org/project/console http://docs.drupalconsole.com/en/commands/site-new.html http://docs.drupalconsole.com/en/commands/site-new.html http://docs.drupalconsole.com/en/commands/site-new.html https://www.drupal.org/project/drupal https://www.drupal.org/node/3060/release https://www.drupal.org/node/3060/release https://www.drupal.org/node/3060/release https://www.drupal.org/node/3060/release

  • tar --strip-components=1 -xvzf drupal-x.x.tar.gz

    ( ) drupal-xx .

    rmdir drupal-x.x

    FTP

    FTP Drupal .

    https://www.drupal.org/project/drupal Drupal tar.gz zip .1. . "" . ( : 7-zip) . "drupal-7.32" / .2. FTP .htaccess HTML . FTP .3.

    : Drupal 8 10 . FTP . ZIP Drupal 8 .

    Drupal Drupal .

    8.1.x . Runup Composer composer install Drupal Drupal . .

    .

    2 :

    : 8.x Drupal . ( : MySQL / MariaDB 'CREATE' postgresql 'CREATEDB'), Drupal . . .

    (Drupal ) .

    (Drupal 7

    . "-"() "@ 002d" . , abc @ 002db @ 002dc. a..z, 0..9 "_"() . [ref, ref]

    (Drupal 8

    . a..z, 0..9 "_"().

    3 : settings.php

    "settings.php" "services.yml"

    Drupal , . settings.php .

    sites/default

    settings.php Drupal 6, 7 8

    Drupal settings.php default.settings.php . Drupal 7 default.settings.php -> settings.php . . .

    https://riptutorial.com/ko/home 4

    https://www.drupal.org/project/drupal https://www.drupal.org/drupal-8.0/developers https://www.drupal.org/drupal-8.0/developers https://www.drupal.org/drupal-8.0/developers https://www.drupal.org/drupal-8.0/developers https://www.drupal.org/drupal-8.0/developers https://www.drupal.org/node/2357587 https://www.drupal.org/node/2357587 https://www.drupal.org/node/2357587 https://www.drupal.org/project/drupal/git-instructions https://www.drupal.org/project/drupal/git-instructions https://www.drupal.org/project/drupal/git-instructions https://www.drupal.org/project/drupal/git-instructions https://www.drupal.org/project/drupal/git-instructions https://www.drupal.org/project/drupal/git-instructions https://www.drupal.org/project/drupal/git-instructions https://getcomposer.org/ https://getcomposer.org/ https://getcomposer.org/ https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://www.lullabot.com/articles/goodbye-drush-make-hello-composer https://getcomposer.org/doc/00-intro.md https://getcomposer.org/doc/00-intro.md https://getcomposer.org/doc/00-intro.md

  • sites / default Drupal 8 default.services.yml . default.settings.php default.services.yml . services.yml services.yml 99 % . . . services.yml . , default.services.yml / services.yml .

    [config-file] .php Drupal . , ...

    settings.php

    Drupal 7 8 install.php settings.php . sites / default / files . / PHP Apache . settings.php . install.php settings.php . . settings.php .

    . 4 : . .

    Manual settings.php

    Drupal 6, 7, 8 settings.php .

    sites/default/default.settings.php

    (install.php) default.settings.php settings.php . .

    Manual settings.php

    1 - (Drupal) sites/default . default.settings.php settings.php ( ). ( ) Drupal : cp sites/default/default.settings.php sites/default/settings.php : . Drupal . FTP . .

    2 - sites / default settings.php . sites / default settings.php . ls -l sites/ / 755 . [drwxr-xr-x] : ls -l sites/default/settings.php settings.php 644 [-rw-r-r--] . . chmod 644 sites/default/settings.php

    https://riptutorial.com/ko/home 5

    https://www.drupal.org/documentation/install/run-script https://www.drupal.org/documentation/install/run-script https://www.drupal.org/documentation/install/run-script https://www.drupal.org/documentation/install/run-script https://www.drupal.org/documentation/install/run

Recommended

View more >