{"id":908,"date":"2014-09-11T16:40:34","date_gmt":"2014-09-11T12:40:34","guid":{"rendered":"http:\/\/elemc.name\/?page_id=908"},"modified":"2014-09-11T17:45:40","modified_gmt":"2014-09-11T13:45:40","slug":"owncloud-%d0%bd%d0%b0-fedora-linux-nginx-php-fpm-mariadb-selinux","status":"publish","type":"page","link":"https:\/\/elemc.name\/?page_id=908","title":{"rendered":"ownCloud \u043d\u0430 Fedora Linux (nginx + php-fpm + mariadb + selinux)"},"content":{"rendered":"<p>\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0435\u043c <a href=\"https:\/\/owncloud.org\" title=\"\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u0439\u0442 ownCloud\" target=\"_blank\">ownCloud<\/a> \u043d\u0430 Fedora GNU\/Linux \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"http:\/\/nginx.org\/\" title=\"\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u0439\u0442 nginx\" target=\"_blank\">nginx<\/a>, <a href=\"http:\/\/php-fpm.org\/\" target=\"_blank\">php-fpm<\/a>.<br \/>\n\u0410 \u0437\u0430\u043e\u0434\u043d\u043e <strong>\u043e\u043f\u0440\u043e\u0432\u0435\u0440\u0433\u043d\u0435\u043c<\/strong> \u0444\u0440\u0430\u0437\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f <a href=\"http:\/\/doc.owncloud.org\/server\/7.0\/admin_manual\/installation\/installation_linux.html\" target=\"_blank\">\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0435 ownCloud<\/a>:<br \/>\n<em>&#171;Fedora: Make sure SELinux is disabled or else the installation process might fail.&#187;<br \/>\n&#171;Fedora: \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e SELinux \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d, \u0438\u043d\u0430\u0447\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u043e.&#187;<\/me><br \/>\n<!--more--><\/p>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Fedora \u0432 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u043c \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435 &#8212; \u0441\u043c\u043e\u0436\u0435\u0442 \u043a\u0430\u0436\u0434\u044b\u0439.<br \/>\n\u0412 Fedora \u0435\u0441\u0442\u044c \u043f\u0430\u043a\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0430\u043a \u0438 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <strong>owncloud<\/strong>.<br \/>\n\u041d\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u0435\u0436\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0441 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430. \u041f\u0440\u043e\u0441\u0442\u043e \u044f \u0442\u0430\u043a \u0445\u043e\u0447\u0443 \ud83d\ude09<\/p>\n<p><strong>UPDATE!<\/strong> \u0414\u0430\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0438 \u0434\u043b\u044f CentOS\/Scientitic Linux 6.x\/7.x<br \/>\n\u0414\u043b\u044f \u043d\u0438\u0445 \u044f \u0431\u0443\u0434\u0443 \u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0442\u043e, \u0447\u0442\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b:<\/p>\n<ul>\n<li>\u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 nginx<\/li>\n<li>\u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 mariadb (mysql)<\/li>\n<li>\u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u044f\u0437\u044b\u043a PHP \u0438 \u0435\u0433\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438<\/li>\n<\/ul>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h3>\n<p>\u0414\u043b\u044f Fedora \u0438 CentOS\/SL 7.x \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/><\/div><\/td><td><div class=\"text codecolorer\">yum install php php-fpm php-gd php-curl \\<br \/>\nphp-dom php-exif php-gmp php-iconv php-fileinfo \\<br \/>\nphp-iconv php-session php-mysqlnd php-simplexml \\<br \/>\nphp-spl php-zip php-ZendFramework-Pdf \\<br \/>\nphp-ZendFramework-Search-Lucene php-getid3 \\<br \/>\nphp-PHPMailer php-phpass php-Pimple php-irodsphp \\<br \/>\nphp-filter php-pear-Crypt-Blowfish \\<br \/>\nphp-dropbox-php-Dropbox php-pear-Net-Curl \\<br \/>\nphp-pear-XML-Parser php-symfony-routing \\<br \/>\nphp-doctrine-dbal php-sabredav-Sabre_CalDAV \\<br \/>\nphp-sabredav-Sabre_CardDAV php-phpseclib-net-sftp \\<br \/>\nnginx mariadb-server policycoreutils-python<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0414\u043b\u044f CentOS\/SL 6.x \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u043d\u043e\u0439:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/><\/div><\/td><td><div class=\"text codecolorer\">yum install php php-fpm php-gd php-curl \\<br \/>\nphp-dom php-exif php-gmp php-iconv php-fileinfo \\<br \/>\nphp-iconv php-session php-mysql php-simplexml \\<br \/>\nphp-spl php-zip php-ZendFramework-Pdf \\<br \/>\nphp-ZendFramework-Search-Lucene php-getid3 \\<br \/>\nphp-PHPMailer php-phpass php-Pimple php-cloudfiles \\<br \/>\nphp-filter php-pear-Crypt-Blowfish php-ldap \\<br \/>\nphp-dropbox-php-Dropbox php-pear-Net-Curl \\<br \/>\nphp-pear-XML-Parser php-symfony-routing \\<br \/>\nphp-doctrine-dbal php-sabredav-Sabre_CalDAV \\<br \/>\nphp-sabredav-Sabre_CardDAV \\<br \/>\nnginx mysql-server policycoreutils-python<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430<\/h3>\n<p>\u0421\u043f\u0435\u0440\u0432\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u043c\u0441\u044f, \u0447\u0442\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0434\u043b\u044f ownCloud \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 <strong>\/srv\/owncloud<\/strong>.<br \/>\n\u0415\u0441\u043b\u0438 \u0442\u044b \u0445\u043e\u0447\u0435\u0448\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 &#8212; \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0435\u043d\u044f\u0439 \u0443 \u0441\u0435\u0431\u044f \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u0445 \u044d\u0442\u043e\u0442 \u043f\u0443\u0442\u044c.<\/p>\n<h4>MariaDB (MySQL)<\/h4>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445.<br \/>\n\u0414\u043b\u044f Fedora \u0438 EL 7:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">systemctl start mariadb<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0414\u043b\u044f CentOS\/SL 6.x:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">service mariadb start<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0414\u043b\u044f \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">mysql_secure_installation<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u042f, \u043e\u0431\u044b\u0447\u043d\u043e, \u043e\u0442\u0432\u0435\u0447\u0430\u044e \u0442\u0430\u043a:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/><\/div><\/td><td><div class=\"text codecolorer\">Enter current password for root (enter for none): &lt;enter&gt;<br \/>\nSet root password? [Y\/n] y<br \/>\nNew password: \u0432\u0432\u043e\u0436\u0443 \u043f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 \u0440\u0443\u0442\u0430<br \/>\nRe-enter new password: \u0432\u0432\u043e\u0436\u0443 \u043f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 \u0440\u0443\u0442\u0430<br \/>\nRemove anonymous users? [Y\/n] y<br \/>\nDisallow root login remotely? [Y\/n] y<br \/>\nRemove test database and access to it? [Y\/n] y<br \/>\nReload privilege tables now? [Y\/n] y<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f ownCloud.<br \/>\n\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0443 mysql:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">mysql -uroot -p\u0422\u0412\u041e\u0419_\u041f\u0410\u0420\u041e\u041b\u042c_\u0412\u0412\u0415\u0414\u0415\u041d\u041d\u042b\u0419_\u0420\u0410\u041d\u0415\u0415<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u041e\u0442\u043a\u0440\u043e\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0438. \u0412 \u043d\u0435\u043c \u0432\u0432\u043e\u0434\u0438\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/><\/div><\/td><td><div class=\"text codecolorer\">create database owncloud;<br \/>\ncreate user 'owncloud'@'%' identified by 'owncloud';<br \/>\ngrant all privileges on owncloud.* to 'owncloud'@'%';<br \/>\nflush privileges;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<table>\n<tr>\n<td><em>create database owncloud;<\/em><\/td>\n<td>\u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <strong>owncloud<\/strong><\/td>\n<\/tr>\n<tr>\n<td><em>create user &#8216;owncloud&#8217;@&#8217;%&#8217; identified by &#8216;owncloud&#8217;;<\/em><\/td>\n<td>\u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <strong>owncloud<\/strong> \u0438 \u043f\u0430\u0440\u043e\u043b\u0435\u043c <strong>owncloud<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043e\u0442\u043e\u0432\u0441\u044e\u0434\u0443,  <strong>%<\/strong> \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 <strong>localhost<\/strong>, \u0442\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441\u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0434\u0430\u043d\u043d\u043e\u0439 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b<\/td>\n<\/tr>\n<tr>\n<td><em>grant all privileges on owncloud.* to &#8216;owncloud&#8217;@&#8217;%&#8217;<\/em><\/td>\n<td>\u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u0430\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043d\u0430 \u0432\u0441\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 <strong>owncloud<\/strong> (.*) \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f &#8216;owncloud&#8217;@&#8217;%&#8217;<\/td>\n<\/tr>\n<tr>\n<td>flush privileges<\/td>\n<td>\u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u043b\u0435\u0433\u0438\u0438<\/td>\n<\/tr>\n<\/table>\n<p>\u0412\u044b\u0445\u043e\u0434\u0438\u043c \u0438\u0437 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0438 mysql \u0432\u0432\u0435\u0434\u044f <strong>\\q<\/strong> \u0438 \u043d\u0430\u0436\u0430\u0432 <em>Enter<\/em>.<br \/>\n\u041d\u0430 \u044d\u0442\u043e\u043c \u043c\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438 \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<h4>php-fpm<\/h4>\n<p>\u041f\u0430\u043a\u0435\u0442\u044b \u0443 \u043d\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b. \u041d\u0430\u043c \u043b\u0438\u0448\u044c \u043d\u0430\u0434\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c php \u0438 php-fpm \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 nginx \u0438 ownCloud.<\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b <strong>\/etc\/php-fpm.d\/www.conf<\/strong>. \u041d\u0430\u0445\u043e\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/><\/div><\/td><td><div class=\"text codecolorer\">user = apache<br \/>\ngroup = apache<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0418\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u0445 \u0442\u0430\u043a:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/><\/div><\/td><td><div class=\"text codecolorer\">user = nginx<br \/>\ngroup = nginx<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u042d\u0442\u0438\u043c \u043c\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0433\u0440\u0443\u043f\u043f\u0443 \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b php-fpm.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b PHP, \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b <strong>\/etc\/php.ini<\/strong>, \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u043d\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<br \/>\n<em>upload_max_filesize<\/em><br \/>\n<em>post_max_size<\/em><br \/>\n\u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u0445 \u043d\u0430 10G, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<br \/>\n<em>upload_tmp_dir<\/em>,<br \/>\n\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 &#171;\/srv\/owncloud\/data\/tmp&#187; (\u044d\u0442\u043e\u0442 \u043f\u0443\u0442\u044c \u043d\u0430\u043c \u043f\u043e\u0437\u0436\u0435 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0441\u043e\u0437\u0434\u0430\u0442\u044c)<br \/>\n\u043a\u0430\u043a-\u0442\u043e \u0442\u0430\u043a:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/><\/div><\/td><td><div class=\"text codecolorer\">upload_max_filesize = 10G<br \/>\npost_max_size = 10G<br \/>\nupload_tmp_dir = \/srv\/owncloud\/data\/tmp<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u041d\u0430\u0434\u043e \u0442\u0430\u043a\u0436\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043d\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 php-\u0441\u0435\u0441\u0441\u0438\u0439:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">chown -R root:nginx \/var\/lib\/php\/session<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0417\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438 \u0441 PHP.<\/p>\n<h4>nginx<\/h4>\n<p>\u0412\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u0443 \u043d\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d. \u041d\u0430\u0434\u043e \u043b\u0438\u0448\u044c \u0441\u043b\u0435\u0433\u043a\u0430 \u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c.<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b <strong>\/etc\/nginx\/conf.d\/owncloud.conf<\/strong> \u0441 \u0442\u0430\u043a\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;height:400px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/>13<br \/>14<br \/>15<br \/>16<br \/>17<br \/>18<br \/>19<br \/>20<br \/>21<br \/>22<br \/>23<br \/>24<br \/>25<br \/>26<br \/>27<br \/>28<br \/>29<br \/>30<br \/>31<br \/>32<br \/>33<br \/>34<br \/>35<br \/>36<br \/>37<br \/>38<br \/>39<br \/>40<br \/>41<br \/>42<br \/>43<br \/>44<br \/>45<br \/>46<br \/>47<br \/>48<br \/>49<br \/>50<br \/>51<br \/>52<br \/>53<br \/>54<br \/>55<br \/>56<br \/>57<br \/>58<br \/>59<br \/>60<br \/>61<br \/>62<br \/>63<br \/>64<br \/>65<br \/>66<br \/>67<br \/>68<br \/>69<br \/>70<br \/>71<br \/>72<br \/>73<br \/>74<br \/>75<br \/>76<br \/>77<br \/>78<br \/><\/div><\/td><td><div class=\"text codecolorer\">upstream php-handler {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; server 127.0.0.1:9000;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; #server unix:\/var\/run\/php5-fpm.sock;<br \/>\n}<br \/>\n<br \/>\nserver {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; listen 80;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; server_name \u0412\u0421\u0422\u0410\u0412\u042c.\u0422\u0423\u0422.\u041f\u041e\u041b\u041d\u041e\u0415.\u0418\u041c\u042f.\u0414\u041e\u041c\u0415\u041d\u0410;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; return 301 https:\/\/$server_name$request_uri; &nbsp;# enforce https<br \/>\n}<br \/>\n<br \/>\nserver {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; listen 443 ssl;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; server_name \u0412\u0421\u0422\u0410\u0412\u042c.\u0422\u0423\u0422.\u041f\u041e\u041b\u041d\u041e\u0415.\u0418\u041c\u042f.\u0414\u041e\u041c\u0415\u041d\u0410;<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; ssl_certificate \/etc\/ssl\/owncloud\/cloud.crt;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; ssl_certificate_key \/etc\/ssl\/owncloud\/server.key;<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; # Path to the root of your installation<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; root \/srv\/owncloud\/;<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; client_max_body_size 10G; # set max upload size<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; fastcgi_buffers 64 4K;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; fastcgi_read_timeout &nbsp; &nbsp;360s;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; fastcgi_send_timeout &nbsp; &nbsp;360s;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; fastcgi_connect_timeout 60;<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; error_log \/var\/log\/nginx\/owncloud-error.log debug;<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; rewrite ^\/caldav(.*)$ \/remote.php\/caldav$1 redirect;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; rewrite ^\/carddav(.*)$ \/remote.php\/carddav$1 redirect;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; rewrite ^\/webdav(.*)$ \/remote.php\/webdav$1 redirect;<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; index index.php;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; error_page 403 \/core\/templates\/403.php;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; error_page 404 \/core\/templates\/404.php;<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; location = \/robots.txt {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; allow all;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; log_not_found off;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; access_log off;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; }<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; # &nbsp;location ~ ^\/(data|config|\\.ht|db_structure\\.xml|README) {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; location ~ ^\/(?:\\.htaccess|data|config|db_structure\\.xml|README) {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; deny all;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; }<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; location \/ {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# The following 2 rules are only needed with webfinger<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rewrite ^\/.well-known\/host-meta \/public.php?service=host-meta last;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rewrite ^\/.well-known\/host-meta.json \/public.php?service=host-meta-json last;<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rewrite ^\/.well-known\/carddav \/remote.php\/carddav\/ redirect;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rewrite ^\/.well-known\/caldav \/remote.php\/caldav\/ redirect;<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rewrite ^(\/core\/doc\/[^\\\/]+\/)$ $1\/index.html;<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try_files $uri $uri\/ index.php;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; }<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; location ~ \\.php(?:$|\/) {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fastcgi_split_path_info ^(.+\\.php)(\/.+)$;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include fastcgi_params;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fastcgi_param PATH_INFO $fastcgi_path_info;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fastcgi_param HTTPS on;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fastcgi_pass php-handler;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; }<br \/>\n<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; # Optional: set long EXPIRES header on static assets<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; location ~* ^.+\\.(jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; expires 30d;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Optional: Don't log access to assets<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; access_log off;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; }<br \/>\n}<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p><strong>\u0412\u041d\u0418\u041c\u0410\u041d\u0418\u0415!<\/strong> \u0412 \u0441\u0442\u0440\u043e\u043a\u0430\u0445 <strong>8<\/strong> \u0438 <strong>14<\/strong> \u043d\u0430\u0434\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u043c\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u043d\u0430 \u0441\u0432\u043e\u0435.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435, \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0438 <strong>16<\/strong> \u0438 <strong>17<\/strong>, \u0432 \u043d\u0438\u0445 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043a\u043b\u044e\u0447 \u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0434\u043b\u044f SSL \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f. \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0438\u0445!<\/p>\n<p>\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/><\/div><\/td><td><div class=\"text codecolorer\">cd \/etc\/ssl<br \/>\nmkdir owncloud &amp;&amp; cd owncloud<br \/>\nopenssl genrsa -out server.key 2048<br \/>\nopenssl req -new -key server.key -out cloud.csr<br \/>\n&lt;\u043e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b&gt;<br \/>\nopenssl x509 -req -days 365 -in cloud.csr -signkey server.key -out cloud.crt<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u041e\u0431\u044a\u044f\u0441\u043d\u044f\u044e, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u044e\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<br \/>\n1) \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u0433\u0434\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 SSL;<br \/>\n2) \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 <strong>owncloud<\/strong>;<br \/>\n3) \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u043a\u043b\u044e\u0447;<br \/>\n4) \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0441\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u044c;<br \/>\n6) \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u043b\u044e\u0447 \u0438 \u0437\u0430\u043f\u0440\u043e\u0441.<\/p>\n<p>\u0417\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438 \u0441 nginx.<\/p>\n<h4>ownCloud<\/h4>\n<p><a href=\"https:\/\/owncloud.org\/install\/#instructions-server\" target=\"_blank\">\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443<\/a> \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c UNIX tar.bz2 \u0430\u0440\u0445\u0438\u0432.<br \/>\n\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 <strong>\/root<\/strong><br \/>\n\u0420\u0430\u0441\u043f\u0430\u043a\u0443\u0435\u043c \u0432 \u0440\u0430\u043d\u0435\u0435 \u0437\u0430\u0434\u0443\u043c\u0430\u043d\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0434\u043b\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u043a:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/><\/div><\/td><td><div class=\"text codecolorer\">cd \/srv<br \/>\ntar xfv ~\/owncloud-*.tar.bz2<br \/>\nmkdir -p owncloud\/data\/tmp<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0432\u044b\u0434\u0430\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043d\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/srv\/owncloud \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e\u0431\u044b nginx \u0438 php-fpm \u043c\u043e\u0433\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">chown -R nginx:nginx \/srv\/owncloud<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0413\u043e\u0442\u043e\u0432\u043e.<\/p>\n<h4>SELinux<\/h4>\n<p>\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u043c \u0432 SELinux \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b ownCloud.<\/p>\n<p>\u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0442\u044c\u0441\u044f \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445 (\u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u0433\u0434\u0435-\u0442\u043e \u0441\u0435\u043a\u0443\u043d\u0434 20-\u043c\u0438\u043d\u0443\u0442\u0443):<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">setsebool -P httpd_can_network_connect=1 httpd_can_network_connect_db=1<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 SELinux \u0447<strong>\u041e<\/strong>\u0442\u043a\u0438\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u0441 ownCloud:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">semanage fcontext -a -t httpd_sys_rw_content_t '\/srv\/owncloud(\/.*)?'<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0410 \u0437\u0430\u0442\u0435\u043c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043d\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">restorecon -R -v \/srv\/owncloud<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0412\u043e\u0442 \u0438 \u0432\u0441\u0435. \u041f\u0440\u043e\u0441\u0442\u043e, \u043f\u0440\u0430\u0432\u0434\u0430? \ud83d\ude09<\/p>\n<h4>\u041a\u043b\u044e\u0447 \u043d\u0430 \u0441\u0442\u0430\u0440\u0442<\/h4>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0432\u0441\u0435, \u0447\u0442\u043e \u043c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438.<br \/>\nFedora, CentOS\/SL 7.x:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">systemctl start php-fpm nginx<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>CentOS\/SL 6.x:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/><\/div><\/td><td><div class=\"text codecolorer\">service php-fpm start<br \/>\nservice nginx start<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0418 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0432\u0445\u043e\u0434 \u043f\u043e \u0438\u043c\u0435\u043d\u0438, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 \u0432 \u0441\u0442\u0440\u043e\u043a\u0430\u0445 <strong>8<\/strong> \u0438 <strong>14<\/strong> \u0444\u0430\u0439\u043b\u0430 \/etc\/nginx\/conf.d\/owncloud.conf<br \/>\n\u0414\u043e\u043b\u0436\u043d\u044b \u043c\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443:<br \/>\n<a href=\"http:\/\/elemc.name\/wp-content\/uploads\/2014\/09\/owncloud-first-start.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"947\" data-permalink=\"https:\/\/elemc.name\/?attachment_id=947\" data-orig-file=\"https:\/\/elemc.name\/wp-content\/uploads\/2014\/09\/owncloud-first-start.png\" data-orig-size=\"499,587\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"owncloud-first-start\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/elemc.name\/wp-content\/uploads\/2014\/09\/owncloud-first-start.png\" src=\"http:\/\/elemc.name\/wp-content\/uploads\/2014\/09\/owncloud-first-start.png\" alt=\"owncloud-first-start\" width=\"499\" height=\"587\" class=\"aligncenter size-full wp-image-947\" srcset=\"https:\/\/elemc.name\/wp-content\/uploads\/2014\/09\/owncloud-first-start.png 499w, https:\/\/elemc.name\/wp-content\/uploads\/2014\/09\/owncloud-first-start-255x300.png 255w, https:\/\/elemc.name\/wp-content\/uploads\/2014\/09\/owncloud-first-start-191x225.png 191w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a><br \/>\n\u0413\u0434\u0435 \u043d\u0430\u0434\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0435 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0436\u0435\u043b\u0430\u0435\u043c\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c.<br \/>\n\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043d\u0430 \u0441\u0441\u044b\u043b\u043a\u0443 <strong>&#171;\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 &#038; \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445&#187;<\/strong>.<br \/>\n\u042f \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u043a\u0430\u043a \u0435\u0441\u0442\u044c.<br \/>\n\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c <strong>MySQL\/MariaDB<\/strong> \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 &#171;\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445&#187; \u0438 \u0432\u043d\u043e\u0441\u0438\u043c \u043f\u043e \u043f\u0443\u043d\u043a\u0442\u0430\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430\u0448\u0435\u0439 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0441\u0430\u043c\u043e\u0433\u043e \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u0443\u043d\u043a\u0442\u0430. \u0415\u0441\u043b\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u043e\u0441\u044c, \u0442\u043e \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a:<\/p>\n<table>\n<tr>\n<td>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/td>\n<td>owncloud<\/td>\n<\/tr>\n<tr>\n<td>\u041f\u0430\u0440\u043e\u043b\u044c \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/td>\n<td>owncloud<\/td>\n<\/tr>\n<tr>\n<td>\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/td>\n<td>owncloud<\/td>\n<\/tr>\n<tr>\n<td>\u0425\u043e\u0441\u0442 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/td>\n<td>localhost<\/td>\n<\/tr>\n<\/table>\n<p>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 &#171;\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443&#187;.<br \/>\n\u0412\u0441\u0435. \u0414\u0430\u043b\u044c\u0448\u0435, \u044f \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0442\u044b \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u0448\u044c\u0441\u044f \u0441\u0430\u043c \ud83d\ude09<\/p>\n<h4>FireWall<\/h4>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e \u044d\u0442\u043e \u0447\u0443\u0434\u0435\u0441\u043d\u043e\u0435 \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0435\u043d\u0438\u0435. \u0412 Fedora \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u0434\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 firewalld.<br \/>\n\u0412 \u043d\u0435\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u0440\u0442\u044b http \u0438 https. \u0412\u043e\u0442 \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">firewall-cmd --add-service=http --add-server=https<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0414\u043b\u044f CentOS\/SL 6.x \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b http\/https \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u043a\u0435 firewall:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">system-config-firewall<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<h4>\u0424\u0438\u043d\u0430\u043b<\/h4>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438. \u0412\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<br \/>\n\u0417\u0430\u043a\u0440\u0435\u043f\u043b\u044f\u0435\u043c \u0443\u0441\u043f\u0435\u0445, \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0432\u0441\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<br \/>\n\u0414\u043b\u044f Fedora, CentOS\/SL 7.x \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">systemctl enable mariadb nginx php-fpm<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0430 \u0434\u043b\u044f CentOS\/SL 6.x \u0442\u0430\u043a:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/><\/div><\/td><td><div class=\"text codecolorer\">chkconfig mariadb on<br \/>\nchkconfig nginx on<br \/>\nchkconfig php-fpm on<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0410 \u0435\u0449\u0435 \u043e\u0447\u0435\u043d\u044c \u0447\u0430\u0441\u0442\u043e \u043d\u0430\u0434\u043e \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u043c\u044f \u0438\u0437 \u043f\u0443\u043d\u043a\u0442\u043e\u0432 <strong>8<\/strong> \u0438 <strong>14<\/strong> \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 nginx&#8217;\u0430 \u0432 <strong>\/etc\/hosts<\/strong>.<br \/>\n\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0435\u0441\u043b\u0438 \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u043f\u0443\u0441\u043a\u0435 ownCloud \u0440\u0443\u0433\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u043d\u0435\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 WebDAV &#8212; \u0442\u043e \u044d\u0442\u043e \u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u0441\u043b\u0443\u0447\u0430\u0439.<br \/>\n\u0414\u043b\u044f CentOS\/SL 6.x \u043d\u0430\u0434\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u043c\u044f \u0432 \/etc\/hosts.<\/p>\n<h4>\u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u043f\u0440\u043e\u043a\u0441\u0438-nginx<\/h4>\n<p>\u0412\u043e\u0442 \u0432 \u0442\u0430\u043a\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0441\u044f\u043a\u0438\u0445 \u043d\u044e\u0430\u043d\u0441\u043e\u0432. \u042f \u0434\u043e\u043b\u0433\u043e \u0432\u0441\u0435 \u0438\u0445 \u0441\u043e\u0431\u0438\u0440\u0430\u043b \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b.<br \/>\n\u0410 \u0442\u0435\u0431\u0435 \u043e\u043d\u0438 \u0434\u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \ud83d\ude09<br \/>\n\u0412 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 nginx-\u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430\u0434\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0432\u043e\u0442 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/><\/div><\/td><td><div class=\"text codecolorer\">client_max_body_size &nbsp; &nbsp; &nbsp; &nbsp;10G;<br \/>\nproxy_connect_timeout &nbsp; &nbsp; &nbsp; 600;<br \/>\nproxy_send_timeout &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;600;<br \/>\nproxy_read_timeout &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;600;<br \/>\nsend_timeout &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;600;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0418\u043d\u0430\u0447\u0435 \u0432\u0435\u0440\u0445\u043d\u0438\u0439 nginx \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u0438\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0434\u0430\u0432\u0430\u0442\u044c &#171;Gateway Time-out&#187; \u043f\u0440\u0438 \u0438\u0445 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435.<\/p>\n<p>\u041d\u0443 \u0432\u043e\u0442 \u0438 \u0432\u0441\u0435. \u041e\u0448\u0438\u0431\u043a\u0438, \u043e\u0433\u043e\u0432\u043e\u0440\u043a\u0438 \u0438 \u043f\u0440. \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0435\u043c ownCloud \u043d\u0430 Fedora GNU\/Linux \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e nginx, php-fpm. \u0410 \u0437\u0430\u043e\u0434\u043d\u043e \u043e\u043f\u0440\u043e\u0432\u0435\u0440\u0433\u043d\u0435\u043c \u0444\u0440\u0430\u0437\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0435 ownCloud: &#171;Fedora: Make sure SELinux is disabled or else the installation process might fail.&#187; &#171;Fedora: \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e SELinux \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d, \u0438\u043d\u0430\u0447\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u043e.&#187;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":9,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-908","page","type-page","status-publish","hentry"],"jetpack_shortlink":"https:\/\/wp.me\/P1TKY7-eE","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/pages\/908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elemc.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=908"}],"version-history":[{"count":54,"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/pages\/908\/revisions"}],"predecessor-version":[{"id":963,"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/pages\/908\/revisions\/963"}],"up":[{"embeddable":true,"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/pages\/9"}],"wp:attachment":[{"href":"https:\/\/elemc.name\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}