How to install LAMP in Ubuntu 10.04

Very easy.

Go to terminal – Ctrl +alt+t

Type this:
$ sudo apt-get update
$ sudo apt-get install lamp-server^
Make sure you have typed the caret (^) at the end.

Now start apache:

$ sudo service apache2 restart

Type localhost at your favorite browser.

It looks like this:

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

Now we’re going to tweak the apache conf file to install phpmyadmin. This tool is necessary to work with MySql. To do that, type in your terminal:

$ sudo gedit /etc/apache2/apache2.conf

The text editor will open up apache configuration file. Now it’s time to add this line at end:

Include /etc/phpmyadmin/apache.conf

Now it’s time to check your php and mysql is working.

To set this up, first create a new file:

Add type in the following line:

< ?php

Then Save and Exit.

Restart apache so that all of the changes take effect:

sudo service apache2 restart

Posts and Permalinks in WrodPress

Permalinks are URLs to your categories, posts, archives, pages and so on. These URLs are extremely search index friendly. These links should never change and are used for sharing your content. A typical example reads like this:
When you add a new post, keep it in your mind that permalink should be meaningful and must match with your post metadata. In the following image (Fig Chap1C Permalink) you can see how it works.

In the left sidebar of your dashboard if you click on settings, it opens up and shows Permalink. Click it and select ‘Post name’ and save it. This will be much more user and search engine friendly. The permalink settings will allow you to select the default, numeric, custom, day and name, month and name structure. But once you select ‘Post name’, it will remain tagged with your every post. Once it has been saved, you need not bother about your future post URLs. When you save your permalink settings, WordPress tries to modify the .htaccess file in your root directory. This happens because the WordPress is internally structured like that. As a beginner you need not worry about what is happening in the backyard. All you know that file permissions make the life of .htaccess file easier so that WordPress can automatically update this file.

For Further Reading: Magic World of WordPress

Guide to Basic WordPress Theme

Physics of WordPress: Theme Rules

Theme is big thing in WordPress. It has its own rules. If you knew CSS, it would be easier to develop your own theme. If not? What will you do? The rule applies to all the beginners. Take the safest route. Select any available theme from WordPress collection. Get it installed and activate. Probably you would have a theme that reflects your story so don’t worry about theme development. WordPress will take care about it.
In general every theme has a screenshot that shows how the link looks like. It has author name and other detail. In the developer part I will show you how few rules automatically make it easy to add those functionalities to your own theme.
Screenshot also has two buttons: one is activation and the other is preview. Before activating your theme you can have a nice preview of how your web site will look like in real time.

Chemistry of WordPress: Theme Lab

The installation of theme requires few other actions that will follow shortly. You would have probably noticed a Sub Panel under Appearance Panel. It reads as themes, customize, widgets, menus and editor. You have already known few tricks about theme. Now it is time to consider about the others.
First, customize section.
Customization takes care of how you can dynamically add title, tagline, change header image, static front page and many more. You probably notice that WordPres always has two options ready. One is for the beginner who without knowing a single line of coding can develop her site and the other one is for the developer who will change the code for getting desired result.

Magic World of WordPress: Create WordPress theme and site from scratch

How to manage Media in WordPress

After managing content in your post, it is most challenging to tackle the media. Media means not only images but video also. You can manage it via the media Library Sub Panel. Here you can manage all media uploaded to your WordPress web site.
If you are habituated with the FTP client, please remember that media file uploaded through FTP client would not show up in your WordPress post. You have to upload it through the visual editor in your post.
If you know some HTML coding then you may try some coding and embed a post from popular image service like FLICKR or you can embed your video from YOU TUBE. In the intermediate section coding standard and style is discussed in detail.

For Further Reading: Magic World of WordPress

Pointer and WordPress

This is a guide for a blogger who want to develop into a WordPress developer. I hope this title of book is dreadfully straightforward to suggest what I mean. You may ask, why did I choose the term blogger? Is this book not for all?
Yes, it is for all. Actually the very term blogger is deeply associated with WordPress but I seriously try to attack that old myth. There is a term called ‘pointer’ in C programming language. You may find something similar in PHP which is called ‘reference’ though reference does not act like pointer. But with the term ‘blogger’ I point to the memory address of all people who want to learn and analyse WordPress critically and thereby implement it in a useful manner.

Magic World of WordPress

WordPress and Internet Speed

Suppose as an administrator, you are about to edit a post from a user who has been logged in and editing that post at the same time. WordPress tackles that critical state showing that end user is editing. Here is the magic of WordPress that really saves your time alerting you about the current state of your application.
Although the Web has the richness of DHTML and Ajax, javaScript, and HTML 4.0 on the client side, the average high-powered processor with a few gigabytes of RAM is still being used only to render only HTML.

Continue reading

How to check user login status in ASP.NET?

Whether a user logs in or not can be decided after two main reasons.

Firstly, if you don’t want to use log in controls in your page, you can set a variable websiteloginstatus. When the user want to log in, username and password is correct, the websiteloginstatus will be settled to true. But it has some pros and cons.

Secondly you can use log in controls in your page; in that case you can use LoginStatus Control to check whether a user is logged in or not.

You can read further in ScottGu’s Blog

Kamasutra She Wrote – EXcerpt 2

Now she started licking her downward. It was smelly, bushy, flooded with sticky fluid that waited for centuries to get familiar with her tongue. She inserted the tip of her tongue and circling it more. Raka was jerking her basin shaped cavity more often panting for something more to be done to the region.
Topographically this is the basis of all contradictions. It had been a matter of only life and death till people understood that women have their own passions like their own loneliness. They have something more to give this world and get back in return.

FOR FURTHER READING : Kamasutra She Wrote

Publication Date: September 21, 2014

Book Your Copy

reach me at