1"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4117],{7227:(e,l,s)=>{s.d(l,{A:()=>i});s(6540);var n=s(4164);const a={tabItem:"tabItem_Ymn6"};var r=s(4848);function i({children:e,hidden:l,className:s}){return(0,r.jsx)("div",{role:"tabpanel",className:(0,n.A)(a.tabItem,s),hidden:l,children:e})}},8453:(e,l,s)=>{s.d(l,{R:()=>i,x:()=>c});var n=s(6540);const a={},r=n.createContext(a);function i(e){const l=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(l):{...l,...e}}),[l,e])}function c(e){let l;return l=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),n.createElement(r.Provider,{value:l},e.children)}},8811:(e,l,s)=>{s.r(l),s.d(l,{assets:()=>o,contentTitle:()=>d,default:()=>p,frontMatter:()=>t,metadata:()=>n,toc:()=>h});const n=JSON.parse('{"id":"manual-installation/red-os","title":"\u0420\u0415\u0414 \u041e\u0421","description":"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a \u043d\u0430 \u0420\u0415\u0414 \u041e\u0421 7.3 \u0438 8: \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Apache, PHP, MongoDB, \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 HTTPS \u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438.","source":"@site/versioned_docs/version-6.0/manual-installation/red-os.mdx","sourceDirName":"manual-installation","slug":"/manual-installation/red-os","permalink":"/docs/6.0/manual-installation/red-os","draft":false,"unlisted":false,"tags":[],"version":"6.0","sidebarPosition":1,"frontMatter":{"path":"manual-installation/red-os.mdx","title":"\u0420\u0415\u0414 \u041e\u0421","slug":"red-os","sidebar_position":1,"pagination_next":null,"pagination_prev":null,"description":"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a \u043d\u0430 \u0420\u0415\u0414 \u041e\u0421 7.3 \u0438 8: \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Apache, PHP, MongoDB, \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 HTTPS \u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438.","keywords":["\u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a","RED OS","\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430","Linux","Apache","PHP","MongoDB","HTTPS","\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c","SELinux","firewalld"]},"sidebar":"docs"}');var a=s(4848),r=s(8453),i=s(9489),c=s(7227);const t={path:"manual-installation/red-os.mdx",title:"\u0420\u0415\u0414 \u041e\u0421",slug:"red-os",sidebar_position:1,pagination_next:null,pagination_prev:null,description:"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a \u043d\u0430 \u0420\u0415\u0414 \u041e\u0421 7.3 \u0438 8: \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Apache, PHP, MongoDB, \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 HTTPS \u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438.",keywords:["\u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a","RED OS","\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430","Linux","Apache","PHP","MongoDB","HTTPS","\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c","SELinux","firewalld"]},d=void 0,o={},h=[{value:"1. \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f",id:"1-\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435-\u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435-\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f",level:2},{value:"2. \u0411\u0430\u0437\u043e\u0432\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u0435\u0440\u0435\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439",id:"2-\u0431\u0430\u0437\u043e\u0432\u044b\u0435-\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f-\u043f\u0435\u0440\u0435\u0434-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439",level:2},{value:"2.1 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Firewalld",id:"21-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430-\u0438-\u0431\u0430\u0437\u043e\u0432\u0430\u044f-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-firewalld",level:3},{value:"2.2 \u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 SELinux \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u041e\u0421",id:"22-\u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435-selinux-\u0438-\u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430-\u043e\u0441",level:3}
1,{value:"3. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 PHP",id:"3-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430-php",level:2},{value:"3.1 \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0430\u0440\u0445\u0438\u0432\u0430",id:"31--\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430-\u0430\u0440\u0445\u0438\u0432\u0430",level:3},{value:"3.2 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430",id:"32-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430",level:3},{value:"3.1 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 PHP MongoDB \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430",id:"31-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430-php-mongodb-\u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430",level:3},{value:"3.2 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 PHP Phalcon \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f",id:"32-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430-php-phalcon-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f",level:3},{value:"4. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 MongoDB",id:"4-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430-\u0431\u0430\u0437\u044b-\u0434\u0430\u043d\u043d\u044b\u0445-mongodb",level:2},{value:"5. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Git",id:"5-\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435-\u0438-\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430-\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439-\u0432\u0435\u0440\u0441\u0438\u0438-\u043f\u0430\u0441\u0441\u0432\u043e\u0440\u043a-\u0441-\u043f\u043e\u043c\u043e\u0449\u044c\u044e-git",level:2},{value:"6. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Apache2 \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043f\u043e HTTP-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",id:"6-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-apache2-\u0434\u043b\u044f-\u0434\u043e\u0441\u0442\u0443\u043f\u0430-\u043f\u043e-http-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",level:2},{value:"7. \u041f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0447\u0435\u043a-\u043b\u0438\u0441\u0442\u0430",id:"7-\u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435-\u0447\u0435\u043a-\u043b\u0438\u0441\u0442\u0430",level:2},{value:"8. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043f\u043e HTTPS-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",id:"8-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-\u0434\u043e\u0441\u0442\u0443\u043f\u0430-\u043f\u043e-https-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",level:2},{value:"8.1 \u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e SSL-\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430",id:"81-\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f-\u0441\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e-ssl-\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430",level:3},{value:"8.2 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0445\u043e\u0441\u0442\u0430 \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043f\u043e HTTPS-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",id:"82-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e-\u0445\u043e\u0441\u0442\u0430-\u0434\u043b\u044f-\u0434\u043e\u0441\u0442\u0443\u043f\u0430-\u043f\u043e-https-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",level:3},{value:"8.3 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e HTTPS-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",id:"83-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-\u043f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430-\u0434\u043b\u044f-\u0440\u0430\u0431\u043e\u0442\u044b-\u043f\u043e-https-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",level:3},{value:"9. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0444\u043e\u043d\u043e\u0432\u044b\u0445 \u0437\u0430\u0434\u0430\u0447",id:"9-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-\u0444\u043e\u043d\u043e\u0432\u044b\u0445-\u0437\u0430\u0434\u0430\u0447",level:2},{value:"10. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438",id:"10-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438",level:2}];function x(e){const l={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.R)(),...e.components},{Details:s}=l;return s||function(e,l){throw new Error("Expected "+(l?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l.admonition,{type:"info",children:[(0,a.jsx)(l.p,{children:"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430 \u043d\u0430 \u041e\u0421:"}),(0,a.jsxs)(l.ul,{children:["\n",(0,a.jsx)(l.li,{children:"\u0420\u0415\u0414 \u041e\u0421 7.3"}),"\n",(0,a.jsx)(l.li,{children:"\u0420\u0415\u0414 \u041e\u0421 8"}),"\n"]})]}),"\n",(0,a.jsx)(l.admonition,{type:"danger",children:(0,a.jsx)(l.p,{children:"\u0412 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0435 \u0431\u043b\u043e\u043a\u0438 \u043a\u043e\u0434\u0430 \u0434\u043b\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0432\u0435\u0440\u0441\u0438\u044f\u043c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b"})}),"\n",(0,a.jsx)(l.h2,{id:"1-\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435-\u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435-\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f",children:"1. \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f"}),"\n",(0,a.jsx)(l.p,{children:"\u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a \u043d\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043d \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c, \u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0447\u0438\u0441\u043b\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043e\u0431\u044a\u0435\u043c\u0430 \u0445\u0440\u0430\u043d\u0438\u043c\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u043a \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b."}),"\n",(0,a.jsxs)(l.p,{children:["\u041e\u0437\u043d\u0430\u043a\u043e\u043c\u044c\u0442\u0435\u0441\u044c \u0441 ",(0,a.jsx)(l.a,{href:"/docs/6.0/technical-requirements",children:"\u043f\u043e\u043b\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438"}),"."]}),"\n",(0,a.jsxs)(l.admonition,{type:"info",children:[(0,a.jsx)(l.p,{children:"\u0415\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u043c\u0435\u0435\u0442 2-4 \u0413\u0411 \u041e\u0417\u0423, \u
10442\u043e \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0438 \u0432\u0441\u0435\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043c\u044b \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c SWAP-\u0444\u0430\u0439\u043b"}),(0,a.jsx)(l.p,{children:(0,a.jsx)(l.a,{href:"/docs/6.0/manual-installation/creating-swap-file-on-linux",children:"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 SWAP \u0444\u0430\u0439\u043b\u0430 \u043d\u0430 Linux"})})]}),"\n",(0,a.jsx)(l.h2,{id:"2-\u0431\u0430\u0437\u043e\u0432\u044b\u0435-\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f-\u043f\u0435\u0440\u0435\u0434-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439",children:"2. \u0411\u0430\u0437\u043e\u0432\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u0435\u0440\u0435\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439"}),"\n",(0,a.jsxs)(l.p,{children:["\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0430 ",(0,a.jsx)(l.strong,{children:"root"})," \u0438 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432:"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"sudo -i \ndnf makecache\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442 \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439 ",(0,a.jsx)(l.strong,{children:"Git"}),", \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 ",(0,a.jsx)(l.strong,{children:"Apache2"})," \u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 ",(0,a.jsx)(l.strong,{children:"curl"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"bash",label:"bash",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-bash",children:"dnf install git httpd curl -y\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u0443 ",(0,a.jsx)(l.strong,{children:"httpd.service"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"systemctl start httpd.service\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a \u0441\u043b\u0443\u0436\u0431\u044b:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"systemctl enable httpd.service\n"})})})}),"\n",(0,a.jsx)(l.h3,{id:"21-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430-\u0438-\u0431\u0430\u0437\u043e\u0432\u0430\u044f-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-firewalld",children:"2.1 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Firewalld"}),"\n",(0,a.jsxs)(l.p,{children:["\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u0443 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u043e\u043c ",(0,a.jsx)(l.strong,{children:"Firewalld"})]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"dnf install firewalld -y\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u0443 ",(0,a.jsx)(l.strong,{children:"firewalld.service"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"systemctl start firewalld.service\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a \u0441\u043b\u0443\u0436\u0431\u044b:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"systemctl enable firewalld.service\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c HTTP-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Firewalld:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"firewall-cmd --permanent --add-service=http\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c HTTPS-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Firewalld:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"firewall-cmd --permanent --add-service=https\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Firewalld:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"firewall-cmd --reload\n"})})})}),"\n",(0,a.jsx)(l.h3,{id:"22-\u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435-selinux-\u0438-\u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430-\u043e\u0441",children:"2.2 \u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 SELinux \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u041e\u0421"}),"\n",(0,a.jsxs)(l.p,{children:["\u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u2014 ",(0,a.jsx)(l.code,{children:"/etc/selinux/config"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"nano /etc/selinux/config\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 ",(0,a.jsx)(l.strong,{children:"SELINUX"})," \u0441 ",(0,a.jsx)(l.code,{children:"enforcing"})," \u043d\u0430 ",(0,a.jsx)(l.code,{children:"disabled"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"SELINUX=disabled\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f (Ctrl+O) \u0438 \u0432\u044b\u0439\u0434\u0438\u0442\u0435 (Ctrl+X). \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 SELinux:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"reboot\n"})})})}),"\n",(0,a.jsx)(l.h2,{id:"3-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430-php",children:"3. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 PHP"}),"\n",(0,a.jsx)(l.h3,{id:"31--\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430-\u0430\u0440\u0445\u0438\u0432\u0430",children:"3.1 \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0430\u0440\u0445\u0438\u0432\u0430"}),"\n",(0,a.jsx)(l.p,{children:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c PHP-\u0430\u0440\u0445\u0438\u0432 \u0432 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e:"}),"\n",(0,a.jsxs)(i.A,{className:"tabs-container",children:[(0,a.jsx)(c.A,{className:"tab-item-container",value:"RedOS 7.3",label:"RedOS 7.3",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"curl -O https://repos.passwor
1k.ru/repository/php/builds/82/linux/redos/73/x86_64/php_latest.tar.gz\n"})})}),(0,a.jsx)(c.A,{className:"tab-item-container",value:"RedOS 8",label:"RedOS 8",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"curl -O https://repos.passwork.ru/repository/php/builds/82/linux/redos/80/x86_64/php_latest.tar.gz\n"})})})]}),"\n",(0,a.jsxs)(s,{children:[(0,a.jsx)("summary",{children:"(\u041e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e) \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u0430\u0440\u0445\u0438\u0432\u0430"}),(0,a.jsxs)(i.A,{className:"tabs-container",children:[(0,a.jsx)(c.A,{className:"tab-item-container",value:"RedOS 7.3",label:"RedOS 7.3",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-bash",children:"curl -O https://repos.passwork.ru/repository/php/builds/82/linux/redos/73/x86_64/php_latest.tar.gz\ncurl -O https://repos.passwork.ru/repository/php/builds/82/linux/redos/73/x86_64/php_latest.tar.gz.sig\ncurl https://passwork.ru/public-key -o pubkey.pem\nopenssl dgst -sha256 -verify pubkey.pem -signature php_latest.tar.gz.sig php_latest.tar.gz \n"})})}),(0,a.jsx)(c.A,{className:"tab-item-container",value:"RedOS 8",label:"RedOS 8",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-bash",children:"curl -O https://repos.passwork.ru/repository/php/builds/82/linux/redos/80/x86_64/php_latest.tar.gz\ncurl -O https://repos.passwork.ru/repository/php/builds/82/linux/redos/80/x86_64/php_latest.tar.gz.sig\ncurl https://passwork.ru/public-key -o pubkey.pem\nopenssl dgst -sha256 -verify pubkey.pem -signature php_latest.tar.gz.sig php_latest.tar.gz \n"})})})]})]}),"\n",(0,a.jsxs)(l.admonition,{type:"info",children:[(0,a.jsx)(l.p,{children:"\u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0430\u0440\u0445\u0438\u0432\u044b \u0432\u0440\u0443\u0447\u043d\u0443\u044e:"}),(0,a.jsxs)(l.ul,{children:["\n",(0,a.jsxs)(l.li,{children:["\n",(0,a.jsx)("a",{href:"https://repos.passwork.ru/repository/php_builds/82/linux/redos/73/x86_64/php_latest.tar.gz",target:"_blank",children:"RedOS 7.3"}),"\n"]}),"\n",(0,a.jsxs)(l.li,{children:["\n",(0,a.jsx)("a",{href:"https://repos.passwork.ru/repository/php_builds/82/linux/redos/80/x86_64/php_latest.tar.gz",target:"_blank",children:"RedOS 8"}),"\n"]}),"\n"]})]}),"\n",(0,a.jsx)(l.p,{children:"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0438 \u0440\u0430\u0437\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u0443\u0439\u0442\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"mkdir ./php && tar -zxvf ./php_latest.tar.gz -C ./php/\n"})})})}),"\n",(0,a.jsx)(l.h3,{id:"32-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430",children:"3.2 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430"}),"\n",(0,a.jsxs)(l.p,{children:["\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u0441\u0435 ",(0,a.jsx)(l.strong,{children:".rpm"})," \u043f\u0430\u043a\u0435\u0442\u044b \u0438\u0437 \u0430\u0440\u0445\u0438\u0432\u0430:"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"dnf -y install ./php/*.rpm\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0443\u0442\u0438\u043b\u0438\u0442\u0443 ",(0,a.jsx)(l.strong,{children:"PEAR"})," \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e ",(0,a.jsx)(l.code,{children:"go-pear.phar"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"php ./php/go-
1pear.phar\n"})})})}),"\n",(0,a.jsx)(l.admonition,{type:"info",children:(0,a.jsxs)(l.p,{children:["\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e (\u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439) \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u2014 ",(0,a.jsx)(l.strong,{children:"Enter"})]})}),"\n",(0,a.jsx)(l.h3,{id:"31-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430-php-mongodb-\u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430",children:"3.1 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 PHP MongoDB \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430"}),"\n",(0,a.jsx)(l.p,{children:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u0440\u0430\u0439\u0432\u0435\u0440 PHP MongoDB:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"pecl install ./php/mongodb-*.tgz\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f PHP MongoDB:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:'echo "extension=mongodb.so" | tee /etc/php.d/20-mongodb.ini\n'})})})}),"\n",(0,a.jsx)(l.h3,{id:"32-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430-php-phalcon-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f",children:"3.2 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 PHP Phalcon \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f"}),"\n",(0,a.jsx)(l.p,{children:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 PHP Phalcon:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"pecl install ./php/phalcon-*.tgz\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f PHP Phalcon:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:'echo "extension=phalcon.so" | tee /etc/php.d/20-phalcon.ini\n'})})})}),"\n",(0,a.jsx)(l.h2,{id:"4-\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430-\u0431\u0430\u0437\u044b-\u0434\u0430\u043d\u043d\u044b\u0445-mongodb",children:"4. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 MongoDB"}),"\n",(0,a.jsx)(l.p,{children:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c MongoDB \u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a shell-\u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0435:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"dnf install mongodb-org-6.0.15 mongodb-org-shell.x86_64 -y\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u0443 ",(0,a.jsx)(l.strong,{children:"mongod.service"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"systemctl start mongod.service\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a \u0441\u043b\u0443\u0436\u0431\u044b:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"systemctl enable mongod.service\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 MongoDB \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 ",(0,a.jsx)(l.strong,{children:"/etc/mongod.conf"}),", \u0435\u0441\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"mv /etc/mongo/mongod.conf /etc/\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0418 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u0443 mongod.service:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"systemctl restart mongod.service\n"})})})}),"\n",(0,a.jsx)(l.h2,{id:"5-\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435-\u0438-\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430-\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439-\u0432\u0435\u0440\u0441\u0438\u0438-\u043f\u0430\u0441\u0441\u0432\u043e\u0440\u043a-\u0441-\u043f\u043e\u043c\u043e\u0449\u044c\u044e-git",children:"5. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Git"}),"\n",(0,a.jsxs)(l.p,{children:["\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e ",(0,a.jsx)(l.code,{children:"/var/www/"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"cd /var/www/\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e Git, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u043d\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"git config --global --add safe.directory /var/www\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c Git \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 ",(0,a.jsx)(l.code,{children:"/var/www/"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"git init\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"git remote add origin https://passwork.download/passwork/passwork.git\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"git fetch\n"})})})}),"\n",(0,a.jsx)(l.admonition,{type:"info",children:(0,a.jsxs)(l.p,{children:["\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442 \u043b\u043e\u0433\u0438\u043d \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u043a \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 ",(0,a.jsx)("a",{href:"https://portal.passwork.ru",target:"_blank",children:"\u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u043e\u043c \u043f\u043e\u0440\u0442\u0430\u043b\u0435 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430."})," \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u043e\u043c\u0443 \u043f\u043e\u0440\u0442\u0430\u043b\u0443, \u0441\u0432\u044f\u0436\u0438\u0442\u0435\u0441\u044c \u0441 \u043d\u0430\u043c\u0438."]})}),"\n",(0,a.jsxs)(l.p,{children:["\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0432\u0435\u0442\u043a\u0443 ",(0,a.jsx)(l.strong,{children:"v6"})," \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a:"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"git checkout v6\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u041d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0438 \u0444\u0430\u0439\u043b\u044b \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c ",(0,a.jsx)(l.strong,{children:"apache"})," \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u043c \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u043e\u0432:"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"find /var/www/ -type d -exec chmod 755 {} \\;\nfind /var/www/ -type f -exec chmod 644 {} \\;\nchown -R apache:apache /var/www/\n"})})})}),"\n",(0,a.jsx)(l.h2,{id:"6-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-apache2-\u0434\u043b\u044f-\u0434\u043e\u0441\u0442\u0443\u043f\u0430-\u043f\u043e-http-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",children:"6. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Apache2 \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043f\u043e HTTP-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443"}),"\n",(0,a.jsx)(l.p,{children:"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0445\u043e\u0441\u0442\u0430 \u0434\u043b\u044f HTTP-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"nano /etc/httpd/conf.d/non-ssl.conf\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 \u0438 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0435\u0433\u043e \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u0432\u0438\u0434\u0443:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"<VirtualHost *:80>\n ServerAdmin webmaster@localhost\n DocumentRoot /var/www/public\n <Directory /var/www/public>\n Options +FollowSymLinks -Indexes -MultiViews\n AllowOverride All\n Require all granted\n </Directory>\n ErrorLog logs/error_log\n TransferLog logs/access_log\n LogLevel warn\n</VirtualHost>\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 ",(0,a.jsx)(l.strong,{children:"httpd.service"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"systemctl restart httpd.service\n"})})})}),"\n",(0,a.jsx)(l.admonition,{type:"info",children:(0,a.jsxs)(l.p,{children:["\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 ",(0,a.jsx)("a",{href:"http://passwork.local",target:"_blank",children:(0,a.jsx)(l.a,{href:"http://passwork.local",children:"http://passwork.local"})})," \u0438\u043b\u0438 ",(0,a.jsx)("a",{href:"http://127.0.0.1",target:"_blank",children:(0,a.jsx)(l.a,{href:"http://127.0.0.1",children:"http://127.0.0.1"})})," \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f"]})}),"\n",(0,a.jsx)(l.h2,{id:"7-\u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435-\u0447\u0435\u043a-\u043b\u0438\u0441\u0442\u0430",children:"7. \u041f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0447\u0435\u043a-\u043b\u0438\u0441\u0442\u0430"}),"\n",(0,a.jsx)(l.p,{children:"\u041f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043a \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0443 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0439\u0442\u0438 \u0447\u0435\u043a-\u043b\u0438\u0441\u0442, \u0432 \u0445\u043e\u0434\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u044b:"}),"\n",(0,a.jsxs)(l.ul,{children:["\n",(0,a.jsx)(l.li,{children:"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u04
140\u044b"}),"\n",(0,a.jsx)(l.li,{children:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 MongoDB"}),"\n",(0,a.jsx)(l.li,{children:"\u0421\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 MongoDB"}),"\n",(0,a.jsx)(l.li,{children:"\u041b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u043b\u044e\u0447"}),"\n"]}),"\n",(0,a.jsx)(l.admonition,{type:"info",children:(0,a.jsx)(l.p,{children:"\u0415\u0441\u043b\u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0435 \u043d\u043e\u0432\u0443\u044e \u043a\u043e\u043f\u0438\u044e \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430, \u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0432\u0441\u0435 \u043f\u043e\u043b\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e"})}),"\n",(0,a.jsx)(l.p,{children:"\u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0447\u0435\u043a-\u043b\u0438\u0441\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043d, \u043f\u0430\u0440\u043e\u043b\u044c \u0438 \u0430\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439."}),"\n",(0,a.jsx)(l.admonition,{type:"danger",children:(0,a.jsx)(l.p,{children:"\u041f\u0435\u0440\u0432\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u043c \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u043c LDAP/SSO \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043e\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0442\u0430\u043d\u0435\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u0432\u044b \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f."})}),"\n",(0,a.jsx)(l.h2,{id:"8-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-\u0434\u043e\u0441\u0442\u0443\u043f\u0430-\u043f\u043e-https-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",children:"8. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043f\u043e HTTPS-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443"}),"\n",(0,a.jsx)(l.h3,{id:"81-\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f-\u0441\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e-ssl-\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430",children:"8.1 \u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e SSL-\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430"}),"\n",(0,a.jsx)(l.p,{children:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c SSL \u0434\u043b\u044f Apache2:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"dnf install mod_ssl -y\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"mkdir /etc/ssl/private\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u0421\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 X.509 \u0434\u043b\u044f Apache2 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e ",(0,a.jsx)(l.strong,{children:"OpenSSL"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"openssl req -x509 -nodes -days 365 -newkey rsa:2048 -subj '/CN=your.domain.name' -addext 'subjectAltName=DNS:your.domain.name,IP:192.168.0.100' -keyout /etc/ssl/private/apache-selfsigned.key -out /etc/ssl/certs/apache-selfsigned.crt\n"})})})}),"\n",(0,a.jsx)(l.admonition,{type:"danger",children:(0,a.jsxs)(l.ul,{children:["\n",(0,a.jsxs)(l.li,{children:[(0,a.jsx)(l.code,{children:"Common Name (CN)"})," \u2014 \u0443\u043a\u0430\u0437\u0430\u0442\u044c IP-\u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438\u043b\u0438 \u0438\u043c\u044f \u0445\u043e\u0441\u0442\u0430 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u043b\u0438 \u0441 \u0442\u0435\u043c, \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u0441\u0430\u0439\u0442 (\u043f\u043e \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u043c\u0443 \u0438\u043c\u0435\u043d\u0438 \u0438\u043b\u0438 \u043f\u043e IP);"]}),"\n",(0,a.jsxs)(l.li,{children:[(0,a.jsx)(l.code,{children:"subjectAltName (SAN)"})," \u2014 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c ",(0,a.jsx)(l.code,{children:"-ad
1dext 'subjectAltName=DNS:your.domain.name,IP:192.168.0.100'"}),", \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u0432 \u0432\u043c\u0435\u0441\u0442\u043e ",(0,a.jsx)(l.code,{children:"your.domain.name"})," \u0438 ",(0,a.jsx)(l.code,{children:"192.168.0.100"})," \u0442\u0435\u043a\u0443\u0449\u0435\u0435 DNS-\u0438\u043c\u044f \u0438 IP-\u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430;"]}),"\n"]})}),"\n",(0,a.jsx)(l.admonition,{type:"info",children:(0,a.jsxs)(l.p,{children:[(0,a.jsx)(l.strong,{children:"\u0411\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u0438 SAN"})," \u2014 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043f\u0440\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 HTTPS \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 Subject Alternative Name (SAN), \u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u0435 ",(0,a.jsx)(l.strong,{children:"CN"})," (Common Name). \u0427\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043d\u0435\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430, \u0437\u0430\u0434\u0430\u0442\u044c \u0432 SAN \u0438 ",(0,a.jsx)(l.strong,{children:"DNS"}),", \u0438 ",(0,a.jsx)(l.strong,{children:"IP"})," \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0432\u043e\u0434\u044f\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438."]})}),"\n",(0,a.jsx)(l.p,{children:"\u0421\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0414\u0438\u0444\u0444\u0438-\u0425\u0435\u043b\u043b\u043c\u0430\u043d\u0430 \u0441 \u0434\u043b\u0438\u043d\u043e\u0439 \u043a\u043b\u044e\u0447\u0430 2048:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048\n"})})})}),"\n",(0,a.jsx)(l.p,{children:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0414\u0438\u0444\u0444\u0438-\u0425\u0435\u043b\u043b\u043c\u0430\u043d\u0430 \u043a \u0441\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u043c\u0443 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0443:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"cat /etc/ssl/certs/dhparam.pem | tee -a /etc/ssl/certs/apache-selfsigned.crt\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 ",(0,a.jsx)(l.strong,{children:"root"})," \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0434\u043b\u044f \u0437\u0430\u0449\u0438\u0442\u044b \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430:"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"chmod 700 /etc/ssl/private\n"})})})}),"\n",(0,a.jsx)(l.h3,{id:"82-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e-\u0445\u043e\u0441\u0442\u0430-\u0434\u043b\u044f-\u0434\u043e\u0441\u0442\u0443\u043f\u0430-\u043f\u043e-https-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",children:"8.2 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0445\u043e\u0441\u0442\u0430 \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043f\u043e HTTPS-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443"}),"\n",(0,a.jsx)(l.p,{children:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 HTTPS-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430:"}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"nano /etc/httpd/conf.d/ssl.conf\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u041d\u0430\u0439\u0442\u0438 \u0440\u0430\u0437\u0434\u0435\u043b, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0441\xa0",(0,a.jsx)(l.code,{children:"<VirtualHost _default_:443>"}),"\xa0\u0438 \u0432\u043d\u0435\u0441\u0442\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f:"]}),"\n",(0,a.jsxs)(l.ul,{children:["\n",(0,a.jsxs)(l.li,{children:["\u0420\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443\xa0",(0,a.jsx)(l.strong,{children:"DocumentRoot"}),"\xa0\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0443\u0442\u044c \u043d\u0430 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430 ",(0,a.jsx)(l.code,{children:"/var/www/public"}),";"]}),"\n",(0,a.jsxs)(l.li,{children:["\u0420\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443\xa0",(0,a.jsx)(l.strong,{children:"ServerName"}),"\xa0\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c\xa0",(0,a.jsx)(l.code,{children:"www.example.com"}),"\xa0\u043d\u0430 IP-\u0430\u0434\u0440\u0435\u0441 \u0438\u043b\u0438 \u0434\u043e\u043c\u0435\u043d \u0441\u0435\u0440\u0432\u0435\u0440\u0430 (\u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\xa0",(0,a.jsx)(l.code,{children:"Common Name"})," \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430):"]}),"\n"]}),"\n",(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"DocumentRoot /var/www/public\nServerName passwor
1k.local:443\n"})}),"\n",(0,a.jsxs)(l.ul,{children:["\n",(0,a.jsxs)(l.li,{children:["\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0443 \u2014 ",(0,a.jsx)(l.code,{children:"<Directory>"})," \u043f\u043e\u0441\u043b\u0435 ",(0,a.jsx)(l.code,{children:"ServerName"}),":"]}),"\n"]}),"\n",(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"<Directory /var/www/public>\n Options +FollowSymLinks -Indexes -MultiViews\n AllowOverride All\n Require all granted\n</Directory>\n"})}),"\n",(0,a.jsxs)(l.ul,{children:["\n",(0,a.jsxs)(l.li,{children:["\u0417\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438 \u0441 ",(0,a.jsx)(l.code,{children:"SSLProtocol"})," \u0438 ",(0,a.jsx)(l.code,{children:"SSLCipherSuite"})," \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438:"]}),"\n"]}),"\n",(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"# SSLProtocol all -SSLv2\n# SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA\n"})}),"\n",(0,a.jsxs)(l.ul,{children:["\n",(0,a.jsx)(l.li,{children:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0443\u0442\u0438 \u043a \u0444\u0430\u0439\u043b\u0430\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0440\u0430\u043d\u0435\u0435:"}),"\n"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt\nSSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key\n"})})})}),"\n",(0,a.jsxs)(l.ul,{children:["\n",(0,a.jsx)(l.li,{children:"\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0445\u043e\u0441\u0442\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u0443:"}),"\n"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"shell",label:"shell",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-shell",children:"Listen 443\n<VirtualHost _default_:443>\n DocumentRoot /var/www/public\n ServerName passwork.local:443\n <Directory /var/www/public>\n Options +FollowSymLinks -Indexes -MultiViews\n AllowOverride All\n Require all granted\n </Directory>\n SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt\n SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key\n</VirtualHost>\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 ",(0,a.jsx)(l.strong,{children:"httpd.service"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"bash",label:"bash",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-bash",children:"systemctl restart httpd.service\n"})})})}),"\n",(0,a.jsx)(l.admonition,{type:"info",children:(0,a.jsxs)(l.p,{children:["\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0443 \u043f\u043e HTTPS \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 \u2014 ",(0,a.jsx)("a",{href:"https://passwork.local",target:"_blank",children:(0,a.jsx)(l.a,{href:"https://passwork.local",children:"https://passwork.local"})})]})}),"\n",(0,a.jsx)(l.h3,{id:"83-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-\u043f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430-\u0434\u043b\u044f-\u0440\u0430\u0431\u043e\u0442\u044b-\u043f\u043e-https-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443",children:"8.3 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e HTTPS-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443"}),"\n",(0,a.jsx)(l.p,{children:"\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u043e\u0433\u043e SSL-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f (HTTPS) \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0444\u043b\u0430\u0433\u043e\u0432 \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430."}),"\n",(0,a.jsxs)(l.p,{children:["\u0415\u0441\u043b\u0438 \u0444\u043b\u0430\u0433\u0438 ",(0,a.jsx)(l.strong,{children:"session.cookie_secure"}),"\xa0\u0438\xa0",(0,a.jsx)(l.strong,{children:"disableSameSiteCookie"})," \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b, \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043d\u0435 \u0441\u043c\u043e\u0433\u0443\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043a \u043e\u0448\u0438\u0431\u043a\u0430\u043c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438."]}),"\n",(0,a.jsxs)(l.p,{children:["\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 ",(0,a.jsx)(l.strong,{children:"session.cookie_secure"})," \u0432 \u0444\u0430\u0439\u043b\u0435 ",(0,a.jsx)(l.code,{children:"/etc/php.ini"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"bash",label:"bash",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-bash",children:"sed -i '/session.cookie_secure =/c session.cookie_secure = On' /etc/php.ini\n"})})})}),"\n",(0,a.jsxs)(l.p,{children:["\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 ",(0,a.jsx)(l.strong,{children:"disableSameSiteCookie"})," \u0432 ",(0,a.jsx)(l.code,{children:"/var/www/app/config/config.ini"})," \u043d\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 ",(0,a.jsx)(l.strong,{children:"Off"}),":"]}),"\n",(0,a.jsx)(i.A,{className:"tabs-container",children:(0,a.jsx)(c.A,{className:"tab-item-container",value:"bash",label:"bash",children:(0,a.jsx)(l.pre,{children:(0,a.jsx)(l.code,{className:"language-bash",children:"sed -i '/disableSameSiteCookie =/c disableSameSiteCookie = Off' /var/www/app/config/config.ini\n"})})})}),"\n",(0,a.jsx)(l.admonition,{type:"info",children:(0,a.jsx)(l.p,{children:"\u041d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0439\u0442\u0435 \u044d\u0442\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438\u043b\u0438 \u0432\u0435\u0440\u043d\u0438\u0442\u0435 \u0438\u0445 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u0435\u0440\u0435\u0434\u0443\u043c\u0430\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c SSL \u0438 \u0431\u0443\u0434\u0435\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 HTTP-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b"})}),"\n",(0,a.jsx)(l.h2,{id:"9-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-\u0444\u043e\u043d\u043e\u0432\u044b\u0445-\u0437\u0430\u0434\u0430\u0447",children:"9. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0444\u043e\u043d\u043e\u0432\u044b\u0445 \u0437\u0430\u0434\u0430\u0447"}),"\n",(0,a.jsxs)(l.p,{children:["\u0424\u043e\u043d\u043e\u0432\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u2014 \u044d\u0442\u043e \u0437\u0430\u0434\u0430\u0447\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043f\u043e \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0443 \u0432 \u0444\u043e\u043d\u043e\u0432\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435. \u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c ",(0,a.jsx)(l.a,{href:"/docs/6.0/administration/background-tasks/cron-setup-for-linux",children:"\u0444\u043e\u043d\u043e\u0432\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438"}),"."]}),"\n",(0,a.jsxs)(l.admonition,{type:"danger",children:[(0,a.jsx)(l.p,{children:"\u0424\u043e\u043d\u043e\u0432\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0447\u0430\u0441\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:"}),(0,a.jsxs)(l.ul,{children:["\n",(0,a.jsx)(l.li,{children:"\u0420\u0430\u0431\u043e\u0442\u044b LDAP;"}),"\n",(0,a.jsx)(l.li,{children:"\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439;"}),"\n",(0,a.jsx)(l.li,{children:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u0430\u0432\u0438\u043a\u043e\u043d\u043e\u0432;"}),"\n",(0,a.jsxs)(l.li,{children:["\u041e\u0447\u0438\u0441\u0442\u043a\u0438 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 ",(0,a.jsx)(l.strong,{children:"session"})," \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430."]}),"\n"]})]}),"\n",(0,a.jsx)(l.h2,{id:"10-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430-\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438",children:"10. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438"}),"\n",(0,a.jsx)(l.admonition,{type:"danger",children:(0,a.jsx)(l.p,{children:"\u041f\u0435\u0440\u0435\u0434 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u043d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0435 \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0443\u044e \u043a\u043e\u043f\u0438\u044e \u0444\u0430\u0439\u043b\u043e\u0432"})}),"\n",(0,a.jsx)(l.p,{children:"\u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u0430\u0436\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u044c\u044e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0437\u0430\u0449\u0438\u0442\u044b \u0446\u0435\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438. \u
1042d\u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u0437\u0430\u0449\u0438\u0442\u0443 \u043e\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0443\u0433\u0440\u043e\u0437."}),"\n",(0,a.jsxs)(l.p,{children:["\u041e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 ",(0,a.jsx)(l.a,{href:"/docs/6.0/administration/security/security-configuration",children:"\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438"})," \u041f\u0430\u0441\u0441\u0432\u043e\u0440\u043a\u0430."]})]})}function p(e={}){const{wrapper:l}={...(0,r.R)(),...e.components};return l?(0,a.jsx)(l,{...e,children:(0,a.jsx)(x,{...e})}):x(e)}},9489:(e,l,s)=>{s.d(l,{A:()=>A});var n=s(6540),a=s(4164),r=s(4245),i=s(6347),c=s(6494),t=s(2814),d=s(5167),o=s(9900);function h(e){return n.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,n.isValidElement)(e)&&function(e){const{props:l}=e;return!!l&&"object"==typeof l&&"value"in l}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function x(e){const{values:l,children:s}=e;return(0,n.useMemo)((()=>{const e=l??function(e){return h(e).map((({props:{value:e,label:l,attributes:s,default:n}})=>({value:e,label:l,attributes:s,default:n})))}(s);return function(e){const l=(0,d.XI)(e,((e,l)=>e.value===l.value));if(l.length>0)throw new Error(`Docusaurus error: Duplicate values "${l.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[l,s])}function p({value:e,tabValues:l}){return l.some((l=>l.value===e))}function u({queryString:e=!1,groupId:l}){const s=(0,i.W6)(),a=function({queryString:e=!1,groupId:l}){if("string"==typeof e)return e;if(!1===e)return null;if(!0===e&&!l)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return l??null}({queryString:e,groupId:l});return[(0,t.aZ)(a),(0,n.useCallback)((e=>{if(!a)return;const l=new URLSearchParams(s.location.search);l.set(a,e),s.replace({...s.location,search:l.toString()})}),[a,s])]}function j(e){const{defaultValue:l,queryString:s=!1,groupId:a}=e,r=x(e),[i,t]=(0,n.useState)((()=>function({defaultValue:e,tabValues:l}){if(0===l.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(e){if(!p({value:e,tabValues:l}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${e}" but none of its children has the corresponding value. Available values are: ${l.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return e}const s=l.find((e=>e.default))??l[0];if(!s)throw new Error("Unexpected error: 0 tabValues");return s.value}({defaultValue:l,tabValues:r}))),[d,h]=u({queryString:s,groupId:a}),[j,m]=function({groupId:e}){const l=function(e){return e?`docusaurus.tab.${e}`:null}(e),[s,a]=(0,o.Dv)(l);return[s,(0,n.useCallback)((e=>{l&&a.set(e)}),[l,a])]}({groupId:a}),g=(()=>{const e=d??j;return p({value:e,tabValues:r})?e:null})();(0,c.A)((()=>{g&&t(g)}),[g]);return{selectedValue:i,selectValue:(0,n.useCallback)((e=>{if(!p({value:e,tabValues:r}))throw new Error(`Can't select invalid tab value=${e}`);t(e),h(e),m(e)}),[h,m,r]),tabValues:r}}var m=s(1062);const g={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var b=s(4848);function v({className:e,block:l,selectedValue:s,selectValue:n,tabValues:i}){const c=[],{blockElementScrollPositionUntilNextRender:t}=(0,r.a_)(),d=e=>{const l=e.currentTarget,a=c.indexOf(l),r=i[a].value;r!==s&&(t(l),n(r))},o=e=>{let l=null;switch(e.key){case"Enter":d(e);break;case"ArrowRight":{const s=c.indexOf(e.currentTarget)+1;l=c[s]??c[0];break}case"ArrowLeft":{const s=c.indexOf(e.currentTarget)-1;l=c[s]??c[c.length-1];break}}l?.focus()};return(0,b.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.A)("tabs",{"tabs--block":l}
1,e),children:i.map((({value:e,label:l,attributes:n})=>(0,b.jsx)("li",{role:"tab",tabIndex:s===e?0:-1,"aria-selected":s===e,ref:e=>{c.push(e)},onKeyDown:o,onClick:d,...n,className:(0,a.A)("tabs__item",g.tabItem,n?.className,{"tabs__item--active":s===e}),children:l??e},e)))})}function N({lazy:e,children:l,selectedValue:s}){const r=(Array.isArray(l)?l:[l]).filter(Boolean);if(e){const e=r.find((e=>e.props.value===s));return e?(0,n.cloneElement)(e,{className:(0,a.A)("margin-top--md",e.props.className)}):null}return(0,b.jsx)("div",{className:"margin-top--md",children:r.map(((e,l)=>(0,n.cloneElement)(e,{key:l,hidden:e.props.value!==s})))})}function f(e){const l=j(e);return(0,b.jsxs)("div",{className:(0,a.A)("tabs-container",g.tabList),children:[(0,b.jsx)(v,{...l,...e}),(0,b.jsx)(N,{...l,...e})]})}function A(e){const l=(0,m.A)();return(0,b.jsx)(f,{...e,children:h(e.children)},String(l))}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.