![]() ![]() Open up the main configuration file with your text edit: sudo nano /etc/apache2/nf Set the 'ServerName' directive globally to suppress this message OutputAH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. While harmless, if you do not set ServerName globally, you will receive the following warning when checking your Apache configuration for syntax errors: sudo apache2ctl configtest Next, we will add a single line to the /etc/apache2/nf file to suppress a warning message. Set Global ServerName to Suppress Syntax Warnings Press Y and hit Enter to continue, and the installation will proceed. Once you’ve entered your password, apt will tell you which packages it plans to install and how much extra disk space they’ll take up. It will ask you for your regular user’s password to verify your intentions. Since we are using a sudo command, these operations get executed with root privileges. A package manager allows us to install most software pain-free from a repository maintained by Ubuntu.įor our purposes, we can get started by typing these commands: sudo apt-get update We can install Apache easily using Ubuntu’s package manager, apt. It’s well-documented, and has been in wide use for much of the history of the web, which makes it a great default choice for hosting a website. The Apache web server is among the most popular web servers in the world. ![]() Step 1: Install Apache and Allow in Firewall You can learn how to do this by completing steps 1-4 in the initial server setup for Ubuntu 16.04. Prerequisitesīefore you begin with this guide, you should have a separate, non-root user account with sudo privileges set up on your server. Ubuntu will fulfill our first requirement: a Linux operating system. In this guide, we’ll get a LAMP stack installed on an Ubuntu 16.04 Droplet. The site data is stored in a MySQL database, and dynamic content is processed by PHP. ![]() This term is actually an acronym which represents the Linux operating system, with the Apache web server. A “LAMP” stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |