<?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>Unix Articles</title>
	<atom:link href="http://unixarticles.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://unixarticles.com</link>
	<description>Sys Admins Fav Page</description>
	<lastBuildDate>Mon, 28 May 2012 19:09:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to  install the memcached PHP extension with PECL?</title>
		<link>http://unixarticles.com/how-to/how-to-install-the-memcached-php-extension-with-pecl/</link>
		<comments>http://unixarticles.com/how-to/how-to-install-the-memcached-php-extension-with-pecl/#comments</comments>
		<pubDate>Mon, 28 May 2012 19:07:36 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[PECL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://unixarticles.com/?p=61</guid>
		<description><![CDATA[Getting while installing memcached PHP extension with PECL ??? Check this out &#160;]]></description>
			<content:encoded><![CDATA[<p>Getting while installing memcached PHP extension with PECL ??? Check this out</p>
<p><span id="more-61"></span></p>
<p>&nbsp;</p>
<pre class="qoate-code">
$ pecl download memcached
$ tar zxvf memcached-1.0.0.tgz (or whatever version downloads)
$ cd memcached-1.0.0
$ phpize
$ ./configure --with-libmemcached-dir=/opt/local
$ make
$ sudo make install
</pre>
]]></content:encoded>
			<wfw:commentRss>http://unixarticles.com/how-to/how-to-install-the-memcached-php-extension-with-pecl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install “Secure Shell2 (SSH2)” PHP Extension</title>
		<link>http://unixarticles.com/how-to/how-to-install-secure-shell2-ssh2-php-extension/</link>
		<comments>http://unixarticles.com/how-to/how-to-install-secure-shell2-ssh2-php-extension/#comments</comments>
		<pubDate>Mon, 28 May 2012 19:00:50 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://unixarticles.com/?p=55</guid>
		<description><![CDATA[After much adoption of the SSH2 extension, the installation process has gotten a lot more simple, check it out: Now, you can restart your web server, and check a phpinfo page to verify the installation! Installing the libssh2 and Secure Shell2 libraries is a real pain , but I have to do it time to [...]]]></description>
			<content:encoded><![CDATA[<p>After much adoption of the SSH2 extension, the installation process has gotten a lot more simple, check it out:</p>
<p><span id="more-55"></span></p>
<pre class="qoate-code">
yum install libssh2-devel
pecl install ssh2-beta
echo extension=ssh2.so &gt;&gt; /etc/php.ini
</pre>
<p>Now, you can restart your web server, and check a phpinfo page to verify the installation!</p>
<p>Installing the libssh2 and Secure Shell2 libraries is a real pain , but I have to do it time to time, when I’m setting up new environments for the software I work on.<br />
Before we begin, please note this is on a CentOS machine with the yum package manager install.<br />
<strong>Note</strong>: Before you begin, make sure you have all the proper developer packages installed.</p>
<pre class="qoate-code">
yum install gcc gcc-c++ autoconf automake (c compiler)
yum install php-devel (phpize)
</pre>
<p><span style="font-size: xx-large;"><strong>Installing OpenSSL on CentOS 5.2</strong></span><br />
Run the following two yum commands to install OpenSSL &amp; it’s developer’s package. (libssh2 has dependencies on the OpenSSL developer package)</p>
<pre class="qoate-code">
yum install openssl
yum install openssl-devel
</pre>
<p><span style="font-size: xx-large;"><strong>Installing libssh2 libraries on CentOS 5.2</strong></span><br />
Enter the following commands to download and install the latest libssh2 package.</p>
<pre class="qoate-code">
wget http://voxel.dl.sourceforge.net/sourceforge/libssh2/libssh2-0.18.tar.gz
gunzip libssh2-0.18.tar.gz
tar -xvf libssh2-0.18.tar.gz
cd libssh2-0.18.tar.gz
./configure &amp;&amp; make all install
</pre>
<p><span style="font-size: xx-large;"><strong>Compiling libssh2 PHP Extension</strong></span><br />
Use these commands to download and compile the libssh2 PHP module.</p>
<pre class="qoate-code">
wget http://pecl.php.net/get/ssh2-0.10.tgz
gunzip ssh2-0.10.tgz
tar -xvf ssh2-0.10.tgz
cd ssh2-0.10.tgz
phpize &amp;&amp; ./configure –with-ssh2 &amp;&amp; make « Generates ssh2.so, the compiled PHP extension.
</pre>
<p>(Note: If you encounter a make: *** [ssh2.lo] Error 1 error, run Bill Pitz’s libssh2 patch.)</p>
<pre class="qoate-code">
cp ./modules/ssh2.so /usr/lib/php/modules/ssh2.so
</pre>
<p>Open your PHP configuration file by typing vi /etc/php.ini and add extension=ssh2.so to the configuration, and save the file when you are complete.<br />
Restart Web Server on CentOS 5.2</p>
<pre class="qoate-code">
service httpd restart
</pre>
<p>You should be all gravy, and your web server can now ssh out and perform remote tasks for you!</p>
]]></content:encoded>
			<wfw:commentRss>http://unixarticles.com/how-to/how-to-install-secure-shell2-ssh2-php-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mosh:An SSH alternative.</title>
		<link>http://unixarticles.com/tool/moshchange-ip-stay-connected-2/</link>
		<comments>http://unixarticles.com/tool/moshchange-ip-stay-connected-2/#comments</comments>
		<pubDate>Thu, 03 May 2012 02:09:41 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://unixarticles.com/?p=37</guid>
		<description><![CDATA[Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes. Mosh is a replacement for SSH. It&#8217;s more robust and responsive, especially over Wi-Fi, cellular, and long-distance links. Mosh is free software, available for GNU/Linux, FreeBSD, and Mac OS X. &#160; Change IP. Stay connected. [...]]]></description>
			<content:encoded><![CDATA[<p>Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes.</p>
<p>Mosh is a replacement for SSH. It&#8217;s more robust and responsive, especially over Wi-Fi, cellular, and long-distance links.<br />
Mosh is free software, available for GNU/Linux, FreeBSD, and Mac OS X.</p>
<p><span id="more-37"></span></p>
<p>&nbsp;</p>
<p><span style="font-size: xx-large;"><strong>Change IP. Stay connected.</strong></span></p>
<p>Mosh automatically roams as you move between Internet connections. Use Wi-Fi on the train, Ethernet in a hotel, and LTE on a beach: you&#8217;ll stay logged in. Most network programs lose their connections after roaming, including SSH and Web apps like Gmail. Mosh is different.</p>
<p>&nbsp;</p>
<p><span style="font-size: xx-large;"><strong>Makes for sweet dreams.</strong></span></p>
<p>With Mosh, you can put your laptop to sleep and wake it up later, keeping your connection intact. If your Internet connection drops, Mosh will warn you — but the connection resumes when network service comes back.</p>
<p>&nbsp;</p>
<p><span style="font-size: xx-large;"><strong>Get rid of network lag.</strong></span></p>
<p>SSH waits for the server&#8217;s reply before showing you your own typing. That can make for a lousy user interface. Mosh is different: it gives an instant response to typing, deleting, and line editing. It does this adaptively and works even in full-screen programs like emacs and vim. On a bad connection, outstanding predictions are underlined so you won&#8217;t be misled.</p>
<p>&nbsp;</p>
<p><span style="font-size: xx-large;"><strong>Same login method.</strong></span></p>
<p>Mosh doesn&#8217;t listen on network ports or authenticate users. The mosh client logs in to the server via SSH, and users present the same credentials (e.g., password, public key) as before. Then Mosh runs the mosh-server remotely and connects to it over UDP.</p>
<p>&nbsp;</p>
<p><strong style="font-size: xx-large;">Runs inside your terminal, but better.</strong></p>
<p>Mosh is a command-line program, like ssh. You can use it inside xterm, gnome-terminal, urxvt, Terminal.app, iTerm, emacs, screen, or tmux. But mosh was designed from scratch and supports just one character set: UTF-8. It fixes Unicode bugs in other terminals and in SSH.</p>
<p>&nbsp;</p>
<p><strong style="font-size: xx-large;">Control-C works great.</strong></p>
<p>Unlike SSH, mosh&#8217;s UDP-based protocol handles packet loss gracefully, and sets the frame rate based on network conditions. Mosh doesn&#8217;t fill up network buffers, so Control-C always works to halt a runaway process.</p>
<p>&nbsp;</p>
<p><strong style="font-size: xx-large;">How to install MOSH</strong></p>
<p>&nbsp;</p>
<p>Extract <a href="https://github.com/downloads/keithw/mosh/mosh-1.2.1.tar.gz">mosh-1.2.1.tar.gz</a>, then</p>
<pre class="qoate-code">
$ cd mosh-1.2.1
$ ./configure
$ make
# make install&lt;/pre&gt;
</pre>
</pre>
<h3>Compiling from Git</h3>
<pre class="qoate-code">
$ git clone https://github.com/keithw/mosh
$ cd mosh
$ ./autogen.sh
$ ./configure
$ make
# make install
</pre>
<h2>Typical usage</h2>
<pre class="qoate-code">
$ mosh nsablahblah@norad.mil
</pre>
<h3>Different username</h3>
<pre class="qoate-code">
$ mosh parrot@@fbi.us
</pre>
]]></content:encoded>
			<wfw:commentRss>http://unixarticles.com/tool/moshchange-ip-stay-connected-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
