Recently apt-get update started throwing notices which read: Ignoring file ‘opera.list.distUpgrade’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension Ignoring file ‘opera.list.save’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension It occured because sources.list.d directory isn’t supposed to contain files with .distupgrade and .save extensions, but since I upgraded my distribution from 10.04,… Continue reading [SOLVED] “Ignoring file ‘.distUpgrade’ / ‘.save’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension” on Ubuntu 10.10
Tuxguitar stopped working after upgrading to Ubuntu 10.10 Alpha. Many people seem to be having this problem after a distribution upgrade. The fix is simple. Install timidity and tuxguitar-jsa package. sudo apt-get install timidity tuxguitar-jsa After the install, run tuxguitar and play a file. You should hear the sound. If you still cannot hear it… Continue reading [SOLVED] No sound in tuxguitar
Ubuntu 11.04, which is to be released in April 2011, has been named Natty Narwhal as mentioned on Mark Shuttleworth’s blog. Check out the entire blog post here. Seems reasonable, as weird sounding as all previous names. Ubuntu, you never disappoint me!
You can enable or disable any apache module using a2enmod and a2dismod. You don’t need to edit the conf file for that unless you are having some problem with this method. The syntax of these commands is really simple: To enable a module: sudo a2enmod module_name To disable a module: sudo a2dismod module_name For instance,… Continue reading [HowTo] Enable or disable modules in Apache
Caching is one of the most important things to keep in mind when you are developing a website which is expected to get large amount of visitors. Most web developers neglect caching, some even don’t know correct ways to implement it. In this tutorial, I’ll show you how to enable browser cache of static files… Continue reading [HowTo] Add expires headers to cache static files using htaccess
We can check the php configuration, apache’s loaded modules and all other kinds of PHP configuration using a simple function called phpinfo(). Create a file called infophp.php in your web’s root directory and put the following code in it: <? phpinfo(); ?> This would output all the php configuration info and apache information. You can… Continue reading [HowTo] Check your php and server information using phpinfo()