25 February 2008

Posted by Shahid
Linux
Installing a mail server, using Postfix, that is based on virtual users and domains.
Introduction
Postfix has several hundred configuration parameters that are controlled via the etc'/postfix/main.cf' file. Fortunately, they have sensible default values. In most cases, you need to configure only two or three parameters before you can ...
22 February 2008

Posted by Shahid
Linux
Step 1: Install vsftpd
Type apt-get command to install vsftpd in ubuntu & Debian
$ sudo apt-get install vsftpd
Type Yum command to install vsftpd in redhat & fedora
Step 2: Configure /etc/vsftpd.conf
The default vsftpd configuration file is /etc/vsftpd.conf. You need to edit this file using text editor such as vi:
$ ...
What is the Google Maps API?
The Google Maps API lets you embed Google Maps in your own web pages with JavaScript. The API provides a number of utilities for manipulating maps (just like on the shahidz.com/map.php web page) and adding content to the map through a variety of services, allowing you to create robust maps applications on your website.
For enabling Google Map in your site you need a key. You can generate the key from this link : ...
To show icon on the address bar use html tag
Syntax
<link rel="shortcut icon" href="URL" type="image/ico" />
Example
<html>
<title> Icon in address bar </title>
<link rel="shortcut icon" href="image/favicon.ico" type="image/ico" />
</html> ...
14 February 2008

Posted by Shahid
Linux,
PHP
In Redhat and Fedora you can use the command 'yum'
yum -y install php
yum -y install php-devel
yum -y install php-gd
yum -y install php-imap
yum -y install php-ldap
yum -y install php-mysql
yum -y install php-odbc
yum -y install php-pear
yum -y install php-xml
yum -y install php-xmlrpc
yum -y install curl
yum -y install ...
12 February 2008

Posted by Shahid
Linux
The Importance of Front-End Performance
1. Make Fewer HTTP Requests
2. Use a Content Delivery Network
3. Add an Expires Header
4. Gzip Components
5. Put Stylesheets at the Top
6. Put Scripts at the Bottom
7. Avoid CSS Expressions
8. Make JavaScript and CSS External
9. Reduce DNS Lookups
10. Minify JavaScript
11. Avoid ...
11 February 2008

Posted by Shahid
Linux
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging! ...