Posts

Showing posts from December 17, 2017

Check Apache2 Syntax

Image
Check Apache2 Configuration Syntax I will use Ubuntu 14.04.5 Desktop Version for this tutorials. You can check by typing command $ cat /etc/*-release Checking Linux Release information (It works in any flavour of Linux)  I already has recorded an video for Installation can see following Link But I will guide to install as here # apt install apache2 Press Y and enter for installation If all is good then you will see like this. Installation done successfully After successful installation, you can verify by typing sudo service apache2 status / or Open Browser and type http://localhost Test Window Now Open Terminal run apachectl -t , You can either type apache2ctl -t Default configuration having an warning Now open /etc/apache2/apache.conf file in any editor, I Prefer to open it in nano # nano /etc/apache2/apache.conf Add a line anywhere in page ServerName localhost Same time, I make an error Press CTRL+W    type Timeout remove las