<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ZubairTech</title>
	<atom:link href="http://zubairtech.info/feed" rel="self" type="application/rss+xml" />
	<link>http://zubairtech.info</link>
	<description>Technology Website</description>
	<lastBuildDate>Thu, 06 May 2010 19:33:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Install MySQL on Windows</title>
		<link>http://zubairtech.info/install-mysql-on-windows.html</link>
		<comments>http://zubairtech.info/install-mysql-on-windows.html#comments</comments>
		<pubDate>Thu, 06 May 2010 19:20:58 +0000</pubDate>
		<dc:creator>Zubair Barkat</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://zubairtech.info/blog/?p=28</guid>
		<description><![CDATA[Follow these simple steps to install MySQL on Windows.
Step 1: Download MySQL
Download MySQL from dev.mysql.com/downloads/.  Follow MySQL Community Server, Windows and download  the “Without installer” version.
Step 2: Extract the files
We will install MySQL to C:\mysql, so extract the ZIP to your C: drive  and rename the folder ...]]></description>
			<content:encoded><![CDATA[<p>Follow these simple steps to install MySQL on Windows.</p>
<p><strong>Step 1: Download MySQL</strong><br />
Download MySQL from <a href="http://dev.mysql.com/downloads/">dev.mysql.com/downloads/</a>.  Follow <em>MySQL Community Server</em>, <em>Windows</em> and download  the “Without installer” version.</p>
<p><strong>Step 2: Extract the files</strong><br />
We will install MySQL to C:\mysql, so extract the ZIP to your C: drive  and rename the folder from “mysql-x.x.xx-win32″ to “mysql”.</p>
<p>MySQL can be installed anywhere on your system. If you want a  lightweight installation, you can remove every sub-folder except for  bin, data, scripts and share.</p>
<p><strong>Step 3: Create a configuration file</strong><br />
MySQL provides several configuration methods but, in general, it is  easiest to to create a my.ini file in the mysql folder. There are  hundreds of options to tweak MySQL to your exact requirements, but the  simplest my.ini file is:</p>
<blockquote><p>[mysqld]<br />
# installation directory<br />
basedir=&#8221;C:/mysql/&#8221;<br />
# data directory<br />
datadir=&#8221;C:/mysql/data&#8221;</p></blockquote>
<p><em>(Remember to change these folder locations if you have installed  MySQL or the data folder elsewhere.)</em></p>
<p><strong>Step 4: Test your installation</strong><br />
The MySQL server is started by running C:\mysql\bin\mysqld.exe. Open a  command box (Start &gt; Run &gt; cmd) and enter the following commands:</p>
<blockquote><p>cd \mysql\bin<br />
mysqld</p></blockquote>
<p>This will start the MySQL server which listens for requests on localhost  port 3306. You can now start the MySQL command line tool and connect to  the database. Open another command box and enter:</p>
<blockquote><p>cd \mysql\bin<br />
mysql -u root</p></blockquote>
<p>This will show a welcome message and the mysql&gt; prompt. Enter  “show databases;” to view a list of the pre-defined databases.</p>
<p><strong>Step 5: Change the root password</strong><br />
The MySQL root user is an all-powerful account that can create and  destroy databases. If you are on a shared network, it is advisable to  change the default (blank) password. From the mysql&gt; prompt, enter:</p>
<blockquote><p>UPDATE mysql.user SET password=PASSWORD(&#8220;my-new-password&#8221;) WHERE User=&#8217;root&#8217;;<br />
FLUSH PRIVILEGES;</p></blockquote>
<p>You will be prompted for the password the next time you start the  MySQL command line.</p>
<p>Enter “exit” at the mysql&gt; prompt to stop the command line client.  You should now shut down MySQL with the following command:</p>
<blockquote><p>mysqladmin.exe -u root shutdown</p></blockquote>
<p><strong>Step 6: Install MySQL as a Windows service</strong><br />
The easiest way to start MySQL is to add it as a Windows service. From a  command prompt, enter:</p>
<blockquote><p>cd \mysql\bin<br />
mysqld &#8211;install</p></blockquote>
<p>Open the Control Panel, Administrative Tools, then Services and  double-click MySQL. Set the Startup type to “Automatic” to ensure MySQL  starts every time you boot your PC.</p>
<p>Alternatively, set the Startup type to “Manual” and launch MySQL  whenever you choose using the command “net start mysql”.</p>
<p>Note that the Windows service can be removed using:</p>
<blockquote><p>cd \mysql\bin<br />
mysqld &#8211;remove</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://zubairtech.info/install-mysql-on-windows.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install PHP on Windows</title>
		<link>http://zubairtech.info/install-php-on-windows.html</link>
		<comments>http://zubairtech.info/install-php-on-windows.html#comments</comments>
		<pubDate>Thu, 06 May 2010 19:06:48 +0000</pubDate>
		<dc:creator>Zubair Barkat</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://zubairtech.info/blog/?p=24</guid>
		<description><![CDATA[Follow these simple steps to install PHP on Windows. You must install Apache2 before installing PHP, See my other tutorial on How to Install apache on Windows
Step 1: Download PHP 5
Download the latest PHP 5 ZIP package from www.php.net/downloads.php
Step 2: Extract the files
We will install the PHP files to C:\php, ...]]></description>
			<content:encoded><![CDATA[<p>Follow these simple steps to install PHP on Windows. You must install Apache2 before installing PHP, See my other tutorial on How to <a href="http://zubairtech.info/blog/install-apache-on-windows.html">Install apache on Windows</a></p>
<p><strong>Step 1: Download PHP 5</strong><br />
Download the latest PHP 5 ZIP package from <a href="http://www.php.net/downloads.php">www.php.net/downloads.php</a></p>
<p><strong>Step 2: Extract the files</strong><br />
We will install the PHP files to C:\php, so create that folder and  extract the contents of the ZIP file into it.</p>
<p>PHP can be installed anywhere on your system, but you will need to  change the paths referenced in the following steps.</p>
<p><strong>Step 3: Configure php.ini</strong><br />
Copy C:\php\php.ini-recommended to C:\php\php.ini. There are several  lines you will need to change in a text editor (use search to find the  current setting).</p>
<p>Define the extension directory:</p>
<blockquote><p>extension_dir = &#8220;C:\php\ext&#8221;</p></blockquote>
<p>Enable extensions. This will depend on the libraries you want to use, but the following extensions should be suitable for the majority of applications (remove the semi-colon comment):</p>
<blockquote><p>extension=php_curl.dll<br />
extension=php_gd2.dll<br />
extension=php_mbstring.dll<br />
extension=php_mysql.dll<br />
extension=php_mysqli.dll<br />
extension=php_pdo.dll<br />
extension=php_pdo_mysql.dll<br />
extension=php_xmlrpc.dll</p></blockquote>
<p>If you want to send emails using the PHP mail() function, enter the details of an SMTP server (your ISP’s server should be suitable):</p>
<blockquote><p>[mail function]<br />
; For Win32 only.<br />
SMTP = mail.myisp.com<br />
smtp_port = 25<br />
; For Win32 only.<br />
sendmail_from = my@emailaddress.com</p></blockquote>
<p><strong>Step 4: Add C:\php to the path environment variable</strong><br />
To ensure Windows can find PHP, you need to change the path environment variable. From the Control Panel, choose System, (then “Advanced system settings” in Vista), select the “Advanced” tab, and click the “Environment Variables” button.</p>
<p>Scroll down the System variables list and click on “Path” followed by the “Edit” button. Enter “;C:\php” to the end of the Variable value line (remember the semi-colon). Now OK your way out. You might need to reboot at this stage.</p>
<p><strong>Step 5: Configure PHP as an Apache module</strong><br />
Ensure Apache is not running (use “net stop Apache2.2″ from the  command line) and open its \conf\httpd.conf configuration file in an  editor. The following lines should be changed:<br />
Line 239, add index.php as a default file name:</p>
<blockquote><p>DirectoryIndex index.php index.html</p></blockquote>
<p>At the bottom of the file, add the following lines (change the PHP file  locations if necessary):</p>
<blockquote><p># PHP5 module<br />
LoadModule php5_module &#8220;c:/php/php5apache2_2.dll&#8221;<br />
AddType application/x-httpd-php .php<br />
PHPIniDir &#8220;C:/php&#8221;</p></blockquote>
<p>Save the configuration file and test it from the command line (Start  &gt; Run &gt; cmd):</p>
<blockquote><p>cd \Apache2\bin<br />
httpd -t</p></blockquote>
<p><strong>Step 6: Test a PHP file</strong><br />
Create a file named index.php in Apache’s web page root (either htdocs  or D:\WebPages) and add this code:</p>
<blockquote><p>&lt;?php phpinfo(); ?&gt;</p></blockquote>
<p>Ensure Apache has started successfully, open a web browser and enter the  address <strong>http://localhost/</strong>. If all goes well, a “PHP  version” page should appear showing all the configuration settings.</p>
]]></content:encoded>
			<wfw:commentRss>http://zubairtech.info/install-php-on-windows.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Apache on Windows</title>
		<link>http://zubairtech.info/install-apache-on-windows.html</link>
		<comments>http://zubairtech.info/install-apache-on-windows.html#comments</comments>
		<pubDate>Tue, 04 May 2010 13:41:13 +0000</pubDate>
		<dc:creator>Zubair Barkat</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://zubairtech.info/blog/?p=21</guid>
		<description><![CDATA[Follow these simple steps to install Apache2 on Windows.
Step 1: Download Apache2
Download Apache2 for Windows from apache website. I Recommend you to use the unofficial Windows binary from Apache Lounge. This version has  performance and stability improvements over the official Apache  distribution, although I am yet to notice ...]]></description>
			<content:encoded><![CDATA[<p>Follow these simple steps to install Apache2 on Windows.</p>
<p><strong>Step 1: Download Apache2</strong><br />
Download Apache2 for Windows from apache website. I Recommend you to use the unofficial Windows binary from <a href="http://www.apachelounge.com/">Apache Lounge</a>. This version has  performance and stability improvements over the official Apache  distribution, although I am yet to notice a significant difference.  However, it is provided as a manually installable ZIP file from <a href="http://www.apachelounge.com/download/">www.apachelounge.com/download/</a></p>
<p><strong>Step 2: Extract the downloaded files</strong><br />
We will install Apache in C:\Apache2, so extract the ZIP file to the  root of the C: drive.</p>
<p>Apache can be installed anywhere on your system, but you will need to  change the configuration file paths accordingly…</p>
<p><strong>Step 3: Configure Apache</strong><br />
Apache is configured with the text file <strong>\conf\httpd.conf</strong> contained in the Apache folder. Open it with your favourite text  editor.</p>
<p>Note that all file path settings use a ‘/’ forward-slash rather than  the Windows backslash. If you installed Apache anywhere other than  C:\Apache2, now is a good time to search and replace all references to  “c:/Apache2″.</p>
<p>There are several lines you should change for your production  environment:</p>
<p>Line 46, listen to all requests on port 80:</p>
<blockquote><p>Listen *:80</p></blockquote>
<p>Line 116, enable mod-rewrite by removing the # (optional, but  useful):</p>
<blockquote><p>LoadModule rewrite_module modules/mod_rewrite.so</p></blockquote>
<p>Line 172, specify the server domain name:</p>
<blockquote><p>ServerName localhost:80</p></blockquote>
<p>Line 224, allow .htaccess overrides:</p>
<blockquote><p>AllowOverride All</p></blockquote>
<p><strong>Step 4: change the web page root (optional)</strong><br />
By default, Apache return files found in its htdocs folder. I would  recommend using a folder on an another drive or partition to make  backups and re-installation easier. For the purposes of this example, we  will create a folder called D:\WebPages and change httpd.conf  accordingly:</p>
<p>Line 179, set the root:</p>
<blockquote><p>DocumentRoot &#8220;D:/WebPages&#8221;</p></blockquote>
<p>and line 204:</p>
<blockquote><p>&lt;Directory &#8220;D:/WebPages&#8221;&gt;</p></blockquote>
<p><strong>Step 5: test your installation</strong><br />
Your Apache configuration can now be tested. Open a command box (Start  &gt; Run &gt; cmd) and enter:</p>
<blockquote><p>cd \Apache2\bin<br />
httpd -t</p></blockquote>
<p>Correct any httpd.conf configuration errors and retest until none  appear.</p>
<p><strong>Step 6: install Apache as a Windows service</strong><br />
The easiest way to start Apache is to add it as a Windows service. From a  command prompt, enter:</p>
<blockquote><p>cd \Apache2\bin<br />
httpd -k install</p></blockquote>
<p>Open the Control Panel, Administrative Tools, then Services and  double-click Apache2.2. Set the Startup type to “Automatic” to ensure  Apache starts every time you boot your PC.</p>
<p>Alternatively, set the Startup type to “Manual” and launch Apache  whenever you choose using the command “net start Apache2.2″.</p>
<p><strong>Step 7: test the web server</strong><br />
Create a file named index.html in Apache’s web page root (either htdocs  or D:\WebPages) and add a little HTML code:</p>
<blockquote><p>&lt;html&gt;<br />
&lt;head&gt;&lt;title&gt;testing Apache&lt;/title&gt;&lt;/head&gt;<br />
&lt;body&gt;&lt;p&gt;Apache is working!&lt;/p&gt;&lt;/body&gt;<br />
&lt;/html&gt;</p></blockquote>
<p>Ensure Apache has started successfully, open a web browser and enter  the address <strong>http://localhost/</strong>. If all goes well, your  test page should appear.</p>
<p>In general, most problems will be caused by an incorrect setting in  the httpd.conf configuration file. Refer to the <a href="http://httpd.apache.org/docs/2.2/">Apache documentation</a> if you  require further information.</p>
]]></content:encoded>
			<wfw:commentRss>http://zubairtech.info/install-apache-on-windows.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install apache, php and MYSQL latest on centos 5.x</title>
		<link>http://zubairtech.info/install-apachephp-and-mysql-latest-on-centos-5-x.html</link>
		<comments>http://zubairtech.info/install-apachephp-and-mysql-latest-on-centos-5-x.html#comments</comments>
		<pubDate>Sun, 07 Mar 2010 20:18:52 +0000</pubDate>
		<dc:creator>Zubair Barkat</dc:creator>
				<category><![CDATA[VPS]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://bosstech.tk/?p=11</guid>
		<description><![CDATA[First of all login to your VPS as root using SSH.
Now type this command and press enter.
nano -w /etc/yum.repos.d/utterramblings.repo
and then following lines into editor. Save the file and quit editor.
[utterramblings]
name=Jason&#8217;s Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
For those new to linux, the nano command is for a linux editor, and once  you type the ...]]></description>
			<content:encoded><![CDATA[<p>First of all login to your VPS as root using SSH.</p>
<p>Now type this command and press enter.</p>
<blockquote><p>nano -w /etc/yum.repos.d/utterramblings.repo</p></blockquote>
<p>and then following lines into editor. Save the file and quit editor.</p>
<blockquote><p>[utterramblings]<br />
name=Jason&#8217;s Utter Ramblings Repo<br />
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/<br />
enabled=1<br />
gpgcheck=1<br />
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka</p></blockquote>
<p>For those new to linux, the nano command is for a linux editor, and once  you type the 6 lines, press ctrl O to write the file and press enter to  save to the file name given.</p>
<p>Now type this command and press enter.</p>
<blockquote><p>yum install httpd</p></blockquote>
<p>Now type this</p>
<blockquote><p>yum install php</p></blockquote>
<p>Now type this</p>
<blockquote><p>yum install mysql mysql-server mysql-devel</p></blockquote>
<p>apache, php and mysql are now install on your VPS. time to start these services</p>
<p>Type this command and press enter</p>
<blockquote><p>/etc/init.d/httpd start</p></blockquote>
<p>Now type this command</p>
<blockquote><p>/etc/init.d/mysqld start</p></blockquote>
<p>After starting mysql it will ask you to setup password for root user.</p>
<p>Type this command to do this</p>
<blockquote><p>mysqladmin -u root -h localhost -p password NEWPASSWORD</p></blockquote>
<p>Latest version of apache,php and mysql are now install and running on your VPS.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://zubairtech.info/install-apachephp-and-mysql-latest-on-centos-5-x.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
