{"id":2833,"date":"2021-08-06T16:15:11","date_gmt":"2021-08-06T11:45:11","guid":{"rendered":"https:\/\/linux.krd\/?p=2833"},"modified":"2022-06-18T16:22:34","modified_gmt":"2022-06-18T11:52:34","slug":"%d8%a7%d9%85%db%95%d8%b2%d8%b1%d8%a7%d9%86%d8%af%d9%86%db%8cnextcloud%d9%84%db%95%d8%b3%db%95%d8%b1-%d9%88%db%8c%d9%86%d8%af%db%86%d8%b2%d9%a1%d9%a1","status":"publish","type":"post","link":"https:\/\/linux.krd\/?p=2833","title":{"rendered":"\u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06ccNextcloud\u0644\u06d5\u0633\u06d5\u0631 \u0648\u06cc\u0646\u062f\u06c6\u0632\u0661\u0661"},"content":{"rendered":"\r\n<h2 class=\"wp-block-heading\">\u067e\u06ce\u0634\u06d5\u06a9\u06cc<\/h2>\r\n\r\n\r\n\r\n<p>\u0644\u06d5\u0645 \u0628\u0627\u0628\u06d5\u062a\u06d5 \u0641\u06ce\u0631 \u062f\u06d5\u0628\u06cc\u0646 \u06a9\u06d5 \u0686\u06c6\u0646 Nextcloud \u0644\u06d5 \u0633\u06d5\u0631 \u0698\u06ce\u0631 \u0633\u06cc\u0633\u062a\u06d5\u0645\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\u06cc \u0648\u06cc\u0646\u062f\u06c6\u0632 \u0661\u0661 \u062f\u0627\u0645\u06d5\u0632\u0631\u06ce\u0646\u06cc\u0646 \u0648 \u067e\u06d5\u06cc\u06a9\u06d5\u0631\u0633\u0627\u0632\u06cc \u0628\u06c6 \u0626\u06d5\u0646\u062c\u0627\u0645 \u0628\u062f\u06d5\u06cc\u0646.\u0626\u06d5\u0645 \u0633\u06a9\u0631\u06cc\u067e\u062a\u06d5 \u0633\u06cc\u0633\u062a\u06d5\u0645\u06ce\u06a9\u06cc \u0628\u06d5\u0695\u06cc\u0648\u06d5\u0628\u0631\u062f\u0646\u06cc \u067e\u06d5\u0695\u06af\u06d5\u06a9\u0627\u0646\u06d5 \u0648\u06d5\u06a9 \u06af\u0648\u06af\u06b5 \u062f\u0631\u0627\u06cc\u06a4 \u0648 \u062f\u0631\u06c6\u067e \u0628\u06c6\u06a9\u0633 \u0648 \u2026\u0647\u062a\u062f.<\/p>\r\n\r\n\r\n\r\n<p>Nextcloud \u0646\u06d5\u0631\u0645\u06d5\u06a9\u0627\u0644\u0627\u06cc\u06ce\u06a9\u06cc \u0633\u06d5\u0631\u0686\u0627\u0648\u06d5\u06a9\u0631\u0627\u0648\u06d5\u06cc\u06d5 \u06a9\u06d5\u0628\u06d5 php \u0628\u06c6 \u0628\u06d5\u0631\u06ce\u0648\u06d5\u0628\u0631\u062f\u0646\u06cc \u0628\u0646\u06a9\u06d5 \u062f\u0631\u0627\u0648\u06d5\u06a9\u0627\u0646\u06cc MySQL \u0648\u06d5 MariaDB \u0644\u06d5 \u0633\u06d5\u0631 \u0695\u0627\u0698\u06d5\u06a9\u0627\u0646 \u062f\u0631\u0648\u0633\u062a\u06a9\u0631\u0627\u0648\u06d5.\u062a\u06d5\u0648\u0627\u0648 \u0626\u06d5\u0631\u06a9\u06d5\u06a9\u0627\u0646\u06cc \u0628\u0646\u06a9\u06d5\u062f\u0631\u0627\u0648\u06d5 \u0648 \u06af\u0648\u0632\u0627\u0631\u0634\u06d5\u06a9\u0627\u0646\u06cc \u0628\u06d5 \u0686\u0627\u0631\u06d5 \u062f\u06d5\u06a9\u0631\u06ce\u062a.<\/p>\r\n\r\n\r\n\r\n<p>\u0626\u06ce\u0648\u06d5 \u062f\u06d5\u062a\u0648\u0627\u0646\u0646 Nextcloud \u0644\u06d5 \u0633\u06d5\u0631 \u0648\u06cc\u0646\u062f\u06c6\u0632 \u0628\u06d5 \u0634\u06ce\u0648\u0627\u0632\u06cc \u0695\u0627\u0633\u062a\u06d5\u0648 \u062e\u06c6 \u0644\u06d5 \u0695\u0648\u0645\u06ce\u0632\u06cc \u0648\u06cc\u0646\u062f\u06c6\u0632 \u0648 \u06cc\u0627 \u0695\u0627\u0698\u06d5 \u0628\u06d5 \u06cc\u0627\u0631\u0645\u06d5\u062a\u06cc\u0698\u06ce\u0631\u0633\u06cc\u0633\u062a\u06d5\u0645\u06cc \u0648\u06cc\u0646\u062f\u06c6\u0632\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\u06cc \u0648\u0627\u062a\u06d5(Windows Subsystem for Linux :WSL) \u062f\u0627\u0645\u06d5\u0632\u0631\u06ce\u0646\u0646\u061b \u0628\u06ce \u0626\u06d5\u0648\u06d5 \u06a9\u06d5 \u0644\u06d5 \u0645\u0627\u0634\u06cc\u0646\u06cc \u062e\u06d5\u06cc\u0627\u06b5\u06ce \u0633\u0648\u0648\u062f \u0628\u06af\u0631\u0646.<\/p>\r\n\r\n\r\n\r\n<p>\u0644\u06d5 \u0633\u0627\u06b5\u06ce \u0662\u0660\u0661\u0667 \u0645\u0627\u06cc\u06a9\u0631\u06c6\u0633\u06c6\u0641\u062a WSL \u062e\u0633\u062a\u06d5 \u0628\u06d5\u0631\u062f\u06d5\u0633\u062a \u0628\u06d5\u06b5\u0627\u0645 \u060c \u067e\u0627\u0634 \u0645\u0627\u0648\u06d5\u06cc\u06ce\u06a9\u06cc \u06a9\u06d5\u0645 \u0648\u0634\u0627\u0646\u06cc WSL2 \u06a9\u06d5 \u0628\u06d5 \u06af\u06d5\u0634\u06d5\u067e\u06ce\u062f\u06d5\u0631\u0627\u0646 \u0695\u06ce\u06af\u06d5\u06cc \u062f\u06d5\u062f\u0627 \u0644\u06d5 \u0698\u06cc\u0646\u06af\u06d5\u06cc \u06af\u0646\u0648\/\u0644\u06cc\u0646\u0648\u06a9\u0633 \u0633\u0648\u0648\u062f \u0628\u06af\u0631\u0646 \u060c \u0628\u06b5\u0622\u0648\u06cc \u06a9\u0631\u062f\u06d5\u0648\u06d5.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u0698\u06ce\u0631 \u0633\u06cc\u0633\u062a\u06d5\u0645\u06cc \u0628\u06c6 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0644\u06d5 \u0648\u06cc\u0646\u062f\u06c6\u0632 \u0661\u0661<\/h2>\r\n\r\n\r\n\r\n<p>\u0633\u06d5\u0631\u06d5\u062a\u0627\u00a0<strong>Command Prompt<\/strong>\u00a0\u062f\u06d5\u06a9\u06d5\u06cc\u0646\u06d5\u0648\u06d5 \u0626\u06d5\u06b5\u0628\u06d5\u062a \u0628\u06d5 \u0626\u0627\u0633\u062a\u06cc \u0628\u06d5\u0695\u06ce\u0648\u06d5\u0628\u06d5\u0631(administrator)\u061b \u0628\u06c6 \u0626\u06d5\u0645 \u0645\u06d5\u0628\u06d5\u0633\u062a\u06d5 \u0644\u06d5 \u0633\u06d5\u0631\u00a0<strong>Start<\/strong>\u00a0\u06a9\u0631\u062a\u06d5\u06cc\u06ce\u0643 \u062f\u06d5\u06a9\u06cc\u0646 \u0648 \u062f\u06d5\u0646\u0648\u0648\u0633\u06cc\u0646\u00a0<strong>Command Prompt<\/strong>\u00a0. \u0626\u06ce\u0633\u062a\u0627 \u06a9\u0631\u062a\u06d5\u06cc \u0695\u0627\u0633\u062a \u062f\u06d5\u06a9\u06cc\u0646 \u0644\u06d5 \u0633\u06d5\u0631 \u0626\u06d5\u067e\u06cc\u00a0<strong>Command Prompt<\/strong>\u00a0\u0695\u06d5\u0633\u062a\u06d5\u06cc\u00a0<strong>Run as administrator<\/strong>\u00a0\u0647\u06d5\u06b5\u062f\u06d5\u0628\u0698\u06ce\u0631\u06cc\u0646. \u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><\/figure>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2704\" src=\"https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/windows-11-command-prompt-administrator-1.png\" alt=\"\" width=\"812\" height=\"714\" srcset=\"https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/windows-11-command-prompt-administrator-1.png 812w, https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/windows-11-command-prompt-administrator-1-341x300.png 341w, https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/windows-11-command-prompt-administrator-1-768x675.png 768w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><\/p>\r\n\r\n\r\n\r\n<p>\u00a0 \u06a9\u0627\u062a\u06ce\u06a9 \u06a9\u06d5 \u06a9\u0648\u0646\u0633\u0648\u0644 \u06a9\u0631\u0627\u06cc\u06d5\u0648\u06d5\u06cc\u060c \u0641\u06d5\u0631\u0645\u0627\u0646\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5 \u0628\u06c6 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u0698\u06ce\u0631 \u0633\u06cc\u0633\u062a\u06d5\u0645 \u062f\u06d5\u0646\u0648\u0648\u0633\u06cc\u0646<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>wsl --install<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0686\u0627\u0648\u06d5\u0695\u0648\u0627\u0646\u06cc \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc WSL \u062f\u06d5\u0628\u06cc\u0646. \u067e\u0627\u0634 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646 \u0626\u06ce\u0648\u06d5 \u0626\u06d5\u0645 \u067e\u06d5\u06cc\u0627\u0645\u06d5 \u062f\u06d5\u0628\u06cc\u0646\u0646 \u06a9\u06d5 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646 \u0633\u06d5\u0631\u06a9\u06d5\u0648\u062a\u0648\u0648 \u0628\u0648\u0648<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Installing: Virtual Machine Platform\r\nVirtual Machine Platform has been installed.\r\nInstalling: Windows Subsystem for Linux\r\nWindows Subsystem for Linux has been installed.\r\nDownloading: WSL Kernel\r\nInstalling: WSL Kernel\r\nWSL Kernel has been installed.\r\nDownloading: GUI App Support\r\nInstalling: GUI App Support\r\nGUI App Support has been installed.\r\nDownloading: Ubuntu\r\nThe requested operation is successful. Changes will not be effective until the system is rebooted.<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0626\u06ce\u0633\u062a\u0627 \u062f\u06d5\u0628\u06ce \u06a9\u06c6\u0645\u067e\u06cc\u0648\u062a\u0631\u06d5\u06a9\u06d5\u0645\u0627\u0646 \u0646\u0648\u06ce \u0628\u06a9\u06d5\u06cc\u0646\u06d5\u0648\u06d5(Restart)<\/p>\r\n\r\n\r\n\r\n<p>WSL \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0648\u06d5 \u0648 \u0626\u0627\u0645\u0627\u062f\u06d5\u06cc \u0626\u06cc\u0634\u06a9\u0631\u062f\u0646\u06d5 \u0628\u06d5\u06b5\u0622\u0645 \u0626\u06ce\u0648\u06d5 \u062f\u06d5\u0628\u06ce \u0628\u06d5\u0695\u06c6\u0698\u06cc \u0628\u06a9\u06d5\u0646\u06d5\u0648\u06d5 \u0628\u06d5\u0645 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5 \u0633\u0627\u062f\u06d5\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>wsl --update<\/code><\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u062f\u0627\u0628\u06d5\u0634\u06a9\u0631\u0627\u0648\u06d5\u06cc\u06ce\u06a9\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\u06cc \u062a\u0627\u06cc\u0628\u06d5\u062a \u0644\u06d5 \u0633\u06d5\u0631 \u0648\u06cc\u0646\u062f\u06c6\u0632\u06cc \u0661\u0661<\/h2>\r\n\r\n\r\n\r\n<p>\u06a9\u0627\u062a\u06ce\u06a9 \u0628\u06d5 \u0633\u06d5\u0631\u06a9\u06d5\u0648\u062a\u0648\u0648\u06cc\u06cc WSL \u062f\u0627\u0645\u06d5\u0632\u0631\u0627 \u0626\u06ce\u0648\u06d5 \u062f\u06d5\u0628\u06ce \u062f\u0627\u0628\u06d5\u0634\u06a9\u0631\u0627\u0648\u06d5\u06cc\u06ce\u06a9\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0647\u06d5\u06b5\u0628\u0698\u06ce\u0631\u0646. \u0628\u06c6 \u0626\u06d5\u0645\u06d5\u0634 \u06a9\u06d5 \u0628\u0632\u0627\u0646\u0646 \u0686\u06d5\u0646\u062f\u06d5 \u062f\u0627\u0628\u06d5\u0634\u06a9\u0631\u0627\u0648\u06d5 \u0626\u0627\u0645\u0627\u062f\u06d5\u06cc\u06d5 \u0628\u06c6 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646 \u0648 \u067e\u06ce\u0631\u0633\u062a\u06d5\u06a9\u06d5\u06cc\u0627\u0646 \u0628\u0628\u06cc\u0646\u0646 \u0626\u06d5\u0645 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5 \u0633\u0627\u062f\u06d5\u06cc\u06d5 \u0628\u0646\u0648\u0648\u0633\u0646:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>wsl --list --online<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u062f\u06d5\u0631\u0626\u06d5\u0646\u062c\u0627\u0645\u06cc \u0626\u06d5\u0645 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5 \u0626\u06d5\u0648\u06d5\u06cc\u06d5 \u06a9\u06d5\u060c \u0626\u06ce\u0648\u06d5 \u067e\u06ce\u0631\u0633\u062a\u06ce\u06a9 \u0644\u06d5 \u062f\u0627\u0628\u06d5\u0634\u06a9\u0631\u0627\u0648\u06d5\u06a9\u0627\u0646\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u06c6 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646 \u062f\u06d5\u0628\u06cc\u0646\u0646:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>NAME            FRIENDLY NAME\r\nUbuntu          Ubuntu\r\nDebian          Debian GNU\/Linux\r\nkali-linux      Kali Linux Rolling\r\nopenSUSE-42     openSUSE Leap 42\r\nSLES-12         SUSE Linux Enterprise Server v12\r\nUbuntu-16.04    Ubuntu 16.04 LTS\r\nUbuntu-18.04    Ubuntu 18.04 LTS\r\nUbuntu-20.04    Ubuntu 20.04 LTS<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0628\u06c6 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u062f\u0627\u0628\u06d5\u0634\u06a9\u0631\u0627\u0648\u06d5\u06cc\u06ce\u06a9\u06cc \u0644\u06cc\u0646\u06d5\u06a9\u0633 \u0644\u06d5 \u067e\u06ce\u0631\u0633\u062a\u06d5\u06a9\u06d5\u06cc \u0633\u06d5\u0631\u06d5\u0648\u06d5 \u0628\u06d5 \u0633\u0627\u062f\u06d5\u06cc\u06cc \u0626\u06ce\u0645\u06d5 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06a9\u06d5\u06cc \u062e\u0648\u0627\u0631\u0631\u06d5\u0648\u06d5 \u062f\u06d5\u0646\u0648\u0648\u0633\u06cc\u0646. \u0628\u06c6 \u0646\u0645\u0648\u0646\u06d5 \u0628\u06c6 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc\u00a0<strong>Ubuntu 20.04<\/strong>\u00a0\u0626\u06d5\u0645 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5 \u0628\u06d5\u06a9\u0627\u0631 \u062f\u06d5\u0628\u06d5\u06cc\u0646 :<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>wsl --install -d ubuntu-20.04<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u067e\u0627\u0634 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646 \u0626\u06ce\u0648\u06d5\u060c \u0626\u06d5\u0645 \u067e\u06d5\u06cc\u0627\u0645\u06d5 \u062f\u06d5\u0628\u06cc\u0646\u0646:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Downloading: Ubuntu 20.04 LTS\r\nInstalling: Ubuntu 20.04 LTS\r\nUbuntu 20.04 LTS has been installed.\r\nLaunching Ubuntu 20.04 LTS...<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u067e\u0627\u0634 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u060c \u0626\u06ce\u0648\u06d5 \u062f\u06d5\u062a\u0648\u0627\u0646\u0646 \u06a9\u0646\u0633\u0648\u0644\u06cc \u0641\u06d5\u0631\u0645\u0627\u0646\u06cc \u0626\u0648\u0628\u0648\u0646\u062a\u0648 \u0628\u0628\u06cc\u0646\u0646 \u0628\u06d5 \u0648\u06d5\u0631\u062f\u06d5 \u0632\u0627\u0646\u06cc\u0627\u0631\u06cc\u06cc\u06d5\u06a9\u0627\u0646<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Installing, this may take a few minutes...\r\nPlease create a default UNIX user account. The username does not need to match your Windows username.\r\nFor more information visit: https:\/\/aka.ms\/wslusers\r\nEnter new UNIX username: Richard\r\nNew password:\r\nRetype new password:\r\npasswd: password updated successfully\r\nInstallation successful!\r\nTo run a command as administrator (user \"root\"), use \"sudo &lt;command&gt;\".\r\nSee \"man sudo_root\" for details.\r\n\r\nWelcome to Ubuntu 20.04 LTS (GNU\/Linux 4.4.0-22000-Microsoft x86_64)<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u06a9\u06d5\u0645\u06ce \u06a9\u06ce\u0634\u06d5 \u0644\u06d5 \u06a9\u0627\u062a\u06cc \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646 \u062f\u06ce\u0646\u06d5 \u067e\u06ce\u0633 \u0628\u06d5\u06b5\u0627\u0645 \u0686\u0627\u0631\u06d5 \u062f\u06d5\u06a9\u0631\u06ce\u0646<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>wsl --set-default-version 1\r\nbcdedit \/set hypervisorlaunchtype auto start<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0626\u0648\u0628\u0648\u0646\u062a\u0648 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627 \u0628\u06d5\u06b5\u0627\u0645\u060c \u0626\u06cc\u0645\u06d5 \u0628\u06c6 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u0695\u0698\u06d5\u06a9\u0627\u0631\u06cc LAMP \u0628\u06c6 \u0648\u06c6\u0631\u062f\u067e\u0631\u06ce\u0633 \u0633\u06d5\u0631\u06d5\u062a\u0627 \u062f\u06d5\u0628\u06ce \u0695\u0627\u0698\u06d5\u06a9\u0627\u0631\u06cc \u0626\u0627\u067e\u0627\u0686\u06cc(Apache HTTP Server.) \u062f\u0627\u0645\u06d5\u0632\u0631\u06ce\u0646\u06cc\u0646.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u0695\u0627\u0698\u06d5\u06a9\u0627\u0631\u06cc Apache HTTP<\/h2>\r\n\r\n\r\n\r\n<p>\u0626\u0627\u067e\u0627\u0686\u06cc \u0628\u06d5\u0631\u0686\u0627\u0648\u06a9\u0631\u0627\u0648\u062a\u0631\u06cc\u0646 \u0695\u0627\u0698\u06d5\u06a9\u0627\u0631\u06cc \u0648\u06cc\u0628\u06cc \u0633\u06d5\u0631\u0686\u0627\u0648\u06d5\u06a9\u0631\u0627\u0648\u06d5\u06cc\u06d5 \u06a9\u06d5 \u0632\u06c6\u0631\u06cc\u0646\u06d5\u06cc \u0645\u0627\u06b5\u067e\u06d5\u0631\u06d5\u06a9\u0627\u0646 \u0645\u06cc\u0648\u0627\u0646\u06cc \u062f\u06d5\u06a9\u0627.<\/p>\r\n\r\n\r\n\r\n<p>\u0628\u06c6 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u0626\u0627\u067e\u0627\u0686\u06cc \u0644\u06d5 \u0633\u06d5\u0631 \u0626\u0648\u0628\u0648\u0646\u062a\u0648 \u062f\u06d5\u0628\u06ce \u0626\u06d5\u0645 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5 \u0628\u0646\u0648\u0648\u0633\u0646:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo apt update\r\nsudo apt install apache2<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u067e\u0627\u0633 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u0626\u0627\u067e\u0627\u0686\u06cc \u0662(Apache2) \u0628\u06d5 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06a9\u0627\u0646\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5 \u062f\u06d5\u062a\u0648\u0627\u0646\u0646 \u0626\u0627\u067e\u0627\u0686\u06cc \u0695\u0627\u0648\u06ce\u0633\u062a\u06ce\u0646\u06cc\u0646(stop)\u060c \u062f\u0627\u06cc\u0628\u06af\u0631\u0633\u06ce\u0646\u06cc\u0646(start) \u0648 \u062a\u0648\u0627\u0646\u0627\u06cc\u0628\u06a9\u06d5\u0646\u06d5\u0648\u06d5 \u06cc\u0627 \u0686\u0627\u0644\u0627\u06a9\u06cc \u0628\u06a9\u06d5\u0646(enable):<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo service apache2 stop\r\nsudo service apache2 start\r\nsudo service apache2 restart<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0626\u06ce\u0633\u062a\u0627 \u0628\u06c6 \u0695\u0627\u0633\u062a\u06cc \u0633\u06d5\u0644\u0645\u0627\u0646\u062f\u0646\u06cc \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u0626\u0627\u067e\u0627\u0686\u06cc \u0648 \u0686\u0648\u0627\u0631\u0686\u06ce\u0648\u06d5\u06a9\u0627\u0646\u06cc. \u0648\u06ce\u0628\u06af\u06d5\u0695\u06d5\u06a9\u06d5\u062a\u0627\u0646 \u0628\u06a9\u06d5\u0646\u06d5\u0648\u06d5 \u0626\u06cc\u0646\u062c\u0627 \u0646\u0627\u0648\u06cc \u0695\u0627\u0698\u06d5\u06a9\u0627\u06b5\u06ce \u062e\u06c6\u0645\u0627\u06b5\u06cc(hostname) \u0626\u0627\u0646 \u0626\u0627\u06cc-\u067e\u06cc \u0640\u06cc\u06d5\u06a9\u06d5\u06cc \u0628\u0646\u0648\u0648\u0633\u0646<\/p>\r\n\r\n\r\n\r\n<p>http:\/\/localhost \u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><\/figure>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2810\" src=\"https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/lamp-windows-wsl-ubuntu-1024x676-1-1.png\" alt=\"\" width=\"1024\" height=\"676\" srcset=\"https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/lamp-windows-wsl-ubuntu-1024x676-1-1.png 1024w, https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/lamp-windows-wsl-ubuntu-1024x676-1-1-454x300.png 454w, https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/lamp-windows-wsl-ubuntu-1024x676-1-1-768x507.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u00a0<\/h2>\r\n<h2>\u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u0628\u0646\u06a9\u06d5\u06cc \u0695\u0627\u0698\u06d5\u06cc MariaDB<\/h2>\r\n\r\n\r\n\r\n<p>MariaDB \u0695\u0627\u0698\u06d5\u06a9\u0627\u0631\u06cc\u06a9\u06cc \u0628\u0646\u06a9\u06d5 \u062f\u0631\u0627\u0648\u06d5\u06cc \u0632\u06c6\u0631 \u062e\u06ce\u0631\u0627\u06cc\u06d5 \u06a9\u06d5 \u0628\u06d5 \u0634\u06ce\u0648\u0627\u0632\u06cc \u0633\u06d5\u0631\u0686\u0627\u0648\u06d5\u06a9\u0631\u0627\u0648\u06d5 \u0648\u0634\u06cc\u0646\u062f\u0631\u0627\u0648\u06d5\u067e\u0627\u0631\u0627\u0633\u062a\u0646 \u0648 \u0695\u0627\u0698\u06d5\u06cc \u0633\u06d5\u0631\u06d5\u06a9\u06cc \u0628\u0646\u06a9\u06d5 \u062f\u0631\u0627\u0648\u06d5 \u0644\u06d5 \u0632\u06c6\u0631\u0628\u06d5\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\u06d5\u06a9\u0627\u0646\u06cc \u0628\u0648\u0648\u0646\u06cc \u0647\u06d5\u06cc\u06d5.<\/p>\r\n\r\n\r\n\r\n<p>\u0628\u06c6 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc MariaDB \u0644\u06d5\u0645 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5 \u0633\u0648\u0648\u062f \u062f\u06d5\u06af\u0631\u06cc\u0646:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo apt-get install mariadb-server mariadb-client<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u067e\u0627\u0634 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc MariaDB\u060c \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06a9\u0627\u0646\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5 \u0628\u06c6 \u0633\u0648\u0648\u062f \u0648\u06d5\u0631\u06af\u0631\u062a\u0646 \u0644\u06d5 \u0695\u0627\u0648\u06ce\u0633\u062a\u06ce\u0646\u06cc\u0646(stop)\u060c \u062f\u0627\u06cc\u0628\u06af\u0631\u0633\u06ce\u0646\u06cc\u0646(start) \u0648 \u062a\u0648\u0627\u0646\u0627\u06cc\u0628\u06a9\u06d5\u0646\u06d5\u0648\u06d5 \u06cc\u0627 \u0686\u0627\u0644\u0627\u06a9\u06cc \u0628\u06a9\u06d5\u0646(enable) \u0626\u06d5\u0645 \u0695\u0627\u0698\u06d5 \u0628\u06d5\u06a9\u06d5\u06b5\u06a9\u06d5\u0646:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo service mysql stop\r\nsudo service mysql start\r\nsudo service mysql restart<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06a9\u06d5\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5\u0634 \u0628\u06c6 \u067e\u0627\u0631\u0627\u0633\u062a\u0646\u06cc \u0695\u0627\u0698\u06d5\u06cc \u0628\u0646\u06a9\u06d5\u062f\u0631\u0627\u0648\u06d5\u06cc\u06d5 \u0628\u06d5 \u062a\u06ce\u067e\u06d5\u0695 \u0648\u0634\u06d5\u06cc \u0695\u0648\u0648\u062a:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo mysql_secure_installation<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u067e\u0627\u0634 \u0626\u06d5\u0646\u062c\u0627\u0645\u062f\u0627\u0646\u06cc \u06a9\u0627\u0631\u06d5\u06a9\u06d5\u06cc \u0633\u06d5\u0631\u06d5\u0648\u06d5 \u0628\u06d5\u0645 \u067e\u0631\u0633\u06cc\u0627\u0631\u0627\u0646\u06d5 \u0648\u06b5\u0627\u0645 \u0628\u062f\u06d5\u0646\u06d5\u0648\u06d5:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Enter current password for root (enter for none): Just press the Enter\r\nSet root password? [Y\/n]: Y\r\nNew password: Enter password\r\nRe-enter new password: Repeat password\r\nRemove anonymous users? [Y\/n]: Y\r\nDisallow root login remotely? [Y\/n]: Y\r\nRemove test database and access to it? [Y\/n]:  Y\r\nReload privilege tables now? [Y\/n]:  Y<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u067e\u0627\u0634 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646 \u0648 \u067e\u06d5\u06cc\u06a9\u06d5\u0631\u0633\u0627\u0632\u06cc \u0628\u0646\u06a9\u06d5\u062f\u0631\u0627\u0648\u06d5\u06cc\u060c \u0628\u0686\u0646\u06d5\u0698\u0648\u0648\u0631\u06d5\u0648\u06d5 \u0628\u06d5\u06cc\u0627\u0631\u0645\u06d5\u062a\u06cc \u0626\u06d5\u0645\u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06cc \u06a9\u0646\u0633\u0648\u0644:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo mysql -u root -p<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u062f\u06d5\u0633\u062a\u0628\u06d5\u062c\u06ce \u062a\u06ce\u067e\u06d5\u0695\u0648\u0634\u06d5\u06cc \u0695\u0648\u0648\u062a \u0628\u0646\u0648\u0648\u0633\u0646<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>Welcome to the MariaDB monitor.  Commands end with ; or \\g.\r\nYour MariaDB connection id is 46\r\nServer version: 10.3.29-MariaDB-0ubuntu0.20.04.1 Ubuntu 20.04\r\nCopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.\r\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\r\nMariaDB [(none)]&gt;<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u06af\u06d5\u0631 \u067e\u06d5\u06cc\u0627\u0645\u06d5\u06a9\u0627\u0646\u06cc \u0633\u06d5\u0631\u06d5\u0648\u06d5 \u0628\u0628\u06cc\u0646\u0646 \u0626\u06d5\u0648\u06d5 \u0628\u06d5\u0633\u06d5\u0631\u06a9\u06d5\u0648\u062a\u0648\u0648\u06cc \u0686\u0648\u0648\u0646\u06d5\u062a\u06d5 \u0646\u06ce\u0648 \u0628\u0646\u06a9\u06d5\u062f\u0631\u0627\u0648\u06d5\u06a9\u06d5\u06cc MariaDB<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc PHP \u0648 \u0645\u0627\u0698\u0648\u06b5\u06d5\u06a9\u0627\u0646\u06cc<\/h2>\r\n\r\n\r\n\r\n<p>php \u0632\u0645\u0627\u0646\u06ce\u06a9\u06cc \u0633\u06a9\u0631\u06cc\u067e\u062a\u06cc\u06cc \u06af\u0634\u062a\u06cc\u06cc\u06d5 \u06a9\u06d5 \u0644\u06d5 \u0633\u06d5\u0631 LAMP \u0648\u06d5 LEMP \u0686\u0627\u0644\u0627\u06a9 \u062f\u06d5\u0628\u06ce\u062a .\u0628\u06c6 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u0645\u0627\u0698\u06c6\u06b5 \u06cc\u0627 \u0645\u0627\u062f\u06c6\u06b5\u06d5 \u067e\u06ce\u0634\u0646\u06cc\u0627\u0631 \u06a9\u0631\u0627\u0648\u06d5\u06a9\u0627\u0646\u06cc\u060c\u0627 \u0644\u06d5 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06a9\u0627\u0646\u06cc \u062e\u0648\u0627\u0631\u0631\u06d5\u0648\u06d5 \u0633\u0648\u0648\u062f \u062f\u06d5\u06af\u0631\u06cc\u0646:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo apt install php libapache2-mod-php php-common php-mysql php-gmp php-curl php-intl php7.4-mbstring php-xmlrpc php-gd php-xml php-cli php-zip<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u067e\u0627\u0634 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc php \u0648 \u0645\u0627\u0698\u06c6\u06b5\u06d5\u06a9\u0627\u0646\u06cc \u0626\u06ce\u0648\u06d5 \u062f\u06d5\u062a\u0648\u0627\u0646\u0646 \u0628\u06d5 \u0641\u06d5\u0631\u0645\u0627\u0646\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5 \u0632\u0627\u0646\u06cc\u0627\u0631\u06cc \u062a\u0627\u06cc\u0628\u06d5\u062a \u0644\u06d5 PHP \u0628\u06d5\u062f\u06d5\u0633\u062a \u0628\u06ce\u0646\u0646<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>php -v<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u06a9\u06d5 \u0626\u0627\u06a9\u0627\u0645\u06cc \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06a9\u06d5\u06cc \u0633\u06d5\u0631\u06d5\u0648\u06d5 \u0628\u06d5\u0645 \u062c\u06c6\u0631\u06d5\u06cc\u06d5:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>PHP 7.4.3 (cli) (built: Oct  6 2020 15:47:56) ( NTS )\r\nCopyright (c) The PHP Group\r\nZend Engine v3.4.0, Copyright (c) Zend Technologies\r\nwith Zend OPcache v7.4.3, Copyright (c), by Zend Technologies<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0647\u06d5\u0631\u0648\u06d5\u0647\u0627 \u0628\u06c6 \u062a\u0627\u0642\u06cc\u06a9\u0631\u062f\u0646\u06d5\u0648\u06d5\u06cc php \u062f\u06d5\u062a\u0648\u0627\u0646\u0646 \u067e\u06d5\u0695\u06af\u06d5\u06cc\u06ce\u06a9 \u0628\u06d5 \u0646\u0627\u0645\u06d5\u06cc phpinfo.php \u062f\u0631\u0648\u0633\u062a \u0628\u06a9\u06d5\u0646 \u0628\u06cc\u062e\u06d5\u0646\u06d5 \u0634\u0648\u06ce\u0646\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo nano \/var\/www\/html\/phpinfo.php<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0626\u06cc\u0646\u062c\u0627 \u06a9\u06c6\u062f\u06d5\u06a9\u06d5\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5\u06cc \u062a\u06ce\u062f\u0627 \u0628\u0646\u0648\u0648\u0633\u0646 \u0648 \u067e\u0627\u0633\u06a9\u06d5\u0648\u062a\u06cc \u0628\u06a9\u06d5\u0646<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>&lt;?php phpinfo( ); ?&gt;<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0648\u06ce\u0628\u06af\u06d5\u0695\u06d5\u06a9\u06d5\u062a\u0627\u0646 \u0628\u06a9\u06d5\u0646\u06d5\u0648\u06d5 \u0626\u06cc\u0646\u062c\u0627 \u067e\u06d5\u0695\u06af\u06d5\u06a9\u06d5(<strong>phpinfo.php<\/strong>) \u06a9\u06d5 \u067e\u0627\u0634\u06a9\u06d5\u0648\u062a\u0627\u0646 \u06a9\u0631\u062f\u0648\u0648\u06d5 \u0628\u0627\u0646\u06af\u06cc \u0628\u06a9\u06d5\u0646 \u0644\u06d5 \u062e\u0634\u062a\u06cc \u0646\u0627\u0648\u0646\u06cc\u0634\u0627\u0646\u06cc \u0648\u06ce\u0628\u06af\u06d5\u0695<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>http:\/\/example.com\/phpinfo.php<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0648\u06d5 \u0626\u06ce\u0648\u06d5 \u067e\u06d5\u0631\u06d5\u06cc \u0633\u06d5\u0631\u06d5\u06a9\u06cc PHP \u062f\u06d5\u0628\u06cc\u0646\u0646 \u0628\u06d5\u0645 \u062c\u06c6\u0631\u06d5 \u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><\/figure>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2835\" src=\"https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/lamp-windows-wsl-php-test-1024x714-1-1-1.png\" alt=\"\" width=\"1024\" height=\"714\" srcset=\"https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/lamp-windows-wsl-php-test-1024x714-1-1-1.png 1024w, https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/lamp-windows-wsl-php-test-1024x714-1-1-1-430x300.png 430w, https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/lamp-windows-wsl-php-test-1024x714-1-1-1-768x536.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\r\n\r\n\r\n\r\n<p>\u00a0 \u0644\u06d5\u0645 \u0642\u06c6\u0646\u0627\u063a\u06d5 \u067e\u06ce\u0648\u06cc\u0633\u062a\u0645\u0627\u0646 \u0628\u06d5 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc Nextcloud \u0647\u06d5\u06cc\u06d5 \u06a9\u06d5 \u0628\u06d5 \u0634\u06ce\u0648\u0627\u0632\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5 \u0626\u06d5\u0646\u062c\u0627\u0645\u06cc \u062f\u06d5\u062f\u06d5\u06cc\u0646.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u0646\u06cc \u0628\u0646\u06a9\u06d5\u062f\u0631\u0627\u0648\u06d5 \u0628\u06c6 Nextcloud<\/h2>\r\n\r\n\r\n\r\n<p>\u067e\u0627\u0634 \u0626\u06d5\u0648\u06d5 \u06a9\u06d5 \u0648\u06d5\u06a9 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06a9\u0627\u0646\u06cc \u0633\u06d5\u0631\u06d5\u0648\u06d5 \u0695\u0627\u0698\u06d5\u0645\u0627\u0646 \u062f\u0627\u0645\u06d5\u0632\u0631\u0627\u0646\u062f\u060c \u0626\u06ce\u0633\u062a\u0627 \u0646\u06c6\u0628\u06d5\u06cc Nextcloud \u0648 \u062f\u06d5\u0628\u06ce \u0628\u0646\u06a9\u06d5 \u062f\u0631\u0627\u0648\u06d5\u06cc\u06ce\u06a9\u06cc \u0628\u06c6 \u062f\u0631\u0648\u0633\u062a\u0628\u06a9\u06d5\u06cc\u0646.\u0628\u06d5 \u06a9\u0648\u0646\u0633\u0648\u0648\u0644\u06cc \u0647\u06ce\u06b5\u06ce \u0641\u06d5\u0631\u0645\u0627\u0646 \u062f\u06d5\u0686\u06cc\u0646\u06d5 \u0646\u06ce\u0648 \u0628\u0646\u06a9\u06d5 \u062f\u0631\u0627\u0648\u06d5\u06cc MariaDB<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo mysql -u root -p<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0628\u0646\u06a9\u06d5 \u062f\u0631\u0627\u0648\u06d5\u06cc\u06ce\u06a9 \u0628\u06d5 \u0646\u0627\u0648\u06cc\u00a0<strong>nextcloud<\/strong>\u00a0\u062f\u0631\u0648\u0633\u062a \u062f\u06d5\u06a9\u06d5\u06cc\u0646 \u0628\u06d5 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06a9\u06d5\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>CREATE DATABASE nextcloud;<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0626\u06ce\u0633\u062a\u0627 \u0628\u06d5\u06a9\u0627\u0631\u0647\u06ce\u0646\u06d5\u0631\u06ce\u06a9 \u0628\u06c6 \u0628\u0646\u06a9\u06d5\u062f\u0631\u0627\u0648\u06d5\u06a9\u06d5\u06cc \u0633\u06d5\u0631\u06d5\u0648\u06d5 \u06a9\u06d5 \u062f\u0631\u0648\u0633\u062a\u0645\u0627\u0646 \u06a9\u0631\u062f \u062f\u06d5\u0646\u0627\u0633\u06ce\u0646\u06cc\u0646 \u0628\u06d5\u0645 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5 \u0628\u06d5 \u0646\u0627\u0648\u06cc\u00a0<strong>nextclouduser<\/strong>\u00a0:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'new_password_here';<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0626\u06d5\u0645 \u0628\u06d5\u06a9\u0627\u0631\u0647\u06ce\u0646\u06d5\u0631\u06d5 \u062f\u06d5\u0628\u06ce \u062f\u06d5\u0633\u062a\u067e\u06ce\u06af\u06d5\u06cc\u0634\u062a\u0646\u06cc \u0628\u06d5 \u062a\u06d5\u0648\u0627\u0648 \u0628\u0646\u06a9\u06d5 \u062f\u0631\u0627\u0648\u06d5\u06a9\u06d5 \u0647\u06d5\u0628\u06ce\u062a\u060c \u0626\u06d5\u0645\u06d5\u0634 \u0628\u06d5\u0645 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5 \u062c\u06cc\u0628\u06d5\u062c\u06ce \u062f\u06d5\u0628\u06ce\u062a<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>GRANT ALL ON nextcloud.* TO 'nextclouduser'@'localhost' WITH GRANT OPTION;<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0644\u06d5 \u06a9\u06c6\u062a\u0627\u06cc\u06cc \u06af\u06c6\u0695\u0627\u0646\u06a9\u0627\u0631\u06cc\u06cc\u06d5\u06a9\u0627\u0646 \u067e\u0627\u0634\u06a9\u06d5\u0648\u062a \u062f\u06d5\u06a9\u06d5\u06cc\u0646 \u0648 \u062f\u06cc\u0646\u06d5 \u062f\u06d5\u0631\u06d5\u0648\u06d5<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>FLUSH PRIVILEGES;\r\nEXIT;<\/code><\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u062f\u0627\u06af\u06d5\u0631\u062a\u0646\u06cc Nextcloud<\/h2>\r\n\r\n\r\n\r\n<p>\u0628\u06c6 \u062f\u0648\u0627\u06cc\u06cc\u0646 \u0648\u0634\u0627\u0646\u06cc Nextcloud \u062f\u06d5\u0628\u06ce \u0633\u06d5\u0631\u062f\u0627\u0646\u06cc\u00a0<a href=\"https:\/\/nextcloud.com\/install\/#instructions-server\" target=\"_blank\" rel=\"noreferrer noopener\">\u0626\u06d5\u0645 \u0628\u06d5\u0633\u062a\u06d5\u0631\u06d5\u00a0<\/a>\u0628\u06a9\u06d5\u06cc\u0646. \u0644\u06d5 \u0626\u06ce\u0633\u062a\u0627 \u0648\u0634\u0627\u0646\u06cc \u0662\u0661.\u0660.\u0662 \u0644\u06d5\u0628\u06d5\u0631\u062f\u06d5\u0633\u062a\u06d5.\u0628\u06d5 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06a9\u06d5\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5 \u062f\u0627\u06cc\u062f\u06d5\u06af\u0631\u06cc\u0646<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>wget https:\/\/download.nextcloud.com\/server\/releases\/nextcloud-21.0.2.zip -P \/tmp\r\nsudo unzip \/tmp\/nextcloud-21.0.2.zip  -d \/var\/www<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0626\u06ce\u0633\u062a\u0627 \u0626\u0627\u0633\u062a\u06cc \u062f\u06d5\u0633\u06d5\u06b5\u0627\u062a \u062f\u06d5\u062f\u06d5\u06cc\u0646 \u0628\u06d5 \u0628\u0648\u062e\u0686\u06d5\u06cc \u062f\u0627\u06af\u0631\u0627\u0648\u060c \u0628\u06d5\u0645 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo chown -R www-data:www-data \/var\/www\/nextcloud\/\r\nsudo chmod -R 755 \/var\/www\/nextcloud\/<\/code><\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u0695\u06cc\u06a9\u062e\u0633\u062a\u0646\u06cc \u0645\u0627\u06b5\u067e\u06d5\u0695\u06cc Nextcloud<\/h2>\r\n\r\n\r\n\r\n<p>\u0626\u06ce\u0633\u062a\u0627 \u062f\u06d5\u0628\u06ce \u0695\u0627\u0698\u06d5\u06cc \u0626\u0627\u067e\u0627\u0686\u06cc\u0662 \u067e\u06d5\u06cc\u06a9\u06d5\u0631\u0633\u0627\u0632\u06cc \u0628\u06a9\u06d5\u06cc\u0646 \u06a9\u06d5 Nextcloud \u0628\u06ce\u062a\u06d5 \u0633\u06d5\u0631\u06cc \u0648 \u067e\u06cc\u0634\u0627\u0646 \u0628\u062f\u0631\u06ce\u062a.\u0628\u06d5 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06a9\u06d5\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5 \u062f\u06d5\u0686\u06cc\u0646 \u067e\u06d5\u0695\u06af\u06d5\u06cc\u00a0<strong>nextcloud.conf<\/strong>\u00a0\u0626\u0627\u0645\u0627\u062f\u06d5 \u062f\u06d5\u06a9\u06cc\u0646 :<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/apache2\/sites-available\/nextcloud.conf<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0626\u06ce\u0633\u062a\u0627 \u062f\u06d5\u0642\u06d5\u06a9\u06d5\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5\u06cc \u062a\u06ce\u062f\u0627 \u062f\u06d5\u0644\u06a9\u06ce\u0646\u06cc\u0646(paste) \u0626\u06cc\u0646\u062c\u0627 \u067e\u06d5\u0695\u06af\u06d5 \u067e\u0627\u0634\u06a9\u06d5\u0648\u062a \u062f\u06d5\u06a9\u06d5\u06cc\u0646 \u0648 \u062f\u06cc\u0646\u06d5 \u062f\u06d5\u0631\u06d5\u0648\u06d5. \u0628\u06d5 \u062c\u06cc\u0627\u062a\u06cc example.com \u062f\u06d5\u0628\u06ce \u0646\u0627\u0648\u06cc \u0645\u0627\u06b5\u067e\u06d5\u0695\u06d5\u06a9\u06d5\u062a\u0627\u0646 \u0628\u0646\u0648\u0648\u0633\u0646.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>&lt;VirtualHost *:80&gt;\r\n     ServerAdmin admin@example.com\r\n     DocumentRoot \/var\/www\/nextcloud\/\r\n     ServerName example.com\r\n     ServerAlias www.example.com\r\n  \r\n     Alias \/nextcloud \"\/var\/www\/nextcloud\/\"\r\n\r\n     &lt;Directory \/var\/www\/nextcloud\/&gt;\r\n        Options +FollowSymlinks\r\n        AllowOverride All\r\n        Require all granted\r\n          &lt;IfModule mod_dav.c&gt;\r\n            Dav off\r\n          &lt;\/IfModule&gt;\r\n        SetEnv HOME \/var\/www\/nextcloud\r\n        SetEnv HTTP_HOME \/var\/www\/nextcloud\r\n     &lt;\/Directory&gt;\r\n\r\n     ErrorLog ${APACHE_LOG_DIR}\/error.log\r\n     CustomLog ${APACHE_LOG_DIR}\/access.log combined\r\n\r\n&lt;\/VirtualHost&gt;<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u067e\u0627\u0634 \u0626\u06d5\u0648\u06d5 \u06a9\u06d5 \u067e\u06d5\u0695\u06d5\u06af\u06d5\u06cc<strong>nextcloud.conf<\/strong>\u00a0\u0644\u06d5 \u0633\u06d5\u0631\u06d5\u0648\u06d5 \u067e\u06d5\u06cc\u06a9\u06d5\u0631\u0633\u0627\u0632\u06cc \u06a9\u0631\u062f \u062f\u06d5\u0628\u06ce \u0645\u0627\u0698\u06c6\u0644\u06d5\u06a9\u0627\u0646\u06cc \u062f\u06cc\u06a9\u06d5 \u0686\u0627\u0644\u0627\u06a9 \u0628\u06a9\u06d5\u06cc\u0646 \u0644\u06d5 \u0633\u06d5\u0631 \u0695\u0627\u0698\u06d5\u06a9\u06d5\u0645\u0627\u0646<\/p>\r\n\r\n\r\n\r\n<p>\u0628\u06c6 \u0626\u06d5\u0645\u06d5\u0634 \u0641\u06d5\u0631\u0645\u0627\u0646\u06d5\u06a9\u0627\u0646\u06cc \u062e\u0648\u0627\u0631\u06d5\u0648\u06d5 \u062f\u06d5\u0646\u0648\u0648\u0633\u06cc\u0646:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo a2ensite nextcloud.conf\r\nsudo a2enmod rewrite\r\nsudo a2enmod headers\r\nsudo a2enmod env\r\nsudo a2enmod dir\r\nsudo a2enmod mime<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u067e\u0627\u0634 \u0686\u0627\u0644\u0627\u06a9 \u0628\u0648\u0648\u0646\u06cc \u0645\u0627\u062f\u06c6\u06b5 \u06cc\u0627\u0646 \u0645\u0627\u0698\u06c6\u0644\u06d5\u06a9\u0627\u0646\u06cc \u0633\u06d5\u0631\u06d5\u0648\u06d5 \u0626\u06ce\u0633\u062a\u0627 \u062f\u06d5\u0628\u06ce \u0626\u0627\u067e\u0627\u0686\u06cc \u0646\u0648\u06ce\u0628\u06a9\u06d5\u0646\u06d5\u0648\u06d5:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo service apache2 restart<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0644\u06d5 \u0634\u0631\u06cc\u062a\u06cc \u0646\u0627\u0648\u0646\u06cc\u0634\u0627\u0646\u06cc \u0648\u06ce\u0628\u06af\u06d5 \u0626\u06d5\u0645 \u0626\u0627\u062f\u0631\u06d5\u0633\u06d5 \u0628\u0646\u0648\u0648\u0633\u0646 \u0648\u0627\u062a\u06d5 \u0646\u0627\u0648\u06cc \u0645\u0627\u06b5\u067e\u06d5\u0695\u06d5\u06a9\u06d5\u062a\u0627\u0646 \u06a9\u06d5 \u0644\u06ce\u0631\u06d5 \u0626\u06d5\u0645\u06d5\u06cc\u06d5(\u0626\u06d5\u062a\u0648\u0627\u0646\u0646 \u0626\u0627\u06cc\u067e\u06cc\u06cc\u06d5\u06a9\u06d5\u06cc\u0634\u06cc \u0628\u0646\u0648\u0648\u0633\u0646)<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>http:\/\/example.com<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u0647\u06d5\u0698\u0645\u0627\u0631\u06d5\u06cc \u0628\u06d5\u0631\u06ce\u0648\u06d5\u0628\u06d5\u0631 \u062f\u0631\u0648\u0633\u062a \u0628\u06a9\u06d5\u0646 \u0644\u06d5\u06af\u06d5\u0646 \u0646\u0648\u0648\u0633\u06cc\u0646\u06cc \u0648\u0631\u062f\u06d5 \u0632\u0627\u0646\u06cc\u0627\u0631\u06cc \u0628\u0646\u06a9\u06d5\u062f\u0631\u0627\u0648\u06d5\u06a9\u06d5\u062a\u0627\u0646 \u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><\/figure>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2836\" src=\"https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/nextcloud-windows-wsl-ubuntu-apache.png\" alt=\"\" width=\"1018\" height=\"951\" srcset=\"https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/nextcloud-windows-wsl-ubuntu-apache.png 1018w, https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/nextcloud-windows-wsl-ubuntu-apache-321x300.png 321w, https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/nextcloud-windows-wsl-ubuntu-apache-768x717.png 768w\" sizes=\"auto, (max-width: 1018px) 100vw, 1018px\" \/><\/p>\r\n\r\n\r\n\r\n<p>\u00a0 \u0628\u0686\u0646\u06d5\u0698\u0648\u0648\u0631\u06d5\u0648\u06d5\u06cc \u0647\u06d5\u0698\u0645\u0627\u0631\u06d5\u06a9\u06d5\u062a\u0627\u0646 \u0648 \u0626\u06cc\u0646\u062c\u0627 \u062f\u06d5\u0633\u062a\u0628\u06a9\u06d5\u0646 \u0628\u06d5 \u0686\u0627\u0644\u0627\u06a9\u06cc\u06d5\u06a9\u06d5\u062a\u0627\u0646 \u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><\/figure>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2837\" src=\"https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/nextcloud-windows-wsl-ubuntu-dashboard-1024x726-1.png\" alt=\"\" width=\"1024\" height=\"726\" srcset=\"https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/nextcloud-windows-wsl-ubuntu-dashboard-1024x726-1.png 1024w, https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/nextcloud-windows-wsl-ubuntu-dashboard-1024x726-1-423x300.png 423w, https:\/\/linux.krd\/wp-content\/uploads\/2022\/06\/nextcloud-windows-wsl-ubuntu-dashboard-1024x726-1-768x545.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>\u067e\u06ce\u0634\u06d5\u06a9\u06cc \u0644\u06d5\u0645 \u0628\u0627\u0628\u06d5\u062a\u06d5 \u0641\u06ce\u0631 \u062f\u06d5\u0628\u06cc\u0646 \u06a9\u06d5 \u0686\u06c6\u0646 Nextcloud \u0644\u06d5 \u0633\u06d5\u0631 \u0698\u06ce\u0631 \u0633\u06cc\u0633\u062a\u06d5\u0645\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\u06cc \u0648\u06cc\u0646\u062f\u06c6\u0632 \u0661\u0661 \u062f\u0627\u0645\u06d5\u0632\u0631\u06ce\u0646\u06cc\u0646 \u0648 \u067e\u06d5\u06cc\u06a9\u06d5\u0631\u0633\u0627\u0632\u06cc \u0628\u06c6 \u0626\u06d5\u0646\u062c\u0627\u0645 \u0628\u062f\u06d5\u06cc\u0646.\u0626\u06d5\u0645 \u0633\u06a9\u0631\u06cc\u067e\u062a\u06d5 \u0633\u06cc\u0633\u062a\u06d5\u0645\u06ce\u06a9\u06cc \u0628\u06d5\u0695\u06cc\u0648\u06d5\u0628\u0631\u062f\u0646\u06cc \u067e\u06d5\u0695\u06af\u06d5\u06a9\u0627\u0646\u06d5 \u0648\u06d5\u06a9 \u06af\u0648\u06af\u06b5 \u062f\u0631\u0627\u06cc\u06a4 \u0648 \u062f\u0631\u06c6\u067e \u0628\u06c6\u06a9\u0633 \u0648 \u2026\u0647\u062a\u062f. Nextcloud \u0646\u06d5\u0631\u0645\u06d5\u06a9\u0627\u0644\u0627\u06cc\u06ce\u06a9\u06cc \u0633\u06d5\u0631\u0686\u0627\u0648\u06d5\u06a9\u0631\u0627\u0648\u06d5\u06cc\u06d5 \u06a9\u06d5\u0628\u06d5 php \u0628\u06c6 \u0628\u06d5\u0631\u06ce\u0648\u06d5\u0628\u0631\u062f\u0646\u06cc \u0628\u0646\u06a9\u06d5 \u062f\u0631\u0627\u0648\u06d5\u06a9\u0627\u0646\u06cc MySQL \u0648\u06d5 MariaDB \u0644\u06d5 \u0633\u06d5\u0631 \u0695\u0627\u0698\u06d5\u06a9\u0627\u0646 \u062f\u0631\u0648\u0633\u062a\u06a9\u0631\u0627\u0648\u06d5.\u062a\u06d5\u0648\u0627\u0648 \u0626\u06d5\u0631\u06a9\u06d5\u06a9\u0627\u0646\u06cc \u0628\u0646\u06a9\u06d5\u062f\u0631\u0627\u0648\u06d5 \u0648 \u06af\u0648\u0632\u0627\u0631\u0634\u06d5\u06a9\u0627\u0646\u06cc \u0628\u06d5 \u0686\u0627\u0631\u06d5<\/p>\n","protected":false},"author":1,"featured_media":2834,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[417,386,91,8],"class_list":["post-2833","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-serverlinux","tag-nextcloud","tag-wsl","tag-91","tag-8"],"_links":{"self":[{"href":"https:\/\/linux.krd\/index.php?rest_route=\/wp\/v2\/posts\/2833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux.krd\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.krd\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.krd\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.krd\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2833"}],"version-history":[{"count":2,"href":"https:\/\/linux.krd\/index.php?rest_route=\/wp\/v2\/posts\/2833\/revisions"}],"predecessor-version":[{"id":2839,"href":"https:\/\/linux.krd\/index.php?rest_route=\/wp\/v2\/posts\/2833\/revisions\/2839"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux.krd\/index.php?rest_route=\/wp\/v2\/media\/2834"}],"wp:attachment":[{"href":"https:\/\/linux.krd\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.krd\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.krd\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}