Showing posts with label apache. Show all posts
Showing posts with label apache. Show all posts

October 11, 2012

[SOLVED] Install mod_pagespeed on ubuntu x64

Just run this in your console

wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb
sudo dpkg -i mod-pagespeed-*.deb
sudo apt-get -f install
sudo service apache2 restart

done. Now your page is faster. Check your page for chages - you will find many "pagespeed.ce.fm5FGAHKsn.css" like optimisations

 

More info on installation: https://developers.google.com/speed/docs/mod_pagespeed/download

April 17, 2010

[SOLVED] “Could not reliably determine the server’s fully qualified domain name, using ... for ServerName”

 

You might probably faced the same following error while you were restarting the Apache server on Ubuntu.




$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2                                                apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName



To fix that problem, you need to edit the httpd.conf file. Open the terminal and type,




$ sudo gedit /etc/apache2/httpd.conf


By default httpd.conf file will be blank. Now, simply add the following line to the file.




ServerName localhost


Save the file and exit from gEdit.


Finally restart the server.




$ sudo /etc/init.d/apache2 restart


Source: How to fix Apache – “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName” Error on Ubuntu.