{"id":274,"date":"2017-03-09T17:06:38","date_gmt":"2017-03-09T14:06:38","guid":{"rendered":"https:\/\/galaxydata.ru\/community\/?p=274"},"modified":"2025-07-23T00:17:28","modified_gmt":"2025-07-22T21:17:28","slug":"chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta","status":"publish","type":"post","link":"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274","title":{"rendered":"Chrooted Plesk 12, Onyx \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430"},"content":{"rendered":"<p>\u041f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b find, mc \u0438 \u0434\u0440\u0443\u0433\u0438\u0435, \u0432 ssh \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e chroted\u044e<\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0432 \u0441\u0442\u0430\u0442\u044c\u0435:\u00a0<a href=\"https:\/\/support.plesk.com\/hc\/en-us\/articles\/213909545--HOWTO-How-to-add-new-programs-to-a-chrooted-shell-environment-template\">https:\/\/support.plesk.com\/hc\/en-us\/articles\/213909545&#8212;HOWTO-How-to-add-new-programs-to-a-chrooted-shell-environment-template<\/a><\/p>\n<p><a href=\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2017\/03\/chroot_update.zip\">chroot_update<\/a><\/p>\n<p>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c, \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435:<\/p>\n<pre class=\"lang:sh decode:true\">wget https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2017\/03\/chroot_update.zip\r\nunzip chroot_update.zip\r\nchmod +x chroot_update.sh\r\n.\/chroot_update.sh --help<\/pre>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 &#171;\u043f\u043e\u043c\u043e\u0447\u044c&#187;:<\/p>\n<pre class=\"lang:sh decode:true \"># .\/chroot_update.sh --help\r\nManage chrooted template in \/var\/www\/vhosts\/chroot and apply it to domains.\r\n\r\nUsage:\r\n.\/chroot_update.sh --install\r\n.\/chroot_update.sh --update\r\nCreate default chrooted environment or update existing one\r\nusing actual libraries from the system.\r\n\r\n.\/chroot_update.sh --add &lt;path&gt;\r\nAdd program to chrooted environment. All linked libraries\r\nwill be copied as well. Program will always be put in \/bin\r\ndirectory of chrooted environment.\r\n\r\n.\/chroot_update.sh --devices\r\nAdd additional devices to chrooted environment template. List\r\nof devices added includes: \/dev\/tty, \/dev\/urandom, \/dev\/ptmx\r\nand \/dev\/zero. Useful for some commands like 'rsync', 'ssh' etc.\r\n\r\n.\/chroot_update.sh --remove &lt;domain,...&gt;\r\n.\/chroot_update.sh --remove all\r\nRemove chrooted environment from specific domains (comma-separated\r\nlist) or all domains with enabled chrooted shell if no domains are\r\ngiven. Useful if full re-initialization of chrooted shell environment\r\non domain is needed.\r\n\r\n.\/chroot_update.sh --apply &lt;domain,...&gt;\r\n.\/chroot_update.sh --apply all\r\nApply new chrooted template to specific domains (comma-separated\r\nlist) or all domains with enabled chrooted shell if no domains\r\nare given. This operation is necessary to apply changes done by\r\n'--install', '--add' and '--devices' commands to specific or all\r\ndomains.<\/pre>\n<h4 id=\"\u041f\u0440\u0438\u043c\u0435\u0440_1:_\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u00a0SSH\" >1) \u041f\u0440\u0438\u043c\u0435\u0440 1: \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u00a0SSH<\/h4>\n<p>\u0427\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 SSH \u0432 \u0448\u0430\u0431\u043b\u043e\u043d \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f:<\/p>\n<ol>\n<li>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435. \u0411\u0435\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \/dev\/tty , SSH \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c:<\/li>\n<\/ol>\n<pre class=\"lang:sh decode:true \">.\/chroot_update.sh --devices<\/pre>\n<p>2.\u00a0\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0435\u0431\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0443 SSH:<\/p>\n<pre class=\"lang:sh decode:true \">.\/chroot_update.sh --add `which ssh`<\/pre>\n<p>3.\u00a0\u0421\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b \/etc\/\u0444\u0430\u0439\u043b resolv.conf \u0434\u043b\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u044b \u0432\u0440\u0443\u0447\u043d\u0443\u044e (\u0442. \u043a. \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0438\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432):<\/p>\n<pre class=\"lang:sh decode:true \">cp \/etc\/resolv.conf \/var\/www\/vhosts\/chroot\/etc\/<\/pre>\n<p>4.\u00a0\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u043b\u044e\u0431\u043e\u0439 \u0438\u0437 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0434\u043e\u043c\u0435\u043d\u043e\u0432 (\u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0444\u043e\u0440\u043c\u0435 \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043f\u044f\u0442\u0443\u044e) \u0438\u043b\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0434\u043e\u043c\u0435\u043d\u043e\u0432 \u0441\u0440\u0430\u0437\u0443:<\/p>\n<pre class=\"lang:sh decode:true \">.\/chroot_update.sh --apply all<\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c SSH \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0434\u043e\u043c\u0435\u043d\u0430.<\/p>\n<h4 id=\"Example_2:_Adding_PHP_to_chrooted_environment\" >2) Example 2: Adding PHP to chrooted environment<\/h4>\n<p>Some programs require not only libraries with which the main binary is linked, but also configuration files and plug-ins. An example of such a program is PHP.<\/p>\n<p>Although adding PHP to the chrooted environment will not benefit the security of PHP scripts on the website (as PHP scripts are executed in a non-chrooted context by Apache or FastCGI\/CGI processes), it may be useful for the development and debugging of PHP scripts.<\/p>\n<p><strong>Note: <\/strong>This section is applicable is only for system PHP and not for additional ones.<\/p>\n<p>To add PHP to the chrooted environment template, follow these steps:<\/p>\n<ol>\n<li>Add the PHP binary itself:\n<pre><code># .\/chroot_update.sh --add `which php`\r\n<\/code><\/pre>\n<\/li>\n<li>Add timezone definitions. Without them, PHP will produce the error <strong><em>glibc detected <\/em><\/strong>php: free(): invalid pointer: 0x00007f11249fccd8 *** whenever date\/time functions are used:\n<pre><code># mkdir \/var\/www\/vhosts\/chroot\/usr\/share\r\n# cp -a \/usr\/share\/zoneinfo \/var\/www\/vhosts\/chroot\/usr\/share\r\n<\/code><\/pre>\n<\/li>\n<li>Add PHP modules. They are not added on the first step because the PHP binary is not dynamically linked with these libraries. Also, adding modules will put them in the bin directory of the chrooted environment template. They should be removed afterward:\n<pre><code># for f in \/usr\/lib64\/php\/modules\/*.so ; do .\/chroot_update.sh --add $f ; done\r\n# rm -f \/var\/www\/vhosts\/chroot\/bin\/*.so\r\n<\/code><\/pre>\n<p><strong>Note: <\/strong>The path to the modules directory may be different on your system. To find out where PHP modules are stored on the server, run the following command:<\/p>\n<pre><code># php -i | grep extension_dir\r\n<\/code><\/pre>\n<\/li>\n<li>Copy PHP modules to the correct directory in the chrooted environment template:\n<pre><code># mkdir \/var\/www\/vhosts\/chroot\/usr\/lib64\r\n# cp -a \/usr\/lib64\/php \/var\/www\/vhosts\/chroot\/usr\/lib64\r\n<\/code><\/pre>\n<\/li>\n<li>Copy the PHP configuration:\n<pre><code># cp -a \/etc\/php.ini \/etc\/php.d \/var\/www\/vhosts\/chroot\/etc\r\n<\/code><\/pre>\n<p><strong>Note: <\/strong>Paths to configuration files may be different depending on your operating system. For example, on a default Plesk installation on Debian, the loaded configuration file is stored in<em>\/etc\/php5\/cli\/php.ini <\/em>. Additional .ini files are stored in <em>\/etc\/php5\/cli\/conf.d <\/em>instead of <em>\/etc\/php.d <\/em>.<\/p>\n<p><strong>Note: <\/strong>If the domain is set up to use PHP as a CGI\/FastCGI application, it is better to omit this step, as php.ini is managed by Plesk. To adjust PHP settings, go to <strong>Websites &amp; Domains tab &gt;<em>domain <\/em>&gt; PHP Settings <\/strong>tab.<\/li>\n<li>Apply the changes:\n<pre><code># .\/chroot_update.sh --apply all\r\n<\/code><\/pre>\n<p>You may run the following command if changes are not required for all domains:<\/p>\n<pre><code># .\/chroot_update.sh --apply &lt;domain,...&gt;\r\n<\/code><\/pre>\n<p><strong>Note: <\/strong>The changes will not be applied if the type of shell access for a particular user is set to \/bin\/false (&#8216;Forbidden&#8217; in the Parallels Plesk Panel GUI).<\/li>\n<\/ol>\n<h2 id=\"\u0412\u0430\u0436\u043d\u043e\u0435_\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435\" >Chapter 1. \u0412\u0430\u0436\u043d\u043e\u0435 \u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/h2>\n<p>Chrooted access for domain owners is not intended to be the equivalent of full server access. Instead, it is designed to be a helpful tool to perform elementary operations like changing permissions, copying and moving files, and performing test searches on files. If you notice that you have to add more and more software into the chrooted environment template for a small number of customers, you may want to consider offering them an upgrade for their hosting to dedicated or virtual servers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b find, mc \u0438 \u0434\u0440\u0443\u0433\u0438\u0435, \u0432 ssh \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e chroted\u044e \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0432 \u0441\u0442\u0430\u0442\u044c\u0435:\u00a0https:\/\/support.plesk.com\/hc\/en-us\/articles\/213909545&#8212;HOWTO-How-to-add-new-programs-to-a-chrooted-shell-environment-template chroot_update \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c, \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c \u0438&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[17,74],"class_list":["post-274","post","type-post","status-publish","format-standard","hentry","category-application","tag-plesk","tag-plesk-onyx"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.4 (Yoast SEO v25.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Chrooted Plesk 12, Onyx \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 - GalaxyData Community<\/title>\n<meta name=\"description\" content=\"Discover the script-based method to add chrooted environments in Plesk 12 or Onyx versions. Improve your hosting security by isolating user accounts effectively using this guide.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Chrooted Plesk 12, Onyx \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\" \/>\n<meta property=\"og:description\" content=\"Discover the script-based method to add chrooted environments in Plesk 12 or Onyx versions. Improve your hosting security by isolating user accounts effectively using this guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274\" \/>\n<meta property=\"og:site_name\" content=\"GalaxyData Community\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/vk.com\/galaxydata\" \/>\n<meta property=\"article:published_time\" content=\"2017-03-09T14:06:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-22T21:17:28+00:00\" \/>\n<meta name=\"author\" content=\"Eduard Yamaltdinov\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"Eduard Yamaltdinov\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274#article\",\"isPartOf\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274\"},\"author\":{\"name\":\"Eduard Yamaltdinov\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b\"},\"headline\":\"Chrooted Plesk 12, Onyx \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\",\"datePublished\":\"2017-03-09T14:06:38+00:00\",\"dateModified\":\"2025-07-22T21:17:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274\"},\"wordCount\":591,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\"},\"keywords\":[\"plesk\",\"plesk onyx\"],\"articleSection\":[\"Application\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274\",\"url\":\"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274\",\"name\":\"Chrooted Plesk 12, Onyx \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 - GalaxyData Community\",\"isPartOf\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#website\"},\"datePublished\":\"2017-03-09T14:06:38+00:00\",\"dateModified\":\"2025-07-22T21:17:28+00:00\",\"description\":\"Discover the script-based method to add chrooted environments in Plesk 12 or Onyx versions. Improve your hosting security by isolating user accounts effectively using this guide.\",\"breadcrumb\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/galaxydata.ru\/community\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chrooted Plesk 12, Onyx \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#website\",\"url\":\"https:\/\/galaxydata.ru\/community\/\",\"name\":\"GalaxyData Community\",\"description\":\"Tutorial for Cloud VDS\",\"publisher\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/galaxydata.ru\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\",\"name\":\"GalaxyData Community\",\"url\":\"https:\/\/galaxydata.ru\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2025\/07\/favicon_from_logo_32x32_gd.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2025\/07\/favicon_from_logo_32x32_gd.png\",\"width\":32,\"height\":32,\"caption\":\"GalaxyData Community\"},\"image\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/vk.com\/galaxydata\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b\",\"name\":\"Eduard Yamaltdinov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png\",\"caption\":\"Eduard Yamaltdinov\"},\"description\":\"Eduard Yamaltdinov \u2014 \u0430\u0432\u0442\u043e\u0440 \u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u043a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c.\",\"url\":\"https:\/\/galaxydata.ru\/community\/author\/galaxydata\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Chrooted Plesk 12, Onyx \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 - GalaxyData Community","description":"Discover the script-based method to add chrooted environments in Plesk 12 or Onyx versions. Improve your hosting security by isolating user accounts effectively using this guide.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274","og_locale":"ru_RU","og_type":"article","og_title":"Chrooted Plesk 12, Onyx \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430","og_description":"Discover the script-based method to add chrooted environments in Plesk 12 or Onyx versions. Improve your hosting security by isolating user accounts effectively using this guide.","og_url":"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274","og_site_name":"GalaxyData Community","article_publisher":"https:\/\/vk.com\/galaxydata","article_published_time":"2017-03-09T14:06:38+00:00","article_modified_time":"2025-07-22T21:17:28+00:00","author":"Eduard Yamaltdinov","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"Eduard Yamaltdinov","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"4 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274#article","isPartOf":{"@id":"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274"},"author":{"name":"Eduard Yamaltdinov","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b"},"headline":"Chrooted Plesk 12, Onyx \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430","datePublished":"2017-03-09T14:06:38+00:00","dateModified":"2025-07-22T21:17:28+00:00","mainEntityOfPage":{"@id":"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274"},"wordCount":591,"commentCount":0,"publisher":{"@id":"https:\/\/galaxydata.ru\/community\/#organization"},"keywords":["plesk","plesk onyx"],"articleSection":["Application"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274#respond"]}]},{"@type":"WebPage","@id":"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274","url":"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274","name":"Chrooted Plesk 12, Onyx \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 - GalaxyData Community","isPartOf":{"@id":"https:\/\/galaxydata.ru\/community\/#website"},"datePublished":"2017-03-09T14:06:38+00:00","dateModified":"2025-07-22T21:17:28+00:00","description":"Discover the script-based method to add chrooted environments in Plesk 12 or Onyx versions. Improve your hosting security by isolating user accounts effectively using this guide.","breadcrumb":{"@id":"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/galaxydata.ru\/community\/chrooted-plesk-12-onyx-kak-dobavit-s-pomoshhyu-skripta-274#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/galaxydata.ru\/community"},{"@type":"ListItem","position":2,"name":"Chrooted Plesk 12, Onyx \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430"}]},{"@type":"WebSite","@id":"https:\/\/galaxydata.ru\/community\/#website","url":"https:\/\/galaxydata.ru\/community\/","name":"GalaxyData Community","description":"Tutorial for Cloud VDS","publisher":{"@id":"https:\/\/galaxydata.ru\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/galaxydata.ru\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/galaxydata.ru\/community\/#organization","name":"GalaxyData Community","url":"https:\/\/galaxydata.ru\/community\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2025\/07\/favicon_from_logo_32x32_gd.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2025\/07\/favicon_from_logo_32x32_gd.png","width":32,"height":32,"caption":"GalaxyData Community"},"image":{"@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/vk.com\/galaxydata"]},{"@type":"Person","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b","name":"Eduard Yamaltdinov","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/image\/","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png","caption":"Eduard Yamaltdinov"},"description":"Eduard Yamaltdinov \u2014 \u0430\u0432\u0442\u043e\u0440 \u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u043a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c.","url":"https:\/\/galaxydata.ru\/community\/author\/galaxydata"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/comments?post=274"}],"version-history":[{"count":1,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/274\/revisions"}],"predecessor-version":[{"id":2015,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/274\/revisions\/2015"}],"wp:attachment":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/media?parent=274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/categories?post=274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/tags?post=274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}