{"id":3080,"date":"2010-10-21T11:24:29","date_gmt":"2010-10-21T10:24:29","guid":{"rendered":"http:\/\/flaven.fr\/?p=3080"},"modified":"2013-09-24T06:40:37","modified_gmt":"2013-09-24T04:40:37","slug":"ez-publish-installation-cms-installer-ez-publish-en-local-sur-un-mac","status":"publish","type":"post","link":"https:\/\/flaven.fr\/2010\/10\/ez-publish-installation-cms-installer-ez-publish-en-local-sur-un-mac\/","title":{"rendered":"eZ Publish, Installation, CMS &#8211; Installer eZ Publish en local sur un mac"},"content":{"rendered":"<p><!--  eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac --><br \/>\n<!--  eZ Publish, Installation, CMS, php, fuji, symfony2, php --><\/p>\n<p>Nous allons installer en local ma version de <code>eZ Publish Enterprise Edition 4.4 (Fuji)<\/code>. Pour se faire, nous avons choisi la package qui vient avec l&#8217;installation automatique. Le fichier se nomme <code>ezpublish_community_project-2012.5-with_ezc.tar.gz  (49.29 MB)<\/code><\/p>\n<h4>Cr\u00e9er la BDD de donn\u00e9es et l&#8217;utilisateur pour cette installation<\/h4>\n<p>Nous allons installer en local, sous MAMP, cette version de eZ Publish, il est pr\u00e9f\u00e9rable de cr\u00e9er une base de donn\u00e9es sp\u00e9cifique ainsi qu&#8217;un utilisateur. Attention, la BDD doit \u00eatre en UTF-8<\/p>\n<p><b>Commande SQL pour cr\u00e9er un utilisateur <code>ezpublish_demo<\/code> avec tous les droits sur la BDD <code>ezpublish_demo<\/code><\/b><\/p>\n<pre lang=\"sql\">\r\n# Cr\u00e9ation simultan\u00e9e de la base hecube_demo et de l'utilisateur hecube_demo\r\nCREATE USER 'ezpublish_demo'@'localhost' IDENTIFIED BY 'ezpublish_demo'; GRANT USAGE ON *.* TO 'ezpublish_demo'@'localhost' IDENTIFIED BY 'ezpublish_demo'WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0; CREATE DATABASE IF NOT EXISTS ezpublish_demo; GRANT ALL PRIVILEGES ON ezpublish_demo.* TO 'ezpublish_demo'@'localhost';\r\n<\/pre>\n<h4>Les deux changements importants \u00e0 faire avant l&#8217;installation<\/h4>\n<ol>\n<li>Un changement dans le fichier <code>php.ini<\/code><br \/>Il faut modifier la valeur <code>memory_limit<\/code> au sein du fichier <code>php.ini<\/code> en la faisant passer de <code>32M<\/code> \u00e0 <code>64M<\/code>. Une fois ce changement, red\u00e9marrer le serveur MAMP et la changement sera pris en compte.<\/li>\n<p>Le fichier <code>php.ini<\/code> se trouve g\u00e9n\u00e9ralement aux emplacement suivants selon la version de votre MAMP.<\/p>\n<ul>\n<li><code>\/Applications\/MAMP\/bin\/php\/php5.3.6\/conf\/php.ini<\/code><\/li>\n<li><code>\/Applications\/MAMP\/conf\/php5\/php.ini<\/code><\/li>\n<\/ul>\n<p><b>La ligne \u00e0 changer dans <code>php.ini<\/code><\/b><\/p>\n<pre lang=\"text\">\r\nmemory_limit = 32M ;Maximum amount of memory a script may consume (8MB)\r\n<\/pre>\n<li>Transformer la base la BDD <code>ezpublish_demo<\/code> au format UTF-8 si elle n&#8217;est pas d\u00e9j\u00e0 au format UTF-8<\/li>\n<pre lang=\"sql\">\r\n\tALTER DATABASE ezpublish_demo CHARACTER SET utf8 COLLATE utf8_general_ci;\r\n<\/pre>\n<\/ol>\n<h4>Prot\u00e9ger son eZ Publish<\/h4>\n<p>Si vous n&#8217;avez pas la possibilit\u00e9 d&#8217;utiliser le mode h\u00f4te virtuel, vous devez suivre les instructions ci-dessous sur pour installer un fichier <code>.htaccess<\/code> pour eZ publish. Le fichier <code>.htaccess<\/code> indique au serveur web de restreindre l&#8217;acc\u00e8s \u00e0 certains fichiers.<\/p>\n<ol>\n<li><code>cd \/Applications\/MAMP\/htdocs\/ez_publish\/ezpublish_4_4_0_fuji<\/code><\/li>\n<li><code>cp .htaccess_root .htaccess<\/code><\/li>\n<\/ol>\n<h4>Ajouter l&#8217;onglet <code>Design<\/code> dans la navigation de l&#8217;admin<\/h4>\n<p>Cette version de eZ publish ne vous donne pas nativement acc\u00e8s \u00e0 l&#8217;onglet <code>Design<\/code> dans la navigation principale de l&#8217;adminstration. Pour l&#8217;activer, vous pouvez faire la proc\u00e9dure suivante en lactivant dans <code>menu.ini<\/code>.<\/p>\n<p><b>Activer l&#8217;onglet Design en enlevant le <code>#<\/code> pour activer cet onglet<\/b><\/p>\n<pre lang=\"txt\">\r\n# Hidden by default as of 4.3\r\n#Tabs[]=design\r\n<\/pre>\n<p>Vous devrez ensuite vider la cache pour voir apparaitre cet onglet dans l&#8217;admin.<\/p>\n<h4>Les \u00e9crans d&#8217;installation<\/H4><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2012\/12\/install_ez_publish_1.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2012\/12\/install_ez_publish_2.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2012\/12\/install_ez_publish_2_1.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2012\/12\/install_ez_publish_3.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2012\/12\/install_ez_publish_4.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2012\/12\/install_ez_publish_5.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2010\/10\/install_ez_publish_61.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2012\/12\/install_ez_publish_7.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2012\/12\/install_ez_publish_8.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2012\/12\/install_ez_publish_9.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2012\/12\/install_ez_publish_10.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2012\/12\/install_ez_publish_11.jpg\" alt=\"eZ Publish, Installation, CMS - Installer eZ Publish en local sur un mac\" width=\"500\" height=\"265\" \/><\/p>\n<h2>En savoir plus<\/h2>\n<ul>\n<li>T\u00e9l\u00e9charger <code>ezpublishcommunity-4.4.0-with_ezc-gpl.zip<\/code><br \/>\n\t<a href=\"http:\/\/share.ez.no\/blogs\/ez\/the-base-of-the-community-project-ez-publish-fuji-4.4-released-today.-let-s-launch-the-rocket\/ezpublishcommunity-4.4.0-with_ezc-gpl.zip\" target=\"_blank\">http:\/\/share.ez.no\/blogs\/ez\/the-base-of-the-community-project-ez-publish-fuji-4.4-released-today.-let-s-launch-the-rocket\/ezpublishcommunity-4.4.0-with_ezc-gpl.zip<\/a><\/li>\n<li>The base of the Community Project: eZ Publish Fuji (4.4), released today. Let\u2019s launch the rocket !<br \/>\n\t<a href=\"http:\/\/share.ez.no\/blogs\/ez\/the-base-of-the-community-project-ez-publish-fuji-4.4-released-today.-let-s-launch-the-rocket\" target=\"_blank\">http:\/\/share.ez.no\/blogs\/ez\/the-base-of-the-community-project-ez-publish-fuji-4.4-released-today.-let-s-launch-the-rocket<\/a><\/li>\n<li>La proc\u00e9dure pour l&#8217;installation &#8220;Automated&#8221; de eZ Publish<br \/>\n\t<a href=\"http:\/\/doc.ez.no\/eZ-Publish\/Technical-manual\/4.x\/Installation\/Automated-installation\/Automated-installation-of-eZ-Publish\" target=\"_blank\">http:\/\/doc.ez.no\/eZ-Publish\/Technical-manual\/4.x\/Installation\/Automated-installation\/Automated-installation-of-eZ-Publish<\/a><\/li>\n<li>Le &#8220;The setup wizard&#8221; de eZ publish<br \/>\n\t<a href=\"http:\/\/doc.ez.no\/eZ-Publish\/Technical-manual\/4.x\/Installation\/The-setup-wizard\" target=\"_blank\">http:\/\/doc.ez.no\/eZ-Publish\/Technical-manual\/4.x\/Installation\/The-setup-wizard<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Nous allons installer en local ma version de eZ Publish Enterprise Edition 4.4 (Fuji). Pour se faire, nous avons choisi la package qui vient avec&hellip; <\/p>\n<p class=\"text-center\"><a href=\"https:\/\/flaven.fr\/2010\/10\/ez-publish-installation-cms-installer-ez-publish-en-local-sur-un-mac\/\" class=\"more-link\">Continue reading &rarr; <span class=\"screen-reader-text\">eZ Publish, Installation, CMS &#8211; Installer eZ Publish en local sur un mac<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":9441,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bf_ai_meta_description":"Installer eZ Publish 4.4 (Fuji) en local sur un Mac avec MAMP. Guide \u00e9tape par \u00e9tape pour cr\u00e9er la base de donn\u00e9es et l'utilisateur, en UTF-8.","bf_ai_og_title":"Installer eZ Publish en local sur Mac","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3440,3444,3447,3448,3449,3451,3435,3452],"tags":[2221,353,354,92,20,355],"class_list":["post-3080","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-infrastructure","category-programming-databases","category-technology-trends","category-tools-productivity","category-tutorials-how-to","category-web-design-front-end","category-web-development","category-wordpress-cms","tag-cms","tag-ez-publish","tag-fuji","tag-installation","tag-php","tag-symfony2"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3Vuhl-NG","jetpack_featured_media_url":"https:\/\/flaven.fr\/wp-content\/uploads\/2010\/10\/install_ez_publish_b_bf.jpg","_links":{"self":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/3080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/comments?post=3080"}],"version-history":[{"count":1,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/3080\/revisions"}],"predecessor-version":[{"id":9442,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/3080\/revisions\/9442"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media\/9441"}],"wp:attachment":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media?parent=3080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/categories?post=3080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/tags?post=3080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}