From Miscellany View source for Apache2 on RPi You are not logged in, so this source is read-only. Log in to edit. ==Install Apache2== : This is the most popular web server software in the world. First see if it is already installed: # Open Terminal # Enter: <code>sudo systemctl status apache2</code> # If the status is "active", you're done -- Apache is installed and running. : If the status is "not found", "not active" or words to that effect, proceed as follows: : See if Apache2 is installed: # Open Terminal # Enter: <code>ls /etc/</code> # If apache2 is not listed, install it: # Enter <code>sudo apt-get update</code> <code>sudo apt-get install apache2</code> <code>sudo apache2ctl start</code> ==Your Home Website== : First, try out your web browser # Open a Web browser # In the navigation window, enter "Localhost". # The "Apache2 Debian Default Page" should be displayed. # If not, review and repeat the installation steps. ===Where Are My Webpages?=== : Navigate to the ''html'' directory: # In Terminal, enter: <code>ls /var/www/html/</code> : The only file in the /html directory should be ''index.html''. This is the "Apache2 Debian Default Page". # If you want to save this file for reference, rename it or copy it to another location. # Create your new homepage and save it as ''index.html'' in the /var/www/html/ directory # Add whatever other pages and sub-directories you want on your site in this directory. : You might find it useful to create a link to the ''html'' directory in your home directory. ---- [[Raspberry Pi|Back to Raspberry Pi]] [[Category:Raspberry Pi]] [[Category:Web Work]] Retrieved from https://wiki.kats-sites.net/index.php?title=Apache2_on_RPi