Setting up LAMP on your Ubuntu desktop

lampMany of you must be wanting to try some web development and would like to setup their own LAMP(Linux, Apache, MySQL, PHP/Perl/Python) stack. Ubuntu has a special Server Edition for setting up your own LAMP server, most of you may want to install it on your desktop (I like it that way).

This involves installing Apache, PHP, Python and MySQL. I think Python will be installed by default and we only need to install mod_python for Apache. I use Ubuntu Edgy Eft 6.10.

Continue reading Setting up LAMP on your Ubuntu desktop

WordPress 404 error when publishing or saving

Wordpress logoWordPress has this particular problem when publishing or saving a blog post where it shows a 404 page instead of the required effect. This is irritating when you have typed a long post and just after you have published it shows the 404 error, and all your data is lost. I have faced this same problem for many times.
After a bit of Googling, I found out that the problem is with mod_security being set on server.
To fix this, add the following two lines in our .htaccess file.
SecFilterEngine Off
SecFilterScanPOST Off

This should fix the problem. Let me try publishing this post.

Install Flash Player 9 Beta on Ubuntu Edgy

flash logoFlash player 9 beta is the latest version that you can get for your linux box. This is very essential for my life because I miss all the youtube videos. So, I decided to install the flash player 9 beta on by Ubuntu Edgy Eft 6.10.

First you have to install the flash player 7. Remember to enable all the repositories.

sudo apt-get install flashplugin-nonfree
sudo update-flashplugin
sudo apt-get install libflash-mozplugin

After flash player 7 is installed, you can carry on your installation for the new release. These three command will download the player, extract it and also install it.

wget http://download.macromedia.com/pub/labs/flashplayer9_update/FP9_plugin_beta_112006.tar.gz
tar xvzf FP9_plugin_beta_112006.tar.gz
sudo cp flash-player-plugin-9.0.21.78/libflashplayer.so /usr/lib/flashplugin-nonfree/

This is an easy method for installing flash player for linux and now I can enjoy my videos.

web.py 0.2 released

webpy Logoweb.py is a web framework for python that is so simple and powerful. The new version 0.2 was released on 27 Nov after many days lying in the subversion repository. The website also presents a new layout.

It is a nice framework and I have also tried writing a very simple web app using it. I think I would mostly be using this framework for my final year project. Or are there any other better frameworks available?

Boot Linux faster with Open BIOS

If you want faster boot/reset times on your Linux box, you should consider switching over to OpenBIOS. OpenBIOS can save the time wasted by proprietary BIOS legacy support for MS-DOS and other unnecessary functions.
The proprietary BIOSes typically found in off-the-shelf PCs and boards often account for more than half of total boot time. And, much of this time is spent loading drivers and compiling information useful to legacy OSes such as DOS, but largely useless and redundant when using a modern OS such as Linux, which tends to do its own hardware probing, and load its own hardware drivers.

This problem can be avoided by replacing the proprietary BIOS by OpenBIOS. Open implementations can be configured to perform only the required initialisation tasks before booting the OS.

Another approach is to use linux itself to initialise its hardware. The LinuxBIOS loads a small kernel directly on the ROM. This can be easily attained as current hardware has 1-2MB of flash ROM onboard.

Swift Fox – Faster FireFox for your Linux

SwiftFoxDo you think that Firefox is too slow for your internet experience. Maybe you need to have a special firefox built especially optimised for your architecture. You may try out SwiftFox which has various builds firefox which is suitable for your particular processor. There are Ubuntu deb files too available.

Swiftfox has builds for both AMD and Intel processors. The 1.5.0.6 release is based on Firefox 1.5.0.6.

The trunk is the most cutting edge of all the builds and is where Firefox 3 is being developed.

Branch builds are built from a code base that has been tested much more than the trunk and therefore should be considered to be more stable. The 1.8 branch is where Mozilla develops Firefox 2 which will be the next major Firefox release.

The 1.8.0 branch is the most stable build, second only to the release builds. This is where Mozilla tests security patches and other minor fixes before they release the next Firefox update. If you don’t want to wait for the next Firefox update to get those security patches then this branch is for you.

OpenOffice.org Premium 2.0.3 has been released

Gallery OOoPI had always wanted cliparts and nicer templates to be bundled along with OpenOffice.org. Though it is an excellent office suite, the absence of bundled pictures, fonts made many to no switch over from Microsoft Office. Here is Openoffice.org Premium which has these tools along with it.

It has new features like

  • Clip Art (currently more than 2,800 objects)
  • Templates (number varies by language)
  • Samples (number varies by language)
  • Documentation (if available)
  • Fonts (more than 90 fonts)

You can download it from here:
http://sourceforge.net/project/showfiles.php?group_id=170021
[Windows / Linux (deb, rpm, slackware, uhu) binaries in English, German and Hungarian language, special EnGeHu 3-in-1 one Windows installer]

Ubuntu Popularity Contest

Ubuntu has a package called Popularity Contest (popcon), where you can vote on your popular, most-used application every week. It is fully automated and once configured, it takes care of the rest. This information will help the developers to make decisions over which packages should be promoted and which should be in standard installs.

To set it using the command:

$sudo dpkg-reconfigure popularity-contest

You can send the information through HTTP or via EMail. I have set it up through HTTP. The results is updated in popcon.ubuntu.com.

Evolution for Windows

Evolution for WindowsEvolution, the favourite Outlook replacement for Linux is now available for Windows. It provides integrated mail, contact management and calendaring. You can download the windows installer for Evolution and it is a big 50meg download. Evolution is an MS Exchange client and should work with Exchange servers. Though I find no use for an email client as of now, I would try it later – when I get my ADSL connection.