{"id":4013,"date":"2023-03-09T09:21:11","date_gmt":"2023-03-09T09:21:11","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=4013"},"modified":"2024-03-12T10:58:12","modified_gmt":"2024-03-12T10:58:12","slug":"%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/","title":{"rendered":"\u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0623\u0628\u0627\u062a\u0634\u064a \u062a\u0648\u0645\u0643\u0627\u062a \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/tomcat_ubuntu_ar.jpg\" alt=\"\u062a\u062b\u0628\u064a\u062a \u062a\u0643\u0648\u064a\u0646 \u062f\u0644\u064a\u0644 apache tomcat debian ubuntu\" class=\"wp-image-4044\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/tomcat_ubuntu_ar.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/tomcat_ubuntu_ar-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/tomcat_ubuntu_ar-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/tomcat_ubuntu_ar-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/tomcat_ubuntu_ar-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>Tomcat \u0647\u0648 \u062e\u0627\u062f\u0645 \u0648\u064a\u0628 \u0645\u0641\u062a\u0648\u062d \u0627\u0644\u0645\u0635\u062f\u0631 \u0634\u0647\u064a\u0631 \u064a\u062f\u0639\u0645 Java Servlets \u0648 JSPs. \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a\u060c \u0633\u062a\u062a\u0639\u0644\u0645 \u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a Tomcat \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 \/22.04  \/ 18.04 \/ 20.04 .<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0645\u062a\u0637\u0644\u0628\u0627\u062a<\/h2>\n\n\n\n<p>\u0642\u0628\u0644 \u0623\u0646 \u062a\u0628\u062f\u0623\u060c \u062a\u0623\u0643\u062f \u0645\u0646 \u0623\u0646 \u0644\u062f\u064a\u0643:<\/p>\n\n\n\n<ul>\n<li>\u0645\u0633\u062a\u062e\u062f\u0645 \u063a\u064a\u0631 \u062c\u0630\u0631\u064a \u0645\u0639 \u0627\u0645\u062a\u064a\u0627\u0632\u0627\u062a \u0633\u0648\u062f\u0648<\/li>\n\n\n\n<li>\u062c\u0627\u0641\u0627 8 \u0623\u0648 \u0623\u0639\u0644\u0649 \u0645\u062b\u0628\u062a\u0629 \u0639\u0644\u0649 \u0646\u0638\u0627\u0645\u0643<\/li>\n\n\n\n<li>\u0627\u062a\u0635\u0627\u0644 \u062b\u0627\u0628\u062a \u0628\u0627\u0644\u0625\u0646\u062a\u0631\u0646\u062a<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u0627\u0644\u062e\u0637\u0648\u0629 1: \u062a\u062b\u0628\u064a\u062a \u062c\u0627\u0641\u0627<\/h2>\n\n\n\n<p>\u0642\u0645 \u0628\u062a\u062b\u0628\u064a\u062a Java 8 \u0623\u0648 \u0623\u0639\u0644\u0649\u060c \u0648\u0647\u0648 \u0645\u0627 \u064a\u062a\u0637\u0644\u0628\u0647 Tomcat 9. \u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 OpenJDK \u0623\u0648 Oracle JDK. \u0644\u062a\u062b\u0628\u064a\u062a OpenJDK 11\u060c \u0642\u0645 \u0628\u062a\u0634\u063a\u064a\u0644:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ <span style=\"background-color: initial; font-family: inherit; font-size: inherit;\">sudo apt update sudo apt install openjdk-11-jdk<\/span><\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0627\u0644\u062e\u0637\u0648\u0629 2: \u0642\u0645 \u0628\u062a\u0646\u0632\u064a\u0644 Tomcat<\/h2>\n\n\n\n<p>\u0644\u062a\u0646\u0632\u064a\u0644 Tomcat\u060c \u0627\u0646\u062a\u0642\u0644 \u0625\u0644\u0649 <a href=\"https:\/\/tomcat.apache.org\/download-90.cgi\" target=\"_blank\" rel=\"noreferrer noopener\">\u0627\u0644\u0645\u0648\u0642\u0639 \u0627\u0644\u0631\u0633\u0645\u064a<\/a> \u0648\u0627\u062e\u062a\u0631 \u0623\u062d\u062f\u062b \u0625\u0635\u062f\u0627\u0631 \u0645\u0646 Tomcat 9. \u0641\u064a \u0648\u0642\u062a \u0643\u062a\u0627\u0628\u0629 \u0647\u0630\u0647 \u0627\u0644\u0645\u0642\u0627\u0644\u0629\u060c \u0643\u0627\u0646\u062a 9.0.72.<\/p>\n\n\n\n<p>\u0646\u0633\u062e \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0631\u0627\u0628\u0637 \u0644\u0645\u0644\u0641 tar.gz \u062a\u062d\u062a \u0627\u0644\u062a\u0648\u0632\u064a\u0639\u0627\u062a \u0627\u0644\u062b\u0646\u0627\u0626\u064a\u0629 &gt; \u0627\u0644\u0642\u0633\u0645 \u0627\u0644\u0623\u0633\u0627\u0633\u064a.<\/p>\n\n\n\n<p>\u0628\u0639\u062f \u0630\u0644\u0643, \u0627\u0641\u062a\u062d \u0645\u062d\u0637\u0629 \u0644\u064a\u0646\u0643\u0633 \u0627\u0633\u062a\u062e\u062f\u0645 <strong>wget <\/strong>\u0623\u0645\u0631 \u0628\u062a\u0646\u0632\u064a\u0644 \u0627\u0644\u0645\u0644\u0641:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ wget https:\/\/dlcdn.apache.org\/tomcat\/tomcat-9\/v9.0.86\/bin\/apache-tomcat-9.0.86.tar.gz<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0627\u0644\u062e\u0637\u0648\u0629 3: \u0627\u0633\u062a\u062e\u0631\u0627\u062c \u062a\u0648\u0645\u0643\u0627\u062a<\/h2>\n\n\n\n<p>\u0628\u0639\u062f \u062a\u0646\u0632\u064a\u0644 Tomcat\u060c \u062a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u0627\u0633\u062a\u062e\u0631\u0627\u062c\u0647 \u0625\u0644\u0649 \u0645\u0648\u0642\u0639 \u0645\u0631\u063a\u0648\u0628 \u0641\u064a\u0647. \u0644\u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a\u060c \u0633\u0646\u0633\u062a\u062e\u062f\u0645 <code>\/opt\/tomcat<\/code> \u0643\u0645\u0644\u0641 \u0627\u0644\u0648\u062c\u0647\u0629.<\/p>\n\n\n\n<p>\u0623\u0648\u0644\u0627\u064b\u060c \u0642\u0645 \u0628\u0625\u0646\u0634\u0627\u0621 \u062f\u0644\u064a\u0644 tomcat \u0623\u0633\u0641\u0644 <code>\/opt<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ sudo mkdir \/opt\/tomcat<\/code><\/pre>\n\n\n\n<p>\u0628\u0639\u062f \u0630\u0644\u0643\u060c \u0627\u0633\u062a\u062e\u0631\u062c \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0630\u064a \u062a\u0645 \u062a\u0646\u0632\u064a\u0644\u0647 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 tar \u0623\u0645\u0631:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ sudo tar xzvf apache-tomcat-*.tar.gz -C \/opt\/tomcat --strip-components=1<\/code><\/pre>\n\n\n\n<p>\u0647\u0630\u0627 \u0633\u064a\u062e\u0644\u0642 \u0627\u0644\u0639\u062f\u064a\u062f \u0645\u0646 \u0627\u0644\u0627\u062a\u062c\u0627\u0647\u0627\u062a \u0627\u0644\u0641\u0631\u0639\u064a\u0629 \u062a\u062d\u062a <code>\/opt\/tomcat<\/code> \u0645\u062b\u0644 bin \u0648 conf \u0648 webapps \u0648\u0645\u0627 \u0625\u0644\u0649 \u0630\u0644\u0643.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0627\u0644\u062e\u0637\u0648\u0629 4: \u0636\u0628\u0637 \u0645\u0633\u062a\u062e\u062f\u0645 Tomcat<\/h2>\n\n\n\n<p>\u0644\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0648\u0627\u062c\u0647\u0629 \u0627\u0644\u0648\u064a\u0628 Tomcat \u0648\u0625\u062f\u0627\u0631\u0629 \u062a\u0637\u0628\u064a\u0642\u0627\u062a\u0643\u060c \u062a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u0625\u0646\u0634\u0627\u0621 \u0645\u0633\u062a\u062e\u062f\u0645 \u0628\u0623\u062f\u0648\u0627\u0631 \u0645\u0646\u0627\u0633\u0628\u0629.<\/p>\n\n\n\n<p>\u0644\u0644\u0642\u064a\u0627\u0645 \u0628\u0630\u0644\u0643\u060c \u0627\u0641\u062a\u062d <code>tomcat-users.xml<\/code> \u0645\u0644\u0641  \u0641\u064a \u0645\u062d\u0631\u0631 \u0627\u0644\u0646\u0635 \u0627\u0644\u0645\u0641\u0636\u0644 \u0644\u062f\u064a\u0643:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/opt\/tomcat\/conf\/tomcat-users.xml<\/code><\/pre>\n\n\n\n<p>\u0628\u0639\u062f \u0630\u0644\u0643\u060c \u0623\u0636\u0641 \u0639\u0646\u0635\u0631 \u0645\u0633\u062a\u062e\u062f\u0645 \u062f\u0627\u062e\u0644 \u0639\u0646\u0635\u0631 \u0645\u0633\u062a\u062e\u062f\u0645\u064a tomcat \u0645\u0639 \u0633\u0645\u0627\u062a \u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0648\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0648\u0627\u0644\u0623\u062f\u0648\u0627\u0631. \u0639\u0644\u0649 \u0633\u0628\u064a\u0644 \u0627\u0644\u0645\u062b\u0627\u0644<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"xml\" class=\"language-xml\">&lt;tomcat-users&gt;\n&lt;!-- ... --&gt;\n    &lt;user username=\"admin\" password=\"password\" roles=\"manager-gui,admin-gui\"\/&gt;\n&lt;\/tomcat-users&gt;               <\/code><\/pre>\n\n\n\n<p>\u0627\u062d\u0641\u0638 \u0648\u0623\u063a\u0644\u0642 \u0627\u0644\u0645\u0644\u0641 \u0639\u0646\u062f \u0627\u0644\u0627\u0646\u062a\u0647\u0627\u0621.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0627\u0644\u062e\u0637\u0648\u0629 5: \u0627\u0628\u062f\u0623 \u062a\u0648\u0645\u0643\u0627\u062a<\/h2>\n\n\n\n<p>\u0644\u0628\u062f\u0621 Tomcat\u060c \u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0646\u0635 startup.sh \u0627\u0644\u0645\u0648\u062c\u0648\u062f \u0641\u064a \/opt\/tomcat\/bin directory:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ sudo sh \/opt\/tomcat\/bin\/startup.sh      <\/code><\/pre>\n\n\n\n<p>\u064a\u062c\u0628 \u0623\u0646 \u062a\u0631\u0649 \u0634\u064a\u0626\u064b\u0627 \u0643\u0647\u0630\u0627:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">Using CATALINA_BASE:   \/opt\/tomcat \nUsing CATALINA_HOME:   \/opt\/tomcat \nUsing CATALINA_TMPDIR: \/opt\/tomcat\/temp \nUsing JRE_HOME:        \/usr\/lib\/jvm\/java-11-openjdk-amd64\/ \nUsing CLASSPATH:       \/opt\/tomcat\/bin\/bootstrap.jar:\/opt\/tomcat\/bin\/tomcat-juli.jar  \nTomcat started.<\/code><\/pre>\n\n\n\n<p>\u064a\u0645\u0643\u0646\u0643 \u0623\u064a\u0636\u064b\u0627 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0645\u0627 \u0625\u0630\u0627 \u0643\u0627\u0646 Tomcat \u064a\u0639\u0645\u0644 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0623\u0645\u0631 ps:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ ps -ef | grep tomcat<\/code><\/pre>\n\n\n\n<p>\u0623\u063a\u0644\u0642 \u0627\u0644\u062e\u0627\u062f\u0645 \u0648\u0627\u0646\u062a\u0642\u0644 \u0625\u0644\u0649 \u0627\u0644\u062e\u0637\u0648\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ sudo sh \/opt\/tomcat\/bin\/shutdown.sh<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0627\u0644\u062e\u0637\u0648\u0629 6: \u0625\u0646\u0634\u0627\u0621 \u0645\u0633\u062a\u062e\u062f\u0645 Tomcat \u0648\u0645\u062c\u0645\u0648\u0639\u0629<\/h2>\n\n\n\n<p>\u0644\u0623\u0633\u0628\u0627\u0628 \u0623\u0645\u0646\u064a\u0629\u060c \u064a\u0648\u0635\u0649 \u0628\u0625\u0646\u0634\u0627\u0621 \u0645\u0633\u062a\u062e\u062f\u0645 \u0648\u0645\u062c\u0645\u0648\u0639\u0629 \u0641\u0631\u064a\u062f\u0629 \u0644\u062a\u0634\u063a\u064a\u0644 \u062e\u062f\u0645\u0629 Tomcat. \u0644\u0644\u0642\u064a\u0627\u0645 \u0628\u0630\u0644\u0643\u060c \u0642\u0645 \u0623\u0648\u0644\u0627\u064b \u0628\u0625\u0646\u0634\u0627\u0621 \u0645\u062c\u0645\u0648\u0639\u0629 \u062a\u0648\u0645\u0643\u0627\u062a \u062c\u062f\u064a\u062f\u0629 \u0645\u0646 \u062e\u0644\u0627\u0644 \u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u0623\u0645\u0631 \u0627\u0644\u062a\u0627\u0644\u064a:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ <span style=\"background-color: initial; font-family: inherit; font-size: inherit;\">sudo groupadd tomcat<\/span><\/code><\/pre>\n\n\n\n<p>\u0628\u0639\u062f \u0630\u0644\u0643\u060c \u0642\u0645 \u0628\u0625\u0646\u0634\u0627\u0621 \u0645\u0633\u062a\u062e\u062f\u0645 tomcat \u062c\u062f\u064a\u062f \u064a\u0643\u0648\u0646 \u0639\u0636\u0648\u064b\u0627 \u0641\u064a \u0645\u062c\u0645\u0648\u0639\u0629 tomcat \u0648\u0644\u062f\u064a\u0647&nbsp;<mark>\/opt\/tomcat<\/mark>&nbsp;\u0643\u062f\u0644\u064a\u0644 \u0645\u0648\u0637\u0646\u0647. \u0633\u064a\u062a\u0645 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0647\u0630\u0627 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0644\u062a\u0634\u063a\u064a\u0644 \u062e\u062f\u0645\u0629 Tomcat. \u0644\u0625\u0646\u0634\u0627\u0621 \u0647\u0630\u0627 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645\u060c \u0642\u0645 \u0628\u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u0623\u0645\u0631 \u0627\u0644\u062a\u0627\u0644\u064a:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ cd \/opt\/tomcat\n$ sudo useradd -s \/bin\/false -g tomcat -d \/opt\/tomcat tomcat <\/code><\/pre>\n\n\n\n<p>\u0623\u0648\u0644\u0627\u064b\u060c \u0645\u0646\u062d \u0645\u0644\u0643\u064a\u0629 \u062f\u0644\u064a\u0644 \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0628\u0627\u0644\u0643\u0627\u0645\u0644 \u0644\u0645\u062c\u0645\u0648\u0639\u0629 tomcat \u0645\u0639 \u0647\u0630\u0627 \u0627\u0644\u0623\u0645\u0631:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ sudo chgrp -R tomcat \/opt\/tomcat<\/code><\/pre>\n\n\n\n<p>\u0628\u0639\u062f \u0630\u0644\u0643\u060c \u0627\u0645\u0646\u062d \u0627\u0644\u0642\u0631\u0627\u0621\u0629 \u0625\u0645\u0643\u0627\u0646\u064a\u0629 \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u062f\u0644\u064a\u0644 conf \u0648\u0646\u0641\u0630 \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u062f\u0644\u064a\u0644 \u0627\u0644\u0623\u0645:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ sudo chmod -R g+r conf\n$ sudo chmod g+x conf<\/code><\/pre>\n\n\n\n<p>\u0623\u062e\u064a\u0631\u064b\u0627 \u0648\u0644\u064a\u0633 \u0622\u062e\u0631\u064b\u0627\u060c \u062a\u0623\u0643\u062f \u0645\u0646 \u0627\u0645\u062a\u0644\u0627\u0643 \u0645\u0633\u062a\u062e\u062f\u0645 tomcat webapps\/, work\/, temp\/ and logs\/ \u0645\u062c\u0644\u062f\u0627\u062a:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ sudo chown -R tomcat webapps\/ work\/ temp\/ logs\/<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0627\u0644\u062e\u0637\u0648\u0629 7: \u0625\u0646\u0634\u0627\u0621 \u0645\u0644\u0641 \u0648\u062d\u062f\u0629 \u0627\u0644\u0646\u0638\u0627\u0645<\/h2>\n\n\n\n<p>\u0633\u0646\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u0625\u0646\u0634\u0627\u0621 \u0645\u0644\u0641 \u0648\u062d\u062f\u0629 \u062c\u062f\u064a\u062f \u0644\u062a\u0634\u063a\u064a\u0644 Tomcat \u0643\u062e\u062f\u0645\u0629.<\/p>\n\n\n\n<p>\u0627\u0641\u062a\u062d \u0645\u062d\u0631\u0631 \u0627\u0644\u0646\u0635\u0648\u0635 \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0648\u0623\u0646\u0634\u0626 \u0627\u0633\u0645 \u0645\u0644\u0641 tomcat.service \u0641\u064a&nbsp;<strong>\/etc\/systemd\/system\/<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ <span style=\"background-color: initial; font-family: inherit; font-size: inherit;\">sudo nano \/etc\/systemd\/system\/tomcat.service<\/span><\/code><\/pre>\n\n\n\n<p>\u0628\u0639\u062f \u0630\u0644\u0643\u060c \u0627\u0643\u062a\u0628 \u0627\u0644\u062a\u0643\u0648\u064a\u0646 \u0627\u0644\u062a\u0627\u0644\u064a:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">[Unit]\nDescription=Apache Tomcat Web Application Container\nAfter=network.target\n\n[Service]\nType=forking\n\nEnvironment=JAVA_HOME=\/usr\/lib\/jvm\/java-11-openjdk-amd64\/\nEnvironment=CATALINA_PID=\/opt\/tomcat\/temp\/tomcat.pid\nEnvironment=CATALINA_Home=\/opt\/tomcat\nEnvironment=CATALINA_BASE=\/opt\/tomcat\nEnvironment=\u2019CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC\u2019\nEnvironment=\u2019JAVA_OPTS.awt.headless=true -Djava.security.egd=file:\/dev\/v\/urandom\u2019\n\nExecStart=\/opt\/tomcat\/bin\/startup.sh\nExecStop=\/opt\/tomcat\/bin\/shutdown.sh\n\nUser=tomcat\nGroup=tomcat\nUMask=0007\nRestartSec=10\nRestart=always\n\n[Install]\n\nWantedBy=multi-user.target<\/code><\/pre>\n\n\n\n<p>\u0627\u062d\u0641\u0638 \u0648\u0623\u063a\u0644\u0642 \u0627\u0644\u0645\u0644\u0641 \u0628\u0639\u062f \u0627\u0644\u0627\u0646\u062a\u0647\u0627\u0621 \u0645\u0646 \u0627\u0644\u0623\u0648\u0627\u0645\u0631 \u0627\u0644\u0645\u0639\u0637\u0627\u0629 \u0623\u0639\u0644\u0627\u0647. \u0628\u0639\u062f \u0630\u0644\u0643\u060c \u0642\u0645 \u0628\u0625\u062e\u0637\u0627\u0631 \u0627\u0644\u0646\u0638\u0627\u0645 \u0628\u0623\u0646\u0643 \u0623\u0646\u0634\u0623\u062a \u0645\u0644\u0641\u064b\u0627 \u062c\u062f\u064a\u062f\u064b\u0627 \u0639\u0646 \u0637\u0631\u064a\u0642 \u0625\u0635\u062f\u0627\u0631 \u0627\u0644\u0623\u0645\u0631 \u0627\u0644\u062a\u0627\u0644\u064a \u0641\u064a \u0633\u0637\u0631 \u0627\u0644\u0623\u0645\u0631:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\"><code>sudo systemctl daemon-reload<\/code><\/code><\/pre>\n\n\n\n<p>\u0633\u062a\u0633\u0645\u062d \u0644\u0643 \u0627\u0644\u0623\u0648\u0627\u0645\u0631 \u0627\u0644\u062a\u0627\u0644\u064a\u0629 \u0628\u062a\u0646\u0641\u064a\u0630 \u062e\u062f\u0645\u0629 Tomcat:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl start tomcat\n$ sudo systemctl enable tomcat<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0627\u0644\u062e\u0637\u0648\u0629 8: \u0627\u062e\u062a\u0628\u0627\u0631 \u062a\u0648\u0645\u0643\u0627\u062a<\/h2>\n\n\n\n<p>\u0644\u0627\u062e\u062a\u0628\u0627\u0631 \u0625\u0630\u0627 \u0643\u0627\u0646 \u062a\u0648\u0645\u0643\u0627\u062a \u064a\u0639\u0645\u0644 \u0628\u0634\u0643\u0644 \u0635\u062d\u064a\u062d\u060c<\/p>\n\n\n\n<p>\u0627\u0641\u062a\u062d \u0645\u062a\u0635\u0641\u062d \u0627\u0644\u0648\u064a\u0628 \u0648\u0627\u0643\u062a\u0628 http:\/\/your_server_ip:8080 \u0641\u064a \u0634\u0631\u064a\u0637 \u0627\u0644\u0639\u0646\u0627\u0648\u064a\u0646.<\/p>\n\n\n\n<p>\u064a\u062c\u0628 \u0623\u0646 \u062a\u0631\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629 \u0644\u0640 Tomcat:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1344\" height=\"882\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/Web-capture_3-3-2023_17635_192.168.182.131.jpeg\" alt=\"tomcat 9 apache default image\" class=\"wp-image-3982\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/Web-capture_3-3-2023_17635_192.168.182.131.jpeg 1344w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/Web-capture_3-3-2023_17635_192.168.182.131-300x197.jpeg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/Web-capture_3-3-2023_17635_192.168.182.131-1024x672.jpeg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/Web-capture_3-3-2023_17635_192.168.182.131-768x504.jpeg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/Web-capture_3-3-2023_17635_192.168.182.131-150x98.jpeg 150w\" sizes=\"(max-width: 1344px) 100vw, 1344px\" \/><\/figure>\n\n\n\n<p>\u0644\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0648\u0627\u062c\u0647\u0629 \u0627\u0644\u0648\u064a\u0628 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0640 Tomcat\u060c \u0627\u0646\u0642\u0631 \u0641\u0648\u0642 \u0632\u0631 \u062a\u0637\u0628\u064a\u0642 Manager \u0648\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0648\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0627\u0644\u062a\u064a \u0623\u0646\u0634\u0623\u062a\u0647\u0627 \u0641\u064a \u0627\u0644\u062e\u0637\u0648\u0629 4.<\/p>\n\n\n\n<p>\u064a\u062c\u0628 \u0623\u0646 \u062a\u0631\u0649 \u0635\u0641\u062d\u0629 \u062a\u0639\u0631\u0636 \u062a\u0637\u0628\u064a\u0642\u0627\u062a\u0643 \u0627\u0644\u0645\u0646\u0634\u0648\u0631\u0629 \u0648\u062a\u0633\u0645\u062d \u0644\u0643 \u0628\u0625\u062f\u0627\u0631\u062a\u0647\u0627: \u0645\u0628\u0631\u0648\u0643! \u0644\u0642\u062f \u0646\u062c\u062d\u062a \u0641\u064a \u062a\u062b\u0628\u064a\u062a Tomcat \u0639\u0644\u0649 Ubuntu 20.04.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tomcat \u0647\u0648 \u062e\u0627\u062f\u0645 \u0648\u064a\u0628 \u0645\u0641\u062a\u0648\u062d \u0627\u0644\u0645\u0635\u062f\u0631 \u0634\u0647\u064a\u0631 \u064a\u062f\u0639\u0645 Java Servlets \u0648 JSPs. \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a\u060c \u0633\u062a\u062a\u0639\u0644\u0645 \u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a Tomcat \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 \/22.04 \/ 18.04 \/ 20.04 . \u0645\u062a\u0637\u0644\u0628\u0627\u062a \u0642\u0628\u0644 \u0623\u0646 \u062a\u0628\u062f\u0623\u060c \u062a\u0623\u0643\u062f \u0645\u0646 \u0623\u0646 \u0644\u062f\u064a\u0643: \u0627\u0644\u062e\u0637\u0648\u0629 1: \u062a\u062b\u0628\u064a\u062a \u062c\u0627\u0641\u0627 \u0642\u0645 \u0628\u062a\u062b\u0628\u064a\u062a Java 8 \u0623\u0648 \u0623\u0639\u0644\u0649\u060c \u0648\u0647\u0648 \u0645\u0627 \u064a\u062a\u0637\u0644\u0628\u0647 Tomcat 9. \u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 OpenJDK \u0623\u0648 ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[71,55],"tags":[],"yoast_head":"\n<title>\u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0623\u0628\u0627\u062a\u0634\u064a \u062a\u0648\u0645\u0643\u0627\u062a \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"\u062a\u0648\u0636\u062d \u0644\u0643 \u0647\u0630\u0647 \u0627\u0644\u0645\u0642\u0627\u0644\u0629 \u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0648\u062a\u0647\u064a\u0626\u0629 \u062a\u0648\u0645\u0643\u0627\u062a 9 \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 18,04\/20,04\/22,04 \u0644\u062a\u0634\u063a\u064a\u0644 \u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0648\u064a\u0628 \u062c\u0627\u0641\u0627.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhi.com\/how-to\/ar\/\u0643\u064a\u0641\u064a\u0629-\u062a\u062b\u0628\u064a\u062a-\u0623\u0628\u0627\u062a\u0634\u064a-\u062a\u0648\u0645\u0643\u0627\u062a-\u0639\u0644\u0649-\u0623\u0648\u0628\u0648\u0646\u062a\u0648\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0623\u0628\u0627\u062a\u0634\u064a \u062a\u0648\u0645\u0643\u0627\u062a \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"\u062a\u0648\u0636\u062d \u0644\u0643 \u0647\u0630\u0647 \u0627\u0644\u0645\u0642\u0627\u0644\u0629 \u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0648\u062a\u0647\u064a\u0626\u0629 \u062a\u0648\u0645\u0643\u0627\u062a 9 \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 18,04\/20,04\/22,04 \u0644\u062a\u0634\u063a\u064a\u0644 \u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0648\u064a\u0628 \u062c\u0627\u0641\u0627.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/ar\/\u0643\u064a\u0641\u064a\u0629-\u062a\u062b\u0628\u064a\u062a-\u0623\u0628\u0627\u062a\u0634\u064a-\u062a\u0648\u0645\u0643\u0627\u062a-\u0639\u0644\u0649-\u0623\u0648\u0628\u0648\u0646\u062a\u0648\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-09T09:21:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-12T10:58:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/tomcat_ubuntu_ar.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"\u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0623\u0628\u0627\u062a\u0634\u064a \u062a\u0648\u0645\u0643\u0627\u062a \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648\",\"datePublished\":\"2023-03-09T09:21:11+00:00\",\"dateModified\":\"2024-03-12T10:58:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/\"},\"wordCount\":70,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"\u0625\u062f\u0627\u0631\u0629 \u0646\u0638\u0627\u0645 \u0644\u064a\u0646\u0643\u0633\",\"\u062e\u0627\u062f\u0645 \u0648\u064a\u0628\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/\",\"name\":\"\u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0623\u0628\u0627\u062a\u0634\u064a \u062a\u0648\u0645\u0643\u0627\u062a \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2023-03-09T09:21:11+00:00\",\"dateModified\":\"2024-03-12T10:58:12+00:00\",\"description\":\"\u062a\u0648\u0636\u062d \u0644\u0643 \u0647\u0630\u0647 \u0627\u0644\u0645\u0642\u0627\u0644\u0629 \u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0648\u062a\u0647\u064a\u0626\u0629 \u062a\u0648\u0645\u0643\u0627\u062a 9 \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 18,04\/20,04\/22,04 \u0644\u062a\u0634\u063a\u064a\u0644 \u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0648\u064a\u0628 \u062c\u0627\u0641\u0627.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0623\u0628\u0627\u062a\u0634\u064a \u062a\u0648\u0645\u0643\u0627\u062a \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"\u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0623\u0628\u0627\u062a\u0634\u064a \u062a\u0648\u0645\u0643\u0627\u062a \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 - WebHi Tutorials &amp; Documentations","description":"\u062a\u0648\u0636\u062d \u0644\u0643 \u0647\u0630\u0647 \u0627\u0644\u0645\u0642\u0627\u0644\u0629 \u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0648\u062a\u0647\u064a\u0626\u0629 \u062a\u0648\u0645\u0643\u0627\u062a 9 \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 18,04\/20,04\/22,04 \u0644\u062a\u0634\u063a\u064a\u0644 \u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0648\u064a\u0628 \u062c\u0627\u0641\u0627.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhi.com\/how-to\/ar\/\u0643\u064a\u0641\u064a\u0629-\u062a\u062b\u0628\u064a\u062a-\u0623\u0628\u0627\u062a\u0634\u064a-\u062a\u0648\u0645\u0643\u0627\u062a-\u0639\u0644\u0649-\u0623\u0648\u0628\u0648\u0646\u062a\u0648\/","og_locale":"en_US","og_type":"article","og_title":"\u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0623\u0628\u0627\u062a\u0634\u064a \u062a\u0648\u0645\u0643\u0627\u062a \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 - WebHi Tutorials &amp; Documentations","og_description":"\u062a\u0648\u0636\u062d \u0644\u0643 \u0647\u0630\u0647 \u0627\u0644\u0645\u0642\u0627\u0644\u0629 \u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0648\u062a\u0647\u064a\u0626\u0629 \u062a\u0648\u0645\u0643\u0627\u062a 9 \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 18,04\/20,04\/22,04 \u0644\u062a\u0634\u063a\u064a\u0644 \u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0648\u064a\u0628 \u062c\u0627\u0641\u0627.","og_url":"https:\/\/www.webhi.com\/how-to\/ar\/\u0643\u064a\u0641\u064a\u0629-\u062a\u062b\u0628\u064a\u062a-\u0623\u0628\u0627\u062a\u0634\u064a-\u062a\u0648\u0645\u0643\u0627\u062a-\u0639\u0644\u0649-\u0623\u0648\u0628\u0648\u0646\u062a\u0648\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2023-03-09T09:21:11+00:00","article_modified_time":"2024-03-12T10:58:12+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/tomcat_ubuntu_ar.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"\u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0623\u0628\u0627\u062a\u0634\u064a \u062a\u0648\u0645\u0643\u0627\u062a \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648","datePublished":"2023-03-09T09:21:11+00:00","dateModified":"2024-03-12T10:58:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/"},"wordCount":70,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["\u0625\u062f\u0627\u0631\u0629 \u0646\u0638\u0627\u0645 \u0644\u064a\u0646\u0643\u0633","\u062e\u0627\u062f\u0645 \u0648\u064a\u0628"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/","url":"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/","name":"\u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0623\u0628\u0627\u062a\u0634\u064a \u062a\u0648\u0645\u0643\u0627\u062a \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2023-03-09T09:21:11+00:00","dateModified":"2024-03-12T10:58:12+00:00","description":"\u062a\u0648\u0636\u062d \u0644\u0643 \u0647\u0630\u0647 \u0627\u0644\u0645\u0642\u0627\u0644\u0629 \u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0648\u062a\u0647\u064a\u0626\u0629 \u062a\u0648\u0645\u0643\u0627\u062a 9 \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648 18,04\/20,04\/22,04 \u0644\u062a\u0634\u063a\u064a\u0644 \u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0648\u064a\u0628 \u062c\u0627\u0641\u0627.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/ar\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%ab%d8%a8%d9%8a%d8%aa-%d8%a3%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%aa%d9%88%d9%85%d9%83%d8%a7%d8%aa-%d8%b9%d9%84%d9%89-%d8%a3%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"\u0643\u064a\u0641\u064a\u0629 \u062a\u062b\u0628\u064a\u062a \u0623\u0628\u0627\u062a\u0634\u064a \u062a\u0648\u0645\u0643\u0627\u062a \u0639\u0644\u0649 \u0623\u0648\u0628\u0648\u0646\u062a\u0648"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/4013"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=4013"}],"version-history":[{"count":27,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/4013\/revisions"}],"predecessor-version":[{"id":8042,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/4013\/revisions\/8042"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=4013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=4013"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=4013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}