{"id":357249,"date":"2024-05-20T23:46:47","date_gmt":"2024-05-20T23:46:47","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=357249"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-05-20T23:46:47","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=357249","title":{"rendered":"<span>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043d\u0430 CentOS 7, CentOS 8, RedOS 7.3. \u0417\u0430\u043c\u0435\u0442\u043a\u0438 \u043d\u0430 \u043f\u043e\u043b\u044f\u0445<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\u041d\u044e\u0430\u043d\u0441\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u043a\u043e\u043d\u0442\u0443\u0440\u0435 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 CentOS 7, CentOS 8, RedOS 7.3<br \/>  <a href=\"https:\/\/habr.com\/ru\/post\/766824\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/0x\/ab\/d1\/0xabd14ukv3nue_vrxkggyqbg_s.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/0x\/ab\/d1\/0xabd14ukv3nue_vrxkggyqbg_s.jpeg\" data-blurred=\"true\"\/><\/div>\n<p><\/a><a name=\"habracut\"><\/a>  <\/p>\n<blockquote><p><em>\u0423\u043a\u0440\u0430\u043b\u0438 \u0430\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u0438\u0435 \u0448\u043f\u0438\u043e\u043d\u044b \u0447\u0435\u0440\u0442\u0435\u0436\u0438 \u041c\u0418\u0413-29. <br \/>  \u0421\u043e\u0431\u0440\u0430\u043b\u0438 \u0443 \u0441\u0435\u0431\u044f, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u043e\u0432\u043e\u0437.\u0421\u043d\u043e\u0432\u0430 \u0441\u043e\u0431\u0440\u0430\u043b\u0438-\u043e\u043f\u044f\u0442\u044c \u043f\u0430\u0440\u043e\u0432\u043e\u0437! <br \/>  \u041d\u0438\u0447\u0435\u0433\u043e \u043f\u043e\u043d\u044f\u0442\u044c \u043d\u0435 \u043c\u043e\u0433\u0443\u0442. \u0420\u0435\u0448\u0438\u043b\u0438 \u0441\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u044c\u0441\u044f. <br \/>  \u041d\u0430 \u043d\u0430\u0448\u0435\u043c \u0437\u0430\u0432\u043e\u0434\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0442-\u0441\u0442\u043e\u0438\u0442 \u041c\u0438\u0413-29! <br \/>  \u0421\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u044e\u0442 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e:&#187;\u041a\u0430\u043a \u0436\u0435 \u0442\u044b \u0435\u0433\u043e \u0441\u043e\u0431\u0440\u0430\u043b, \u043f\u043e \u0447\u0435\u0440\u0442\u0435\u0436\u0430\u043c?&#187; <br \/>  \u041e\u043d \u0438\u043c \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442:&#187;\u0412\u043d\u0438\u0437\u0443, \u043c\u0435\u043b\u043a\u0438\u043c\u0438 \u0431\u0443\u043a\u0432\u0430\u043c\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e: <br \/>  &#171;\u041f\u043e\u0441\u043b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438-\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u043f\u0438\u043b\u044c\u043d\u0438\u043a\u043e\u043c!&#187;.<\/em> <br \/>  <em>\u00a9\u0430\u043d\u0435\u043a\u0434\u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d \u0421\u0421\u0421\u0420<\/em><\/p><\/blockquote>\n<p>  \u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432 \u043a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c 1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u0440\u0435\u0432\u0435\u043b\u0438\u043a\u043e\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e, \u043a\u0430\u043a \u043d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0435 \u0418\u0422\u0421, \u0442\u0430\u043a \u0438 \u043f\u0440\u043e\u0444\u0438\u043b\u044c\u043d\u044b\u0445 \u0441\u0430\u0439\u0442\u0430\u0445. <\/p>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e \u0438 \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0438\u043c\u0435\u0435\u0442 \u043c\u0435\u0441\u0442\u043e \u0431\u044b\u0442\u044c. \u041f\u043e\u044f\u0441\u043d\u044e \u043f\u043e\u0447\u0435\u043c\u0443. <\/p>\n<p>  <em>\u0415\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0432\u043e\u043f\u0440\u043e\u0441: \u0412\u043e\u0432\u043e\u0447\u043a\u0435 \u0434\u0430\u043b\u0438 \u0434\u0432\u0430 \u044f\u0431\u043b\u043e\u043a\u0430, \u043e\u0434\u043d\u043e \u043e\u043d \u043e\u0442\u0434\u0430\u043b \u041c\u0430\u0448\u0435\u043d\u044c\u043a\u0435, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f\u0431\u043b\u043e\u043a \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0443 \u0412\u043e\u0432\u043e\u0447\u043a\u0438? <\/p>\n<p>  \u041e\u0442\u0432\u0435\u0442: \u043e\u0434\u043d\u043e \u044f\u0431\u043b\u043e\u043a\u043e, \u043c\u043e\u0436\u0435\u0442 \u0434\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0433\u0443\u043c\u0430\u043d\u0438\u0442\u0430\u0440\u0438\u0439, \u0442\u0435\u0445\u043d\u0430\u0440\u044c \u043e\u0442\u0432\u0435\u0442\u0438\u0442, \u0447\u0442\u043e \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f\u0431\u043b\u043e\u043a \u0443 \u0412\u043e\u0432\u043e\u0447\u043a\u0438 \u0431\u044b\u043b\u043e \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e.<\/em> <\/p>\n<p>  \u0422\u0430\u043a \u0438 \u044f\u0437\u044b\u043a \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439, \u043b\u0438\u0431\u043e \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043b\u0438\u0431\u043e \u0437\u0430\u0442\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0441\u043d\u043e\u0441\u043a\u0430 \u043c\u0435\u043b\u043a\u0438\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c, \u0438\u0437-\u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0437\u0430\u0442\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0432\u0430\u0448 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0434\u0435\u043d\u044c. <\/p>\n<p>  \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0441\u0430\u0439\u0442\u0430 \u0418\u0422\u0421 \u043c\u0435\u0442\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u044b\u0435 \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0435 \u0433\u043b\u0430\u0437\u0443, \u0432 \u043d\u0438\u0445 \u0435\u0434\u0438\u043d\u044b\u0439 \u0441\u0442\u0438\u043b\u044c \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f, \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043a\u0443\u043b\u044c\u0442\u0443\u0440\u0430 \u043a\u043e\u0434\u0430 \u0438 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e, \u043e\u043d\u0438 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b \u043a \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044e. <\/p>\n<p>  \u041f\u0440\u043e \u043d\u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e \u2014 \u043f\u043e \u043d\u0438\u043c \u0432\u044b \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u0441\u043e\u0431\u0435\u0440\u0435\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u0430.<\/p>\n<p>  \u0415\u0441\u0442\u044c \u0435\u0449\u0435 \u0430\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a, \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u0443\u0440\u0441 \u043e\u0442 \u043f\u0440\u0435\u043f\u043e\u0434\u0430\u0432\u0430\u0442\u0435\u043b\u044f \u0423\u0426 1\u0421 \u0410\u0440\u0443\u0442\u044e\u043d\u043e\u0432\u0430 \u0421\u0435\u0440\u0433\u0435\u044f \u0420\u0430\u0444\u0430\u044d\u043b\u044c\u0435\u0432\u0438\u0447\u0430. <\/p>\n<p>  \u0422\u0430\u043c \u0432\u044b \u0437\u0430\u043a\u043e\u043f\u0430\u0435\u0442\u0435\u0441\u044c \u0432 \u043a\u0440\u043e\u043b\u0438\u0447\u044c\u044e \u043d\u043e\u0440\u0443 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0433\u043b\u0443\u0431\u043e\u043a\u043e, \u043e\u0434\u043d\u0430\u043a\u043e \u043d\u0430 \u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438\u0437 \u043d\u0435\u0435 \u043d\u0435 \u0432\u044b\u0439\u0434\u0435\u0442\u0435, \u0443\u0442\u043a\u043d\u0443\u0432\u0448\u0438\u0441\u044c \u0432 \u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0441\u043a\u0443\u044e \u0444\u0440\u0430\u0437\u0443: \u0417\u0434\u0435\u0441\u044c \u0432\u0430\u043c \u043d\u0435 \u043a\u0443\u0440\u0441\u044b \u043f\u043e Linux. <\/p>\n<p>  \u041a \u0442\u043e\u043c\u0443 \u0436\u0435 \u0430\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u0432\u043e\u0441\u044c\u043c\u0438 \u0447\u0430\u0441\u043e\u0432 \u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u043b\u0435\u0433\u043a\u043e. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/_a\/r0\/aw\/_ar0awsetps1wsvcceztnuycpjc.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/_a\/r0\/aw\/_ar0awsetps1wsvcceztnuycpjc.jpeg\" data-blurred=\"true\"\/> <\/p>\n<p>  \u041a\u0430\u043a \u0438 \u043b\u044e\u0431\u043e\u0435 \u0430\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435, \u043a\u0443\u0440\u0441 \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0443\u0447\u0438\u0442 \u0432\u0430\u0441 \u0434\u0443\u043c\u0430\u0442\u044c,<s> \u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0448\u0430\u0448\u043a\u043e\u0439 \u043c\u0430\u0445\u0430\u0442\u044c<\/s>. \u041f\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u043f\u0438\u0448\u0438\u0442\u0435\u0441\u044c \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435. <\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e \u0443\u0439\u0434\u0435\u0442 \u0442\u0440\u0438 \u0434\u043d\u044f \u043f\u043e 8+ \u0447\u0430\u0441\u043e\u0432. <\/p>\n<p>  \u041d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0443 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043b\u0438\u043d\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438, \u0445\u043e\u0447\u0435\u0442\u0441\u044f <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/ue\/xx\/gn\/uexxgnrmhxebz_qjhfxiltgtoni.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/ue\/xx\/gn\/uexxgnrmhxebz_qjhfxiltgtoni.jpeg\" data-blurred=\"true\"\/> <\/p>\n<p>  \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u0438\u0442\u044c \u0438 \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u0432\u0437\u043b\u0435\u0442\u0435\u043b\u043e, \u043e\u0442\u0441\u044e\u0434\u0430 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0443\u0441\u044b \u0438 \u043c\u043e\u0439 \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435. <\/p>\n<p>  \u0412 \u0447\u0430\u0441\u0442\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0445 \u043c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u0435\u0439 \u0430\u0432\u0442\u043e\u0440 \u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442 \u0441\u043b\u0443\u0436\u0431\u044b \u0438\u0437-\u043f\u043e\u0434 \u0440\u0443\u0442\u0430, \u043f\u043e \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442. <\/p>\n<p>  \u0412 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u0433\u0440\u0443\u0441\u0442\u0438\u0442 \u043e\u0434\u0438\u043d \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a \u0441\u043b\u0443\u0436\u0431\u044b \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u0435\u0441\u0442\u044c \u0432 \u0432\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438\u043b\u0438 \u0441\u043e\u0432\u0435\u0441\u0442\u044c, \u0435\u0441\u043b\u0438 \u043d\u0430\u043a\u0430\u0442\u044b\u0432\u0430\u044e\u0442 \u0432\u043e\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f Win9x.CIH\u2026 <\/p>\n<p>  \u0417\u0430\u0442\u043e \u0440\u0430\u0434\u0443\u044e\u0442\u0441\u044f +100500 \u0445\u0430\u0446\u043a\u0435\u0440\u043e\u0432. \u041d\u0430\u043f\u0440\u0430\u0441\u043d\u043e \u0434\u0443\u043c\u0430\u0442\u044c, \u0447\u0442\u043e \u0432 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u0438\u0445 \u043d\u0435\u0442. \u0412\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0435, \u043d\u0430 \u0447\u0442\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b \u0441\u043a\u0443\u0447\u0430\u044e\u0449\u0438\u0435 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u044b \u043f\u043e \u043f\u0440\u043e\u0434\u0430\u0436\u0430\u043c. \u0415\u0441\u043b\u0438 \u043a\u0442\u043e \u043d\u0435 \u0432 \u043a\u0443\u0440\u0441\u0435, \u0442\u043e \u043f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0411\u0414 \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043b\u0435\u0436\u0438\u0442 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0438 \u0435\u0441\u043b\u0438 \u044d\u0442\u043e postgres, \u0442\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0445\u0430\u043d\u0430. <\/p>\n<p>  \u0410 \u0445\u043e\u0447\u0435\u0442\u0441\u044f, \u0447\u0442\u043e\u0431\u044b \u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u0445\u043e\u0440\u043e\u0448\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438 \u043f\u0438\u0448\u0443 \u044d\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0438.<\/p>\n<p>  <strong>\u041a\u0440\u0430\u0442\u043a\u043e:<\/strong><\/p>\n<p>\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0432 \u043f\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u0437 \u044d\u0442\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432\u044b \u0441 \u043e\u0447\u0435\u043d\u044c \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u044c\u044e \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u043a\u043e\u043d\u0442\u0443\u0440\u0435. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/zb\/i8\/gb\/zbi8gbl__o3xbh1or_k7edwlt5w.png\" data-src=\"https:\/\/habrastorage.org\/webt\/zb\/i8\/gb\/zbi8gbl__o3xbh1or_k7edwlt5w.png\"\/><\/p>\n<p>  \u041f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u043f\u0443\u0442\u0430\u0442\u044c\u0441\u044f \u0432 \u043f\u0440\u043e\u0441\u0442\u044b\u043d\u0435 \u0442\u0435\u043a\u0441\u0442\u0430, \u0434\u0430\u043b\u0435\u0435 \u0432 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u044b \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0437\u0430\u043e\u0441\u0442\u0440\u044f\u0435\u0442\u0441\u044f \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0418\u0422\u0421. <\/p>\n<p>  \u0412\u0441\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0432\u043d\u0438\u0437\u0443 \u0441\u0442\u0430\u0442\u044c\u0438. <\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f 24 \u0438\u0434\u0435\u0442 \u043d\u0430 CentOS 7, CentOS 8, RedOS 7.3 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/zb\/j9\/2j\/zbj92j_huxmag1nr3sqfo3pbryk.png\" data-src=\"https:\/\/habrastorage.org\/webt\/zb\/j9\/2j\/zbj92j_huxmag1nr3sqfo3pbryk.png\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/wh\/is\/ux\/whisuxilpmljruqyd6fbapedwzk.png\" data-src=\"https:\/\/habrastorage.org\/webt\/wh\/is\/ux\/whisuxilpmljruqyd6fbapedwzk.png\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/dd\/oq\/qi\/ddoqqiwqh7pxb535ie8dzgzxb40.png\" data-src=\"https:\/\/habrastorage.org\/webt\/dd\/oq\/qi\/ddoqqiwqh7pxb535ie8dzgzxb40.png\"\/><\/p>\n<p>  \u041e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e, \u0447\u0442\u043e\u0431\u044b <s>\u0442\u0440\u0438 \u0440\u0430\u0437\u0430 \u043d\u0435 \u0431\u0435\u0433\u0430\u0442\u044c<\/s> \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0441\u0440\u0430\u0437\u0443. <br \/>  \u0412 \u0442\u0435\u043a\u0441\u0442\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0441\u0442\u0440\u043e\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u0430\u0441\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u044b \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438, \u0436\u0438\u0440\u043d\u044b\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u044b \u043e\u0442\u043b\u0438\u0447\u0438\u044f \u043e\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0418\u0422\u0421. <\/p>\n<p>  \u0412 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/install \u043b\u0435\u0436\u0430\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0438 java \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0435 \u0441 \u0441\u0430\u0439\u0442\u0430 \u0418\u0422\u0421<\/p>\n<p>  <\/p>\n<ul>\n<li>CentOS 7 \u2014 \u043a\u043b\u0430\u0441\u0441\u0438\u043a\u0430, \u0443 \u043a\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043d\u0430 kb.1c.ru, \u043d\u0430\u0439\u0434\u0435\u0442 \u0442\u0430\u043c \u0432\u0437\u044f\u0442\u044b\u0435 \u0441 \u0431\u043e\u0435\u0432\u044b\u0445 \u043a\u043e\u043d\u0442\u0443\u0440\u043e\u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442, \u043d\u043e \u0433\u043e\u0434 \u0432\u044b\u043f\u0443\u0441\u043a\u0430 \u043d\u0430\u0432\u043e\u0434\u0438\u0442 \u043d\u0430 \u0440\u0430\u0437\u043c\u044b\u0448\u043b\u0435\u043d\u0438\u044f<\/li>\n<li>CentOS 8 \u2014 \u0443\u0436\u0435 \u0442\u0435\u043f\u043b\u0435\u0435, \u043d\u043e \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u044f\u0434\u0440\u043e\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0445\u0432\u0430\u0441\u0442\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0448 \u0440\u043e\u0434\u043d\u043e\u0439 <\/li>\n<li>RedOS 7.3. \u041d\u0435 \u0431\u0443\u0434\u0443 \u0437\u0434\u0435\u0441\u044c \u0440\u0430\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u0439 \u043f\u0440\u043e \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f. \u0415\u0433\u043e \u043a\u0441\u0442\u0430\u0442\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u0437\u0435\u0440\u043a\u0430\u043b\u0435. \u041a\u0442\u043e \u043d\u0435 \u0440\u0430\u0437\u0443 \u043d\u0435 \u043f\u0440\u0438\u0431\u0438\u0432\u0430\u043b \u0432 \u043f\u0435\u0447\u0430\u0442\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0435 \u0445\u0430\u0440\u0434\u043a\u043e\u0434\u043e\u043c \u0424\u0418\u041e \u0433\u043b\u0430\u0432\u043d\u043e\u0433\u043e \u0431\u0443\u0445\u0433\u0430\u043b\u0442\u0435\u0440\u0430, \u043c\u043e\u0436\u0435\u0442 \u043a\u0438\u043d\u0443\u0442\u044c \u0432 \u043c\u0435\u043d\u044f \u043a\u0430\u043c\u043d\u0435\u043c. <br \/>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/yd\/k7\/oz\/ydk7ozi609ggpchte1l6sm9bwqm.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/yd\/k7\/oz\/ydk7ozi609ggpchte1l6sm9bwqm.jpeg\" data-blurred=\"true\"\/> <br \/>   \u0427\u0435\u0433\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u044d\u0442\u043e \u0444\u043e\u0440\u0443\u043c\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0443\u0442\u0435\u043a\u0430\u0442\u044c \u043d\u0430 stackoverflow. <\/li>\n<\/ul>\n<p>  <a href=\"https:\/\/youtu.be\/LT93tvXHR5U\" rel=\"nofollow noopener noreferrer\">\u0422\u0435, \u043a\u0442\u043e \u043d\u0435 \u043b\u044e\u0431\u0438\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u0431\u0443\u043a\u0432\u044b, \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0438\u0434\u0435\u043e<\/a><\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u043e\u043b\u043d\u044b\u0439 \u043b\u0438\u0441\u0442\u0438\u043d\u0433 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438:<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\u0441\u044f \u0432 \u043e\u0442\u0441\u0435\u043a\u0430\u0445   uname -a ip addr # \u0438\u043b\u0438 \u043a\u0442\u043e \u043a \u043d\u0435\u043c\u0443 \u043f\u0440\u0438\u0432\u044b\u043a ifconfig  #\u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438\u0437 \u043e\u0431\u0440\u0430\u0437\u0430 dvd \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0435\u0437 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0438 \u0435\u0433\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 #\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c yum install net-tools -y  hostname  #+CentOS 8 cd \/etc\/yum.repos.d\/ sed -i 's\/mirrorlist\/#mirrorlist\/g' \/etc\/yum.repos.d\/CentOS-* sed -i 's|#baseurl=http:\/\/mirror.centos.org|baseurl=http:\/\/vault.centos.org|g' \/etc\/yum.repos.d\/CentOS-* #-CentOS 8 yum update -y #\u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c\u0441\u044f  yum install mc -y #\u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u043e\u043d \u0432\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u0435\u043d, \u0442\u043e \u0437\u0430\u0447\u0435\u043c \u0432\u044b \u0447\u0438\u0442\u0430\u0435\u0442\u0435 \u044d\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0438? #\u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c ipv6 #+CentOS 8, RedOS 7.3 nmtui #-CentOS 8, RedOS 7.3 #+CentOS 7 echo 'net.ipv6.conf.all.disable_ipv6 = 1' >> \/etc\/sysctl.conf echo 'net.ipv6.conf.default.disable_ipv6 = 1' >> \/etc\/sysctl.conf #-CentOS 7  #\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 java cd \/install yum install *.rpm -y #\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f tar xvzf *.tar.gz .\/1ce-installer-cli install --ignore-signature-warnings  #\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 postgresql  #+CentOS 8 dnf module list postgresql dnf module enable postgresql:12 #-CentOS 8 yum install postgresql-server -y yum install postgresql-contrib -y  postgresql-setup initdb systemctl enable postgresql.service --now systemctl status postgresql.service --now  #+CentOS 7 yum -y install https:\/\/download.postgresql.org\/pub\/repos\/yum\/reporpms\/EL-7-x86_64\/pgdg-redhat-repo-latest.noarch.rpm  yum list -y postgre*-server* yum install postgresql12-server postgresql12-contrib -y  postgresql-12-setup initdb systemctl enable postgresql-12.service --now systemctl status postgresql-12.service #-CentOS 7  #\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0431\u0430\u0437\u044b postgresql  passwd postgres su postgres psql ALTER USER postgres WITH PASSWORD '123456'; CREATE USER db_user WITH PASSWORD '123456'; CREATE DATABASE cs_db OWNER db_user; \\c cs_db CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\"; \\q exit  #\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c ident \u043d\u0430 md5 \u0434\u043b\u044f postgresql cat \/var\/lib\/pgsql\/data\/pg_hba.conf perl -i.orig -pE 's\/(^host.*127.0.0.1\\\/32\\s+)ident\/$1 md5\/i' \/var\/lib\/pgsql\/data\/pg_hba.conf cat \/var\/lib\/pgsql\/data\/pg_hba.conf  systemctl restart postgresql.service systemctl status postgresql.service --no-pager  #+CentOS 7 cat \/var\/lib\/pgsql\/12\/data\/pg_hba.conf perl -i.orig -pE 's\/(^host.*127.0.0.1\\\/32\\s+)ident\/$1 md5\/i' \/var\/lib\/pgsql\/12\/data\/pg_hba.conf cat \/var\/lib\/pgsql\/12\/data\/pg_hba.conf  systemctl restart postgresql-12.service systemctl status postgresql-12.service --no-pager #-CentOS 7  #\u0432 \u044d\u0442\u043e\u0439 \u0442\u043e\u0447\u043a\u0435, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u0430 \u0432\u0438\u0434\u043d\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 ring \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u0435\u043d  reboot  #\u043d\u043e \u043c\u043e\u0436\u043d\u043e  bash source ~\/.bashrc  #\u0438\u043b\u0438  mc  #\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e JAVA_HOME ls \/usr\/lib\/jvm\/bellsoft-java11-full.x86_64\/ export JAVA_HOME=\/usr\/lib\/jvm\/bellsoft-java11-full.x86_64\/  #\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u044b useradd hc_user mkdir -p \/var\/cs\/hc_instance chown hc_user:hc_user \/var\/cs\/hc_instance ring hazelcast instance create --dir \/var\/cs\/hc_instance --owner hc_user ring hazelcast --instance hc_instance service create --username hc_user --stopped --java-home $JAVA_HOME  useradd es_user mkdir -p \/var\/cs\/es_instance chown es_user:es_user \/var\/cs\/es_instance ring elasticsearch instance create --dir \/var\/cs\/es_instance --owner es_user ring elasticsearch --instance es_instance service create --username es_user --stopped --java-home $JAVA_HOME  useradd cs_user mkdir -p \/var\/cs\/cs_instance chown cs_user:cs_user \/var\/cs\/cs_instance ring cs instance create --dir \/var\/cs\/cs_instance --owner cs_user ring cs --instance cs_instance service create --username cs_user --stopped --java-home $JAVA_HOME  #\u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0411\u0414 ring cs --instance cs_instance jdbc pools --name common set-params --url jdbc:postgresql:\/\/localhost:5432\/cs_db?currentSchema=public ring cs --instance cs_instance jdbc pools --name common set-params --username db_user ring cs --instance cs_instance jdbc pools --name common set-params --password '123456' ring cs --instance cs_instance jdbc pools --name privileged set-params --url jdbc:postgresql:\/\/localhost:5432\/cs_db?currentSchema=public ring cs --instance cs_instance jdbc pools --name privileged set-params --username db_user ring cs --instance cs_instance jdbc pools --name privileged set-params --password '123456'  #\u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432\u0435\u0431-\u0441\u043e\u043a\u0435\u0442\u0430 ring cs --instance cs_instance websocket set-params --hostname &lt;\u0432\u0430\u0448\u0435_\u0438\u043c\u044f \u0438\u043b\u0438 IP> ring cs --instance cs_instance websocket set-params --port 9094  ring -l trace -x hazelcast --instance hc_instance service start ring -l trace -x hazelcast --instance hc_instance service status   #\u0441\u0442\u0430\u0440\u0442\u0443\u0435\u043c  #\u0432 \u044d\u0442\u043e\u0439 \u0442\u043e\u0447\u043a\u0435 \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0438\u0433\u0434\u0435 \u043d\u0435 \u043e\u0448\u0438\u0431\u043b\u0438\u0441\u044c \u043f\u0440\u0438 \u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u0435 \u0432 CentOS 7 \u0441\u0435\u0440\u0432\u0438\u0441 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0441\u044f, \u0430 \u0432 CentOS 8 \u0438 RedOS 7.3 \u043d\u0435\u0442 #\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 journalctl -xe --no-pager #\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 selinux getenforse #\u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c sestatus #\u0435\u0441\u043b\u0438 selinux \u0432\u043a\u043b\u044e\u0447\u0435\u043d, \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0435\u0433\u043e setenforce 0  #\u0441\u0442\u0430\u0440\u0442\u0443\u0435\u043c \u0435\u0449\u0435 \u0440\u0430\u0437 systemctl start 1ce-cs_instance  systemctl start 1ce-hc_instance  systemctl start 1ce-es_instance   #\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0447\u0442\u043e \u0432\u0441\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u043e\u0441\u044c systemctl status 1ce-cs_instance --no-pager systemctl status 1ce-hc_instance --no-pager systemctl status 1ce-es_instance --no-pager  curl http:\/\/localhost:8087\/rs\/health  #\u0435\u0441\u043b\u0438 \u0432\u0441\u0435 \u0445\u043e\u0440\u043e\u0448\u043e \u0442\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 selinux, \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f audit2allow, \u0438\u0449\u0435\u043c \u0432 \u043a\u0430\u043a\u043e\u043c \u043e\u043d\u0430 \u043f\u0430\u043a\u0435\u0442\u0435  #+CentOS 8, RedOS 7.3 setenforce 1  yum provides audit2allow  yum install policycoreutils-python-\u0445\u0445\u0445.\u0445\u0445\u0445 -y  systemctl restart 1ce-hc_instance  #\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 selinux \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043b\u043e\u0433\u0430  cd \/var\/cs\/cs_instance grep systemd \/var\/log\/audit\/audit.log | audit2allow -M my-systemd #\u043a\u0430\u043a \u0432\u0430\u0440\u0438\u0430\u043d\u0442 ausearch -c 'systemd' --raw | audit2allow -M my-systemd  #\u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 semodule -i my-systemd.pp semodule -R  #\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0447\u0442\u043e \u0432\u0441\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u043e\u0441\u044c \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u043c selinux systemctl restart 1ce-hc_instance  systemctl restart 1ce-es_instance  systemctl restart 1ce-cs_instance  curl http:\/\/localhost:8087\/rs\/health #-CentOS 8, RedOS 7.3  #\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0411\u0414 curl -Sf -X POST -H \"Content-Type: application\/json\" -d \"{ \\\"url\\\" : \\\"jdbc:postgresql:\/\/localhost:5432\/cs_db\\\", \\\"username\\\" : \\\"db_user\\\", \\\"password\\\" : \\\"123456\\\", \\\"enabled\\\" : true }\" -u admin:admin http:\/\/localhost:8087\/admin\/bucket_server  #\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c  \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0432 firewall firewall-cmd --zone=public --add-port=9000\/tcp --permanent firewall-cmd --reload  #\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u0438\u0437 \u0431\u0430\u0437 1\u0421 \u0438 \u0448\u0442\u0430\u0442\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c  #\u0431\u043e\u043d\u0443\u0441 1 - \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 wss #\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 keystore java mkdir \/var\/cs\/cs_instance\/data\/security cd mkdir \/var\/cs\/cs_instance\/data\/security keytool -keystore \/var\/cs\/cs_instance\/data\/security\/websocket-keystore.jks -genkey -alias RedOS-7.3.local #\u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0438\u0437 keystore java keytool -importkeystore -srckeystore \/var\/cs\/cs_instance\/data\/security\/websocket-keystore.jks -srcstorepass 123456 -srckeypass 123456 -srcalias RedOS-7.3.local -destalias RedOS-7.3.local -destkeystore identity.p12 -deststoretype PKCS12 -deststorepass 123456 -destkeypass 123456 openssl pkcs12 -in identity.p12 -nodes -nocerts -out private_key.pem openssl pkcs12 -in identity.p12 -nokeys -out cert.pem  ring cs --instance &lt;cs_instance> websocket set-params --wss true ring cs --instance &lt;cs_instance> websocket set-params --keystore-path \/var\/cs\/cs_instance\/data\/security\/websocket-keystore.jks ring cs --instance &lt;cs_instance> websocket set-params --keystore-password 123456 ring cs --instance &lt;cs_instance> websocket set-params --keystore-format JKS  systemctl restart 1ce-cs_instance   #\u0431\u043e\u043d\u0443\u0441 2 - \u043f\u0440\u0438\u044f\u0442\u043d\u0430\u044f \u0433\u043b\u0430\u0437\u0443 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0432 \u0437\u0430\u043c\u0435\u043d\u0443 top yum install epel-release -y yum install glances -y  glances <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  <\/p>\n<blockquote><p><em>\u041a\u0443\u043f\u0438\u043b\u0430 \u0433\u0440\u0443\u043f\u043f\u0430 \u0420\u0435\u043d\u043e\u041d\u0438\u0441\u0441\u0430\u043d \u0437\u0430\u0432\u043e\u0434 \u0410\u0432\u0442\u043e\u0412\u0410\u0417. <br \/>  \u041f\u0435\u0440\u0435\u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440.\u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0416\u0438\u0433\u0443\u043b\u0438! <br \/>  \u0414\u0435\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u044e\u0442 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435, \u043f\u0440\u0438\u0433\u043d\u0430\u043b\u0438 \u043d\u043e\u0432\u043e\u0435 \u0438\u0437 \u042f\u043f\u043e\u043d\u0438\u0438.\u0421\u043d\u043e\u0432\u0430 \u0416\u0438\u0433\u0443\u043b\u0438! <br \/>  \u041f\u0440\u0438\u0432\u043e\u0437\u044f\u0442 \u0440\u0430\u0431\u043e\u0442\u043d\u0438\u043a\u043e\u0432 \u0438\u0437 \u0424\u0440\u0430\u043d\u0446\u0438\u0438.- \u0416\u0438\u0433\u0443\u043b\u0438! <br \/>  \u041e\u043a\u043e\u043b\u043e \u0437\u0430\u0432\u043e\u0434\u0430 \u0445\u043e\u043b\u043c, \u043d\u0430 \u043d\u0451\u043c \u043e\u0442\u0434\u044b\u0445\u0430\u044e\u0442 \u0431\u044b\u0432\u0448\u0438\u0435 \u0433\u043b. \u0438\u043d\u0436\u0435\u043d\u0435\u0440 \u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440 \u0437\u0430\u0432\u043e\u0434\u0430. <br \/>   \u0418\u043d\u0436\u0435\u043d\u0435\u0440 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0443: <br \/>   \u2014 \u0410 \u044f \u0442\u0435\u0431\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u043b \u2014 \u043c\u0435\u0441\u0442\u043e \u043f\u0440\u043e\u043a\u043b\u044f\u0442\u043e\u0435. \u0410 \u0442\u044b \u0432\u0441\u0451 \u2014 \u0440\u0443\u043a\u0438 \u043d\u0435 \u043e\u0442\u0442\u0443\u0434\u0430 \u0440\u0430\u0441\u0442\u0443\u0442\u2026 <br \/>  \u00a9\u0430\u043d\u0435\u043a\u0434\u043e\u0442.\u0440\u0443<\/em><\/p><\/blockquote>\n<h3>\u041d\u044e\u0430\u043d\u0441\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/h3>\n<p>  \u0414\u0430\u0436\u0435 \u0447\u0438\u0441\u0442\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0435 \u0432 \u043e\u0431\u043b\u0430\u043a\u0435, \u0431\u0443\u0434\u0443\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u0434\u0440\u0443\u0433 \u043e\u0442 \u0434\u0440\u0443\u0433\u0430 \u0438 \u043e\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438\u0437 \u043e\u0431\u0440\u0430\u0437\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u0441 \u0441\u0430\u0439\u0442\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u0445 \u043e\u0431\u0440\u0430\u0437\u044b \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u0430\u0434\u043c\u0438\u043d\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432 \u043d\u0430\u0440\u043e\u0434\u0435 \u0437\u043e\u0432\u0443\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c\u0438. <\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430\u0434\u043e \u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\u0441\u044f, \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043d\u0443\u0436\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c ipv6, \u0435\u0441\u043b\u0438 \u0432\u044b \u0435\u0433\u043e \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0411\u0414 postgres.<\/p>\n<p>  <code>su postgres <br \/>  psql <br \/>  ALTER USER postgres WITH PASSWORD '123456'; <br \/>  <strong>CREATE USER db_user WITH PASSWORD '123456'; <br \/>  CREATE DATABASE cs_db OWNER db_user;<\/strong> <br \/>  \\c cs_db <br \/>  CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\"; <br \/>  \\q <br \/>  exit<\/code><\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e JAVA_HOME:<\/p>\n<p>  <code>export JAVA_HOME=\/usr\/lib\/jvm\/bellsoft-java11-full.x86_64\/<\/code><\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432.<\/p>\n<p>  <code>ring hazelcast --instance hc_instance service create --username hc_user --stopped --java-home $JAVA_HOME<\/code><\/p>\n<p>  <code>ring elasticsearch --instance es_instance service create --username es_user --stopped --java-home $JAVA_HOME<\/code><\/p>\n<p>  <code>ring cs --instance cs_instance service create --username cs_user --stopped --java-home $JAVA_HOME<\/code><\/p>\n<blockquote><p><em>\u041d\u0430 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u0435 \u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0443 \u043f\u043e\u0434\u043e\u0448\u043b\u0430 \u0441\u0438\u043c\u043f\u0430\u0442\u0438\u0447\u043d\u0430\u044f \u0431\u0443\u0445\u0433\u0430\u043b\u0442\u0435\u0440\u0448\u0430 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b\u0430: <br \/>   \u2014 \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043c\u044b \u0443\u0435\u0434\u0438\u043d\u0438\u043c\u0441\u044f \u0438 \u0437\u0430\u0439\u043c\u0435\u043c\u0441\u044f \u043d\u0435\u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c? <br \/>  -\u0423\u0445 \u0442\u044b! \u0411\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430 \u043d\u043e\u043b\u044c! <br \/>  \u043e\u0431\u0440\u0430\u0434\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 <br \/>  \u00a9\u0430\u043d\u0435\u043a\u0434\u043e\u0442.\u0440\u0443<\/em><\/p><\/blockquote>\n<p>  \u041c\u043e\u0436\u043d\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u043b\u0443\u0436\u0431\u044b \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0441\u0443\u043f\u0435\u0440\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440, \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u041e\u0421, \u0434\u043b\u044f \u0432\u0435\u0440\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u0438 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b \u0438 \u0436\u0434\u0430\u0442\u044c <s>\u043f\u043e\u043a\u0430 \u043c\u0438\u043c\u043e \u043f\u0440\u043e\u043f\u043b\u044b\u0432\u0435\u0442 \u0437\u0430\u0440\u043f\u043b\u0430\u0442\u0430<\/s> \u043f\u0440\u0435\u043c\u0438\u044e\u2026<\/p>\n<p>  \u0414\u0430 \u0435\u0449\u0435 \u043f\u0430\u0440\u043e\u043b\u044c \u0432\u0435\u0437\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c 123456 \ud83d\ude42 <\/p>\n<p>  <strong>\u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0435\u0433\u043e \u043d\u0430 \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u043f\u0440\u0438 \u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u0435 \u0438\u0437 \u043b\u0438\u0441\u0442\u0438\u043d\u0433\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438!<\/strong> <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/xd\/l_\/te\/xdl_te4ohqikdcrjgdkc-w3y_tu.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/xd\/l_\/te\/xdl_te4ohqikdcrjgdkc-w3y_tu.jpeg\" data-blurred=\"true\"\/> <\/p>\n<p>  \u041f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u043c selinux \u0441\u0435\u0440\u0432\u0438\u0441\u044b 1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0437\u0430\u043f\u0443\u0441\u0442\u044f\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 CentOS 7, \u0432 \u0435\u0433\u043e \u0441\u0442\u0430\u0440\u0448\u0438\u0445 (\u043c\u043b\u0430\u0434\u0448\u0438\u0445?) \u0431\u0440\u0430\u0442\u044c\u044f\u0445 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u0439\u043c\u0430\u0443\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441 \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u043c \u043e\u0448\u0438\u0431\u043a\u0438. <\/p>\n<p>  \u042d\u0442\u043e \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 selinux.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0432\u0430\u043c \u043d\u0435 \u0432\u0430\u0436\u043d\u0430 \u0442\u043e \u0438\u0434\u0435\u043c \u0432 <code>cd \/etc\/selinux<\/code> \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c \u0432 \u0444\u0430\u0439\u043b\u0435 <code>config <br \/>  SELINUX=enforcing \u043d\u0430 SELINUX=disabled \u0438\u043b\u0438 SELINUX=permissive<\/code>.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0437\u0434\u043e\u0440\u043e\u0432\u044c\u0435 \u0438 \u0440\u0430\u0441\u0441\u0443\u0434\u043e\u043a \u0432\u0430\u043c \u0434\u043e\u0440\u043e\u0433\u0438, \u0442\u043e \u043d\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c selinux, \u0430 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u043d\u0435\u0433\u043e.<\/p>\n<p>  \u041f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 audit2allow.<\/p>\n<p>  \u0421 \u0435\u0435 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u0438 \u043b\u043e\u0433\u0430 \u0444\u0430\u0439\u043b\u0430 \u0430\u0443\u0434\u0438\u0442\u0430 \u0432 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 selinux:<\/p>\n<p>  <code>ausearch -c 'systemd' --raw | audit2allow -M my-systemd<\/code> \u2014 \u0442\u0430\u043a \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 CentOS.<\/p>\n<p>  <code>grep systemd \/var\/log\/audit\/audit.log | audit2allow -M my-systemd<\/code> \u2014 \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 RedHat \u0438 \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043e\u043d \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043b\u0443\u0447\u0448\u0435.<\/p>\n<p>  \u041e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430:<\/p>\n<p>  <code>semodule -i my-systemd.pp <\/code><\/p>\n<p>  <code>semodule -R<\/code><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u0441\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u044f\u0442\u0441\u044f \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u043c selinux:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/xu\/fq\/ip\/xufqipadwdjqpd2iradhv3n8inw.png\" data-src=\"https:\/\/habrastorage.org\/webt\/xu\/fq\/ip\/xufqipadwdjqpd2iradhv3n8inw.png\"\/><\/p>\n<p>  \u0421 \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u043e\u043c \u0435\u0449\u0435 \u043f\u0440\u043e\u0449\u0435:<\/p>\n<p>  <code>firewall-cmd --permanent --zone=public --add-port=9094\/tcp <\/code><\/p>\n<p>  <code>firewall-cmd --reload<\/code><\/p>\n<p>  \u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0444\u0435\u043d-\u0448\u0443\u044f \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435, \u0435\u0441\u043b\u0438 \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0431\u0430\u0437\u0435 1\u0421 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432\u0435\u0431-\u043a\u043b\u0438\u0435\u043d\u0442 \u043f\u043e HTTPS, \u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b WSS \u0432 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435.<\/p>\n<p>  \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c \u0447\u0442\u043e \u0430\u0434\u043c\u0438\u043d\u044b, \u043e\u0442\u043a\u043b\u0438\u043a\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445, \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438 \u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u043b\u044e\u0447 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 openssl, \u0430 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043a\u043b\u044e\u0447\u0435\u0439 \u0443 \u0432\u0430\u0441 keystore java, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 keytool.<\/p>\n<p>  \u0421\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a\u043e\u0439 \u043f\u0443\u0442\u044c:<\/p>\n<p>  C\u043e\u0437\u0434\u0430\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435:<\/p>\n<p>  <code>mkdir \/var\/cs\/cs_instance\/data\/security <\/code><\/p>\n<p>  <code>cd mkdir \/var\/cs\/cs_instance\/data\/security <\/code><\/p>\n<p>  <code>keytool -keystore \/var\/cs\/cs_instance\/data\/security\/websocket-keystore.jks -genkey -alias RedOS-7.3.local<\/code><\/p>\n<p>  RedOS-7.3.local \u2014 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u0432\u0430\u0448 \u0430\u043b\u0438\u0430\u0441, \u043f\u0443\u0442\u044c \u043a \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0443 \u2014 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0439 1\u0421.<\/p>\n<p>  \u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u043b\u044e\u0447:<\/p>\n<p>  <code>keytool -importkeystore -srckeystore \/var\/cs\/cs_instance\/data\/security\/websocket-keystore.jks -srcstorepass 123456 -srckeypass 123456 -srcalias RedOS-7.3.local -destalias RedOS-7.3.local -destkeystore identity.p12 -deststoretype PKCS12 -deststorepass 123456 -destkeypass 123456 <\/code><\/p>\n<p>  <code>openssl pkcs12 -in identity.p12 -nodes -nocerts -out private_key.pem <\/code><\/p>\n<p>  <code>openssl pkcs12 -in identity.p12 -nokeys -out cert.pem<\/code><\/p>\n<p>  \u041b\u044e\u0431\u0435\u0437\u043d\u0435\u0439\u0448\u0435 \u043f\u0440\u043e\u0448\u0443 \u0438\u0437\u0432\u0438\u043d\u0438\u0442\u044c, \u0437\u0430 \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0438. <\/p>\n<p>  \u041a\u0442\u043e \u0438\u0445 \u043d\u0430\u0439\u0434\u0435\u0442 \u0438\u043b\u0438 \u0443 \u043a\u043e\u0433\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u043e \u043f\u043e\u043b\u043d\u043e\u043c\u0443 \u043b\u0438\u0441\u0442\u0438\u043d\u0433\u0443, \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u0438\u043b\u0438 \u0432\u043e\u0437\u043c\u0443\u0449\u0430\u0439\u0442\u0435\u0441\u044c \u043b\u044e\u0431\u044b\u043c \u0434\u0440\u0443\u0433\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<\/p>\n<p>\u041e\u0433\u0440\u043e\u043c\u043d\u0430\u044f \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u043d\u043e\u0441\u0442\u044c <a href=\"https:\/\/serverspace.ru\/\" rel=\"nofollow noopener noreferrer\">\u043e\u0431\u043b\u0430\u0447\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0443 \u00a9 Serverspace<\/a> \u0437\u0430 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435, \u0431\u0435\u0437 \u043d\u0438\u0445 \u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0431\u044b \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c.<\/p>\n<p>  <\/p>\n<p>\u0416\u0435\u043b\u0430\u044e\u0449\u0438\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c\/\u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0432\u043e \u0432\u0441\u0435\u043c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e, \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0441\u044b\u043b\u043e\u043a:<\/p>\n<p>  <\/p>\n<ul>\n<li><a href=\"https:\/\/its.1c.ru\/db\/cs24doc#bookmark:cs:TI000000008\" rel=\"nofollow noopener noreferrer\">1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f 24. \u0422\u0435\u0441\u0442\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0413\u043b\u0430\u0432\u0430 4. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/a><\/li>\n<li><a href=\"https:\/\/uc1.1c.ru\/course\/tsikl-kursov-po-administrirovaniyu-1s-predpriyatie-8-na-linuks-chast-2-server-vzaimodejstviya\/\" rel=\"nofollow noopener noreferrer\">\u0423\u0426 \u21161 \u041a\u0443\u0440\u0441 \u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 1\u0421: \u041f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u044f \u043d\u0430 \u043b\u0438\u043d\u0443\u043a\u0441. \u0421\u0435\u0440\u0432\u0435\u0440 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f<\/a><\/li>\n<li><a href=\"https:\/\/its.1c.ru\/db\/metod8dev\/content\/5988\/hdoc\" rel=\"nofollow noopener noreferrer\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0438 \u043c\u0435\u0434\u0438\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/a><\/li>\n<li><a href=\"https:\/\/habr.com\/ru\/companies\/otus\/articles\/460387\/\">\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u043f\u043e SELinux<\/a><\/li>\n<li><a href=\"https:\/\/docs.oracle.com\/javase\/6\/docs\/technotes\/tools\/solaris\/keytool.html\" rel=\"nofollow noopener noreferrer\">keytool \u2014 Key and Certificate Management Tool<\/a><\/li>\n<\/ul>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0441\u0442\u0430\u0442\u044c\u044f \u0432\u0430\u043c \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0447\u0435\u043c \u0432\u044b \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u0435 \u043d\u0430 \u0435\u0435 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u0435. <\/p>\n<p>  \u0418 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u043c\u0438\u043d\u0443\u0442\u043a\u0430 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043b\u044e\u0441 \u0438\u043b\u0438 \u043c\u0438\u043d\u0443\u0441.<\/p><\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/766824\/\"> https:\/\/habr.com\/ru\/articles\/766824\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\u041d\u044e\u0430\u043d\u0441\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u043a\u043e\u043d\u0442\u0443\u0440\u0435 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 CentOS 7, CentOS 8, RedOS 7.3<br \/>  <a href=\"https:\/\/habr.com\/ru\/post\/766824\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/0x\/ab\/d1\/0xabd14ukv3nue_vrxkggyqbg_s.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/0x\/ab\/d1\/0xabd14ukv3nue_vrxkggyqbg_s.jpeg\" data-blurred=\"true\"\/><\/div>\n<p><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-357249","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/357249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=357249"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/357249\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=357249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=357249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=357249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}