{"id":360840,"date":"2024-05-21T01:01:17","date_gmt":"2024-05-21T01:01:17","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=360840"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-05-21T01:01:17","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=360840","title":{"rendered":"<span>\u041a\u0430\u043a \u044f \u0438\u0437 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0441\u0434\u0435\u043b\u0430\u043b \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u0431\u043e\u0442\u0430 \u0432 \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u0435<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h2>\n<p>\u0412\u0441\u0435 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u0441 \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u0432\u043e\u0435\u0433\u043e \u0431\u043e\u0442\u0430 \u0438 \u0440\u0435\u0448\u0438\u043b \u0435\u0433\u043e \u0432\u044b\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043a\u0440\u0443\u0433\u043b\u043e\u0441\u0443\u0442\u043e\u0447\u043d\u043e, \u043d\u043e \u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0434\u0435\u043d\u044c\u0433\u0438 \u0437\u0430 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u043c\u043d\u0435 \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c. \u0418 \u0442\u043e\u0433\u0434\u0430 \u044f \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u043a\u0430\u043a \u0440\u0430\u0437 \u0432 \u044f\u0449\u0438\u043a\u0430\u0445 \u0437\u0430\u043b\u0435\u0436\u0430\u043b\u0438\u0441\u044c \u0441\u0442\u0430\u0440\u044b\u0435 2 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e  \u0432\u0442\u043e\u0440\u043e\u0439 \u044f \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u043b \u0432 \u043a\u0438\u0440\u043f\u0438\u0447 (\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0448\u0438\u043b). \u041c\u043e\u0439 \u043f\u0443\u0442\u044c \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043b\u0438\u043d\u0443\u043a\u0441\u0430 \u043d\u0430\u0447\u0430\u043b\u0441\u044f \u0441 Termux, \u043d\u043e \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 Android 7+. \u0410 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043d\u0430 Android 5. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0435\u0439\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u044f \u0432\u044b\u0431\u0440\u0430\u043b UserLAnd.<\/p>\n<h2>\u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u0430<\/h2>\n<ul>\n<li>\n<p>\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435: Meizu m3 Note<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c: M681H<\/p>\n<\/li>\n<li>\n<p>\u0410\u0440\u0445\u0438\u0442\u0438\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430: arm64<\/p>\n<\/li>\n<li>\n<p>\u0412\u0435\u0440\u0441\u0438\u044f Android: 5.1<\/p>\n<\/li>\n<li>\n<p>\u0412\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438: Flyme 6.3.0.0G<\/p>\n<\/li>\n<\/ul>\n<h2>\u0427\u0442\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/h2>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043b\u0438\u043d\u0443\u043a\u0441 \u0441 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c (\u044f \u0432\u044b\u0431\u0440\u0430\u043b Webmin). \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u0441 PHP 8.1.<\/p>\n<h2>\u0428\u0430\u0433 1: \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 UserLAnd<\/h2>\n<ol>\n<li>\n<p>\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 <a href=\"https:\/\/userland.tech\/\" rel=\"noopener noreferrer nofollow\">https:\/\/userland.tech\/<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/github.com\/CypherpunkArmory\/UserLAnd\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/CypherpunkArmory\/UserLAnd<\/a>.<\/p>\n<\/li>\n<li>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0438 \u0434\u0430\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0444\u0430\u0439\u043b\u0430\u043c.<\/p>\n<\/li>\n<li>\n<p>\u0412\u044b\u0431\u0435\u0440\u0430\u0435\u043c Linux \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432, \u044f \u0432\u044b\u0431\u0440\u0430\u043b Ubuntu:<\/p>\n<\/li>\n<\/ol>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/9d5\/e12\/1cb\/9d5e121cb2f46fa96e2bc09e31e572b9.jpg\" alt=\"https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html\" title=\"https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html\" width=\"870\" height=\"502\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9d5\/e12\/1cb\/9d5e121cb2f46fa96e2bc09e31e572b9.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html<\/figcaption><\/div>\n<\/figure>\n<ol start=\"4\">\n<li>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u043e\u043b\u044c \u0438 \u0438\u043c\u044f. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0438\u043f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f ssh (\u041c\u043e\u0436\u043d\u043e \u0434\u0440\u0443\u0433\u0438\u0435 \u0442\u0438\u043f\u044b, \u043d\u043e \u043c\u043d\u0435 \u0442\u0430\u043a \u0443\u0434\u043e\u0431\u043d\u0435\u0435). <\/p>\n<\/li>\n<\/ol>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/40d\/11f\/89b\/40d11f89bfe066d114320a817f1bb8bb.jpg\" alt=\"https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html\" title=\"https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html\" width=\"870\" height=\"503\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/40d\/11f\/89b\/40d11f89bfe066d114320a817f1bb8bb.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html<\/figcaption><\/div>\n<\/figure>\n<ol start=\"5\">\n<li>\n<p>\u0416\u0434\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u043e\u043d\u043e \u0441\u0430\u043c\u043e \u043f\u0435\u0440\u0435\u043a\u0438\u043d\u0435\u0442 \u043d\u0430\u0441 \u043a \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0443.<\/p>\n<\/li>\n<\/ol>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/a44\/546\/dc3\/a44546dc3fdb3da9c32173a3ae76e913.jpg\" alt=\"https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html\" title=\"https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html\" width=\"578\" height=\"508\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a44\/546\/dc3\/a44546dc3fdb3da9c32173a3ae76e913.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html<\/figcaption><\/div>\n<\/figure>\n<ol start=\"6\">\n<li>\n<p>\u0412\u0441\u0435, \u043b\u0438\u043d\u0443\u043a\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d, \u043d\u043e \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0435\u0449\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<ol>\n<li>\n<p>\u041e\u0431\u043d\u043e\u0432\u0438\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b:<\/p>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<pre><code class=\"bash\">sudo apt update sudo apt upgrade<\/code><\/pre>\n<p>           2. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c net-tools, \u0447\u0442\u043e\u0431\u044b \u0443 \u043d\u0430\u0441 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 ifconfig.<\/p>\n<pre><code class=\"bash\">sudo apt install net-tools dialog<\/code><\/pre>\n<h2>\u0428\u0430\u0433 2: \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Webmin<\/h2>\n<p>Webmin \u2014 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438 \u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432.  <\/p>\n<pre><code class=\"bash\"># \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0432 \u043d\u0430\u0448\u0443 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0449\u0438\u043a curl -o setup-repos.sh https:\/\/raw.githubusercontent.com\/webmin\/webmin\/master\/setup-repos.sh  # \u0415\u0441\u043b\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430 \u0441 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442 ca-certificates sudo apt-get install -y ca-certificates  # \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 (\u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e) \u0432\u0435\u0437\u0434\u0435 \u0441\u0442\u0430\u0432\u0438\u043c [y] sudo chmod +x .\/setup-repos.sh sudo .\/setup-repos.sh  # \u041f\u043e\u0441\u043b\u0435 \u043a\u043e\u043d\u0446\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c  sudo apt-get install webmin --install-recommends<\/code><\/pre>\n<p>Webmin \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d! \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u0439\u0442\u0438 \u0432 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 http:\/\/ip_\u0432\u0430\u0448\u0435\u0433\u043e_\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430:10000 . \u0414\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0432\u0430\u0448\u0438 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u0422\u0443\u0442 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443. \u042f \u0442\u0430\u043a \u0438 \u0431\u0443\u0434\u0443 \u0434\u0435\u043b\u0430\u0442\u044c.<\/p>\n<h2>\u0428\u0430\u0433 3: \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440<\/h2>\n<p>\u042f \u0432\u044b\u0431\u0440\u0430\u043b Lighttpd, \u0432\u043c\u0435\u0441\u0442\u043e Apache2, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 Apache \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0432\u044b\u0434\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0438. \u0425\u043e\u0442\u044f \u044f \u043d\u0435 \u043e\u0442\u0440\u0438\u0446\u0430\u044e, \u0447\u0442\u043e \u044d\u0442\u043e \u044f \u0442\u0430\u043a \u043f\u043b\u043e\u0445\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b.<\/p>\n<pre><code class=\"bash\"># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442 lighttpd sudo apt install lighttpd -y  # \u041d\u0435 \u043e\u0442\u0445\u043e\u0434\u044f \u043e\u0442 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0434\u043b\u044f PHP 8.1 sudo apt install -y php8.1-cgi php8.1-cli php8.1-fpm php8.1-curl php8.1-gd php8.1-mysql<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0430\u0432\u0442\u043e-\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 php \u0432 lighttpd. <strong>\u0412\u0410\u0416\u041d\u041e: \u0424\u0410\u0419\u041b, \u041a\u041e\u0422\u041e\u0420\u042b\u0419 \u041f\u0420\u0418\u0412\u0415\u0414\u0415\u041d \u041d\u0418\u0416\u0415, \u041c\u041e\u0416\u0415\u0422 \u0412\u042b\u0417\u0412\u0410\u0422\u042c \u0421\u0418\u041d\u0422\u0410\u041a\u0421\u0418\u0427\u0415\u0421\u041a\u0423\u042e \u041e\u0428\u0418\u0411\u041a\u0423. \u0415\u0421\u041b\u0418 \u0422\u0410\u041a\u041e\u0412\u0410\u042f \u0415\u0421\u0422\u042c, \u041d\u0410\u041f\u0418\u0428\u0418\u0422\u0415 \u0412 \u041a\u041e\u041c\u0415\u041d\u0422\u0410\u0420\u0418\u042f\u0425 \u041a \u0421\u0422\u0410\u0422\u042c\u0415<\/strong>. <\/p>\n<p>\u042f \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <strong>lighttpd-configurator.sh<\/strong><\/p>\n<pre><code class=\"bash\">#!\/bin\/bash  # Check for superuser privileges if [ \"$EUID\" -ne 0 ]; then   echo \"Please run this script as root or using sudo.\"   exit 1 fi  # Configure Lighttpd to work with PHP echo 'server.modules += ( \"mod_fastcgi\" )' >> \/etc\/lighttpd\/lighttpd.conf echo 'fastcgi.server = ( \".php\" => (('\/usr\/bin\/php-cgi' => ( \"bin-path\" => \"\/usr\/bin\/php-cgi\", \"socket\" => \"\/var\/run\/lighttpd\/php.socket\" ))))' >> \/etc\/lighttpd\/lighttpd.conf  # Restart Lighttpd sudo service lighttpd restart  # Test PHP echo '&lt;?php phpinfo(); ?>' > \/var\/www\/html\/info.php  # Print a message with the installation summary echo \"Lighttpd and PHP have been installed and configured. You can access the PHP info page at http:\/\/your_server_ip\/info.php.\"<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<pre><code class=\"bash\">sudo chmod +x .\/lighttpd-configurator.sh sudo .\/lighttpd-configurator.sh<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u043e\u0431\u0443\u0435\u0442\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0441\u0430\u0439\u0442\u0443, \u0430 \u043e\u043d \u043d\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u043e\u0440\u0442  \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0435\u0440. (\u0423 \u043c\u0435\u043d\u044f \u0442\u0430\u043a\u043e\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e).<\/p>\n<h2>\u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438<\/h2>\n<p>\u0412\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441\u044b. \u0412\u043e\u0442 \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c:<\/p>\n<pre><code class=\"bash\">sudo apt service \u0438\u043c\u044f_\u0441\u0435\u0440\u0432\u0438\u0441\u0430 &lt;start, stop, restart><\/code><\/pre>\n<h2>\u0422\u0430\u043a, \u0430 \u043a\u0430\u043a \u0436\u0435 \u044f \u0431\u043e\u0442\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b?<\/h2>\n<p>\u0411\u043e\u0442 \u0443 \u043c\u0435\u043d\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 Java. \u0418 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0431\u0440\u0430\u043b JAR \u0444\u0430\u0439\u043b \u043d\u0430 \u041f\u041a, \u0438 \u043f\u043e\u0442\u043e\u043c \u0437\u0430\u043a\u0438\u043d\u0443\u043b \u0447\u0435\u0440\u0435\u0437 \u0444\u0430\u0439\u043b \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440, \u043f\u0440\u0435\u0434\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 Webmin \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440. \u041f\u043e\u0442\u043e\u043c \u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b OpenJDK 19 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438:<\/p>\n<pre><code class=\"bash\">sudo apt install openjdk-19-jdk openjdk-19-jre  # \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0431\u043e\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b java -jar bot.jar<\/code><\/pre>\n<h2>\u041a\u043e\u043d\u0446\u043e\u0432\u043a\u0430<\/h2>\n<p>\u0421\u0440\u0430\u0437\u0443 \u0433\u043e\u0432\u043e\u0440\u044e, \u043d\u0435 \u0441\u0443\u0434\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u0433\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u044d\u0442\u043e \u043c\u043e\u044f \u043f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430 \u0425\u0430\u0431\u0440\u0435. \u0415\u0441\u043b\u0438 \u043f\u043e\u044f\u0432\u044f\u0442\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u0438\u0448\u0438\u0442\u0435 \u0432\u043d\u0438\u0437\u0443 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445. \u042d\u0442\u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0435\u043b\u044c\u0437\u044f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u0438 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440. \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u044d\u0442\u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440 \u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0430 \u043d\u0435 \u043f\u043e\u043b\u043d\u043e\u043c\u0430\u0441\u0448\u0442\u0430\u0431\u043d\u044b\u0445.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/775528\/\"> https:\/\/habr.com\/ru\/articles\/775528\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h2>\n<p>\u0412\u0441\u0435 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u0441 \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u0432\u043e\u0435\u0433\u043e \u0431\u043e\u0442\u0430 \u0438 \u0440\u0435\u0448\u0438\u043b \u0435\u0433\u043e \u0432\u044b\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043a\u0440\u0443\u0433\u043b\u043e\u0441\u0443\u0442\u043e\u0447\u043d\u043e, \u043d\u043e \u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0434\u0435\u043d\u044c\u0433\u0438 \u0437\u0430 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u043c\u043d\u0435 \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c. \u0418 \u0442\u043e\u0433\u0434\u0430 \u044f \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u043a\u0430\u043a \u0440\u0430\u0437 \u0432 \u044f\u0449\u0438\u043a\u0430\u0445 \u0437\u0430\u043b\u0435\u0436\u0430\u043b\u0438\u0441\u044c \u0441\u0442\u0430\u0440\u044b\u0435 2 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e  \u0432\u0442\u043e\u0440\u043e\u0439 \u044f \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u043b \u0432 \u043a\u0438\u0440\u043f\u0438\u0447 (\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0448\u0438\u043b). \u041c\u043e\u0439 \u043f\u0443\u0442\u044c \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043b\u0438\u043d\u0443\u043a\u0441\u0430 \u043d\u0430\u0447\u0430\u043b\u0441\u044f \u0441 Termux, \u043d\u043e \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 Android 7+. \u0410 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043d\u0430 Android 5. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0435\u0439\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u044f \u0432\u044b\u0431\u0440\u0430\u043b UserLAnd.<\/p>\n<h2>\u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u0430<\/h2>\n<ul>\n<li>\n<p>\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435: Meizu m3 Note<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c: M681H<\/p>\n<\/li>\n<li>\n<p>\u0410\u0440\u0445\u0438\u0442\u0438\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430: arm64<\/p>\n<\/li>\n<li>\n<p>\u0412\u0435\u0440\u0441\u0438\u044f Android: 5.1<\/p>\n<\/li>\n<li>\n<p>\u0412\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438: Flyme 6.3.0.0G<\/p>\n<\/li>\n<\/ul>\n<h2>\u0427\u0442\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/h2>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043b\u0438\u043d\u0443\u043a\u0441 \u0441 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c (\u044f \u0432\u044b\u0431\u0440\u0430\u043b Webmin). \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u0441 PHP 8.1.<\/p>\n<h2>\u0428\u0430\u0433 1: \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 UserLAnd<\/h2>\n<ol>\n<li>\n<p>\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 <a href=\"https:\/\/userland.tech\/\" rel=\"noopener noreferrer nofollow\">https:\/\/userland.tech\/<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/github.com\/CypherpunkArmory\/UserLAnd\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/CypherpunkArmory\/UserLAnd<\/a>.<\/p>\n<\/li>\n<li>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0438 \u0434\u0430\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0444\u0430\u0439\u043b\u0430\u043c.<\/p>\n<\/li>\n<li>\n<p>\u0412\u044b\u0431\u0435\u0440\u0430\u0435\u043c Linux \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432, \u044f \u0432\u044b\u0431\u0440\u0430\u043b Ubuntu:<\/p>\n<\/li>\n<\/ol>\n<figure class=\"full-width\">\n<div><figcaption>https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html<\/figcaption><\/div>\n<\/figure>\n<ol start=\"4\">\n<li>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u043e\u043b\u044c \u0438 \u0438\u043c\u044f. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0438\u043f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f ssh (\u041c\u043e\u0436\u043d\u043e \u0434\u0440\u0443\u0433\u0438\u0435 \u0442\u0438\u043f\u044b, \u043d\u043e \u043c\u043d\u0435 \u0442\u0430\u043a \u0443\u0434\u043e\u0431\u043d\u0435\u0435). <\/p>\n<\/li>\n<\/ol>\n<figure class=\"full-width\">\n<div><figcaption>https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html<\/figcaption><\/div>\n<\/figure>\n<ol start=\"5\">\n<li>\n<p>\u0416\u0434\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u043e\u043d\u043e \u0441\u0430\u043c\u043e \u043f\u0435\u0440\u0435\u043a\u0438\u043d\u0435\u0442 \u043d\u0430\u0441 \u043a \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0443.<\/p>\n<\/li>\n<\/ol>\n<figure class=\"full-width\">\n<div><figcaption>https:\/\/www.how2shout.com\/how-to\/how-to-install-ubuntu-linux-on-android-without-root.html<\/figcaption><\/div>\n<\/figure>\n<ol start=\"6\">\n<li>\n<p>\u0412\u0441\u0435, \u043b\u0438\u043d\u0443\u043a\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d, \u043d\u043e \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0435\u0449\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<ol>\n<li>\n<p>\u041e\u0431\u043d\u043e\u0432\u0438\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b:<\/p>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<pre><code class=\"bash\">sudo apt update sudo apt upgrade<\/code><\/pre>\n<p>           2. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c net-tools, \u0447\u0442\u043e\u0431\u044b \u0443 \u043d\u0430\u0441 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 ifconfig.<\/p>\n<pre><code class=\"bash\">sudo apt install net-tools dialog<\/code><\/pre>\n<h2>\u0428\u0430\u0433 2: \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Webmin<\/h2>\n<p>Webmin \u2014 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438 \u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432.  <\/p>\n<pre><code class=\"bash\"># \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0432 \u043d\u0430\u0448\u0443 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0449\u0438\u043a curl -o setup-repos.sh https:\/\/raw.githubusercontent.com\/webmin\/webmin\/master\/setup-repos.sh  # \u0415\u0441\u043b\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430 \u0441 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442 ca-certificates sudo apt-get install -y ca-certificates  # \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 (\u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e) \u0432\u0435\u0437\u0434\u0435 \u0441\u0442\u0430\u0432\u0438\u043c [y] sudo chmod +x .\/setup-repos.sh sudo .\/setup-repos.sh  # \u041f\u043e\u0441\u043b\u0435 \u043a\u043e\u043d\u0446\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c  sudo apt-get install webmin --install-recommends<\/code><\/pre>\n<p>Webmin \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d! \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u0439\u0442\u0438 \u0432 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 http:\/\/ip_\u0432\u0430\u0448\u0435\u0433\u043e_\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430:10000 . \u0414\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0432\u0430\u0448\u0438 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u0422\u0443\u0442 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443. \u042f \u0442\u0430\u043a \u0438 \u0431\u0443\u0434\u0443 \u0434\u0435\u043b\u0430\u0442\u044c.<\/p>\n<h2>\u0428\u0430\u0433 3: \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440<\/h2>\n<p>\u042f \u0432\u044b\u0431\u0440\u0430\u043b Lighttpd, \u0432\u043c\u0435\u0441\u0442\u043e Apache2, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 Apache \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0432\u044b\u0434\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0438. \u0425\u043e\u0442\u044f \u044f \u043d\u0435 \u043e\u0442\u0440\u0438\u0446\u0430\u044e, \u0447\u0442\u043e \u044d\u0442\u043e \u044f \u0442\u0430\u043a \u043f\u043b\u043e\u0445\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b.<\/p>\n<pre><code class=\"bash\"># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442 lighttpd sudo apt install lighttpd -y  # \u041d\u0435 \u043e\u0442\u0445\u043e\u0434\u044f \u043e\u0442 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0434\u043b\u044f PHP 8.1 sudo apt install -y php8.1-cgi php8.1-cli php8.1-fpm php8.1-curl php8.1-gd php8.1-mysql<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0430\u0432\u0442\u043e-\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 php \u0432 lighttpd. <strong>\u0412\u0410\u0416\u041d\u041e: \u0424\u0410\u0419\u041b, \u041a\u041e\u0422\u041e\u0420\u042b\u0419 \u041f\u0420\u0418\u0412\u0415\u0414\u0415\u041d \u041d\u0418\u0416\u0415, \u041c\u041e\u0416\u0415\u0422 \u0412\u042b\u0417\u0412\u0410\u0422\u042c \u0421\u0418\u041d\u0422\u0410\u041a\u0421\u0418\u0427\u0415\u0421\u041a\u0423\u042e \u041e\u0428\u0418\u0411\u041a\u0423. \u0415\u0421\u041b\u0418 \u0422\u0410\u041a\u041e\u0412\u0410\u042f \u0415\u0421\u0422\u042c, \u041d\u0410\u041f\u0418\u0428\u0418\u0422\u0415 \u0412 \u041a\u041e\u041c\u0415\u041d\u0422\u0410\u0420\u0418\u042f\u0425 \u041a \u0421\u0422\u0410\u0422\u042c\u0415<\/strong>. <\/p>\n<p>\u042f \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <strong>lighttpd-configurator.sh<\/strong><\/p>\n<pre><code class=\"bash\">#!\/bin\/bash  # Check for superuser privileges if [ \"$EUID\" -ne 0 ]; then   echo \"Please run this script as root or using sudo.\"   exit 1 fi  # Configure Lighttpd to work with PHP echo 'server.modules += ( \"mod_fastcgi\" )' >> \/etc\/lighttpd\/lighttpd.conf echo 'fastcgi.server = ( \".php\" => (('\/usr\/bin\/php-cgi' => ( \"bin-path\" => \"\/usr\/bin\/php-cgi\", \"socket\" => \"\/var\/run\/lighttpd\/php.socket\" ))))' >> \/etc\/lighttpd\/lighttpd.conf  # Restart Lighttpd sudo service lighttpd restart  # Test PHP echo '&lt;?php phpinfo(); ?>' > \/var\/www\/html\/info.php  # Print a message with the installation summary echo \"Lighttpd and PHP have been installed and configured. You can access the PHP info page at http:\/\/your_server_ip\/info.php.\"<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<pre><code class=\"bash\">sudo chmod +x .\/lighttpd-configurator.sh sudo .\/lighttpd-configurator.sh<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u043e\u0431\u0443\u0435\u0442\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0441\u0430\u0439\u0442\u0443, \u0430 \u043e\u043d \u043d\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u043e\u0440\u0442  \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0435\u0440. (\u0423 \u043c\u0435\u043d\u044f \u0442\u0430\u043a\u043e\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e).<\/p>\n<h2>\u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438<\/h2>\n<p>\u0412\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441\u044b. \u0412\u043e\u0442 \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c:<\/p>\n<pre><code class=\"bash\">sudo apt service \u0438\u043c\u044f_\u0441\u0435\u0440\u0432\u0438\u0441\u0430 &lt;start, stop, restart><\/code><\/pre>\n<h2>\u0422\u0430\u043a, \u0430 \u043a\u0430\u043a \u0436\u0435 \u044f \u0431\u043e\u0442\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b?<\/h2>\n<p>\u0411\u043e\u0442 \u0443 \u043c\u0435\u043d\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 Java. \u0418 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0431\u0440\u0430\u043b JAR \u0444\u0430\u0439\u043b \u043d\u0430 \u041f\u041a, \u0438 \u043f\u043e\u0442\u043e\u043c \u0437\u0430\u043a\u0438\u043d\u0443\u043b \u0447\u0435\u0440\u0435\u0437 \u0444\u0430\u0439\u043b \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440, \u043f\u0440\u0435\u0434\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 Webmin \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440. \u041f\u043e\u0442\u043e\u043c \u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b OpenJDK 19 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438:<\/p>\n<pre><code class=\"bash\">sudo apt install openjdk-19-jdk openjdk-19-jre  # \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0431\u043e\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b java -jar bot.jar<\/code><\/pre>\n<h2>\u041a\u043e\u043d\u0446\u043e\u0432\u043a\u0430<\/h2>\n<p>\u0421\u0440\u0430\u0437\u0443 \u0433\u043e\u0432\u043e\u0440\u044e, \u043d\u0435 \u0441\u0443\u0434\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u0433\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u044d\u0442\u043e \u043c\u043e\u044f \u043f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430 \u0425\u0430\u0431\u0440\u0435. \u0415\u0441\u043b\u0438 \u043f\u043e\u044f\u0432\u044f\u0442\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u0438\u0448\u0438\u0442\u0435 \u0432\u043d\u0438\u0437\u0443 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445. \u042d\u0442\u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0435\u043b\u044c\u0437\u044f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u0438 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440. \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u044d\u0442\u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440 \u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0430 \u043d\u0435 \u043f\u043e\u043b\u043d\u043e\u043c\u0430\u0441\u0448\u0442\u0430\u0431\u043d\u044b\u0445.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/775528\/\"> https:\/\/habr.com\/ru\/articles\/775528\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-360840","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/360840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=360840"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/360840\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=360840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=360840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=360840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}