View Single Post
Old 07-27-2017, 04:46 PM  
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 380
Code:
root@ubuntu-2gb-blr1-01:~# service ufw status
● ufw.service - Uncomplicated firewall
   Loaded: loaded (/lib/systemd/system/ufw.service; enabled; vendor preset: enabled)
   Active: active (exited) since Tue 2017-07-25 22:39:22 UTC; 2 days ago
 Main PID: 606 (code=exited, status=0/SUCCESS)
    Tasks: 0
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/ufw.service

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

service apache2 status
● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: active (running) since Thu 2017-07-27 17:55:53 UTC; 5h 30min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 22306 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
    Tasks: 55
   Memory: 6.3M
      CPU: 1min 40.510s
   CGroup: /system.slice/apache2.service
           ├─22323 /usr/sbin/apache2 -k start
           ├─22326 /usr/sbin/apache2 -k start
           └─22327 /usr/sbin/apache2 -k start

Jul 27 17:55:51 ubuntu-2gb-blr1-01 systemd[1]: Starting LSB: Apache2 web server...
Jul 27 17:55:51 ubuntu-2gb-blr1-01 apache2[22306]:  * Starting Apache httpd web server apache2
Jul 27 17:55:52 ubuntu-2gb-blr1-01 apache2[22306]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Jul 27 17:55:53 ubuntu-2gb-blr1-01 apache2[22306]:  *
Jul 27 17:55:53 ubuntu-2gb-blr1-01 systemd[1]: Started LSB: Apache2 web server.
Stupid guide

It makes you install a virtual host including the sample pages and does not let you open the firewall, as first step has a really demoral effect...
First or later you think maybe it's better if I stop doing the programmer and I'm going to sell ice cream in Germany

Looking for the errors reported by the commands that indicated me Barry-Xlovecam, I ended up on this https://www.digitalocean.com/communi...n-ubuntu-16-04 guide, which would be the next one I would have done, maybe it was better to do this first.

I have configured the firewall and now it works

Thank you very much for the help

Now LAMP.... surely I'll be back for the next issue, probably caused by a guide stupid
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote