<?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>Linux Windows System Administrator Help</title>
	<atom:link href="http://linuxwindowsmaster.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxwindowsmaster.com</link>
	<description></description>
	<lastBuildDate>Thu, 20 May 2010 20:07:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>zimbra : Error in NoteBook. system failure: wiki formatter failure</title>
		<link>http://linuxwindowsmaster.com/zimbra-error-in-notebook-system-failure-wiki-formatter-failure/</link>
		<comments>http://linuxwindowsmaster.com/zimbra-error-in-notebook-system-failure-wiki-formatter-failure/#comments</comments>
		<pubDate>Wed, 19 May 2010 13:30:38 +0000</pubDate>
		<dc:creator>AlexP</dc:creator>
				<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[Error in NoteBook]]></category>
		<category><![CDATA[system failure: wiki formatter failure]]></category>
		<category><![CDATA[zimbra]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=380</guid>
		<description><![CDATA[I have this when I enter in notebook, inte user interface I click on  Notebook, and didn`t work why is it?  what would the wrong ?
HTTP ERROR 500
Problem accessing /service/home/admin@domainname/Notebook.  Reason:
    system failure: wiki formatter failure
Powered  by Jetty://
Sounds like you don&#8217;t have Documents enabled,You can use following steps to [...]]]></description>
			<content:encoded><![CDATA[<p>I have this when I enter in notebook, inte user interface I click on  Notebook, and didn`t work why is it?  what would the wrong ?</p>
<h2>HTTP ERROR 500</h2>
<p>Problem accessing /service/home/admin@domainname/Notebook.  Reason:</p>
<pre>    system failure: wiki formatter failure</pre>
<hr /><em><small>Powered  by Jetty://</small></em></p>
<p>Sounds like you don&#8217;t have Documents enabled,You can use following steps to enable it.</p>
<p>All you need to do is re-initalize the notebook template for the  renamed wiki user (wiki@domain.com)</p>
<p>1. login to the zimbra server.<br />
2. Shell into the zimbra account (su &#8211; zimbra)<br />
3. run  zmprov in <a href="mailto:wiki@domain.com">wiki@domain.com</a><br />
4. look for the following output: Initializing folders</p>
<p>Regards</p>
<p>Alex P</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/zimbra-error-in-notebook-system-failure-wiki-formatter-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail cannot be sent through AtMail error &#8220;Could not send message to SMTP server. Check you have access to send messages via the server and that all To/CC/BCC addresses are valid\nError: SMTP Server rejected email. Returned:553&#8243;</title>
		<link>http://linuxwindowsmaster.com/mail-cannot-be-sent-through-atmail-error-could-not-send-message-to-smtp-server-check-you-have-access-to-send-messages-via-the-server-and-that-all-toccbcc-addresses-are-validnerror-smtp-server/</link>
		<comments>http://linuxwindowsmaster.com/mail-cannot-be-sent-through-atmail-error-could-not-send-message-to-smtp-server-check-you-have-access-to-send-messages-via-the-server-and-that-all-toccbcc-addresses-are-validnerror-smtp-server/#comments</comments>
		<pubDate>Sun, 16 May 2010 14:37:16 +0000</pubDate>
		<dc:creator>AlexP</dc:creator>
				<category><![CDATA[Plesk]]></category>
		<category><![CDATA[AtMail]]></category>
		<category><![CDATA[Mail cannot be sent through AtMail]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=371</guid>
		<description><![CDATA[Emails cannot be sent through AtMail. When click Send Mail popup window is created with the following message:
Could not send message to SMTP server. Check that you have access to send messages via the server and that all To/CC/BCC addresses are valid\nError: SMTP Server rejected mail. Returned:553 
What may cause the problem?
Solutions :
Seemed like atmail [...]]]></description>
			<content:encoded><![CDATA[<p>Emails cannot be sent through AtMail. When click Send Mail popup window is created with the following message:</p>
<blockquote><p><strong>Could not send message to SMTP server. Check that you have access to send messages via the server and that all To/CC/BCC addresses are valid\nError: SMTP Server rejected mail. Returned:553 </strong></p></blockquote>
<p>What may cause the problem?</p>
<p><strong>Solutions :</strong></p>
<p>Seemed like atmail didn&#8217;t authenticate when trying to send the email. After searching through the sources found that in the @mail config file (/var/www/atmail/libs/Atmail/Config.php) there is an option to authenticate with an username/password</p>
<p><strong><br />
<blockquote>&#8217;smtpauth_password&#8217; => &#8221;,<br />
&#8217;smtpauth_username&#8217; => &#8221;,</p></blockquote>
<p></strong></p>
<p>by default they&#8217;re empty.<br />
if you put here a valid username and password, the messages will be sent.<br />
The problem is that I wanted that the users authenticate with their own credentials when sending messages.</p>
<p>So here&#8217;s the way I fixed it:</p>
<p>Open the file<strong> /var/www/atmail/libs/Atmail/SendMsg.php</strong></p>
<p>Search for the line <strong>&#8220;// Optionally authenticate with the SMTP server&#8221;</strong></p>
<p>Add below line :<br />
<strong><br />
<blockquote>$auth =&#038; $atmail->getAuthObj();<br />
$pref['smtpauth_username'] = $auth->Account;<br />
$pref['smtpauth_password'] = $auth->password;</p></blockquote>
<p></strong></p>
<p>That&#8217;s it. This will override the auth settings from Config.php with the credentials the user used to log in.</p>
<p>After that try to send an email it will work.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/mail-cannot-be-sent-through-atmail-error-could-not-send-message-to-smtp-server-check-you-have-access-to-send-messages-via-the-server-and-that-all-toccbcc-addresses-are-validnerror-smtp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpMyAdmin Error &#8211; Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly</title>
		<link>http://linuxwindowsmaster.com/phpmyadmin-error-cannot-start-session-without-errors-please-check-errors-given-in-your-php-andor-webserver-log-file-and-configure-your-php-installation-properly/</link>
		<comments>http://linuxwindowsmaster.com/phpmyadmin-error-cannot-start-session-without-errors-please-check-errors-given-in-your-php-andor-webserver-log-file-and-configure-your-php-installation-properly/#comments</comments>
		<pubDate>Sun, 16 May 2010 12:00:58 +0000</pubDate>
		<dc:creator>AlexP</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[Cannot start session without errors]]></category>
		<category><![CDATA[cpanelphpmyadmin]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=358</guid>
		<description><![CDATA[Last night I had migrated one our client accounts from old cpanel server to new cpanel server , customers reported their phpMyAdmin install was showing the error  message &#8220;Cannot start session without errors&#8221;  and they were unable to  even get to the phpMyAdmin login page on the new server.
This post looks at what [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I had migrated one our client accounts from old cpanel server to new cpanel server , customers reported their phpMyAdmin install was showing the error  message &#8220;Cannot start session without errors&#8221;  and they were unable to  even get to the phpMyAdmin login page on the new server.</p>
<p><strong>This post looks at what caused  the issue and how to fix it.</strong></p>
<p>Clearly there&#8217;s something wrong with the way phpmyadmin sessions are being used. Cpanel work with is own internal PHP and store the application session files in different folder for security reason.</p>
<p>On Cpanel server, every application as his own php configuration setting like phpmyadmin , php configuration file is /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini , roundcube (/usr/local/cpanel/3rdparty/etc/roundcube/php.ini)</p>
<p><strong>PHPmyAdmin</strong> session files are store in <strong>/var/cpanel/userhomes/cpanelphpmyadmin/</strong> folder.  The <strong>/var/cpanel/userhomes/cpanelphpmyadmin/</strong> folder ownership should be <strong>cpanelphpmyadmin.cpanelphpmyadmin</strong>n  /var/cpanel/userhomes/cpanelphpmyadmin/ in order to get phpmyadmin work perfect.</p>
<p><strong>root@server [/var/cpanel/userhomes]# chown cpanelphpmyadmin.cpanelphpmyadmin cpanelphpmyadmin/ -R </strong></p>
<p>If session folder owned by any other username rather than cpanelphpmyadmin then you will get &#8220;Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly&#8221; error.</p>
<pre>root@server [/var/cpanel/userhomes]# ll
drwxr-xr-x  4 cpanel           cpanel            4096 Dec 11 23:04 cpanel/
drwx--x--x  4 cpanelhorde      cpanelhorde       4096 Sep 24  2009 cpanelhorde/
drwx--x--x  4 cpanelphpmyadmin cpanelphpmyadmin  4096 Sep 24  2009 cpanelphpmyadmin/
drwx--x--x  4 cpanelphppgadmin cpanelphppgadmin  4096 Sep 24  2009 cpanelphppgadmin/
drwx--x--x  4 cpanelroundcube  cpanelroundcube   4096 Sep 24  2009 cpanelroundcube/
root@server [/var/cpanel/userhomes]#</pre>
<p>Regards</p>
<p>Alex P</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/phpmyadmin-error-cannot-start-session-without-errors-please-check-errors-given-in-your-php-andor-webserver-log-file-and-configure-your-php-installation-properly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix HTTP Error on Wordpress 2.6 Flash Uploader</title>
		<link>http://linuxwindowsmaster.com/http-error-on-wordpress-flash-uploader/</link>
		<comments>http://linuxwindowsmaster.com/http-error-on-wordpress-flash-uploader/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 01:24:31 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[Flash Uploader]]></category>
		<category><![CDATA[HTTP Error]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=312</guid>
		<description><![CDATA[
Whenever you are trying to upload an image using the flash uploader in Wordpress   and received a “HTTP error”? and uploading images status stuck in crunching ……..
 Here solutions::
 
The problem has something to do with mod_security,  which is basically a web application firewall that protects your website from a range of [...]]]></description>
			<content:encoded><![CDATA[<p><!--[endif]--></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">Whenever you are trying to upload an image using the flash uploader in Wordpress <span> </span><span> </span>and received a “HTTP error”? and uploading images status stuck in crunching ……..</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;"><span> </span><strong>Here solutions::</strong></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">The problem has something to do with mod_security, <span> </span>which is basically a web application firewall that protects your website from a range of attacks. So you shouldn’t turn off this module as it protects your site from such <span> </span>malicious attack , You can add a special rule in .htaccess file which can be found in the root folder of your Wordpress installation<span> </span>to get work <span> </span>the flash uploader.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">Open the <strong><span style="font-family: &quot;Georgia&quot;,&quot;serif&quot;;">.htaccess</span></strong> file in your website document root and add the following lines:</span></p>
<ul>
<li><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;"> <strong>For Apache 1.X<br />
</strong></p>
<pre>&lt;IfModule mod_security.c&gt;
&lt;Files async-upload.php&gt;
SecFilterEngine Off
SecFilterScanPOST Off
&lt;/Files&gt;
&lt;/IfModule&gt;</pre>
<p></span></li>
<li><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;"><strong>For Apache 2.X<br />
</strong></p>
<pre>&lt;IfModule mod_security2.c&gt;
&lt;Files async-upload.php&gt;
SecRuleEngine Off
SecAuditEngine Off
&lt;/Files&gt;
&lt;/IfModule&gt;</pre>
<p></span></li>
</ul>
<p><strong><span style="font-family: &quot;Georgia&quot;,&quot;serif&quot;; color: black;"> </span></strong><span style="font-family: &quot;Georgia&quot;,&quot;serif&quot;; color: black;">Then try to upload the images it should be work like charm D:</span></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/http-error-on-wordpress-flash-uploader/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to hide your shell commands</title>
		<link>http://linuxwindowsmaster.com/how-to-hide-your-shell-commands/</link>
		<comments>http://linuxwindowsmaster.com/how-to-hide-your-shell-commands/#comments</comments>
		<pubDate>Mon, 11 May 2009 23:19:49 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Shell Scripts]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[stty]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/how-to-hide-your-shell-commands/</guid>
		<description><![CDATA[Have you thought of hiding what you are doing on your linux bash shell prompt? and not allowing your colleague to see what command you are entering  or do you want to confuse your colleague by showing something invisible but work as visible?  then read out this…
Today I came across a neat, but [...]]]></description>
			<content:encoded><![CDATA[<p>Have you thought of hiding what you are doing on your linux bash shell prompt? and not allowing your colleague to see what command you are entering  or do you want to confuse your colleague by showing something invisible but work as visible?  then read out this…</p>
<p>Today I came across a neat, but pointless shell command. By running the following in shell, it will hide any commands you run.</p>
<pre><strong>root@server2 [/]# stty -echo</strong></pre>
<p><strong>In order to disable this mode, simply remove the “-” before echo.</strong></p>
<pre><strong>root@server2 [/]# stty echo</strong></pre>
<p>I guess there really is no point to the command, though you could always mess with your coworkers if they leave their shell prompt open</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/how-to-hide-your-shell-commands/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>configure: error: C++ preprocessor &#8220;/lib/cpp&#8221; fails sanity check</title>
		<link>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/</link>
		<comments>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 21:01:43 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[/lib/cpp]]></category>
		<category><![CDATA[error: C++ preprocessor "/lib/cpp" fails sanity check]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=283</guid>
		<description><![CDATA[
Hello,
If you having trouble compiling any application manually using &#8220;configure&#8221; , here simple fix for this error. 
Error ::
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Solution::

Centos/Fedora/RHEL
yum install gcc gcc-cpp gcc-c++



Ubuntu/Debain
apt-get [...]]]></description>
			<content:encoded><![CDATA[<p><!--[endif]--></p>
<p class="MsoNormal"><span style="font-family: &quot;Georgia&quot;,&quot;serif&quot;;">Hello,</span></p>
<p class="MsoNormal"><span style="font-family: &quot;Georgia&quot;,&quot;serif&quot;;">If you having trouble compiling any application manually using &#8220;configure&#8221; , here simple fix for this error. </span></p>
<p class="MsoNormal"><span style="font-family: &quot;Georgia&quot;,&quot;serif&quot;;">Error ::</span></p>
<pre><span style="font-family: &quot;Georgia&quot;,&quot;serif&quot;;">checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
<strong>configure: error: C++ preprocessor "/lib/cpp" fails sanity check</strong>
See `config.log' for more details.</span></pre>
<p class="MsoNormal"><span style="font-family: &quot;Georgia&quot;,&quot;serif&quot;;">Solution::</span></p>
<ul>
<li><strong>Centos/Fedora/RHEL</strong>
<pre><strong>yum install gcc gcc-cpp gcc-c++</strong></pre>
</li>
</ul>
<ul>
<li><strong>Ubuntu/Debain</strong>
<pre><strong>apt-get install gcc gcc-cpp gcc-c++</strong></pre>
</li>
</ul>
<p>Regards</p>
<p>AlexP</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>What is the advantge and disadvantage of mysql_connect() and mysql_pconnect() ?</title>
		<link>http://linuxwindowsmaster.com/what-is-the-advantge-and-disadvantage-of-mysql_connect-and-mysql_pconnect/</link>
		<comments>http://linuxwindowsmaster.com/what-is-the-advantge-and-disadvantage-of-mysql_connect-and-mysql_pconnect/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 00:41:19 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql_connect]]></category>
		<category><![CDATA[mysql_pconnect]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=279</guid>
		<description><![CDATA[
mysql_pconnect() will maintain a persistent connection to the database. Whenever your script calls the connect to database function, it first searches already existing connections to the database and if exists it will use the same connection to connect to the database, if not it will open a new connection to the database. ie. Connection is [...]]]></description>
			<content:encoded><![CDATA[<p><!--[endif]--></p>
<p class="MsoNormal" style="text-align: justify;"><strong><span style="font-size: 11pt; font-family: Georgia;">mysql_pconnect() </span></strong><span style="font-size: 11pt; font-family: Georgia;">will maintain a persistent connection to the database. Whenever your script calls the connect to database function, it first searches already existing connections to the database and if exists it will use the same connection to connect to the database, if not it will open a new connection to the database. ie. Connection is Persistent</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 11pt; font-family: Georgia;">where as <strong>mysql_connect()</strong> function will establish a new connection whenever a connection to database needed, and after executing the script, this function disconnects the connection. ie. connection is not a persistent one.</span></p>
<p class="MsoNormal" style="text-align: justify;"><strong><span style="font-size: 11pt; font-family: Georgia;">mysql_pconnect()</span></strong><span style="font-size: 11pt; font-family: Georgia;"> function is used where your site has a Heavy Traffic and where as <strong>mysql_connect()</strong> function is used when there is moderate/less traffic to your site.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Georgia;">Regard’s</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Georgia;">Alex P</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Georgia;">System Administrator.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/what-is-the-advantge-and-disadvantage-of-mysql_connect-and-mysql_pconnect/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to update/install latest RoundCube on cPanel</title>
		<link>http://linuxwindowsmaster.com/how-to-update-install-latest-roundcube-on-cpanel/</link>
		<comments>http://linuxwindowsmaster.com/how-to-update-install-latest-roundcube-on-cpanel/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 19:57:34 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[install RoundCube]]></category>
		<category><![CDATA[RoundCube]]></category>
		<category><![CDATA[update  RoundCube]]></category>
		<category><![CDATA[upgrade roundcube]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=258</guid>
		<description><![CDATA[Update/install latest RoundCube on cPanel
First you will have to uninstall/remove exiting RoundCube files/folder/database on your server,

Uninstall/remove exiting RoundCube 

cd /usr/local/cpanel/base
rm -rf roundcube*
mysql -e 'drop database roundcube';
/scripts/upcp
Now follow the following steps to  update/install latest roundcube  version ,we need to get Roundcube before we can use it. The easiest way to get it is to visit http://www.roundcube.net [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update/install latest RoundCube on cPanel</strong></p>
<p>First you will have to uninstall/remove exiting RoundCube files/folder/database on your server,</p>
<ul>
<li><strong>Uninstall/remove exiting RoundCube </strong></li>
</ul>
<pre><strong>cd /usr/local/cpanel/base
rm -rf roundcube*
mysql -e 'drop database roundcube';
/scripts/upcp</strong></pre>
<p>Now follow the following steps to  update/install latest roundcube  version ,we need to get Roundcube before we can use it. The easiest way to get it is to visit http://www.roundcube.net and click on &#8220;Downloads&#8221; or just go to http://roundcube.net/downloads. Wait for it to download and then unzip (using WinZip or ZipGenius or tar -xzf roundcubemail-0.1.tar.gz) in the current directory.</p>
<ul>
<li><strong>update/install latest roundcube</strong></li>
</ul>
<pre><strong>cd /usr/local/cpanel/base
wget -O roundcube.tar.gz http://nchc.dl.sourceforge.net/sourceforge/
roundcubemail/roundcubemail-0.2.1.tar.gz
rm -rf roundcube.tar.gz
mv -f roundcubemail-0.2.1/ roundcube
cd roundcube
chmod -R 777 temp
chmod -R 777 logs
</strong></pre>
<ul>
<li><strong>Database Configuration</strong></li>
</ul>
<p>Create the database, database user and install the intial sql file. The following commands will do this for you.</p>
<pre><strong>mysql -e "CREATE DATABASE roundcube;"
mysql -e "GRANT ALL PRIVILEGES ON roundcube.* TO roundcube@localhost IDENTIFIED BY
'DATABASEPASSWORD';"
mysql -e "FLUSH PRIVILEGES;"
mysql -e "use roundcube; source SQL/mysql.initial.sql;"
</strong></pre>
<p>You will have to replace the roundcube password with &#8216;DATABASEPASSWORD&#8217; field.</p>
<ul>
<li><strong>Configuring RoundCube</strong></li>
</ul>
<pre><strong>cd config
mv db.inc.php.dist db.inc.php
mv main.inc.php.dist main.inc.php
</strong></pre>
<p>then open database configruation file  db.inc.php in your favroite editor like vi or pico or nano<br />
vi db.inc.php<br />
Find following line</p>
<pre><strong>$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
</strong></pre>
<p>Replace it with</p>
<pre><strong>$rcmail_config['db_dsnw'] = 'mysql://roundcube:DATABASEPASSWORD@localhost/roundcube';
</strong></pre>
<p>Now Open main.inc.php</p>
<p>vi main.inc.php</p>
<p>Find</p>
<pre><strong>$rcmail_config['default_host'] = '';
</strong></pre>
<p>Replace with</p>
<pre><strong>$rcmail_config['default_host'] = 'localhost';
</strong></pre>
<p>Last steps , restart the mysql, cpanel services on your server. That&#8217;s it ,Have fun with your new Roundcube installation!!</p>
<p>Regards</p>
<p>AlexP</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/how-to-update-install-latest-roundcube-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to install memcache on linux server?</title>
		<link>http://linuxwindowsmaster.com/how-to-install-memcache-on-linux-server/</link>
		<comments>http://linuxwindowsmaster.com/how-to-install-memcache-on-linux-server/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 21:02:03 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[ASP.NET, IIS, MS SQL]]></category>
		<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[PHP, MySQL, Apache]]></category>
		<category><![CDATA[Libevent]]></category>
		<category><![CDATA[memcache.so]]></category>
		<category><![CDATA[memcached]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=224</guid>
		<description><![CDATA[ 

memcached is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load. 
 
memcached is meant to work in concert with something like the MySQL query cache, not replace it. The two implementations excel at vastly different things: memcached is an object cache, while MySQL provides a [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--> <!--[if gte mso 10]><br />
<mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} --></p>
<p><!--[endif]--></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"><strong>memcached</strong> is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load. </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"><strong>memcached</strong> is meant to work in concert with something like the MySQL query cache, not replace it. The two implementations excel at vastly different things: <strong>memcached</strong> is an object cache, while MySQL provides a query cache.</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"><strong>memcached</strong> is extremely fast. It uses <strong>libevent</strong>, which provides a mechanism to execute a callback function when a specific event occurs on a file descriptor, to scale to any number of open connections. On a modern Linux system memcached utilizes epoll, is completely non-blocking for network I/O, ensures memory never gets fragmented, and uses its own slab allocator and hash table to achieve 0(1) virtual memory allocation.</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><strong><span style="font-size: 10pt; font-family: Georgia;">How it install it on Linux server ?</span></strong></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<ul>
<li><span style="font-size: 10pt; font-family: Georgia;">Install dependency software (Libevent)</span></li>
</ul>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">#curl -O http://monkey.org/~provos/libevent-1.4.9-stable.tar.gz
#tar -xzvf libevent-1.4.9-stable.tar.gz
#cd libevent*
#./configure
#make
#make install</span></strong></pre>
<p><strong></strong></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<ul>
<li><span style="font-size: 10pt; font-family: Georgia;">Now let’s download the newest Memcached source</span></li>
</ul>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong>#curl -O http://www.danga.com/memcached/dist/memcached-1.3.0.tar.gz
#tar zxf memcached-1.3.0.tar.gz
#cd memcached-1.3.0
#./configure
#make
#make install</strong></pre>
<ul>
<li><span style="font-size: 10pt; font-family: Georgia;">Then add /usr/local/lib to LD_LIBRARY_PATH in your .bash_profile</span></li>
</ul>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH</strong></pre>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><strong><span style="font-size: 10pt; font-family: Georgia;">How it Works</span></strong></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">First, you start up the memcached daemon on as many spare machines as you have. The daemon has no configuration file, just a few command line options, only 3 or 4 of which you’ll likely use:</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">Run Memcached as a daemon (d = daemon, m = memory, u = user, l = IP to listen to, p = port)</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">#memcached -d -m 1024 -u root -l 127.0.0.1 -p 11211 –u nobody</span></strong></pre>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">This starts memcached as a <strong>daemon (-d)</strong> on the<strong> IP addres</strong>s and <strong>port</strong> specified with<strong> -l </strong>and <strong>-p</strong>, respectively, running as the <strong>user nobody (-u),</strong> allocating<strong> 1024  for object storage (-m)</strong>. You should adjust the amount of storage to suit your needs; many memcached installs run with 4 GB. Once you are comfortable with your startup options, add the appropriate command to your startup scripts.</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">Create a <strong>/etc/init.d/memcached</strong> file and add above line to start memcached when the server boots</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">With memcached installed and running, it’s time to get PHP talking to the object cache. While multiple PHP API exists, the one in the PECL repository is recommended. If you are running a newer version of PHP, installation is as simple as:</span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;"># pecl install memcache</span></strong></pre>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">Or you can use following steps to install PECL memcache manually.</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong>#cd /usr/local/src
#curl -O http://pecl.php.net/get/memcache
#tar zxvf memcache*
#cd memcache-*
#phpize
#./configure
#make &amp;&amp; make install</strong></pre>
<p class="MsoNormal" style="text-align: justify;"><strong><span style="font-size: 10pt; font-family: Georgia;"> </span></strong></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">Now we have to make sure PHP loads the newly built memcache.so library by adding the following line to php.ini:</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><strong><span style="font-size: 10pt;">extension=memcache.so</span></strong></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p><span style="font-size: 10pt; font-family: Georgia;">Now restart Apache:</span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">Service httpd restart</span></strong></pre>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"><span> </span>Once it sucussfully install you can create<span> </span>phpinfo() on your webserver should now confirm that memcache is installed.</span></p>
<p class="MsoNormal" style="text-align: center;"><span style="font-size: 10pt; font-family: Georgia;"><a href="http://linuxwindowsmaster.com/how-to-install-memcache/"><img class="aligncenter size-full wp-image-225" title="memcache" src="http://linuxwindowsmaster.com/wp-content/uploads/2009/04/memcache.jpg" alt="memcache How to install memcache on linux server?" width="733" height="393" /></a><br />
</span></p>
<p>Regards<br />
AlexP</p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/how-to-install-memcache-on-linux-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to install subversion client on Linux server?</title>
		<link>http://linuxwindowsmaster.com/how-to-install-subversion-client-on-linux-server/</link>
		<comments>http://linuxwindowsmaster.com/how-to-install-subversion-client-on-linux-server/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 23:30:50 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[error: missing dependency: perl(uri)]]></category>
		<category><![CDATA[Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion]]></category>
		<category><![CDATA[perl-URI]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[yum install subversion]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=216</guid>
		<description><![CDATA[ 

Svn(subversion)  is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS).
It is very easy to install subversion client on linux OS using yum. You can us following command to [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--> <!--[if gte mso 10]><br />
<mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} --></p>
<p><!--[endif]--></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"><strong>Svn(subversion)</strong> <span> </span>is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS).</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">It is very easy to install subversion client on<strong> linux OS</strong> using <strong>yum</strong>. You can us following command to install subversion client.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]# yum install subversion</span></strong></pre>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">while installing subversion if you are getting following error  then it seem sot be </span><span style="font-size: 10pt; font-family: Georgia;">perl-URI package is not installed on your server so </span><span style="font-size: 10pt; font-family: Georgia;">you will have to install first before installing subversion client.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">Please follow the following steps to install </span><span style="font-size: 10pt; font-family: Georgia;">perl-URI package</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">You&#8217;ll login via SSH as root and run this command:</span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]# yum install subversion</span></strong></pre>
<p class="MsoNormal">
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">and then you may get this error:</span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">Error: Missing Dependency: perl(URI) &gt;= 1.17 is needed by package subversion</span></strong></pre>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">Here&#8217;s what you do next (copy/paste):</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]# wget  ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/
fedora/linux/releases/7/Everything/i386/os/Fedora/
perl-URI-1.35-3.noarch.rpm </span></strong>

<strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]# rpm -i perl-URI-1.35-3.noarch.rpm</span></strong>

<strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]# yum install subversion</span></strong>

<span style="font-size: 10pt; font-family: Georgia;" lang="FR">Installed: subversion.x86_64 0:1.4.2-4.el5 subversion.i386 0:1.4.2-4.el5</span>

<span style="font-size: 10pt; font-family: Georgia;">Dependency Installed: neon.x86_64 0:0.25.5-10.el5 neon.i386 0:0.25.5-10.el5</span>

<span style="font-size: 10pt; font-family: Georgia;">Complete!</span></pre>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">That’s it subversion client is successfully installed on your server you can check it using following command.</span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]#</span><span style="font-size: 10pt; font-family: Georgia;">svn --version
svn, version 1.1.4 (r13838)
compiled Aug 21 2005, 20:56:55</span>

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' schema
- handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' schema</strong></pre>
<p>Regards</p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">Alex P<br />
</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/how-to-install-subversion-client-on-linux-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
