For all those who have been using Apache 2 on a localhost on a Linux distro, there's this weird (and very irritating) warning that one gets whenever the Apache server is started or stopped.
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
The address you get here might vary, but the error persists. Here's how to fix it -
* Open /etc/apache2/apache2.conf in your favourite text editor.
* Find the line that says ServerRoot "/etc/apache2"
* Add another line below it ServerName "localhost"
* Restart Apache server.
* Heave a sigh of relief from that darn irritant.
NOTE: This is valid only if you are running Apache on a localhost. If you're running it for a different domain, you'll probably need to replace localhost with your host name.
#!/usr/bin/env python
# lut4rp - 20080814
import os
print 'Speek, O Human... '
choice = raw_input()
if choice == 'go' :
os.system('sudo /etc/init.d/apache2 start')
os.system('sudo /etc/init.d/mysql start')
if choice == 'no' :
os.system('sudo /etc/init.d/apache2 stop')
os.system('sudo /etc/init.d/mysql stop')
if choice == 're' :
os.system('sudo /etc/init.d/apache2 restart')
os.system('sudo /etc/init.d/mysql restart')
I had this wallpaper for long, and it was getting kinda boring seeing just the Druplicon everytime I logged in. Now, another day, I saw this Drupal t-shirt available on some online store (dunno which, will add link if I remember) with the text "Drupal makes me hAPI".
Now that's serious Drupal love! So, I got out GIMP, chose a font (this one's called Augie) and 10 minutes later had this wallpaper done. I find it awesome, so here it is for everyone.
License: GNU General Public License v2
Result of BSAITM only, for May 2008 examinations.
(because we all know what the state of the MDU server is ;-)


