![]() ![]() To make a backup of the nf file, use:Ĭp /etc/httpd/conf/nf ~/ Install Apache 2.4 using yum: sudo yum install httpdĪfter you confirm the installation, let yum install Apache and its dependencies.īefore changing any configuration files, Linode recommends that you make a backup. Install and configure Apache Installing Apache Run the following commands to allow web traffic through the firewall: sudo firewall-cmd -add-service=http -permanent & sudo firewall-cmd -add-service=https -permanent Use yum to update the system and make sure everything is up to date: sudo yum updateīy default, CentOS 7 is set to block web traffic. ![]() The first command displays a short hostname, and the second displays the Fully Qualified Domain Name (FQDN). Before you beginĮnsure you have followed both the Getting Started and Securing Your Server guides.Ĭheck that the Linode’s hostname is set. Replace each instance of in this guide with the domain name of the website. If you’re not familiar with the sudo command, you can check the Users and Groups guide. Commands that require elevated privileges are prefixed with sudo. ![]() This guide is written for a non-root user. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |