<?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>Xyiry PHP Blog &#124; Where Open Source Lives &#187; Linux</title>
	<atom:link href="http://php.xyiry.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://php.xyiry.com</link>
	<description>My open source playground</description>
	<lastBuildDate>Wed, 18 Nov 2009 12:06:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux Copy File</title>
		<link>http://php.xyiry.com/linux-copy-file/</link>
		<comments>http://php.xyiry.com/linux-copy-file/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 12:00:54 +0000</pubDate>
		<dc:creator>Xyiry</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://php.xyiry.com/linux-copy-file/</guid>
		<description><![CDATA[Lets say you are from Server A and you want to copy a file from Server B to Server A.
scp root@SERVER_B_NAME:abc.sql /root
]]></description>
			<content:encoded><![CDATA[<p>Lets say you are from Server A and you want to copy a file from Server B to Server A.</p>
<p>scp root@SERVER_B_NAME:abc.sql /root</p>
]]></content:encoded>
			<wfw:commentRss>http://php.xyiry.com/linux-copy-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Delete User in Linux</title>
		<link>http://php.xyiry.com/delete-user-in-linux/</link>
		<comments>http://php.xyiry.com/delete-user-in-linux/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 10:12:40 +0000</pubDate>
		<dc:creator>Xyiry</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://php.xyiry.com/delete-user-in-linux/</guid>
		<description><![CDATA[First you need to open up your terminal, and type in &#8220;sudo userdel &#60;username&#62;".
If you would like to remove the home folder of the user account, type in &#8220;sudo rm -r /home/&#60;username&#62;"
]]></description>
			<content:encoded><![CDATA[<p>First you need to open up your terminal, and type in &#8220;<code>sudo userdel &lt;username&gt;".</code><br />
If you would like to remove the home folder of the user account, type in &#8220;<code>sudo rm -r /home/<username>&lt;username&gt;"</username></code></p>
]]></content:encoded>
			<wfw:commentRss>http://php.xyiry.com/delete-user-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add user in linux</title>
		<link>http://php.xyiry.com/how-to-add-user-in-linux/</link>
		<comments>http://php.xyiry.com/how-to-add-user-in-linux/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 10:10:33 +0000</pubDate>
		<dc:creator>Xyiry</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://php.xyiry.com/how-to-add-user-in-linux/</guid>
		<description><![CDATA[Just go to your terminal and type in &#8220;adduser &#60;username&#62;&#8221;, and it will prompt out the password input for you to key in.
xyiry@xyiry-laptop:/etc/skel$ sudo adduser xyiry
Password:
Adding user `xyiry&#8217;…
Adding new group `xyiry&#8217; (1004).
Adding new user `xyiry&#8217; (1004) with group `xyiry&#8217;.
Creating home directory `/home/xyiry&#8217;.
Copying files from `/etc/skel&#8217;
Enter new UNIX password:
Retype new UNIX password:
No password supplied
Enter new UNIX [...]]]></description>
			<content:encoded><![CDATA[<p>Just go to your terminal and type in &#8220;adduser &lt;username&gt;&#8221;, and it will prompt out the password input for you to key in.</p>
<p>xyiry@xyiry-laptop:/etc/skel$ sudo adduser xyiry<br />
Password:<br />
Adding user `xyiry&#8217;…<br />
Adding new group `xyiry&#8217; (1004).<br />
Adding new user `xyiry&#8217; (1004) with group `xyiry&#8217;.<br />
Creating home directory `/home/xyiry&#8217;.<br />
Copying files from `/etc/skel&#8217;<br />
Enter new UNIX password:<br />
Retype new UNIX password:<br />
No password supplied<br />
Enter new UNIX password:<br />
Retype new UNIX password:<br />
passwd: password updated successfully<br />
Changing the user information for xyiry<br />
Enter the new value, or press ENTER for the default<br />
Full Name []: Xyiry<br />
Room Number []: 0<br />
Work Phone []: 012-2643164<br />
Home Phone []: 012-2643164<br />
Other []:<br />
Is the information correct? [y/N] y</p>
]]></content:encoded>
			<wfw:commentRss>http://php.xyiry.com/how-to-add-user-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Help &#8211; unzip your files in Linux OS</title>
		<link>http://php.xyiry.com/linux-help-unzip-your-files-in-linux-os/</link>
		<comments>http://php.xyiry.com/linux-help-unzip-your-files-in-linux-os/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 16:28:37 +0000</pubDate>
		<dc:creator>Xyiry</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://php.xyiry.com/?p=8</guid>
		<description><![CDATA[//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
// Linux Help &#8211; unzip your files in Linux OS
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
his is how you unzip your files in Linux OS
gzip -d my_tar_file.tar.gz or
gunzip my_tar_file.tar.gz
Try this
]]></description>
			<content:encoded><![CDATA[<p>//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV<br />
// Linux Help &#8211; unzip your files in Linux OS<br />
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV</p>
<p>his is how you unzip your files in Linux OS</p>
<p>gzip -d my_tar_file.tar.gz or<br />
gunzip my_tar_file.tar.gz</p>
<p>Try this</p>
]]></content:encoded>
			<wfw:commentRss>http://php.xyiry.com/linux-help-unzip-your-files-in-linux-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Help &#8211; Installing New Programs</title>
		<link>http://php.xyiry.com/linux-help-installing-new-programs/</link>
		<comments>http://php.xyiry.com/linux-help-installing-new-programs/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 16:28:18 +0000</pubDate>
		<dc:creator>Xyiry</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://php.xyiry.com/?p=7</guid>
		<description><![CDATA[//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
// Linux Help &#8211; Installing New Programs
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
If you are using Red Hat or distributions that based on Red Hat, then you are going to use the RPM method.
rpm -i new_program.rpm
This installs the program (-i option for install)
rpm -q program_name
This &#8220;queries&#8221; your system to see if you&#8217;ve got a certain program installed. Let&#8217;s say you hear [...]]]></description>
			<content:encoded><![CDATA[<p>//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV<br />
// Linux Help &#8211; Installing New Programs<br />
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV</p>
<p>If you are using Red Hat or distributions that based on Red Hat, then you are going to use the RPM method.</p>
<p>rpm -i new_program.rpm<br />
This installs the program (-i option for install)<br />
rpm -q program_name<br />
This &#8220;queries&#8221; your system to see if you&#8217;ve got a certain program installed. Let&#8217;s say you hear there&#8217;s a new version of the popular Internet browser Opera for Linux and you don&#8217;t know if your Red Hat based distribution installs this by default or not. Before you download the RPM for Opera, you could type the command: rpm -q opera. If you do have the package installed, it would give you the version number:</p>
<p>opera-5.0_whatever-number</p>
<p>rpm -e opera. This gets rid of Opera from your system. Then you would type rpm -i opera_beta8.rpm (or whatever the package is actually called). That installs the new version.</p>
<p>As I said, this is not the most efficient way to update packages. The usual way is to use the -U (as in Update command. You would type:</p>
<p>rpm -U opera_new_version.rpm</p>
]]></content:encoded>
			<wfw:commentRss>http://php.xyiry.com/linux-help-installing-new-programs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Help &#8211; Installing PHP on Linux machine</title>
		<link>http://php.xyiry.com/linux-help-installing-php-on-linux-machine/</link>
		<comments>http://php.xyiry.com/linux-help-installing-php-on-linux-machine/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 16:23:44 +0000</pubDate>
		<dc:creator>Xyiry</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://php.xyiry.com/?p=6</guid>
		<description><![CDATA[//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
// Linux Help &#8211; Installing PHP on Linux machine
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Just download the latest version of PHP and unzip it.
Second step is to make sure you unzip in the desired PHP directory and run the configure script.
To enable PHP to access Sybase, you may need to &#8211;with-sybase-ct.
You will also need to specify the web server interface to [...]]]></description>
			<content:encoded><![CDATA[<p>//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV<br />
// Linux Help &#8211; Installing PHP on Linux machine<br />
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV</p>
<p>Just download the latest version of PHP and unzip it.</p>
<p>Second step is to make sure you unzip in the desired PHP directory and run the configure script.<br />
To enable PHP to access Sybase, you may need to &#8211;with-sybase-ct.<br />
You will also need to specify the web server interface to be used; in this situation, this is Apache,<br />
so we will use &#8211;with-apache To generate a CGI version of PHP, &#8211;with-apache.</p>
<p>Below is the complete script to configure with the two otions above<br />
Here is a complete configure script with the above two options, as well as a number of other options that are useful.</p>
<p># ./configure &#8211;with-apache=../apache_1.3.19<br />
&#8211;with-sybase-ct=/opt/sybase &#8211;enable-bcmath &#8211;enable-calendar<br />
&#8211;enable-ctype &#8211;enable-exif &#8211;enable-ftp &#8211;enable-gd-imgstrttf<br />
&#8211;with-gd &#8211;enable-trans-sid &#8211;enable-shmop &#8211;enable-sockets<br />
&#8211;enable-sysvsem &#8211;enable-sysvshm &#8211;enable-wddx</p>
<p>Then you will have to change to apache&#8217;s path to where you have unzip the apache distribution</p>
<p>If the configuration runs and completed succesfully, you may proceed</p>
<p># make &amp;&amp; make install</p>
<p>PHP will compule without any problems. After installing, you will need to install the php.ini file.</p>
<p># cp php.ini-optimized /usr/local/lib/php.ini</p>
<p>The next step is to change settings in /usr/local/lib/php.ini, you need to set the file with the following parameters shown below.</p>
<p>magic_quotes_sybase = on<br />
sybct.min_server_severity = 11<br />
sybct.min_client_severity = 11</p>
<p>I also like to set the following:<br />
To set the register global on or off (it is advisable to be off) Do not depend on register globals<br />
too much this is for security purposes.</p>
<p>register_globals = off<br />
include_path=.:/usr/local/lib/php</p>
]]></content:encoded>
			<wfw:commentRss>http://php.xyiry.com/linux-help-installing-php-on-linux-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Help &#8211; Send mail error</title>
		<link>http://php.xyiry.com/linux-help-send-mail-error/</link>
		<comments>http://php.xyiry.com/linux-help-send-mail-error/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 16:23:20 +0000</pubDate>
		<dc:creator>Xyiry</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://php.xyiry.com/?p=5</guid>
		<description><![CDATA[//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
// Linux Help &#8211; Send mail error
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Linux send mail error
make sure your setting looks like this
etc/mail/local-host-name
example.com
mail.example.com
]]></description>
			<content:encoded><![CDATA[<p>//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV<br />
// Linux Help &#8211; Send mail error<br />
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV</p>
<p>Linux send mail error</p>
<p>make sure your setting looks like this<br />
etc/mail/local-host-name</p>
<p>example.com<br />
mail.example.com</p>
]]></content:encoded>
			<wfw:commentRss>http://php.xyiry.com/linux-help-send-mail-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Help &#8211;  TAR FILE</title>
		<link>http://php.xyiry.com/linux-help-tar-file/</link>
		<comments>http://php.xyiry.com/linux-help-tar-file/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 16:23:03 +0000</pubDate>
		<dc:creator>Xyiry</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://php.xyiry.com/?p=4</guid>
		<description><![CDATA[//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
// Linux Help -  TAR FILE
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
to create tar file
tar -cvf file.tar mystuff/
tar -czvf file.tgz mystuff/
to extract file
tar -xvf file.tar
tar -xzvf file.tgz
to test and view
tar -tvf file.tar
tar -tzvf file.tgz
]]></description>
			<content:encoded><![CDATA[<p>//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV<br />
// Linux Help -  TAR FILE<br />
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV</p>
<p>to create tar file<br />
tar -cvf file.tar mystuff/<br />
tar -czvf file.tgz mystuff/</p>
<p>to extract file<br />
tar -xvf file.tar<br />
tar -xzvf file.tgz</p>
<p>to test and view<br />
tar -tvf file.tar<br />
tar -tzvf file.tgz</p>
]]></content:encoded>
			<wfw:commentRss>http://php.xyiry.com/linux-help-tar-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
