{"id":14187,"date":"2025-12-30T11:02:48","date_gmt":"2025-12-30T05:32:48","guid":{"rendered":"https:\/\/www.youstable.com\/blog\/?p=14187"},"modified":"2025-12-30T11:02:51","modified_gmt":"2025-12-30T05:32:51","slug":"create-apache-on-linux","status":"publish","type":"post","link":"https:\/\/www.youstable.com\/blog\/create-apache-on-linux","title":{"rendered":"How to Create Apache on Linux Server in 2026?"},"content":{"rendered":"\n<p><strong>To create Apache on a Linux server<\/strong>, install the Apache package, start and enable the service, open firewall ports 80\/443, verify with a browser or curl, add a Virtual Host for your domain, and secure it with a free Let\u2019s Encrypt SSL. On Ubuntu use apt; on RHEL-family distros use dnf.<\/p>\n\n\n\n<p>Setting up the Apache web server is one of the most reliable ways to host websites on Linux. In this guide, I\u2019ll show you exactly how to create Apache on a Linux server from scratch, configure virtual hosts, enable HTTPS, harden security, and optimize performance\u2014step by step and beginner-friendly.<\/p>\n\n\n\n<p>Primary keyword focus: How to Create Apache on Linux Server. Secondary keywords included naturally: install Apache, <a href=\"https:\/\/www.youstable.com\/blog\/what-is-apache-web-server-on-linux\/\">Apache web server<\/a>, virtual hosts, Let\u2019s Encrypt SSL, hardening, performance tuning.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"what-is-apache-and-why-use-it\"><strong>What is Apache and Why Use it?<\/strong><\/h2>\n\n\n\n<p><strong>Apache HTTP Server is an open source web server<\/strong> that powers millions of sites. It\u2019s stable, widely supported, modular, and works across all major Linux distributions.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"533\" src=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/image-104.png\" alt=\"Create Apache on Linux\" class=\"wp-image-14373\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/image-104.png 800w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/image-104-150x100.png 150w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>If you want a proven, flexible server for PHP apps, static websites, and CMSs like WordPress, Apache is a top choice.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"prerequisites\"><strong>Prerequisites<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A Linux server (Ubuntu\/Debian or RHEL\/CentOS\/AlmaLinux\/Rocky)<\/li>\n\n\n\n<li>Root or sudo access<\/li>\n\n\n\n<li>A domain name (optional but recommended)<\/li>\n\n\n\n<li>Firewall access (UFW or firewalld) and open ports 80\/443<\/li>\n\n\n\n<li>DNS A record pointing to your server\u2019s public IP (for HTTPS)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"install-apache-on-popular-linux-distributions\"><strong>Install Apache on Popular Linux Distributions<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"ubuntu-debian\"><strong>Ubuntu \/ Debian<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install -y apache2\nsudo systemctl enable --now apache2\nsudo ufw allow 'Apache Full'    # opens ports 80 and 443\nsudo ufw status<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"rhel-centos-almalinux-rocky\"><strong>RHEL \/ CentOS \/ AlmaLinux \/ Rocky<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install -y httpd\nsudo systemctl enable --now httpd\nsudo firewall-cmd --permanent --add-service=http\nsudo firewall-cmd --permanent --add-service=https\nsudo firewall-cmd --reload<\/code><\/pre>\n\n\n\n<p><strong>Tip:<\/strong> On SELinux-enabled systems, if your site needs network calls (e.g., to a database on another host), enable the boolean:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo setsebool -P httpd_can_network_connect 1<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"verify-apache-is-running\"><strong>Verify Apache is Running<\/strong><\/h2>\n\n\n\n<p>Open your browser and visit http:\/\/your_server_ip or http:\/\/your_domain. You should see the Apache default page. Or verify with curl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -I http:\/\/SERVER_IP\n# Expect: HTTP\/1.1 200 OK<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"create-your-first-apache-virtual-host\"><strong>Create Your First Apache Virtual Host<\/strong><\/h2>\n\n\n\n<p>Virtual <a href=\"https:\/\/www.youstable.com\/blog\/secure-dedicated-server\/\">hosts let you host multiple sites on one server<\/a>. Replace example.com with your domain.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"ubuntu-debian-sites-available-plus-a2ensite\"><strong>Ubuntu \/ Debian: sites-available + a2ensite<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir -p \/var\/www\/example.com\/public_html\nsudo chown -R $USER:$USER \/var\/www\/example.com\/public_html\necho \"&lt;h1&gt;Hello from example.com&lt;\/h1&gt;\" | sudo tee \/var\/www\/example.com\/public_html\/index.html\n\nsudo nano \/etc\/apache2\/sites-available\/example.com.conf<\/code><\/pre>\n\n\n\n<p><strong>Paste this vhost:-<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;VirtualHost *:80&gt;\n    ServerName example.com\n    ServerAlias www.example.com\n    DocumentRoot \/var\/www\/example.com\/public_html\n\n    &lt;Directory \/var\/www\/example.com\/public_html&gt;\n        AllowOverride All\n        Require all granted\n    &lt;\/Directory&gt;\n\n    ErrorLog ${APACHE_LOG_DIR}\/example_error.log\n    CustomLog ${APACHE_LOG_DIR}\/example_access.log combined\n&lt;\/VirtualHost&gt;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo a2ensite example.com.conf\nsudo a2dissite 000-default.conf\nsudo a2enmod rewrite headers\nsudo apachectl configtest\nsudo systemctl reload apache2<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"rhel-family-conf-d\"><strong>RHEL Family: conf.d<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir -p \/var\/www\/example.com\/public_html\nsudo chown -R apache:apache \/var\/www\/example.com\necho \"&lt;h1&gt;Hello from example.com&lt;\/h1&gt;\" | sudo tee \/var\/www\/example.com\/public_html\/index.html\n\nsudo nano \/etc\/httpd\/conf.d\/example.com.conf<\/code><\/pre>\n\n\n\n<p><strong>Paste this vhost:-<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;VirtualHost *:80&gt;\n    ServerName example.com\n    ServerAlias www.example.com\n    DocumentRoot \/var\/www\/example.com\/public_html\n\n    &lt;Directory \/var\/www\/example.com\/public_html&gt;\n        AllowOverride All\n        Require all granted\n    &lt;\/Directory&gt;\n\n    ErrorLog \/var\/log\/httpd\/example_error.log\n    CustomLog \/var\/log\/httpd\/example_access.log combined\n&lt;\/VirtualHost&gt;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apachectl configtest\nsudo systemctl reload httpd<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"add-https-with-lets-encrypt-free-ssl\"><strong>Add HTTPS with Let\u2019s Encrypt (Free SSL)<\/strong><\/h2>\n\n\n\n<p>SSL is essential for security and SEO. Use Certbot to request and auto-configure HTTPS certificates.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"ubuntu-debian\"><strong>Ubuntu \/ Debian<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install -y certbot python3-certbot-apache\nsudo certbot --apache -d example.com -d www.example.com\n# Choose redirect to force HTTPS\nsudo systemctl status certbot.timer   # auto-renewal<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"rhel-centos-almalinux-rocky\"><strong>RHEL \/ CentOS \/ AlmaLinux \/ Rocky<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install -y certbot python3-certbot-apache\n# If EPEL is required: sudo dnf install -y epel-release\nsudo certbot --apache -d example.com -d www.example.com\nsudo systemctl status certbot-renew.timer<\/code><\/pre>\n\n\n\n<p>Certificates renew automatically. You can test renewal with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot renew --dry-run<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"serve-php-lamp-stack\"><strong>Serve PHP (LAMP Stack)<\/strong><\/h2>\n\n\n\n<p>If you plan to <a href=\"https:\/\/www.youstable.com\/blog\/install-and-run-php-8-x-on-ubuntu-20-04\/\">run WordPress or PHP<\/a> apps, add PHP and its Apache module.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"ubuntu-debian\"><strong>Ubuntu \/ Debian<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install -y php libapache2-mod-php php-mysql php-cli php-xml php-curl\nsudo systemctl reload apache2\necho \"&lt;?php phpinfo(); ?&gt;\" | sudo tee \/var\/www\/example.com\/public_html\/info.php<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"rhel-family\"><strong>RHEL Family<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install -y php php-mysqlnd php-cli php-xml php-curl\nsudo systemctl reload httpd\necho \"&lt;?php phpinfo(); ?&gt;\" | sudo tee \/var\/www\/example.com\/public_html\/info.php<\/code><\/pre>\n\n\n\n<p>Visit https:\/\/example.com\/info.php to confirm. Remove this file afterward for security.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"essential-apache-security-hardening\"><strong>Essential Apache Security Hardening<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Keep packages updated:<\/strong> apt upgrade or dnf upgrade regularly.<\/li>\n\n\n\n<li><strong>Hide version info:<\/strong> set ServerTokens Prod and ServerSignature Off.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.youstable.com\/blog\/disable-directory-browsing-listing-using-htaccess\/\"><strong>Disable directory<\/strong><\/a><strong> listing: <\/strong>Options -Indexes in Directory blocks.<\/li>\n\n\n\n<li><strong>Strict permissions:<\/strong> files 640, directories 750; owned by a deploy user and group readable by web server.<\/li>\n\n\n\n<li><strong>Use HTTPS only:<\/strong> redirect HTTP to HTTPS in your vhost.<\/li>\n\n\n\n<li><strong>Enable security modules: <\/strong>ModSecurity (WAF) and mod_evasive where supported.<\/li>\n\n\n\n<li><strong>Backups:<\/strong> automate site and config backups off-server.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># Ubuntu\/Debian\nsudo nano \/etc\/apache2\/conf-available\/security.conf\n# RHEL family\nsudo nano \/etc\/httpd\/conf.d\/security.conf\n\n# Add:\nServerTokens Prod\nServerSignature Off\nTraceEnable Off<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"performance-tuning-basics\"><strong>Performance Tuning Basics<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use the event MPM for modern, scalable performance (great for HTTPS).<\/li>\n\n\n\n<li>Enable compression and caching headers to reduce payloads.<\/li>\n\n\n\n<li>Right-size KeepAlive (On; KeepAliveTimeout 2\u20135; MaxKeepAliveRequests 100\u2013200).<\/li>\n\n\n\n<li>Serve static assets via CDN when possible.<\/li>\n\n\n\n<li>Profile with Apache logs and a lightweight load test (ab or wrk).<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># Switch to event MPM (Ubuntu\/Debian)\nsudo a2dismod mpm_prefork\nsudo a2enmod mpm_event\nsudo systemctl restart apache2\n\n# Compression and cache headers\n# Ubuntu: \/etc\/apache2\/conf-available\/performance.conf\n# RHEL:   \/etc\/httpd\/conf.d\/performance.conf\nAddOutputFilterByType DEFLATE text\/plain text\/html text\/xml text\/css text\/javascript application\/javascript application\/json\nHeader set Cache-Control \"public, max-age=31536000\" \"expr=%{REQUEST_URI} -strmatch '*\\\\.(css|js|png|jpg|jpeg|gif|svg|woff|woff2)$'\"\nFileETag None<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"useful-management-commands\"><strong>Useful Management Commands<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"service-control\"><strong>Service Control<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># Ubuntu\/Debian\nsudo systemctl status apache2\nsudo systemctl reload apache2\nsudo systemctl restart apache2\n\n# RHEL family\nsudo systemctl status httpd\nsudo systemctl reload httpd\nsudo systemctl restart httpd<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"logs-and-diagnostics\"><strong>Logs and Diagnostics<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># Ubuntu\/Debian\ntail -f \/var\/log\/apache2\/access.log \/var\/log\/apache2\/error.log\n\n# RHEL family\ntail -f \/var\/log\/httpd\/access_log \/var\/log\/httpd\/error_log\n\n# Validate configuration\nsudo apachectl configtest<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"troubleshooting-common-issues\"><strong>Troubleshooting Common Issues<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>403 Forbidden:<\/strong> Ensure DocumentRoot exists, permissions are correct, and Directory block includes \u201cRequire all granted\u201d. On SELinux, run restorecon -Rv \/var\/www.<\/li>\n\n\n\n<li><strong>404 Not Found:<\/strong> Check VirtualHost ServerName\/ServerAlias matches your requested host and DNS points to the server.<\/li>\n\n\n\n<li><strong>Site loads over HTTP only: <\/strong>Ensure port 443 is open, SSL cert installed, and HTTPS vhost exists. Certbot can automate this.<\/li>\n\n\n\n<li><strong>Rewrite rules not working:<\/strong> Confirm AllowOverride All and that mod_rewrite is enabled.<\/li>\n\n\n\n<li><strong>Port conflicts:<\/strong> Verify nothing else binds to 80\/443 (sudo ss -tulpn | grep :80).<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"when-to-consider-managed-hosting\"><strong>When to Consider Managed Hosting<\/strong><\/h2>\n\n\n\n<p>If you\u2019d rather focus on your app than server administration, a <a href=\"https:\/\/www.youstable.com\/blog\/benefits-of-fully-managed-dedicated-server\/\">managed VPS or Dedicated Server<\/a> can save hours weekly. At YouStable, we provide optimized Linux servers with one-click LAMP images, built-in firewalls, 24\u00d77 monitoring, and expert support to keep Apache fast, secure, and always up-to-date.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"best-practices-checklist\"><strong>Best Practices Checklist<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install Apache and enable the service on boot.<\/li>\n\n\n\n<li>Open HTTP\/HTTPS in your firewall.<\/li>\n\n\n\n<li>Create separate virtual hosts per domain.<\/li>\n\n\n\n<li>Enable HTTPS with Let\u2019s Encrypt and auto-renewal.<\/li>\n\n\n\n<li><strong>Harden: <\/strong>hide server tokens, disable indexes, tighten permissions.<\/li>\n\n\n\n<li><strong>Tune:<\/strong> event MPM, compression, cache headers, sensible KeepAlive.<\/li>\n\n\n\n<li>Monitor logs and set up automated backups.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"faqs\"><strong>FAQ&#8217;s<\/strong><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1765950614352\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"1-which-linux-distro-is-best-for-apache\">1. <strong>Which Linux distro is best for Apache?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Ubuntu and Debian are popular for simplicity and documentation. RHEL-based distros (AlmaLinux\/Rocky) are favored in enterprises for long-term support and SELinux. Apache runs great on all; choose the ecosystem you\u2019re comfortable supporting.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765950633249\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"2-where-is-the-apache-configuration-file-on-linux\">2. <strong>Where is the Apache configuration file on Linux?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Ubuntu\/Debian use \/etc\/apache2\/ with vhosts in sites-available and sites-enabled. RHEL-family distros use \/etc\/httpd\/ with vhosts typically in conf.d. The main file is apache2.conf (Debian) or httpd.conf (RHEL), which includes additional *.conf files.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765950642996\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"3-how-do-i-host-multiple-websites-on-one-server\">3. <strong>How do I host multiple websites on one server?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Create a VirtualHost for each domain with its own DocumentRoot. On Ubuntu, enable with a2ensite; on RHEL, drop a .conf into \/etc\/httpd\/conf.d. Point each domain\u2019s DNS A record to your server\u2019s IP and reload Apache.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765950652008\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"4-how-do-i-change-apaches-default-port\">4. <strong>How do I change Apache\u2019s default port?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Update the Listen directive and any VirtualHost blocks. On Ubuntu\/Debian, edit \/etc\/apache2\/ports.conf and vhost files; on RHEL, edit the relevant .conf files. Open the new port in your firewall and reload Apache. Avoid using privileged ports without proper firewalling.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765950660053\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"5-is-apache-free-and-secure-for-production-use\">5. <strong>Is Apache free and secure for production use?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes. Apache is open-source, battle-tested, and secure when maintained correctly. Keep packages updated, enforce HTTPS, harden configurations, and monitor logs. Consider a managed provider like YouStable if you need expert help with ongoing security and performance.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>You\u2019ve learned how to create Apache on a Linux server, configure virtual hosts, add HTTPS, secure the stack, and tune performance. Follow the checklist, automate updates and backups, and you\u2019ll have a fast, resilient web server ready for WordPress, Laravel, or any PHP site managed or self hosted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To create Apache on a Linux server, install the Apache package, start and enable the service, open firewall ports 80\/443, [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":16681,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[350],"tags":[],"class_list":["post-14187","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase"],"acf":[],"featured_image_src":"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/How-to-Create-Apache-on-Linux-Server.jpg","author_info":{"display_name":"Sanjeet Chauhan","author_link":"https:\/\/www.youstable.com\/blog\/author\/sanjeet"},"_links":{"self":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/14187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/comments?post=14187"}],"version-history":[{"count":6,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/14187\/revisions"}],"predecessor-version":[{"id":16683,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/14187\/revisions\/16683"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media\/16681"}],"wp:attachment":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media?parent=14187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/categories?post=14187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/tags?post=14187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}