{"id":975,"date":"2021-06-07T22:57:06","date_gmt":"2021-06-07T19:57:06","guid":{"rendered":"https:\/\/pub.tesenmir.net\/?p=975"},"modified":"2021-06-08T00:08:24","modified_gmt":"2021-06-07T21:08:24","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-drupal","status":"publish","type":"post","link":"https:\/\/pub.tesenmir.net\/?p=975","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Drupal"},"content":{"rendered":"\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<br>OS<br>cat \/etc\/os-release<br>NAME=&#187;openSUSE Leap&#187;<br>VERSION=&#187;15.2&#8243;<br>ID=&#187;opensuse-leap&#187;<br>ID_LIKE=&#187;suse opensuse&#187;<br>VERSION_ID=&#187;15.2&#8243;<br>PRETTY_NAME=&#187;openSUSE Leap 15.2&#8243;<br>ANSI_COLOR=&#187;0;32&#8243;<br>CPE_NAME=&#187;cpe:\/o:opensuse:leap:15.2&#8243;<br>BUG_REPORT_URL=&#187;https:\/\/bugs.opensuse.org&#187;<br>HOME_URL=&#187;https:\/\/www.opensuse.org\/&#187;<\/p>\n\n\n\n<p>Web-\u0441\u0435\u0440\u0432\u0435\u0440<br>apache2ctl -v<br>Server version: Apache\/2.4.43 (Linux\/SUSE)<br>Server built: 2021-01-27 09:11:10.000000000 +0000<\/p>\n\n\n\n<p>\u0412\u0430\u0436\u043d\u043e!<br>\u0412 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043d\u0435\u043e\u0431\u0445\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c FQDNS \u0431\u043e\u0437\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u044f localhost. \u041a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b \u0441\u0431\u043e\u0438 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441\u0430\u0439\u0442\u043e\u0432.<\/p>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Drupal \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0442\u0438\u043f\u0430\u0445 Web-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432. \u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0432\u0435\u043d\u0434\u043e\u0440\u0430.<br>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0438\u0437\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0438\u043c\u0435\u043d\u043d\u043e Apache\/2.4.43 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d \u0443\u0436\u0435 \u0431\u044b\u043b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d.<\/p>\n\n\n\n<p>\u041c\u043e\u0434\u0443\u043b\u0438 Web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430<br>apache2ctl -M<br>[Mon Jun 07 17:45:25.123322 2021] [so:warn] [pid 12906] AH01574: module setenvif_module is already loaded, skipping<br>Loaded Modules:<br>core_module (static)<br>so_module (static)<br>http_module (static)<br>mpm_prefork_module (static)<br>unixd_module (static)<br>systemd_module (static)<br>actions_module (shared)<br>alias_module (shared)<br>auth_basic_module (shared)<br>authn_core_module (shared)<br>authn_file_module (shared)<br>authz_host_module (shared)<br>authz_groupfile_module (shared)<br>authz_core_module (shared)<br>authz_user_module (shared)<br>autoindex_module (shared)<br>cgi_module (shared)<br>dir_module (shared)<br>env_module (shared)<br>expires_module (shared)<br>include_module (shared)<br>log_config_module (shared)<br>mime_module (shared)<br>negotiation_module (shared)<br>setenvif_module (shared)<br>ssl_module (shared)<br>socache_shmcb_module (shared)<br>userdir_module (shared)<br>reqtimeout_module (shared)<br>rewrite_module (shared)<br>access_compat_module (shared)<br>php7_module (shared)<\/p>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u041d\u0435 \u0432\u0441\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f Drupal. \u0427\u0430\u0441\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0446\u0435\u043b\u044f\u0445.<\/p>\n\n\n\n<p>\u0421\u0435\u0440\u0432\u0435\u0440 DB<br>mysql -p -v<br>Enter password:<br>Welcome to the MariaDB monitor. Commands end with ; or \\g.<br>Your MariaDB connection id is 279<br>Server version: 10.5.10-MariaDB MariaDB Server<\/p>\n\n\n\n<p>\u0412\u0410\u0416\u041d\u041e!<br>\u0421\u0435\u0440\u0432\u0435\u0440\u0430 DB \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u043d\u0438\u0436\u0435 10.5.10 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0431\u0430\u0433\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439, \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0430\u0440\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 MariaDB \u0438\u0437 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f.<\/p>\n\n\n\n<p>\u0412\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u043f\u0440\u044f\u043c\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 Drupal.<br>\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043f\u043e URL<br>https:\/\/www.drupal.org\/download<br>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c<br>Download Drupal zip<br>\u0414\u043e\u0436\u0438\u0434\u0430\u0435\u043c\u0441\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438.<br>\u041e\u0442\u043c\u0435\u043d\u044f\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443.<br>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u0440\u0430\u0437\u0434\u0435\u043b \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 &#171;\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0438&#187;.<br>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u044f\u043c\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u0430\u0439\u043b\u0430 \u0430\u0440\u0445\u0438\u0432\u0430 Drupal.<\/p>\n\n\n\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043a \u0443\u0437\u043b\u0443, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d Drupal \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 SSH<br>ssh root@172.21.25.2<\/p>\n\n\n\n<p>\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043f\u0430\u043f\u043a\u0443 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442.<\/p>\n\n\n\n<p>mkdir \/1<\/p>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0438\u043c\u044f \u043f\u0430\u043f\u043a\u0438 1 \u0438 \u043e\u043d\u0430 \u0432 \u043a\u043e\u0440\u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n\n\n\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b.<br>zypper install nano mc wget<\/p>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b. \u043e\u0441\u043e\u0431\u043e\u0439 \u043d\u0443\u0436\u0434\u044b \u0432 \u043d\u0438\u0445 \u043d\u0435\u0442, \u043d\u043e \u043e\u043d\u0438 \u043e\u0431\u043b\u0435\u0433\u0447\u0430\u044e\u0442 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.<\/p>\n\n\n\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u0440\u0430\u043d\u0435\u0435 \u043f\u0430\u043f\u043a\u0443 \/1<br>cd \/1<\/p>\n\n\n\n<p>\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0430\u0440\u0445\u0438\u0432 Drupal<\/p>\n\n\n\n<p>wget https:\/\/ftp.drupal.org\/files\/projects\/drupal-9.1.10.zip<\/p>\n\n\n\n<p>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0430\u0440\u0445\u0438\u0432 Drupal \u0438\u0437 \u043f\u0430\u043f\u043a\u0438 \/1 \u0432 \u043f\u0430\u043f\u043a\u0443 \/srw\/www\/<br>cp drupal-9.1.10.zip \/srv\/www\/<\/p>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u043f\u0430\u043f\u043a\u0438 \u0438 \u0444\u0430\u0439\u043b\u044b \u0441\u0430\u0439\u0442\u043e\u0432 Web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043f\u0430\u043f\u043a\u0435<br>\/srv\/www\/<\/p>\n\n\n\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u044d\u0442\u0443 \u043f\u0430\u043f\u043a\u0443<\/p>\n\n\n\n<p>cd \/srv\/www\/<\/p>\n\n\n\n<p>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0443 \u0430\u0440\u0445\u0438\u0432\u043d\u043e\u0433\u043e\u043e \u0444\u0430\u0439\u043b\u0430<\/p>\n\n\n\n<p>unzip drupal-9.1.10.zip<\/p>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u0410\u0440\u0445\u0438\u0432 \u0440\u0430\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0430\u043f\u043a\u0443 drupal-9.1.10 \u0441\u043e\u0434\u0430\u0432\u0430\u0435\u043c\u0443\u044e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0438 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0435 \u0430\u0440\u0445\u0438\u0432\u0430<\/p>\n\n\n\n<p>\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0443\u044e \u0432 \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u0440\u0430\u043f\u0430\u043a\u043e\u0432\u043a\u0438 \u0430\u0440\u0445\u0438\u0432\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430<\/p>\n\n\n\n<p>mv drupal-9.1.10\/ drupal<\/p>\n\n\n\n<p>\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0443\u0436\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b\u0439 \u0430\u0440\u0445\u0438\u0432\u043d\u044b\u0439 \u0444\u0430\u0439\u043b drupal-9.1.10.zip<\/p>\n\n\n\n<p>rm drupal-9.1.10.zip<\/p>\n\n\n\n<p>\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u043e\u0433\u043e \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u043f\u0430\u043f\u043a\u0438 \u0438 \u0444\u0430\u0439\u043b\u043e\u0432. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c web-\u0441\u0435\u0440\u0432\u0438\u0441<br>chown -R wwwrun:www \/srv\/www\/drupal\/<\/p>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u041a\u043b\u044e\u0447 -R \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c. \u042d\u0442\u043e\u0442 \u043a\u043b\u044e\u0447 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u0432\u0441\u0435\u0445 \u043f\u0430\u043f\u043e\u043a \u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0443\u0442\u0440\u0438 \u043f\u0430\u043f\u043a\u0438 \/srv\/www\/drupal\/<\/p>\n\n\n\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f:<\/p>\n\n\n\n<p>1) \u0422\u0430\u043a \u043a\u0430\u043a \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0441\u0430\u0439\u0442 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442 \u043d\u0430 \u0442\u043e\u043c \u0436\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0447\u0442\u043e \u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0430\u0439\u0442, \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0435\u0441\u0442\u044c A-\u0437\u0430\u043f\u0438\u0441\u044c, \u0434\u0435\u043b\u0430\u0435\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e CNAME-\u0437\u0430\u043f\u0438\u0441\u044c, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u043d\u0430 A-\u0437\u0430\u043f\u0438\u0441\u044c.<br>2) \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u0430\u043c \u0441\u0435\u0440\u0432\u0435\u0440, \u0433\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0441\u0430\u0439\u0442 \u043f\u043e\u0434 \u0438\u043c\u0435\u043d\u0435\u043c drupal.corsobi.com \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u043b (\u0440\u0435\u0437\u043e\u043b\u0432\u0438\u043b) \u0438\u043c\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u0444\u0430\u0439\u043b\u0435 etc\/hosts<br>\u0412\u0410\u0416\u041d\u041e!!!<br>\u0417\u0430\u043f\u0438\u0441\u044c \u0434\u043e\u043b\u0436\u043d\u0430 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441\u0432\u043e\u0439.<br>3) \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435<br>AllowOverride None<br>\u043d\u0430<br>AllowOverride All<br>\u0432 \u0444\u0430\u0439\u043b\u0435 \/etc\/apache2\/httpd.conf<br>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b<br>nano \/etc\/apache2\/httpd.conf<br>\u043d\u0430\u0445\u043e\u0434\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 AllowOverride<br>\u041c\u0435\u043d\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 None \u043d\u0430 All<br>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u0415\u0441\u043b\u0438 \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u043d\u0430 \u0431\u0430\u0437\u0435 Drupal \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u043e\u0440\u043d\u0435\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u0430\u0439\u0442\u0430. \u041d\u0430 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0431\u0443\u0434\u0435\u0442 404 \u043e\u0448\u0438\u0431\u043a\u0430.<br>4) \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u0445\u043e\u0441\u0442\u0430 drupal.corsobi.com<\/p>\n\n\n\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0443 \u0433\u0434\u0435 \u043b\u0435\u0436\u0430\u0442 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432.<br>cd \/etc\/apache2\/vhosts.d\/<\/p>\n\n\n\n<p>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u0444\u0430\u0439\u043b \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438.<br>\u041f\u0440\u0438\u043c\u0435\u0440:<br>cp cmdb.corsobi.com.conf drupal.corsobi.com.conf<\/p>\n\n\n\n<p>\u0418\u0437\u043c\u0435\u043d\u044f\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043f\u043e\u0434 \u043d\u043e\u0432\u044b\u0439 web-\u0441\u0435\u0440\u0432\u0435\u0440.<br>nano drupal.corsobi.com.conf &nbsp;<\/p>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430<br>&lt;VirtualHost *&gt;<br>DocumentRoot \/srv\/www\/drupal<br>ServerName drupal.corsobi.com<br>&lt;Directory &#171;\/srv\/www\/drupal&#187;&gt;<br>Options +FollowSymlinks<br>allow from all<br>Options None<br>Require all granted<br>&lt;\/Directory&gt;<br>&lt;\/VirtualHost&gt;<\/p>\n\n\n\n<p>5) \u0414\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e Web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e\u0441\u0440\u0434\u0441\u0442\u0432\u043e\u043c SSL (HTTPS), \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f:<br>\u0412 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0435 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435 cerbot<br>zypper install certbot-systemd-timer python3-certbot<\/p>\n\n\n\n<p>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u0444\u0430\u0439\u043b \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438.<br>\u041f\u0440\u0438\u043c\u0435\u0440:<br>cp cmdb.corsobi.com-ssl.conf drupal.corsobi.com-ssl.conf<\/p>\n\n\n\n<p>\u0418\u0437\u043c\u0435\u043d\u044f\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043f\u043e\u0434 \u043d\u043e\u0432\u044b\u0439 web-\u0441\u0435\u0440\u0432\u0435\u0440.<br>nano drupal.corsobi.com-ssl.conf\u00a0<\/p>\n\n\n<p>&lt;IfDefine SSL&gt; <br \/>&lt;IfDefine !NOSSL&gt;<br \/>## SSL Virtual Host Context<br \/>&lt;VirtualHost drupal.corsobi.com:443&gt;<br \/># General setup for the virtual host<br \/>DocumentRoot &#171;\/srv\/www\/drupal&#187;<br \/>ServerName drupal.corsobi.com:443<br \/>ServerAdmin drupal@corsobi.com<br \/>&lt;IfModule deflate_module&gt;<br \/>AddOutputFilterByType DEFLATE text\/plain<br \/>AddOutputFilterByType DEFLATE text\/html<br \/>AddOutputFilterByType DEFLATE text\/xml<br \/>AddOutputFilterByType DEFLATE text\/css<br \/>AddOutputFilterByType DEFLATE application\/xml<br \/>AddOutputFilterByType DEFLATE application\/xhtml+xml<br \/>AddOutputFilterByType DEFLATE application\/rss+xml<br \/>AddOutputFilterByType DEFLATE application\/javascript<br \/>AddOutputFilterByType DEFLATE application\/x-javascript<br \/>&lt;\/IfModule&gt;<br \/>Options Indexes FollowSymLinks MultiViews<br \/>AllowOverride all<br \/>Order allow,deny<br \/>allow from all<br \/>Options None<br \/>ErrorLog \/var\/log\/apache2\/error_log<br \/>TransferLog \/var\/log\/apache2\/access_log<br \/># SSL Engine Switch:<br \/># Enable\/Disable SSL for this virtual host.<br \/>SSLEngine on<br \/># OCSP Stapling:<br \/># Enable\/Disable OCSP for this virtual host.<br \/>SSLUseStapling on<br \/>SSLProtocol all -SSLv2<br \/>SSLUseStapling on<br \/># You can use per vhost certificates if SNI is supported.<br \/>SSLCertificateFile \/etc\/letsencrypt\/live\/drupal.corsobi.com\/cert.pem<br \/>SSLCertificateChainFile \/etc\/letsencrypt\/live\/drupal.corsobi.com\/fullchain.pem<br \/>SSLCertificateKeyFile \/etc\/letsencrypt\/live\/drupal.corsobi.com\/privkey.pem<br \/>SSLCACertificateFile \/etc\/letsencrypt\/live\/drupal.corsobi.com\/chain.pem<br \/># Per-Server Logging:<br \/># The home of a custom SSL log file. Use this when you want a<br \/># compact non-error SSL logfile on a virtual host basis.<br \/>CustomLog \/var\/log\/apache2\/ssl_request_log ssl_combined<br \/>&lt;\/VirtualHost&gt;<br \/>SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1<br \/>SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA&gt;<br \/>SSLHonorCipherOrder off<br \/>SSLSessionTickets off<br \/>SSLUseStapling On<br \/>SSLStaplingCache &#171;shmcb:logs\/ssl_stapling(32768)&#187;<br \/>&lt;\/IfDefine&gt;<br \/>&lt;\/IfDefine&gt;<br \/>&lt;VirtualHost *:443&gt;<br \/>DocumentRoot \/srv\/www\/drupal<br \/>ServerName drupal.corsobi.com<br \/>&lt;Directory &#171;\/srv\/www\/drupal&#187;&gt;<br \/>allow from all<br \/>Options +FollowSymlinks<br \/>Options None<br \/>Require all granted<br \/>&lt;\/Directory&gt;<br \/>SSLCertificateFile \/etc\/letsencrypt\/live\/drupal.corsobi.com\/cert.pem<br \/>SSLCertificateChainFile \/etc\/letsencrypt\/live\/drupal.corsobi.com\/fullchain.pem<br \/>SSLCertificateKeyFile \/etc\/letsencrypt\/live\/drupal.corsobi.com\/privkey.pem<br \/>SSLCACertificateFile \/etc\/letsencrypt\/live\/drupal.corsobi.com\/chain.pem<br \/>&lt;\/VirtualHost&gt;<\/p>\n\n\n<p><br>6) \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u0439 SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u0430<br>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0438\u0448\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442.<br>\u0414\u0430\u0451\u043c \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u043a \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e.<br>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0438\u043c\u044f cert_drupal.sh<br>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u041b\u0443\u0447\u0448\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u043d\u0435 \u0432 \u043f\u0430\u043f\u043a\u0430\u0445 \u0441\u0430\u0439\u0442\u043e\u0432, \u0430 \u043d\u0430 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0432\u044b\u0448\u0435, \u0432 \u043f\u0430\u043f\u043a\u0435 \/srw\/www<\/p>\n\n\n\n<p>nano \/srv\/www\/cert_drupal.sh<\/p>\n\n\n\n<p>\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430:<\/p>\n\n\n<p>#!\/bin\/bash<br \/>certbot certonly &#8212;webroot -w \/srv\/www\/drupal\/ -d drupalnano \/srv\/www\/cert_drupal.sh .corsobi.com<br \/>systemctl restart apache2.service<\/p>\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 \u0434\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435<\/p>\n\n\n\n<p>chmod ugo+x nano \/srv\/www\/cert_drupal.sh<\/p>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0435\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/p>\n\n\n\n<p>.\/srv\/www\/cert_drupal.sh<\/p>\n\n\n\n<p>\u0412 \u0445\u043e\u0434\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b.<br>\u041f\u043e\u0441\u043b\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u043f\u0430\u043f\u043a\u0430 \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u043f\u043e \u043f\u0443\u0442\u0438<\/p>\n\n\n\n<p>\/etc\/letsencrypt\/live\/drupal.corsobi.com\/<\/p>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u0422\u0430\u043a \u043a\u0430\u043a \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0441\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0440\u0438 \u043c\u0435\u0441\u044f\u0446\u0430. \u041f\u043e \u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u044e \u0441\u0440\u043e\u043a\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0434\u043b\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c crontab, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437 \u0432 \u0442\u0440\u0438 \u043c\u0435\u0441\u044f\u0446\u0430 \u043e\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b \u0441\u043a\u0440\u0438\u043f\u0442 .\/srv\/www\/cert_drupal.sh<\/p>\n\n\n\n<p>\u0412\u0410\u0416\u041d\u041e!<br>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b Web-\u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 https \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043e \u0447\u0442\u043e\u0431\u044b \u0432 \u0444\u0430\u0439\u043b\u0435 \/etc\/apache2\/listen.conf \u0431\u044b\u043b\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435<\/p>\n\n\n\n<p>Listen *:80<br>Listen *:443<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>            Listen 443\n\n    &lt;\/IfModule&gt;\n    &lt;\/IfDefine&gt;<\/code><\/pre>\n\n\n\n<p>7) \u0412\u0410\u0416\u041d\u041e!<br>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c rewrite mode \u0434\u043b\u044f web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430<br>sudo a2enmod rewrite<br>\u0420\u0435\u0441\u0442\u0430\u0440\u0442\u0443\u0435\u043c web-\u0441\u0435\u0440\u0432\u0438\u0441, \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u0438\u043b\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440.<br>systemctl restart apache2<br>8) \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f MariaDB<br>\u0416\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0431\u044b\u043b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043e\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 MariaDB<br>\u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 MariaDB \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0430\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u0443\u0447\u0451\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438.<br>\u0412 \u043a\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f drupal \u0441 \u043f\u0430\u0440\u043e\u043b\u0435\u043c GtjV7sK.Sd<br>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043e\u0441\u043d\u0430\u0441\u0442\u043a\u0443 MariaDB<br>mysql -p<br>CREATE USER &#8216;drupal&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;GtjV7sK.Sd&#8217;;<br>GRANT ALL PRIVILEGES ON <em>.<\/em> TO &#8216;drupal&#8217;@&#8217;localhost&#8217;;<br>SHOW GRANTS FOR &#8216;drupal&#8217;@&#8217;localhost&#8217;;<br>flush privileges;<br>quit<\/p>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f drupal \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e (\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 localhost)<\/p>\n\n\n\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c Drupal<br>\u041f\u0440\u0438\u043c\u0435\u0447\u043d\u0438\u0435:<br>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b hosts \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435, \u043e\u0442\u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Drupal, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0436\u0434\u0430\u0442\u044c \u043f\u043e\u043a\u0430 \u0432\u0441\u0435 dns \u0441\u0435\u0440\u0432\u0435\u0440\u044b \u043e\u0431\u043d\u043e\u0432\u044f\u0442 \u0437\u0430\u043f\u0438\u0441\u0438 dns \u0437\u043e\u043d\u044b.<br>\u041f\u043e\u0442\u043e\u043c \u044d\u0442\u0443 \u0437\u0430\u043f\u0438\u0441\u044c \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043b\u0438\u0431\u043e \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043b\u0438\u0431\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c.<\/p>\n\n\n\n<p>\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043f\u043e URL \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u043d\u0430 Drupal.<br>\u041f\u0440\u043e\u0445\u043e\u0434\u0438\u043c \u043f\u043e \u0448\u0430\u0433\u0430\u043c \u0432\u0435\u0441\u044c wizard.<br>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<br>\u0418\u043c\u0435\u043d\u043d\u043e \u0432 \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0443\u0437\u043b\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 MariaDB \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0435 localhost, \u0430 \u0432 \u044f\u0432\u043d\u043e\u043c \u0432\u0438\u0434\u0435 ip address lookback \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 127.0.0.1<\/p>\n\n\n\n<p>\u041f\u043e \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044e \u0440\u0430\u0431\u043e\u0442\u044b wizard \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0439\u0442\u0438 \u0432 \u043f\u0430\u043d\u0435\u043b\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u0438 \u043d\u0430\u0447\u0430\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u0439\u0442.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:OScat \/etc\/os-releaseNAME=&#187;openSUSE Leap&#187;VERSION=&#187;15.2&#8243;ID=&#187;opensuse-leap&#187;ID_LIKE=&#187;suse opensuse&#187;VERSION_ID=&#187;15.2&#8243;PRETTY_NAME=&#187;openSUSE Leap 15.2&#8243;ANSI_COLOR=&#187;0;32&#8243;CPE_NAME=&#187;cpe:\/o:opensuse:leap:15.2&#8243;BUG_REPORT_URL=&#187;https:\/\/bugs.opensuse.org&#187;HOME_URL=&#187;https:\/\/www.opensuse.org\/&#187; Web-\u0441\u0435\u0440\u0432\u0435\u0440apache2ctl -vServer version: Apache\/2.4.43 (Linux\/SUSE)Server built: 2021-01-27 09:11:10.000000000 +0000 \u0412\u0430\u0436\u043d\u043e!\u0412 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043d\u0435\u043e\u0431\u0445\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c FQDNS \u0431\u043e\u0437\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u044f localhost. \u041a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b \u0441\u0431\u043e\u0438 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 &hellip; <a href=\"https:\/\/pub.tesenmir.net\/?p=975\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[],"class_list":["post-975","post","type-post","status-publish","format-standard","hentry","category--drupal"],"_links":{"self":[{"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/posts\/975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=975"}],"version-history":[{"count":6,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/posts\/975\/revisions"}],"predecessor-version":[{"id":982,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/posts\/975\/revisions\/982"}],"wp:attachment":[{"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}