{"id":10540,"date":"2023-10-31T15:38:57","date_gmt":"2023-10-31T15:38:57","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=10540"},"modified":"2024-03-27T16:45:09","modified_gmt":"2024-03-27T16:45:09","slug":"how-to-install-apache-web-server-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/","title":{"rendered":"How to Install Apache Web Server on Ubuntu 22.04"},"content":{"rendered":"<p>The <a href=\"https:\/\/httpd.apache.org\/\">Apache HTTP Server<\/a>, commonly referred to as Apache, is one of the world&#8217;s most popular open-source web servers. Its primary purpose is to serve web content to clients, such as web browsers when they request web pages or other resources over the internet. Apache is known for its stability, reliability, and flexibility. That\u2019s why it is the best pick for hosting websites and web applications on Linux systems, including Ubuntu.<\/p>\n<p>This post will list the method to install Apache Web Server on Ubuntu 22.04 (the latest LTS of Ubuntu).<\/p>\n<h2>How to Install Apache Web Server on Ubuntu 22.04?<\/h2>\n<p>Apache Web Server support is available on the apt repository of Ubuntu 22.04. Let\u2019s dig into the steps and the commands to get it on your Ubuntu 22.04:<\/p>\n<h3>Update the Packages List<\/h3>\n<p>Let\u2019s first refresh the packages list on the Ubuntu 22.04:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo apt update<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img fetchpriority=\"high\" decoding=\"async\" width=\"963\" height=\"266\" class=\"wp-image-10541\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-computer-screen-with-white-text-description-aut-1.jpeg\" alt=\"A computer screen with white text\n\nDescription automatically generated\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-computer-screen-with-white-text-description-aut-1.jpeg 963w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-computer-screen-with-white-text-description-aut-1-300x83.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-computer-screen-with-white-text-description-aut-1-768x212.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-computer-screen-with-white-text-description-aut-1-960x266.jpeg 960w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-computer-screen-with-white-text-description-aut-1-155x43.jpeg 155w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/p>\n<h3>Install the Apache<\/h3>\n<p>Once you get the updated packages, use the command below to install Apache on Ubuntu 22.04:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo apt install apache2<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img decoding=\"async\" width=\"979\" height=\"635\" class=\"wp-image-10542\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-2.jpeg\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-2.jpeg 979w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-2-300x195.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-2-768x498.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-2-155x101.jpeg 155w\" sizes=\"(max-width: 979px) 100vw, 979px\" \/><\/p>\n<h3>Verify the Installation<\/h3>\n<p>Once done with the installation, check the installed version of Apache to verify the installation:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ apache2 -v<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img decoding=\"async\" width=\"870\" height=\"111\" class=\"wp-image-10543\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-close-up-of-a-screen-description-automatically-1.jpeg\" alt=\"A close up of a screen\n\nDescription automatically generated\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-close-up-of-a-screen-description-automatically-1.jpeg 870w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-close-up-of-a-screen-description-automatically-1-300x38.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-close-up-of-a-screen-description-automatically-1-768x98.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-close-up-of-a-screen-description-automatically-1-155x20.jpeg 155w\" sizes=\"(max-width: 870px) 100vw, 870px\" \/><\/p>\n<p>The output shows the server version 2.4.52 and the server built as well.<\/p>\n<h2>How to Configure Apache Web Server on Ubuntu 22.04?<\/h2>\n<p>Apache, like any web hosting server, must deal with the incoming and outgoing traffic. Thus, it is mandatory to allow operations of Apache through your Firewall. Moreover, Apache is managed by the backend service on Ubuntu 22.04. Therefore, the service must also be configured properly for smooth operations of Apache 2 on your Ubuntu 22.04. Let\u2019s do all these configurations step by step, as follows:<\/p>\n<h3>Configure the Firewall<\/h3>\n<p>Use the UFW utility to allow Apache on Firewall, which can be done using the command:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo ufw allow \u2018apache full\u2019<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"934\" height=\"119\" class=\"wp-image-10544\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-4.jpeg\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-4.jpeg 934w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-4-300x38.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-4-768x98.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-4-155x20.jpeg 155w\" sizes=\"(max-width: 934px) 100vw, 934px\" \/><\/p>\n<p>Reload the Firewall to make the changes effective:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo ufw reload<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"90\" class=\"wp-image-10545\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-5.jpeg\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-5.jpeg 900w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-5-300x30.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-5-768x77.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-5-155x16.jpeg 155w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>Lastly, it is recommended to check the status of the active services through Firewall:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo ufw status<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"963\" height=\"303\" class=\"wp-image-10546\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-6.jpeg\" alt=\"A screenshot of a computer\n\nDescription automatically generated\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-6.jpeg 963w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-6-300x94.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-6-768x242.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-6-960x303.jpeg 960w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-6-155x49.jpeg 155w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/p>\n<p><strong>Note: <\/strong>If you cannot make changes using UFW, the utility might be disabled. In such a scenario, you need to enable it via the command:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo ufw enable<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<h3>Manage the Backend Apache Services<\/h3>\n<p>Now, it is time to configure the backend Apache services. The users can use the systemctl utility, and the following commands can be used:<\/p>\n<h4>Start the Apache Service<\/h4>\n<p>Initially, the Apache service might not be working. To make it functional, start the service using the command:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo systemctl start apache2<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"62\" class=\"wp-image-10547\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-7.jpeg\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-7.jpeg 924w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-7-300x20.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-7-768x52.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-7-155x10.jpeg 155w\" sizes=\"(max-width: 924px) 100vw, 924px\" \/><\/p>\n<h4>Enable the Service<\/h4>\n<p>Enabling the Apache service will keep the service in the active state even after the reboot:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo systemctl enable apache2<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"973\" height=\"144\" class=\"wp-image-10548\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-7.jpeg\" alt=\"A screenshot of a computer\n\nDescription automatically generated\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-7.jpeg 973w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-7-300x44.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-7-768x114.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-7-155x23.jpeg 155w\" sizes=\"(max-width: 973px) 100vw, 973px\" \/><\/p>\n<h4>Check the Status<\/h4>\n<p>While dealing with the Apache service, the users must keep on tracing the status of the service, which can be done using the command:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo systemctl status apache2<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"479\" class=\"wp-image-10549\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-computer-screen-shot-of-a-program-description-a-1.jpeg\" alt=\"A computer screen shot of a program\n\nDescription automatically generated\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-computer-screen-shot-of-a-program-description-a-1.jpeg 979w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-computer-screen-shot-of-a-program-description-a-1-300x147.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-computer-screen-shot-of-a-program-description-a-1-768x376.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-computer-screen-shot-of-a-program-description-a-1-155x76.jpeg 155w\" sizes=\"(max-width: 979px) 100vw, 979px\" \/><\/p>\n<h4>Stop the Service<\/h4>\n<p>If the service needs to be stopped, the following stop option of the systemctl command can be used:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo systemctl stop apache2<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"64\" class=\"wp-image-10550\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-10.jpeg\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-10.jpeg 946w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-10-300x20.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-10-768x52.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-10-155x10.jpeg 155w\" sizes=\"(max-width: 946px) 100vw, 946px\" \/><\/p>\n<h4>Disable the Service<\/h4>\n<p>Sometimes, you might need to disable the Apache service. The service can be disabled via the command:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo systemctl disable apache2<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"976\" height=\"168\" class=\"wp-image-10551\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-8.jpeg\" alt=\"A screenshot of a computer\n\nDescription automatically generated\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-8.jpeg 976w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-8-300x52.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-8-768x132.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/a-screenshot-of-a-computer-description-automatica-8-155x27.jpeg 155w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/p>\n<p>That\u2019s how you can configure the Firewall and Apache backend service.<\/p>\n<h2>How to Test the Working of the Apache on Ubuntu 22.04?<\/h2>\n<p>Once the Apache is installed and the service is configured, you can test the working of the Apache on your system. Go to your browser and test the localhost (127.0.0.1 in our case) on the browser&#8217;s address bar. You will be welcomed by the Apache as shown below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"957\" height=\"727\" class=\"wp-image-10552\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-12.jpeg\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-12.jpeg 957w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-12-300x228.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-12-768x583.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-12-155x118.jpeg 155w\" sizes=\"(max-width: 957px) 100vw, 957px\" \/><\/p>\n<h2>How to Remove Apache From Ubuntu 22.04?<\/h2>\n<p>Apache Web Server is not the package to be removed without any reason. If you are in need to remove it from Ubuntu 22.04, you can do it using the command:<\/p>\n<table>\n<thead>\n<tr>\n<th>$ sudo apt autoremove apache2<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"585\" class=\"wp-image-10553\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-13.jpeg\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-13.jpeg 980w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-13-300x179.jpeg 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-13-768x458.jpeg 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10540-13-155x93.jpeg 155w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/p>\n<h2>Bottom Line<\/h2>\n<p>Apache Web Server is the leading multipurpose web hosting software for Ubuntu and other Linux distributions. Apache services can be obtained on Ubuntu 22.04 by installing the Apache server. Apart from only installation, the user needs to configure the Firewall and manage the Apache backend service to make it functional.<\/p>\n<p>In the end, this post has covered you all, including installing and configuring Apache Web Server on Ubuntu 22.04. In our next article, read <a href=\"https:\/\/greenwebpage.com\/community\/how-to-setup-apache-virtual-hosts-on-ubuntu-22-04\/\">How to Setup Apache Virtual Hosts on Ubuntu 22.04<\/a>.<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>The Apache HTTP Server, commonly referred to as Apache, is one of the world&#8217;s most popular open-source web servers. Its primary purpose is to serve web content to clients, such as web browsers when they request web pages or other resources over the internet. Apache is known for its stability, reliability, and flexibility. That\u2019s why [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":10944,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[233,224],"class_list":["post-10540","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-apache","tag-ubuntu-22-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Apache Web Server on Ubuntu 22.04 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"This post will list the method to install Apache Web Server on Ubuntu 22.04 (the latest LTS of Ubuntu).\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Apache Web Server on Ubuntu 22.04 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"This post will list the method to install Apache Web Server on Ubuntu 22.04 (the latest LTS of Ubuntu).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-31T15:38:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-27T16:45:09+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Apache-Web-Server-on-Ubuntu-22.04-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install Apache Web Server on Ubuntu 22.04\",\"datePublished\":\"2023-10-31T15:38:57+00:00\",\"dateModified\":\"2024-03-27T16:45:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/\"},\"wordCount\":706,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Apache-Web-Server-on-Ubuntu-22.04-1.jpg\",\"keywords\":[\"Apache\",\"Ubuntu 22.04\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/\",\"name\":\"How to Install Apache Web Server on Ubuntu 22.04 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Apache-Web-Server-on-Ubuntu-22.04-1.jpg\",\"datePublished\":\"2023-10-31T15:38:57+00:00\",\"dateModified\":\"2024-03-27T16:45:09+00:00\",\"description\":\"This post will list the method to install Apache Web Server on Ubuntu 22.04 (the latest LTS of Ubuntu).\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Apache-Web-Server-on-Ubuntu-22.04-1.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Apache-Web-Server-on-Ubuntu-22.04-1.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to Install Apache Web Server on Ubuntu 22.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Apache Web Server on Ubuntu 22.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Apache Web Server on Ubuntu 22.04 - Greenwebpage Community","description":"This post will list the method to install Apache Web Server on Ubuntu 22.04 (the latest LTS of Ubuntu).","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:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Apache Web Server on Ubuntu 22.04 - Greenwebpage Community","og_description":"This post will list the method to install Apache Web Server on Ubuntu 22.04 (the latest LTS of Ubuntu).","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/","og_site_name":"Greenwebpage Community","article_published_time":"2023-10-31T15:38:57+00:00","article_modified_time":"2024-03-27T16:45:09+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Apache-Web-Server-on-Ubuntu-22.04-1.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install Apache Web Server on Ubuntu 22.04","datePublished":"2023-10-31T15:38:57+00:00","dateModified":"2024-03-27T16:45:09+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/"},"wordCount":706,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Apache-Web-Server-on-Ubuntu-22.04-1.jpg","keywords":["Apache","Ubuntu 22.04"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/","name":"How to Install Apache Web Server on Ubuntu 22.04 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Apache-Web-Server-on-Ubuntu-22.04-1.jpg","datePublished":"2023-10-31T15:38:57+00:00","dateModified":"2024-03-27T16:45:09+00:00","description":"This post will list the method to install Apache Web Server on Ubuntu 22.04 (the latest LTS of Ubuntu).","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Apache-Web-Server-on-Ubuntu-22.04-1.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Apache-Web-Server-on-Ubuntu-22.04-1.jpg","width":1020,"height":600,"caption":"How to Install Apache Web Server on Ubuntu 22.04"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-apache-web-server-on-ubuntu-22-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install Apache Web Server on Ubuntu 22.04"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/10540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=10540"}],"version-history":[{"count":2,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/10540\/revisions"}],"predecessor-version":[{"id":11202,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/10540\/revisions\/11202"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/10944"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=10540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=10540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=10540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}