{"id":104,"date":"2011-10-31T14:12:13","date_gmt":"2011-10-31T11:12:13","guid":{"rendered":"http:\/\/samara-it.ru\/?p=104"},"modified":"2012-02-29T19:34:46","modified_gmt":"2012-02-29T15:34:46","slug":"%d0%a3%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-review-board-%d0%bd%d0%b0-debian","status":"publish","type":"post","link":"https:\/\/www.samara-it.ru\/?p=104","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Review Board \u043d\u0430 Debian"},"content":{"rendered":"<p><a href=\"http:\/\/www.reviewboard.org\/\">Review Board<\/a> \u2013 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0440\u0435\u0446\u0435\u043d\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430 (code review). \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0440\u043e\u0434\u0438\u043b\u0430\u0441\u044c \u043a\u0430\u043a \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 VMWare, \u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0431\u044b\u043b\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u0430 \u0432 open source. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 Debian. \u0418\u0442\u0430\u043a, \u043f\u043e\u0435\u0445\u0430\u043b\u0438:<\/p>\n<p><!--more--><\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c Debian, \u044f \u0441\u0442\u0430\u0432\u0438\u043b \u043c\u0438\u043d. \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u0442.\u0435 \u0432\u044b\u0431\u0440\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e <span style=\"color: #0000ff;\">SSH<\/span> \u0438 <span style=\"color: #0000ff;\">\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b<\/span>.<br \/>\n\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u0442\u043e\u043b\u044c\u043a\u043e MC:<\/p>\n<pre lang=\"bash\" escaped=\"true\">apt-get install mc<\/pre>\n<p><strong>\u0421\u0442\u0430\u0432\u0438\u043c Apache \u0438 \u043c\u043e\u0434\u044b<\/strong><\/p>\n<pre lang=\"bash\" escaped=\"true\">apt-get install apache2\r\napt-get install libapache2-mod-python\r\na2enmod python\r\na2enmod authnz_ldap\r\n\/etc\/init.d\/apache2 restart<\/pre>\n<p>\u0442\u0443\u0442 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0410\u043f\u0430\u0447 \u0432\u0431\u0438\u0432 ip \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c <em><strong>It works!<\/strong><\/em><br \/>\n<strong>\u0421\u0442\u0430\u0432\u0438\u043c MySQL<\/strong><\/p>\n<pre lang=\"bash\" escaped=\"true\">apt-get install mysql-server\r\napt-get install python-mysqldb<\/pre>\n<p>&#8230; \u0438 \u0437\u0430\u0432\u043e\u0434\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/p>\n<pre lang=\"mysql\" escaped=\"true\">mysql -uroot -p\r\nmysql&gt; create database reviewboard;\r\nQuery OK, 1 row affected (0.00 sec)\r\nmysql&gt; create user 'rb'@'localhost' identified by 'rb_password';\r\nQuery OK, 0 rows affected (0.00 sec)\r\nmysql&gt; grant all privileges on reviewboard.* to 'rb'@'localhost' identified by 'your_rb_password';\r\nQuery OK, 0 rows affected (0.00 sec)\r\nmysql&gt; exit\r\nBye<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u0421\u0442\u0430\u0432\u0438\u043c Python Setuptools<\/strong><\/p>\n<pre lang=\"bash\" escaped=\"true\">apt-get install python-setuptools\r\napt-get install python-dev<\/pre>\n<p><strong>\u0421\u0442\u0430\u0432\u0438\u043c memcached<\/strong><\/p>\n<pre lang=\"bash\" escaped=\"true\">apt-get install memcached\r\neasy_install python-memcached<\/pre>\n<p><strong>\u0421\u0442\u0430\u0432\u0438\u043c patch<\/strong><\/p>\n<pre lang=\"bash\" escaped=\"true\">apt-get install patch<\/pre>\n<p><strong>\u0421\u0442\u0430\u0432\u0438\u043c Review Board<\/strong><\/p>\n<pre lang=\"bash\" escaped=\"true\">easy_install ReviewBoard<\/pre>\n<p><strong>\u0421\u0442\u0430\u0432\u0438\u043c Source Control Components<\/strong><\/p>\n<p><strong>CVS<\/strong><br \/>\n\u0414\u043b\u044f \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c<\/p>\n<pre lang=\"bash\" escaped=\"true\">apt-get install cvs<\/pre>\n<p><strong>Git<\/strong><br \/>\n\u0414\u043b\u044f \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c<\/p>\n<pre lang=\"bash\" escaped=\"true\">apt-get install git-core<\/pre>\n<p><strong>Mercurial<\/strong><br \/>\n\u0414\u043b\u044f \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c<\/p>\n<pre lang=\"bash\" escaped=\"true\">easy_install mercurial<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Perforce<\/strong><br \/>\n\u0414\u043b\u044f \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c<\/p>\n<pre lang=\"bash\" escaped=\"true\">easy_install P4PythonInstaller<\/pre>\n<p><strong>Subversion<\/strong><\/p>\n<pre lang=\"bash\" escaped=\"true\">apt-get install subversion python-svn<\/pre>\n<p><strong>\u0421\u0442\u0430\u0432\u0438\u043c Amazon S3 Support<\/strong><br \/>\n\u0414\u043b\u044f \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c<\/p>\n<pre lang=\"bash\" escaped=\"true\">easy_install django-storages<\/pre>\n<p><strong>\u0421\u0442\u0430\u0432\u0438\u043c PyLucene<\/strong><br \/>\n\u0414\u043b\u044f \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c<\/p>\n<pre lang=\"bash\" escaped=\"true\">apt-get install pylucene<\/pre>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0437\u0430\u043d\u043e\u043d\u0447\u0438\u043b\u0430\u0441\u044c, \u0441\u0442\u0430\u0432\u0438\u043c \u0441\u0430\u043c <strong>Review Board Site<\/strong><br \/>\n\u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \/var\/www\/reviews.example.com , \u044f \u0434\u0435\u043b\u0430\u043b \u0432 mc, \u0434\u0430\u043b\u0435\u0435<\/p>\n<pre lang=\"bash\" escaped=\"true\">rb-site install \/var\/www\/reviews.example.com<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b.<br \/>\n\u0414\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u043f\u0430\u043f\u043a\u0438<\/p>\n<pre lang=\"bash\" escaped=\"true\">chown -R www-data \/var\/www\/reviews.example.com\/htdocs\/media\/uploaded\r\nchown -R www-data \/var\/www\/reviews.example.com\/data<\/pre>\n<p><strong>\u041f\u0440\u0430\u0432\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0410\u043f\u0430\u0447\u0430<\/strong><\/p>\n<pre lang=\"bash\" escaped=\"true\">cd \/etc\/apache2\/sites-available\r\ncp \/var\/www\/reviews.example.com\/conf\/apache-wsgi.conf reviews.example.com.conf\r\ncd ..\/sites-enabled\r\nln -s ..\/sites-available\/reviews.example.com.conf<\/pre>\n<p>\u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u044f \u043f\u043e\u0441\u043b\u0435 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0435\u0441\u0442\u0430\u0440\u0442 \u0410\u043f\u0430\u0447\u0430<\/p>\n<pre lang=\"bash\" escaped=\"true\">\/etc\/init.d\/apache2 restart<\/pre>\n<p>\u0412\u0441\u0435, \u043d\u0430\u0431\u0438\u0440\u0430\u0435\u043c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 reviews.example.com (\u043d\u0435 \u0437\u0430\u0431\u044b\u0432 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0439 hosts) \u0438 \u0432\u0443\u0430\u043b\u044f.<br \/>\n\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a <a href=\"http:\/\/www.reviewboard.org\/docs\/manual\/dev\/admin\/installation\/linux\/\">\u0441\u0442\u0430\u0442\u044c\u0438 <\/a> + \u043c\u043e\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Review Board \u2013 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0440\u0435\u0446\u0435\u043d\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430 (code review). \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0440\u043e\u0434\u0438\u043b\u0430\u0441\u044c \u043a\u0430\u043a \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 VMWare, \u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0431\u044b\u043b\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u0430 \u0432 open source. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 Debian. \u0418\u0442\u0430\u043a, \u043f\u043e\u0435\u0445\u0430\u043b\u0438:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-104","post","type-post","status-publish","format-standard","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/posts\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=104"}],"version-history":[{"count":32,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":465,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/posts\/104\/revisions\/465"}],"wp:attachment":[{"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}