The output should show that the service is enabled and running: To verify that the MySQL server is running, type: sudo service mysql status Once the installation is completed, the MySQL service will start automatically. Install Mysql by this command sudo apt install mysql-server Output:- You default apache page will be coming ‘ Apache2 Ubuntu Default Page‘ Now we have Apache installed and configured Firewall. Jan 06 03:59:34 apache systemd: Started The Apache HTTP Server. Jan 06 03:59:34 apache systemd: Starting The Apache HTTP Server… Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)ĭrop-In: /lib/systemd/system/Īctive: active (running) since Tue 03:59:34 UTC 5min ago Check the status of Apache with the following command. Once Apache is installed is is started automatically and already be up and running.Įvery process in Apache is managed with the systemctl command. With this command you can view the status of UFW. If you are not going to use SSL you need to enable only the Apache profile. OpenSSH: This profile opens port 22 for SSH access.Apache Secure: This profile opens only port 443 (TLS/SSL encrypted traffic).Apache Full: This profile opens both port 80 (normal, unencrypted web traffic) and port 443 (TLS/SSL encrypted traffic).Apache: This profile opens port 80 (normal, unencrypted web traffic).Need to open port no 80 for http and port no 443 for https. Now you can set up Uncomplicated Firewall (UFW) with Apache to allow public access on default web ports for HTTP and HTTPS. This will install apache2 and all required dependencies. Step 2: Install Apache sudo apt install apache2 Once you have updated the setup you can start the setup.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |