{"id":1269,"date":"2020-06-05T15:52:37","date_gmt":"2020-06-05T20:52:37","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=1269"},"modified":"2023-08-29T11:35:06","modified_gmt":"2023-08-29T16:35:06","slug":"how-to-install-lighttpd-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/","title":{"rendered":"How to Install Lighttpd on Ubuntu 18.04"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright\"><img decoding=\"async\" width=\"120\" height=\"99\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/06\/install-configure-lighttpd-web-server-on-ubuntu18.04-server.jpg\" alt=\"\" class=\"wp-image-1273\"\/><\/figure>\n<\/div>\n\n\n<p>In this article, we will show you how to install Lighttpd web server on an <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu 18.04 VPS<\/a> with PHP and MariaDB support. Lighttpd is a free, open-source, secure, and standards-compliant web server designed for high-performance environments. Compared to other alternative web-servers, Lighttpd consumes very few resources and capable of serving large loads. It is commonly used for high traffic sites like YouTube.<\/p>\n\n\n\n<p>Let&#8217;s begin with the installation.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For the purposes of this tutorial, we will use one of our Ubuntu 18.04 Cloud VPSes.<\/li>\n\n\n\n<li>Full SSH root access (our servers come with root access included) or a user with sudo privileges is also required.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span id=\"1-Connect-via-SSH\" class=\"ez-toc-section\">Step 1: Connect via SSH and Update the OS<\/span><\/h2>\n\n\n\n<p>Connect to your server via SSH as the root user using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@IP_ADDRESS -p PORT_NUMBER<\/pre>\n\n\n\n<p>Remember to replace \u201c<span style=\"color: #ff0000;\">IP_ADDRESS<\/span>\u201d and \u201c<span style=\"color: #ff0000;\">PORT_NUMBER<\/span>\u201d with your server&#8217;s respective IP address and SSH port number (the default is 22).<\/p>\n\n\n\n<p>Before starting with the installation, you will need to update your OS packages to their latest versions. It&#8217;s easy to do, and it won&#8217;t take more than a few minutes.<\/p>\n\n\n\n<p>You can do this by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get update \napt-get upgrade<\/pre>\n\n\n\n<p>Once the updates are completed, we can move on to the next step.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Install Lighttpd<\/h2>\n\n\n\n<p>Lighttpd is available within Ubuntu&#8217;s default software repositories &#8211; this makes installing Lighttpd as simple as installing a package. So, run the following command to install Lighttpd web server:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install lighttpd<\/pre>\n\n\n\n<p>Once the Lighttpd packages have been installed, we can start and enable the service to automatically start at boot.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl start lighttpd\nsystemctl enable lighttpd<\/pre>\n\n\n\n<p>To check the status of the service run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl status lighttpd<\/pre>\n\n\n\n<p>Output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u25cf lighttpd.service - Lighttpd Daemon\nLoaded: loaded (\/lib\/systemd\/system\/lighttpd.service; enabled; vendor preset: enabled)\nActive: active (running) since Wed 2019-07-17 05:42:39 UTC; 38s ago\nMain PID: 12965 (lighttpd)\nTasks: 1 (limit: 1114)\nCGroup: \/system.slice\/lighttpd.service\n\u2514\u250012965 \/usr\/sbin\/lighttpd -D -f \/etc\/lighttpd\/lighttpd.conf\n\nJul 17 05:42:39 ubuntu1804 systemd[1]: Starting Lighttpd Daemon...\nJul 17 05:42:39 ubuntu1804 systemd[1]: Started Lighttpd Daemon.<\/pre>\n\n\n\n<p>Open your favorite web browser and enter your server&#8217;s IP Address. It will be redirected to the default Lighttpd web page.<\/p>\n\n\n\n<p>You&#8217;re technically finished with installing Lighttpd, however the next steps are very beneficial to maximizing the potential of your web server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Install MariaDB<\/h2>\n\n\n\n<p>If you need MariaDB database support with your Lighttpd web server, we can easily install the MariaDB database server using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install mariadb-server<\/pre>\n\n\n\n<p>Once the installation has been completed, we can start the service and enable it to start on server boot with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl start mariadb\nsystemctl enable mariadb<\/pre>\n\n\n\n<p>We can then check the status of the service by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl status mariadb<\/pre>\n\n\n\n<p>If everything is fine, the service should already be started, and you should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u25cf mariadb.service - MariaDB 10.1.40 database server\nLoaded: loaded (\/lib\/systemd\/system\/mariadb.service; enabled; vendor preset: enabled)\nActive: active (running) since Wed 2019-07-17 05:47:57 UTC; 50s ago\nDocs: man:mysqld(8)\nhttps:\/\/mariadb.com\/kb\/en\/library\/systemd\/\nMain PID: 14829 (mysqld)\nStatus: \"Taking your SQL requests now...\"\nTasks: 27 (limit: 1114)\nCGroup: \/system.slice\/mariadb.service\n\u2514\u250014829 \/usr\/sbin\/mysqld\n\nJul 17 05:48:00 ubuntu1804 \/etc\/mysql\/debian-start[14866]: information_schema\nJul 17 05:48:00 ubuntu1804 \/etc\/mysql\/debian-start[14866]: mysql\nJul 17 05:48:00 ubuntu1804 \/etc\/mysql\/debian-start[14866]: performance_schema\nJul 17 05:48:00 ubuntu1804 \/etc\/mysql\/debian-start[14866]: Phase 6\/7: Checking and upgrading tables\nJul 17 05:48:00 ubuntu1804 \/etc\/mysql\/debian-start[14866]: Processing databases\nJul 17 05:48:00 ubuntu1804 \/etc\/mysql\/debian-start[14866]: information_schema\nJul 17 05:48:00 ubuntu1804 \/etc\/mysql\/debian-start[14866]: performance_schema\nJul 17 05:48:00 ubuntu1804 \/etc\/mysql\/debian-start[14866]: Phase 7\/7: Running 'FLUSH PRIVILEGES'\nJul 17 05:48:00 ubuntu1804 \/etc\/mysql\/debian-start[14866]: OK\nJul 17 05:48:00 ubuntu1804 \/etc\/mysql\/debian-start[14938]: Triggering myisam-recover for all MyISAM tables and aria-recover for all Aria tables<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Install PHP 7.2 and PHP Extensions<\/h2>\n\n\n\n<p>To install PHP along with all of its necessary extensions, run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install php7.2 php7.2-fpm php7.2-mysql php7.2-cli php7.2-curl php7.2-xml php7.2-mbstring php7.2-gd<\/pre>\n\n\n\n<p>Once PHP 7.2 has been installed, we need to enable PHP-FPM and FastCGI for Lighttpd.<\/p>\n\n\n\n<p>Open the file <code>\/etc\/php\/7.2\/fpm\/pool.d\/www.conf<\/code> using your preferred text editor:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nano \/etc\/php\/7.2\/fpm\/pool.d\/www.conf<\/pre>\n\n\n\n<p>Find the following line:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">listen = \/run\/php\/php7.2-fpm.sock<\/pre>\n\n\n\n<p>Replace it with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">listen = 127.0.0.1:9000<\/pre>\n\n\n\n<p>Save and close the file.<\/p>\n\n\n\n<p>Open the FastCGI configuration file <code>\/etc\/lighttpd\/conf-available\/15-fastcgi-php.conf<\/code> using your preferred text editor:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nano \/etc\/lighttpd\/conf-available\/15-fastcgi-php.conf<\/pre>\n\n\n\n<p>Find the following lines:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\"bin-path\" =&gt; \"\/usr\/bin\/php-cgi\",\n\"socket\" =&gt; \"\/var\/run\/lighttpd\/php.socket\",<\/pre>\n\n\n\n<p>Then replace those values with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\"host\" =&gt; \"127.0.0.1\",\n\"port\" =&gt; \"9000\",<\/pre>\n\n\n\n<p>Save and close the file.<\/p>\n\n\n\n<p>Then, enable the FastCGI and FastCGI-PHP modules with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">lighty-enable-mod fastcgi\nlighty-enable-mod fastcgi-php<\/pre>\n\n\n\n<p>Restart Lighttpd and PHP7.2-FPM to apply all the configuration changes:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">service lighttpd force-reload\nsystemctl restart php7.2-fpm<\/pre>\n\n\n\n<p>That&#8217;s all there is to it \u2013 in this tutorial, we learned how to install Lighttpd on an Ubuntu 18.04 Cloud VPS, as well as how to enable MariaDB, PHP and PHP-FPM with FastCGI support in Lighttpd.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img decoding=\"async\" width=\"120\" height=\"99\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/06\/managed-support-lighttpd-ubuntu-from-experts.jpg\" alt=\"\" class=\"wp-image-1274\"\/><\/figure>\n<\/div>\n\n\n<p>We trust that our article today successfully demonstrated how to install Lighttpd on Ubuntu 18.04 in a straightforward and effective manner. <\/p>\n\n\n\n<p>We would now like to hear from you. Is there a detail you think we overlooked or a step you are unsure about that needs further clarification? <\/p>\n\n\n\n<p>Do you have suggestions for other guides or topics you&#8217;d like us to explore? <\/p>\n\n\n\n<p>Please feel free to share your thoughts in the comment section below.&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will show you how to install Lighttpd web server on an Ubuntu 18.04 VPS with PHP and MariaDB support. Lighttpd is a free, open-source, secure, and standards-compliant web server designed for high-performance environments. Compared to other alternative web-servers, Lighttpd consumes very few resources and capable of serving large loads. It is &#8230; <a title=\"How to Install Lighttpd on Ubuntu 18.04\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/\" aria-label=\"More on How to Install Lighttpd on Ubuntu 18.04\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1272,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[179,181,47,180,182],"class_list":["post-1269","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-lighttpd","tag-server","tag-ubuntu","tag-web","tag-web-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Lighttpd on Ubuntu 18.04 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"In this article, we will show you how to install Lighttpd web server on an Ubuntu 18.04 VPS with PHP and MariaDB support. Lighttpd is a free, open-source,\" \/>\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.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-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 Lighttpd on Ubuntu 18.04 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"In this article, we will show you how to install Lighttpd web server on an Ubuntu 18.04 VPS with PHP and MariaDB support. Lighttpd is a free, open-source,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-05T20:52:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T16:35:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-lighttpd-on-ubuntu18.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install Lighttpd on Ubuntu 18.04\",\"datePublished\":\"2020-06-05T20:52:37+00:00\",\"dateModified\":\"2023-08-29T16:35:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/\"},\"wordCount\":606,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-lighttpd-on-ubuntu18.04.jpg\",\"keywords\":[\"lighttpd\",\"server\",\"ubuntu\",\"web\",\"web server\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/\",\"name\":\"How to Install Lighttpd on Ubuntu 18.04 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-lighttpd-on-ubuntu18.04.jpg\",\"datePublished\":\"2020-06-05T20:52:37+00:00\",\"dateModified\":\"2023-08-29T16:35:06+00:00\",\"description\":\"In this article, we will show you how to install Lighttpd web server on an Ubuntu 18.04 VPS with PHP and MariaDB support. Lighttpd is a free, open-source,\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-lighttpd-on-ubuntu18.04.jpg\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-lighttpd-on-ubuntu18.04.jpg\",\"width\":750,\"height\":360},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-lighttpd-on-ubuntu-18-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Lighttpd on Ubuntu 18.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Lighttpd on Ubuntu 18.04 | LinuxCloudVPS Blog","description":"In this article, we will show you how to install Lighttpd web server on an Ubuntu 18.04 VPS with PHP and MariaDB support. Lighttpd is a free, open-source,","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.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Lighttpd on Ubuntu 18.04 | LinuxCloudVPS Blog","og_description":"In this article, we will show you how to install Lighttpd web server on an Ubuntu 18.04 VPS with PHP and MariaDB support. Lighttpd is a free, open-source,","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2020-06-05T20:52:37+00:00","article_modified_time":"2023-08-29T16:35:06+00:00","og_image":[{"width":750,"height":360,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-lighttpd-on-ubuntu18.04.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install Lighttpd on Ubuntu 18.04","datePublished":"2020-06-05T20:52:37+00:00","dateModified":"2023-08-29T16:35:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/"},"wordCount":606,"commentCount":3,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-lighttpd-on-ubuntu18.04.jpg","keywords":["lighttpd","server","ubuntu","web","web server"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/","name":"How to Install Lighttpd on Ubuntu 18.04 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-lighttpd-on-ubuntu18.04.jpg","datePublished":"2020-06-05T20:52:37+00:00","dateModified":"2023-08-29T16:35:06+00:00","description":"In this article, we will show you how to install Lighttpd web server on an Ubuntu 18.04 VPS with PHP and MariaDB support. Lighttpd is a free, open-source,","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-lighttpd-on-ubuntu18.04.jpg","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-lighttpd-on-ubuntu18.04.jpg","width":750,"height":360},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-lighttpd-on-ubuntu-18-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Lighttpd on Ubuntu 18.04"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=1269"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1269\/revisions"}],"predecessor-version":[{"id":1975,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1269\/revisions\/1975"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/1272"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}