{"id":35721,"date":"2019-10-31T22:05:57","date_gmt":"2019-10-31T19:05:57","guid":{"rendered":"https:\/\/prohoster.info\/blog\/minimalnaya-ustanovka-centos-fedora-redhat\/"},"modified":"2019-10-31T22:05:57","modified_gmt":"2019-10-31T19:05:57","slug":"minimalnaya-ustanovka-centos-fedora-redhat","status":"publish","type":"post","link":"https:\/\/prohoster.info\/fr\/blog\/administrirovanie\/minimalnaya-ustanovka-centos-fedora-redhat","title":{"rendered":"Installation minimale de CentOS\/Fedora\/RedHat","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Je ne doute pas que les nobles administrateurs Linux cherchent \u00e0 minimiser au maximum le nombre de paquets install\u00e9s sur le serveur. Cela est plus \u00e9conomique, plus s\u00fbr et donne \u00e0 l'administrateur un sentiment de contr\u00f4le total et de compr\u00e9hension des processus en cours.<\/p>\n<p>Ainsi, le sc\u00e9nario typique d'une installation initiale du syst\u00e8me d'exploitation consiste \u00e0 choisir l'option minimale, puis \u00e0 remplir avec les paquets n\u00e9cessaires.<\/p>\n<p><img decoding=\"async\" alt=\"Installation minimale de CentOS\/Fedora\/RedHat\" src=\"\/wp-content\/uploads\/2019\/06\/bbd5f8f96a8c642ce48f810e9ea931a8.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nCependant, l'option minimale propos\u00e9e par l'installateur CentOS ne s'av\u00e8re pas tout \u00e0 fait minimale. Il existe un moyen de r\u00e9duire la taille de l'installation initiale du syst\u00e8me de mani\u00e8re standard document\u00e9e.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nEn utilisant le syst\u00e8me d'exploitation CentOS en pratique, on finit t\u00f4t ou tard par d\u00e9couvrir l'automatisation de son installation gr\u00e2ce au m\u00e9canisme Kickstart. Je n'installe plus CentOS via l'installateur standard depuis longtemps. Au fil du temps, j'ai accumul\u00e9 un bon arsenal de fichiers kickstart permettant de d\u00e9ployer des syst\u00e8mes en mode automatique, y compris sur LVM, dans des partitions crypt\u00e9es, avec un GUI minimal, etc.<\/p>\n<p>Et voil\u00e0, dans l'une des versions de la septi\u00e8me, RedHat a ajout\u00e9 une option \u00e9tonnante dans Kickstart, permettant de minimiser encore plus l'image du syst\u00e8me \u00e0 installer :<\/p>\n<blockquote><p><b>&#8212;nocore<\/b><\/p>\n<p>D\u00e9sactive l'installation du <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/users\/core\/\" class=\"user_link\">Noyau<\/a><\/noindex> groupe de paquets qui est par ailleurs toujours install\u00e9 par d\u00e9faut. La d\u00e9sactivation du <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/users\/core\/\" class=\"user_link\">Noyau<\/a><\/noindex> Le groupe de packages ne doit \u00eatre utilis\u00e9 que pour cr\u00e9er des conteneurs l\u00e9gers ; installer un syst\u00e8me de bureau ou de serveur avec &#8212;nocore entra\u00eenera un syst\u00e8me inutilisable.\n<\/p><\/blockquote>\n<p> RedHat avertit honn\u00eatement des cons\u00e9quences possibles de l'utilisation de cette option, cependant, les ann\u00e9es d'utilisation dans un environnement r\u00e9el confirment sa stabilit\u00e9 et son applicabilit\u00e9.<\/p>\n<p>Ci-dessous un exemple de fichier kickstart pour une installation minimale. Les audacieux peuvent l'exclure de yum. Soyez pr\u00eats aux surprises :<\/p>\n<pre><code class=\"actionscript\">installer\ntexte\n\nurl --url=\"http:\/\/server\/centos\/7\/os\/x86_64\/\"\n\neula --accept\u00e9\npremierboot --d\u00e9sactiver\n\nclavier --vckeymap=us --xlayouts='us'\nlangue fr_FR.UTF-8\ntimezone Afrique\/Abidjan\n\nauth --enableshadow --passalgo=sha512\nmotdepasse --enclair ***\n\nignoredisk --only-use=sda\n\nzerombr\nbootloader --location=mbr\nclearpart --all --initlabel\n\npart \/boot\/efi --fstype=\"efi\" --size=100 --fsoptions=\"umask=0077,shortname=winnt\"\npart \/ --fstype=\"ext4\" --size=1 --grow\n\nr\u00e9seau --bootproto=dhcp --hostname=localhost --onboot=on --activate\n\n#red\u00e9marrer\narr\u00eat\n\n%packages --nocore --nobase --excludedocs\nyum\n\n%end\n\ndon com_redhat_kdump --disable\n\n%end\n\n<\/code><\/pre>\n<p>\nJe tiens \u00e0 noter que CentOS\/RedHat est plus tol\u00e9rant que Fedora dans l'interpr\u00e9tation de l'option. La derni\u00e8re vide tellement le syst\u00e8me qu'il faudra une r\u00e9installation en ajoutant des utilitaires vitaux.<\/p>\n<p>En guise de bonus, voici un \u00ab sort \u00bb pour installer un environnement graphique minimal sur CentOS\/RedHat (version 7) :<\/p>\n<pre><code class=\"bash\">yum -y groupinstall x11\nyum -y install gnome-classic-session\nsystemctl set-default graphical.target\n<\/code><\/pre>\n<p>\nJ'ai test\u00e9 \u00e0 la fois l'image minimale du syst\u00e8me d'exploitation et l'environnement graphique minimal, et ils fonctionnent sur des syst\u00e8mes r\u00e9els.<br \/>\n<br \/>Source : <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/457680\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041d\u0435 \u0441\u043e\u043c\u043d\u0435\u0432\u0430\u044e\u0441\u044c, \u0447\u0442\u043e \u0431\u043b\u0430\u0433\u043e\u0440\u043e\u0434\u043d\u044b\u0435 \u0434\u043e\u043d\u044b \u2014 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b Linux \u2014 \u0441\u0442\u0440\u0435\u043c\u044f\u0442\u0441\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u043e\u0432. \u042d\u0442\u043e \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0447\u043d\u0435\u0435, \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0435\u0435 \u0438 \u0432\u0441\u0435\u043b\u044f\u0435\u0442 \u0432 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u0432\u044b\u0431\u043e\u0440 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430, \u0430 \u0434\u0430\u043b\u0435\u0435 \u2014 \u043d\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438. \u041e\u0434\u043d\u0430\u043a\u043e, \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0449\u0438\u043a\u043e\u043c CentOS, [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":26761,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-35721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0435 \u0441\u043e\u043c\u043d\u0435\u0432\u0430\u044e\u0441\u044c, \u0447\u0442\u043e \u0431\u043b\u0430\u0433\u043e\u0440\u043e\u0434\u043d\u044b\u0435 \u0434\u043e\u043d\u044b \u2014 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b Linux \u2014 \u0441\u0442\u0440\u0435\u043c\u044f\u0442\u0441\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u043e\u0432.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/fr\/blog\/administrirovanie\/minimalnaya-ustanovka-centos-fedora-redhat\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 CentOS\/Fedora\/RedHat | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041d\u0435 \u0441\u043e\u043c\u043d\u0435\u0432\u0430\u044e\u0441\u044c, \u0447\u0442\u043e \u0431\u043b\u0430\u0433\u043e\u0440\u043e\u0434\u043d\u044b\u0435 \u0434\u043e\u043d\u044b \u2014 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b Linux \u2014 \u0441\u0442\u0440\u0435\u043c\u044f\u0442\u0441\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u043e\u0432.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/fr\/blog\/administrirovanie\/minimalnaya-ustanovka-centos-fedora-redhat\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:05:57+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:05:57+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Installation minimale de CentOS\/Fedora\/RedHat | ProHoster","description":"Je suis s\u00fbr que les nobles admins \u2014 les administrateurs Linux \u2014 cherchent \u00e0 minimiser au maximum le nombre de paquets install\u00e9s sur le serveur.","canonical_url":"https:\/\/prohoster.info\/fr\/blog\/administrirovanie\/minimalnaya-ustanovka-centos-fedora-redhat","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"fr_FR","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 CentOS\/Fedora\/RedHat | ProHoster","og:description":"\u041d\u0435 \u0441\u043e\u043c\u043d\u0435\u0432\u0430\u044e\u0441\u044c, \u0447\u0442\u043e \u0431\u043b\u0430\u0433\u043e\u0440\u043e\u0434\u043d\u044b\u0435 \u0434\u043e\u043d\u044b \u2014 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b Linux \u2014 \u0441\u0442\u0440\u0435\u043c\u044f\u0442\u0441\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u043e\u0432.","og:url":"https:\/\/prohoster.info\/fr\/blog\/administrirovanie\/minimalnaya-ustanovka-centos-fedora-redhat","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:05:57+00:00","article:modified_time":"2019-10-31T19:05:57+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"35721","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-22 00:29:20","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:57:45","updated":"2026-01-22 00:29:20","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/35721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/comments?post=35721"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/35721\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media\/26761"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media?parent=35721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/categories?post=35721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/tags?post=35721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}