{"id":315,"date":"2016-07-15T12:42:34","date_gmt":"2016-07-15T05:42:34","guid":{"rendered":"http:\/\/192.168.10.168\/wordpress\/?p=315"},"modified":"2016-08-02T16:48:36","modified_gmt":"2016-08-02T09:48:36","slug":"basic-tutorial-how-to-install-apache-web-server","status":"publish","type":"post","link":"https:\/\/www.ecc.eng.kmutnb.ac.th\/index.php\/2016\/07\/15\/basic-tutorial-how-to-install-apache-web-server\/","title":{"rendered":"Tutorial : \u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Apache Web server"},"content":{"rendered":"<h1>\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Apache Web Server \u0e1a\u0e19 Ubuntu<\/h1>\n<p>Tuesday, 21.06.2016<br \/>\n\u2500<br \/>\n<strong>\u00a0 \u00a0 \u00a0Apache<\/strong> \u0e04\u0e37\u0e2d \u0e41\u0e1e\u0e25\u0e15\u0e1f\u0e2d\u0e23\u0e4c\u0e21 Open-source \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e2a\u0e23\u0e49\u0e32\u0e07 web server \u0e0b\u0e36\u0e48\u0e07\u0e21\u0e32\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e01\u0e31\u0e1a Feature \u0e17\u0e35\u0e48\u0e04\u0e23\u0e1a\u0e04\u0e23\u0e31\u0e19\u0e17\u0e31\u0e49\u0e07 CGI SSL \u0e41\u0e25\u0e30 virtual domain<\/p>\n<h1>\u0e27\u0e31\u0e15\u0e16\u0e38\u0e1b\u0e23\u0e30\u0e2a\u0e07\u0e04\u0e4c<\/h1>\n<p>\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e08\u0e31\u0e14\u0e40\u0e15\u0e23\u0e35\u0e22\u0e21\u0e01\u0e32\u0e23\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e02\u0e2d\u0e07\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e04\u0e2d\u0e21\u0e1e\u0e34\u0e27\u0e40\u0e15\u0e2d\u0e23\u0e4c \u0e2b\u0e23\u0e37\u0e2d\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e19\u0e23\u0e39\u0e49 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e43\u0e2b\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e01\u0e31\u0e1a\u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23\u0e41\u0e25\u0e30\u0e19\u0e31\u0e01\u0e28\u0e36\u0e01\u0e29\u0e32 \u0e2b\u0e23\u0e37\u0e2d\u0e1c\u0e39\u0e49\u0e17\u0e35\u0e48\u0e2a\u0e19\u0e43\u0e08<\/p>\n<p><!--more--><\/p>\n<h1>\u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e0f\u0e34\u0e1a\u0e31\u0e15\u0e34\u0e01\u0e32\u0e23<\/h1>\n<p>Ubuntu 16.04 (VMware)<\/p>\n<h1>\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07<\/h1>\n<ol>\n<li>\u00a0\u0e2d\u0e31\u0e1b\u0e40\u0e14\u0e17\u0e41\u0e25\u0e30\u0e2d\u0e31\u0e1b\u0e40\u0e01\u0e23\u0e14\u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e0f\u0e34\u0e1a\u0e31\u0e15\u0e34\u0e01\u0e32\u0e23 Ubuntu\n<pre><span style=\"color: #008080;\">sudo apt-get update &amp;&amp; sudo apt-get upgrade<\/span><\/pre>\n<\/li>\n<li>\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Apache \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\n<pre><span style=\"color: #008080;\">sudo apt-get install apache2\r\n<\/span><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-318 size-full\" src=\"http:\/\/192.168.10.168\/wordpress\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_1.png\" alt=\"How to install Apache Web Server_1\" width=\"493\" height=\"299\" srcset=\"https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_1.png 493w, https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_1-300x182.png 300w\" sizes=\"(max-width: 493px) 100vw, 493px\" \/><\/li>\n<li>\u0e17\u0e33\u0e01\u0e32\u0e23 Enable \u0e41\u0e25\u0e30 Start Apache \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e43\u0e2b\u0e49\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e2a\u0e16\u0e32\u0e19\u0e30\n<pre><span style=\"color: #008080;\">systemctl enable apache2<\/span><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-319 size-full\" src=\"http:\/\/192.168.10.168\/wordpress\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_2.png\" alt=\"How to install Apache Web Server_2\" width=\"703\" height=\"325\" srcset=\"https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_2.png 703w, https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_2-300x139.png 300w, https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_2-500x231.png 500w\" sizes=\"(max-width: 703px) 100vw, 703px\" \/>\u0e42\u0e14\u0e22\u0e1b\u0e01\u0e15\u0e34\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01 enable Apache \u0e08\u0e30\u0e44\u0e21\u0e48\u0e21\u0e35\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19 \u0e41\u0e15\u0e48\u0e43\u0e19\u0e23\u0e39\u0e1b\u0e21\u0e35\u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e27\u0e48\u0e32 Apache2.service \u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e40\u0e1b\u0e34\u0e14\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e27\u0e34\u0e2a\u0e40\u0e2d\u0e07 \u0e41\u0e15\u0e48\u0e08\u0e30\u0e43\u0e2b\u0e49<span style=\"color: #008080;\"> Systemd-sysv-instal<\/span>l \u0e40\u0e1b\u0e47\u0e19\u0e15\u0e31\u0e27\u0e40\u0e1b\u0e34\u0e14 \u0e41\u0e15\u0e48\u0e01\u0e47\u0e22\u0e31\u0e07\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e44\u0e14\u0e49<\/li>\n<li>\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e21\u0e31\u0e48\u0e19\u0e43\u0e08\u0e27\u0e48\u0e32 Apache2 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e44\u0e14\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e1b\u0e01\u0e15\u0e34 \u0e41\u0e25\u0e30\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 Firewall \u0e43\u0e2b\u0e49\u0e2d\u0e19\u0e38\u0e0d\u0e32\u0e15 HTTP \u0e41\u0e25\u0e30 HTTPS \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\n<pre><span style=\"color: #008080;\">sudo ufw app list\u00a0<\/span><\/pre>\n<p><span style=\"color: #008080;\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-324 aligncenter\" src=\"http:\/\/192.168.10.168\/wordpress\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_7-300x100.png\" alt=\"How to install Apache Web Server_7\" width=\"300\" height=\"100\" srcset=\"https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_7-300x100.png 300w, https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_7.png 371w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <\/span><\/li>\n<li>\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a Apache Secure \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e41\u0e19\u0e48\u0e43\u0e08\u0e27\u0e48\u0e32\u0e42\u0e1b\u0e23\u0e44\u0e1f\u0e25\u0e4c\u0e19\u0e35\u0e49\u0e2d\u0e19\u0e38\u0e0d\u0e32\u0e15\u0e43\u0e2b\u0e49\u0e43\u0e0a\u0e49\u0e01\u0e32\u0e23\u0e08\u0e23\u0e32\u0e08\u0e23\u0e1c\u0e48\u0e32\u0e19\u0e1e\u0e2d\u0e23\u0e4c\u0e15 80 \u0e41\u0e25\u0e30 443\n<pre><span style=\"color: #008080;\">sudo ufw app info \"Apache Full\"<\/span><\/pre>\n<p><span style=\"color: #008080;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-320 size-full\" src=\"http:\/\/192.168.10.168\/wordpress\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_3.png\" alt=\"How to install Apache Web Server_3\" width=\"687\" height=\"141\" srcset=\"https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_3.png 687w, https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_3-300x62.png 300w, https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_3-500x103.png 500w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/> <\/span><\/li>\n<li>\u0e2d\u0e19\u0e38\u0e0d\u0e32\u0e15\u0e43\u0e2b\u0e49\u0e21\u0e35\u0e01\u0e32\u0e23\u0e08\u0e23\u0e32\u0e08\u0e23\u0e02\u0e32\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e42\u0e1b\u0e23\u0e44\u0e1f\u0e25\u0e4c\u0e19\u0e35\u0e49\n<pre><span style=\"color: #008080;\">\u00a0sudo ufw allow in \"Apache Full\"<\/span><\/pre>\n<p><span style=\"color: #008080;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-321 size-full\" src=\"http:\/\/192.168.10.168\/wordpress\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_4.png\" alt=\"How to install Apache Web Server_4\" width=\"436\" height=\"70\" srcset=\"https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_4.png 436w, https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_4-300x48.png 300w\" sizes=\"(max-width: 436px) 100vw, 436px\" \/> <\/span><\/li>\n<li>\u0e2a\u0e31\u0e48\u0e07 Start Apache \u0e41\u0e25\u0e30\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e16\u0e32\u0e19\u0e30 \u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19 \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e2a\u0e2d\u0e07\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e14\u0e31\u0e07\u0e19\u0e35\u0e49\n<pre><span style=\"color: #008080;\">systemctl start apache2<\/span>\r\n\r\n<span style=\"color: #008080;\">systemctl status apache2<\/span><\/pre>\n<p><span style=\"color: #008080;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-323 size-full\" src=\"http:\/\/192.168.10.168\/wordpress\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_6.png\" alt=\"How to install Apache Web Server_6\" width=\"729\" height=\"344\" srcset=\"https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_6.png 729w, https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_6-300x142.png 300w, https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_6-500x236.png 500w\" sizes=\"(max-width: 729px) 100vw, 729px\" \/> <\/span><\/li>\n<li>\u0e17\u0e14\u0e2a\u0e2d\u0e1a Apache \u0e42\u0e14\u0e22\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02 IP \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e2d\u0e34\u0e19\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e40\u0e19\u0e47\u0e15\u0e02\u0e2d\u0e07 VM \u0e17\u0e35\u0e48\u0e0a\u0e48\u0e2d\u0e07 URL \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e23\u0e13\u0e35\u0e17\u0e35\u0e48\u0e40\u0e1b\u0e34\u0e14\u0e08\u0e32\u0e01 browser \u0e02\u0e2d\u0e07\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 Client \u0e41\u0e15\u0e48\u0e16\u0e49\u0e32\u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e1a\u0e19 VM \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e20\u0e43\u0e0a\u0e49 <span style=\"color: #008080;\">http:\/\/localhost\/<\/span> \u0e2b\u0e23\u0e37\u0e2d <span style=\"color: #008080;\">http:\/\/server-ip-address\/<\/span> \u0e44\u0e14\u0e49\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-322 size-full\" src=\"http:\/\/192.168.10.168\/wordpress\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_5.png\" alt=\"How to install Apache Web Server_5\" width=\"733\" height=\"518\" srcset=\"https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_5.png 733w, https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_5-300x212.png 300w, https:\/\/www.ecc.eng.kmutnb.ac.th\/wp-content\/uploads\/2016\/07\/How-to-install-Apache-Web-Server_5-425x300.png 425w\" sizes=\"(max-width: 733px) 100vw, 733px\" \/><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Apache Web Server \u0e1a\u0e19 Ubuntu Tuesday, 21.06.2016 \u2500 \u00a0 \u00a0 \u00a0Apache \u0e04\u0e37\u0e2d \u0e41\u0e1e\u0e25\u0e15\u0e1f\u0e2d\u0e23\u0e4c\u0e21 Open-source \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e2a\u0e23\u0e49\u0e32\u0e07 web server \u0e0b\u0e36\u0e48\u0e07\u0e21\u0e32\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e01\u0e31\u0e1a Feature \u0e17\u0e35\u0e48\u0e04\u0e23\u0e1a\u0e04\u0e23\u0e31\u0e19\u0e17\u0e31\u0e49\u0e07 CGI SSL \u0e41\u0e25\u0e30 virtual domain \u0e27\u0e31\u0e15\u0e16\u0e38\u0e1b\u0e23\u0e30\u0e2a\u0e07\u0e04\u0e4c \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e08\u0e31\u0e14\u0e40\u0e15\u0e23\u0e35\u0e22\u0e21\u0e01\u0e32\u0e23\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e02\u0e2d\u0e07\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e04\u0e2d\u0e21\u0e1e\u0e34\u0e27\u0e40\u0e15\u0e2d\u0e23\u0e4c \u0e2b\u0e23\u0e37\u0e2d\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e19\u0e23\u0e39\u0e49 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e43\u0e2b\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e01\u0e31\u0e1a\u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23\u0e41\u0e25\u0e30\u0e19\u0e31\u0e01\u0e28\u0e36\u0e01\u0e29\u0e32 \u0e2b\u0e23\u0e37\u0e2d\u0e1c\u0e39\u0e49\u0e17\u0e35\u0e48\u0e2a\u0e19\u0e43\u0e08<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"gallery","meta":{"footnotes":""},"categories":[1],"tags":[20,22,14,21],"_links":{"self":[{"href":"https:\/\/www.ecc.eng.kmutnb.ac.th\/index.php\/wp-json\/wp\/v2\/posts\/315"}],"collection":[{"href":"https:\/\/www.ecc.eng.kmutnb.ac.th\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecc.eng.kmutnb.ac.th\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecc.eng.kmutnb.ac.th\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecc.eng.kmutnb.ac.th\/index.php\/wp-json\/wp\/v2\/comments?post=315"}],"version-history":[{"count":7,"href":"https:\/\/www.ecc.eng.kmutnb.ac.th\/index.php\/wp-json\/wp\/v2\/posts\/315\/revisions"}],"predecessor-version":[{"id":574,"href":"https:\/\/www.ecc.eng.kmutnb.ac.th\/index.php\/wp-json\/wp\/v2\/posts\/315\/revisions\/574"}],"wp:attachment":[{"href":"https:\/\/www.ecc.eng.kmutnb.ac.th\/index.php\/wp-json\/wp\/v2\/media?parent=315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecc.eng.kmutnb.ac.th\/index.php\/wp-json\/wp\/v2\/categories?post=315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecc.eng.kmutnb.ac.th\/index.php\/wp-json\/wp\/v2\/tags?post=315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}