From the course: Git for System Administration

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Manage Apache web document files

Manage Apache web document files - Git Tutorial

From the course: Git for System Administration

Start my 1-month free trial

Manage Apache web document files

- [Narrator] When running a web server using Apache, your HTML files are stored in the web document root. This location will change depending on the operating system that you use, even if the content doesn't. I'm using 7.7 Linux so the web document root is in my /var/www/html directory. You can find this location in the Apache config file in etc. I don't currently have Apache installed on my OS so I'Ll do that first. In a terminal type in sudo yum install -y httpd and hit enter. Type in your password if prompted. Once this is installed we can get some HTML files. For our HTML files we're going to extract a content management system (or CMS) into our web document root. Open a web browser and browse to joomla.org then click on Download & Extend and Joomla downloads. Now click on the Download Joomla button. And click on Save File and then OK. This will download to your downloads folder. Once that's done you can close the web browser. Back to your terminal, type in clear. And then cd into…

Contents