{"id":366,"date":"2012-01-05T14:09:00","date_gmt":"2012-01-05T14:09:00","guid":{"rendered":"http:\/\/blog.successionua.com\/?p=366"},"modified":"2012-01-05T14:09:00","modified_gmt":"2012-01-05T14:09:00","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-apache-php-mysql-%d0%bd%d0%b0-centos-5-7","status":"publish","type":"post","link":"https:\/\/geckich.space\/?p=366","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 apache php mysql \u043d\u0430 centos 5.7"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<div>\u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0432\u0441\u0451 \u043f\u0440\u043e\u0441\u0442\u043e, \u043d\u043e \u0435\u0441\u043b\u0438 \u0434\u0430\u0432\u043d\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u043b &#8211; \u0442\u043e \u0442\u0443\u0433\u043e\u0432\u0430\u0442\u043e \u0432\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0430\u043f\u0430\u0447 \u043a\u043e\u043d\u0442\u0430\u0447\u0438\u0442\u044c \u0441 \u043f\u0445\u043f \ud83d\ude42<\/div>\n<div><\/div>\n<p>\u0412 \u043e\u0431\u0449\u0435\u043c, \u0443\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 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<div><span style=\"color: #e69138;\"><b>yum install httpd httpd-devel php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml mysql-server<\/b><\/span><br \/>\u0414\u0430\u043b\u0435\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0430\u043f\u0430\u0447 \u0438 \u043c\u0443\u0441\u043a\u0443\u043b\u044c \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u0445 \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443:<\/div>\n<div><span style=\"color: #e69138;\"><b>\/etc\/init.d\/httpd start<br \/>\/etc\/init.d\/mysqld start<br \/>chkconfig mysqld on<br \/>chkconfig httpd on<\/b><\/span><\/p>\n<p>\u0417\u0430\u0442\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433 \u0430\u043f\u0430\u0447\u0430:<\/p>\n<p><b><span style=\"color: #e69138;\">nano \/etc\/httpd\/conf\/httpd.conf<\/span><\/b><\/p>\n<p>\u041d\u0430\u0445\u043e\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u0447\u043a\u0443, \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c, \u0438 \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0442\u0443\u0434\u0430 \u0441\u0432\u043e\u0451 \u0434\u043e\u043c\u0430\u043d\u043d\u043e\u0435 \u0438\u043c\u044f:<\/p><\/div>\n<div><b><span style=\"color: #e69138;\">#ServerName http:\/\/www.example.com:80<\/span><\/b><\/p>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0430\u043f\u0430\u0447, \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u0432 \u0441\u0438\u043b\u0443:<\/p><\/div>\n<div><\/div>\n<div><b><span style=\"color: #e69138;\">\/etc\/init.d\/httpd reload<\/span><\/b><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b\u0438\u043a \u0432 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0445\u043e\u0441\u0442\u0435:<\/p><\/div>\n<div><b><span style=\"color: #e69138;\">nano \/var\/www\/html\/phpinfo.php<\/span><\/b><\/p>\n<p>\u0412 \u0444\u0430\u0439\u043b\u0438\u043a \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c:<\/p><\/div>\n<div><b><span style=\"color: #e69138;\">&lt;?php phpinfo(); ?&gt;<\/span><\/b><\/p>\n<p>\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c:&nbsp;http:\/\/ip.address\/phpinfo.php<\/p><\/div>\n<div><\/div>\n<div>\u0415\u0441\u043b\u0438 \u0432\u0438\u0434\u0438\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443 \u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043e \u043f\u0445\u043f &#8211; \u0432\u0441\u0451 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c.<\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u0435\u0449\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f root \u0432 mysql:<\/p>\n<p><b><span style=\"color: #e69138;\">\/usr\/bin\/mysqladmin -u root password &#8216;passwd&#8217;<\/span><\/b><\/div>\n<\/div>\n<div>http:\/\/geckich.blogspot.com\/<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0432\u0441\u0451 \u043f\u0440\u043e\u0441\u0442\u043e, \u043d\u043e \u0435\u0441\u043b\u0438 \u0434\u0430\u0432\u043d\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u043b &#8211; \u0442\u043e \u0442\u0443\u0433\u043e\u0432\u0430\u0442\u043e \u0432\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0430\u043f\u0430\u0447 \u043a\u043e\u043d\u0442\u0430\u0447\u0438\u0442\u044c \u0441 \u043f\u0445\u043f \ud83d\ude42 \u0412 \u043e\u0431\u0449\u0435\u043c, \u0443\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 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439: yum install httpd httpd-devel php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml mysql-server\u0414\u0430\u043b\u0435\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0430\u043f\u0430\u0447 \u0438 \u043c\u0443\u0441\u043a\u0443\u043b\u044c \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u0445 \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443: \/etc\/init.d\/httpd start\/etc\/init.d\/mysqld startchkconfig mysqld onchkconfig httpd on &hellip; <a href=\"https:\/\/geckich.space\/?p=366\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 apache php mysql \u043d\u0430 centos 5.7<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-366","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=366"}],"version-history":[{"count":0,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/366\/revisions"}],"wp:attachment":[{"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}