<?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>Bloggy Bloggy My Blog &#187; centos</title>
	<atom:link href="http://www.myblog.bloggybloggy.com/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.myblog.bloggybloggy.com</link>
	<description>Bloggy Bloggy is a Portal to my College Life as it Happens and other cool stuff.</description>
	<lastBuildDate>Tue, 01 Jun 2010 14:38:37 +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>Ktorrent and GUI/VNCSever Setup on Debian/Centos/Linux Server</title>
		<link>http://www.myblog.bloggybloggy.com/ktorrent-gui-vncsever-setup-debian-server-10-06-2008/</link>
		<comments>http://www.myblog.bloggybloggy.com/ktorrent-gui-vncsever-setup-debian-server-10-06-2008/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 22:45:11 +0000</pubDate>
		<dc:creator>Sumeet</dc:creator>
				<category><![CDATA[Webmastering]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[ktorrent]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vncserver]]></category>

		<guid isPermaLink="false">http://www.myblog.bloggybloggy.com/?p=47</guid>
		<description><![CDATA[Here is a simple how-to-guide on setting up Ktorrent on Debian and Centos System with KDE GUI interface. A Simple Guide to getting rid of boring SSH Terminal for those new to linux boxes.
First of all lets setup the tool and gui itself to remote login using interface of the server.
SSH into your server first, [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #000000;">Here is a simple<span style="color: #800000;"> <strong>how-to-guide on setting up Ktorrent on Debian and Centos System with KDE GUI interface. A Simple Guide to getting rid of boring SSH Terminal for those new to linux boxes.</strong></span><br />
First of all lets setup the tool and gui itself to remote login using interface of the server.<br />
<strong>SSH into your server first,</strong> using tools like Putty. Login as root, using su &#8211; command if you are not already logged in as root.</span></p>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; height: auto; text-align: left;" dir="ltr"><span style="color: #000000;">apt-get update
apt-get install kde x-window-system vncserver</span></pre>
<p><span style="color: #000000;"><strong>Start up your vncserver now using command: </strong>Please note you can change BloggyBloggy.com name to w/e u like, and resolution from 1280&#215;1024 to w/e really works for you. Please use x for the multiple there, cause if you copy paste this code directly it will not work so remember to change the x in the 2 numbers.</span></p>
<p>To change password for vncserver ever again in case you forget just type vncpasswd and you will be all set <img src='http://www.myblog.bloggybloggy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<span id="more-47"></span></p>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; height: auto; text-align: left;" dir="ltr"><span style="color: #000000;">vncserver -geometry 1280x1024 -depth 24 :1 -name BloggyBloggy.com</span></pre>
<p><span style="color: #000000;">This will ask you for a password, and then create your ~/.vnc directory (if running as root, it will be in /.vnc or /root/.vnc or /home/root/.vnc).</span></p>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; height: auto; text-align: left;" dir="ltr"><span style="color: #000000;">
cd /
mkdir softsdownloads
cd softsdownloads
wget http://www.configserver.com/free/csf.tgz
tar xzf csf.tgz
cd csf
sh install.sh
cd /etc/csf
nano csf.confg</span></pre>
<p><span style="color: #000000;"><strong>Setup a firewall like CSF (</strong>i like this and is easy to configure and handle and does not cause much loads).</span><span style="color: #000000;"> <em>Type and do as below:</em></span></p>
<p><span style="color: #000000;"><em></em>Add port 5901 for vncserver to work, and later on can add w/e ports you want.</span></p>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; height: auto; text-align: left;" dir="ltr"># Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,143,443,5901,465,953,993,995"
<span style="color: #000000;"># Allow outgoing TCP ports
TCP_OUT = "20,21,22,25,53,80,110,5901,113,443,953,9999"</span></pre>
<p><span style="color: #000000;"><strong>How do you login to server using GUI ?</strong></span></p>
<p><span style="color: #000000;">Simple, download VNCviewer from <a title="VNC Viewer" href="http://www.realvnc.com/products/free/4.1/download.html" target="_blank">http://www.realvnc.com/products/free/4.1/download.html</a><br />
and download this file : VNC Free Edition Viewer for Windows Stand-alone Viewer Version 4.1.2</span> (do not enter anything in fields just proceed to downloads)</p>
<p><span style="color: #000000;">Than simply execute and in the Server Field type serverip:1 remember, to use :1 after the ip, as it specifies the desktop/session window,enter you password you setup for vncserver and for first time you run it, a configure menu for kde should be there, just skip it or just set it up.</span></p>
<p><strong>Now for Ktorrent Installation</strong><br />
<em> Run the following commands if on Debian or ubuntu you use<br />
</em></p>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: auto; height: auto; text-align: left;" dir="ltr"><em> apt-get install packagename to install the package and to search for package you type apt-cache search packagename.</em></pre>
<p><span style="color: #000000;"><em><strong>For centos after this is a small guide attached for the same, only difference is you use yum install command to install and yum search to search.</strong></em></span></p>
<p><span style="color: #000000;">Anyways back to installation of Ktorrent on Debian.You can do  this via VNCserver using terminal program, but using putty/ssh is way faster and easier.</span></p>
<p><span style="color: #000000;"><em><strong>Still logged in as root or su (super user) type and proceed as below.</strong></em></span></p>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: auto; height: auto; text-align: left;" dir="ltr"><span style="color: #000000;">apt-get -y install subversion libapache2-svn</span>

<span style="color: #000000;">/etc/init.d/apache2 reload</span></pre>
<p><span style="color: #000000;"><strong>For Debian/ubuntu setup, you will need libraries and other bunch of stuff&#8230;. for that execute the following.</strong></span></p>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: auto; height: auto; text-align: left;" dir="ltr"><span style="color: #000000;">apt-get -y install kdelibs-dev libsoqt-dev kdebase-dev libgmp3-dev kdelibs4-dev libgmp3-dev qt3-dev-tools firefox autoconfg automake gcc-4.1 gcc-3.3 gobjc g++ rpm</span></pre>
<p><span style="color: #000000;"><strong>Now here is how to install Ktorrent after above command has successfully executed.</strong></span></p>
<p><span style="color: #000000;">(This install steps are directly from http://ktorrent.org/index.php?page=faq )<br />
Please make a directory called ktorrent to anywhere you like on /root or in any place like say /home</span></p>
<p><span style="color: #000000;">Simply do cd / to go to root folder and cd /home to go to home folder, and make folder using /mkdir ktorrent to your location, where<br />
you want ktorrent to be installed, for tutorial sake i installed it in /root/softdownloads/ktorrent. Same place where you downloaded the CSF firewall above !!</span></p>
<p><span style="color: #000000;">Now once you are in your ktorrent folder using cd ktorrent/ command. Proceed as below and type :</span></p>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: auto; height: auto; text-align: left;" dir="ltr">svn co svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/network/ktorrent
<span style="color: #000000;">cd ktorrent
svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin/
svn cat svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/network/Makefile.cvs &gt; Makefile.cvs
./configure
make</span></pre>
<p><span style="color: #000000;">At the .configure step if errors pop up google them up , but with the process as define above, i have taken care of all the errors, so you should get 0 errors.</span></p>
<p><span style="color: #000000;">Setup your ktorrent now using vncserver, location of ktorrent executable/shell scrip should be in cd /softsdownloads/ktorrent/apps/ktorrent/ (this for tutorial sake only if you used diffrent folder for making ktorrent folder, go browse to that folder) run this file : ktorrent it should<br />
have an icon with a dos kinda command window (black window) and should read shell script when you hover your mouse over it.<br />
You can if you want copy the file to desktop by right clicking on it and copying it to desktop, do not use move.</span></p>
<p><span style="color: #000000;"><strong>And you are all setup <img src='http://www.myblog.bloggybloggy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Now configure it and its ports and you are good to go. You can save all your downloaded file to w/e folder you want, be it on /home or anywhere you want.</strong> If you want files http downloaded, put them to folder where you got apache html files rendered from.</span></p>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: auto; height: auto; text-align: left;" dir="ltr"><span style="color: #000000;"><span style="color: #993300;"><strong>Just a small note, do not kill the session or logout using the logout command from startup</strong></span> menu thingy, just close VNCViewer,and you are all done. Ktorrent will keep running on your server, and you can connect back to it, using vncviewer again as stated above on how to connect using vncviewer.</span></pre>
<p><span style="color: #000000;">Also, Usually ports 12123:18000 works for me on the firwall setting in tcp/udp in and out both. So it would look like</span></p>
<p><span style="color: #000000;"># Allow incoming TCP ports<br />
TCP_IN = &#8220;20,21,22,25,53,80,110,143,443,5901,465,953,993,995,12123:18000&#8243;</span></p>
<p><span style="color: #000000;">and so on, that is port range is defined using portstart:portend</span></p>
<p><span style="color: #000000;">To edit ports type nano /etc/csf/csf.conf while logged into terminal as su or root. And remember to restart csf using csf -r command.</span></p>
<p><span style="color: #000000;">You would also want to setup ipblock (same as peerguardian) if running server for files that are deemed illegal. Or if you just want to prevent gov. ips etc. snooping at your server.<br />
I might publish how to install ipblock guide in a day or 2 if you guys want.</span></p>
<p><span style="color: #000000;">Now you can even browse using built in Kde Explorer, to install flash just go to speedtest.net once and hit the upgrade client link and it will take you to correct, site,download the RPM package and save it to desktop and using ssh or terminal while in Desktop folder type : rpm -i fileudownloaded.rpm . If bunch of errors pop up google them up to get rid of <img src='http://www.myblog.bloggybloggy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Or i might write up more on setting up firefox properly !!</span></p>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: auto; height: auto; text-align: left;" dir="ltr"><span style="color: #000000;"><span style="color: #008000;"><strong>For centos/fedora use yum instead of apt-get, and use this before installing ktorrent.</strong></span>
yum -y install kdelibs-devel.i386 qt-devel kdebase3-devel xorg-x11-devel firefox gmp.i386 libkdebase4-devel kdelibs-devel.i386 libgmp3-dev avhi-qt3-devel</span></pre>
<p><span style="color: #000000;"> Cheers</span></p>
<p><span style="color: #000000;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.myblog.bloggybloggy.com/ktorrent-gui-vncsever-setup-debian-server-10-06-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading to PHP 5.2.5 on Direct Admin Server</title>
		<link>http://www.myblog.bloggybloggy.com/upgrading-php5-on-direct-admin-centos-30-11-2007/</link>
		<comments>http://www.myblog.bloggybloggy.com/upgrading-php5-on-direct-admin-centos-30-11-2007/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 07:46:06 +0000</pubDate>
		<dc:creator>Sumeet</dc:creator>
				<category><![CDATA[Webmastering]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[direct admin]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php upgrade]]></category>
		<category><![CDATA[php5]]></category>

		<guid isPermaLink="false">http://www.myblog.bloggybloggy.com/upgrading-php5-on-direct-admin-centos-30-11-2007/</guid>
		<description><![CDATA[Learnt a neat trick to update/upgrade Php 4.4.7 on my test server to php 5.2.5 running centos 5 and direct admin as control panel. Took me a while to google up all the answers, so thought why not just put a small tutorial to install php 5.2.5 on apache2 based machine with direct admin on [...]]]></description>
			<content:encoded><![CDATA[<p>Learnt a neat trick to update/upgrade Php 4.4.7 on my test server to php 5.2.5 running centos 5 and direct admin as control panel. Took me a while to google up all the answers, so thought why not just put a small tutorial to install php 5.2.5 on apache2 based machine with direct admin on it.</p>
<p>First for sake of it run</p>
<p>yum install libxml-devel (this command on centos upgrades libxml or installs it if its mising and trust me you need to do this cause it saves time, otherwise php compile will end abruptly giving error :</p>
<p>Configuring extensions<br />
checking whether to enable LIBXML support&#8230; yes<br />
checking libxml2 install dir&#8230; no<br />
checking for xml2-config path&#8230;<br />
configure: error: xml2-config not found. Please check your libxml2 installation.</p>
<p>*** There was an error while trying to configure php. Check the configure.php file</p>
<p>Better safe than sorry <img src='http://www.myblog.bloggybloggy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . <span id="more-27"></span></p>
<p>After that has taken place do like mentioned below and you should be all set.</p>
<p>Login to server as Root.<br />
Type (do not copy entire commands here go in steps)<br />
Note that if you have different version of php than 4.4.7 running,<br />
change PHP_VER=4.4.7 that to your current version of PHP installed.</p>
<p>cd /usr/local/directadmin/customapache<br />
rm -fr build<br />
wget http://files.directadmin.com/services/customapache/build<br />
chmod 755 build<br />
./build update<br />
./build clean<br />
wget http://files.directadmin.com/services/customapache/php-5.2.5.tar.gz<br />
perl -pi -e &#8216;s/PHP_VER=4.4.7/PHP_VER=5.2.5/&#8217; build<br />
./build php_ap2</p>
<p>Now wait for it to upgrade/install say yes to things it asks to reinstall it doesnt hurt.</p>
<p>Copy httpd.conf file for backup :</p>
<p>cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.safe.copy</p>
<p>Now few things we should check before restarting apache.<br />
Edit /etc/httpd/conf/httpd.conf using nano /etc/httpd/conf/httpd.conf as command.<br />
Locate for following<br />
LoadModule php4_module /usr/lib/apache/libphp4.so</p>
<p>if its there comment it out like this :<br />
#LoadModule php4_module /usr/lib/apache/libphp4.so</p>
<p>Add this after that if this line does not exist :<br />
LoadModule php5_module        /usr/lib/apache/libphp5.so</p>
<p>Search for<br />
application/x-httpd-php<br />
To this add php5 like this if it does not exist already:<br />
application/x-httpd-php .inc .php .php5 .php4 .php3 .phtml</p>
<p>Save file and exit, and rebooot httpd or apache2 using :<br />
/sbin/service httpd restart</p>
<p>Enjoy. (will post tutorial on how to update apache 1.3 to apache 2 also on direct admin soon)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myblog.bloggybloggy.com/upgrading-php5-on-direct-admin-centos-30-11-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
