Tech Junkie Blog - Real World Tutorials, Happy Coding!: Linux: Installing Apache Web Server On Linux Mint

Tuesday, January 16, 2024

Linux: Installing Apache Web Server On Linux Mint

 Apache (HTTPD) is the most popular web server on the web right now.  It is from the Apache Software Foundation.  A web server serves content to the web.  The power of Apache lies in it's modules which allows you to process scripting languages such as Perl, and PHP.


In this blog we will go over how to install the Apache Http Web Server on the Ubuntu Server:

1.  In the terminal type in the following command

apt-cache search apache  | more



search for the latest apache web server version



the "search" command searches for the latest apache web server version, we added the "more" command so that we can press enter to scroll

Apache HTTP Server is called apache2

















as you can see the "Apache HTTP Server" is called "apache2"

2.  Press "q" to get out of "more" listing

3.  Type in the following command to install the apache2 package

sudo apt-get install apache2

type sudo apt-get install apache2 to install apache http server



4.  When asked if you want to continue select "Y"















5. The installation will go on automatically

Answer Yes when asked during the apache2 install


















6.  Once you get your prompt back type in the following command to open the localhost page in firefox

firefox http://localhost

type firefox http://localhost to browse to the apache home page








7.  You should see the Ubuntu Apache2 Ubuntu Default Page as your localhost home page, and that's all there is too it.  In future blogs I will go over how to use and configure the Apache web server.  Don't be alarm if you see the Ubuntu default page because it's using the Ubuntu install script in the backend.























Blogs in this series:
  1. Creating a New Virtual Machine for Ubuntu Server
  2. Mounting the Ubuntu Server ISO on VirtualBox
  3. Install Ubuntu Operating System on VirtualBox
  4. Install A Desktop GUI on Ubuntu Server 
  5.  Switching To root User With The sudo Command On Ubuntu Server
  6. Installing Apache Web Server On Ubuntu Server

9 comments:

  1. The speed and reliability of UK VPS Servers are unmatched! Our website witnessed a significant boost in performance after migrating. Kudos to the hosting provider for delivering on their promises.

    ReplyDelete
  2. Fantastic walkthrough! Your step-by-step guide on installing Apache Web Server on Linux Mint is incredibly clear and easy to follow. Thanks for demystifying the process – you've made it accessible even for beginners like me. Looking forward to more insightful Linux tutorials from you!
    Best accounting services in UAE

    ReplyDelete
  3. Once you have Apache installed on your Linux Mint system, you can start working with it to host websites or web applications.File Structure:

    Apache's configuration files are typically stored in the /etc/apache2 directory.
    The main configuration file is apache2.conf.
    Virtual Host configurations, which allow you to host multiple websites on the same server, are stored in the /etc/apache2/sites-available directory.
    Website Directory:

    By default, Apache serves files from the /var/www/html directory.
    You can place your website files in this directory to make them accessible via Apache.kamrun seo

    ReplyDelete
  4. In the mystical realm of Enchantia, where the emerald forests whisper ancient secrets and the silver rivers weave tales of forgotten civilizations, a lone traveler named Celestia ventured forth. Clad in shimmering robes that mirrored the hues of twilight, she carried a satchel filled with stardust and dreams. As she traversed the undulating landscapes, curious creatures with iridescent wings flitted around her, their melodious songs harmonizing with the gentle breeze. Celestia's quest remained veiled in mystery, a tapestry woven with threads of destiny and chance. The air itself seemed to shimmer with magic, promising untold adventures and unveiling the enigmatic dance of the cosmos.blunturi




    ReplyDelete
  5. Beneath the neon glow of a city that never sleeps, the streets hummed with a symphony of urban life. Pedestrians hurried along the sidewalks, their faces illuminated by the soft glow of smartphones, lost in the digital tapestry of the modern age. Car horns punctuated the air intermittently, creating a chaotic yet oddly harmonious melody. A street artist, armed with cans of vibrant spray paint, transformed a dull brick wall into a riot of colors, a silent rebellion against the monochrome of conformity. Cafés spilled their warmth onto the pavement, tempting passersby with the aroma of freshly brewed coffee. In the midst of the bustling scene, a lone pigeon strutted with nonchalant elegance, seemingly unfazed by the whirlwind of human activity. It was a snapshot of the urban jungle, where stories unfolded in every step and the pulse of the city echoed through the veins of its diverse inhabitants.käöntöjä

    ReplyDelete
  6. Under the silver veil of moonlight, the quiet town nestled at the edge of the forest seemed to slumber in tranquility. Shadows danced along the cobblestone streets, cast by ancient trees that stood as silent sentinels in the night. The distant hoot of an owl and the rustle of leaves conspired to create a lullaby for the sleeping world. A flickering streetlamp, struggling against the encroaching darkness, added a touch of nostalgia to the scene. In the heart of the town, a forgotten fountain whispered tales of times gone by, its weathered stones bearing witness to generations of laughter, love, and loss. It was a moment frozen in time, where the night held its breath, and the mysteries of the universe seemed to weave through the fabric of the sleeping landscape.06shj06

    ReplyDelete
  7. In the heart of the bustling city, amidst the chaos of honking horns and hurried footsteps, there stood a quaint little cafe tucked away in a corner. The aroma of freshly brewed coffee mingled with the scent of freshly baked pastries, inviting passersby to step inside and escape the frenzy outside. Soft jazz music filled the air, creating a cozy atmosphere where patrons lingered over their cups, lost in conversation or lost in thought. Outside, the neon lights of the city flickered against the night sky, but within the walls of the cafe, time seemed to slow down, offering a brief respite from the rush of modern life.sis swap

    ReplyDelete
  8. Excellent blog…this article is very helpful for all of us…

    ReplyDelete

Search This Blog