<?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>x83.net &#187; Tips &amp; Tricks</title>
	<atom:link href="http://www.x83.net/category/tips-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net</link>
	<description></description>
	<lastBuildDate>Sat, 24 Jul 2010 09:50:05 +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>Repair a Mysql database</title>
		<link>http://www.x83.net/repair-a-mysql-database/</link>
		<comments>http://www.x83.net/repair-a-mysql-database/#comments</comments>
		<pubDate>Tue, 25 May 2010 18:34:55 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[repair]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=428</guid>
		<description><![CDATA[When we try to repair a MySQL database we can stop the service. If you are using the MyISAM engine I recommend using myisamchk. A basic repair sentence could be like this:
myisamchk -r -q -p -v &#8211;sort_buffer_size=2000M /var/lib/mysql/database/table.MYI
The used parameters are the following:
    * -r recovery mode
    * -q [...]]]></description>
			<content:encoded><![CDATA[<p>When we try to repair a MySQL database we can stop the service. If you are using the MyISAM engine I recommend using myisamchk. A basic repair sentence could be like this:</p>
<blockquote><p>myisamchk -r -q -p -v &#8211;sort_buffer_size=2000M /var/lib/mysql/database/table.MYI</p></blockquote>
<p>The used parameters are the following:</p>
<p>    * -r recovery mode<br />
    * -q quick recovery, the most common one. If this mode does not work you will have to make some research on your own.<br />
    * -p creates the keys to be repared in parallel threads.<br />
    * -v verbose mode<br />
    * &#8211;sort_buffer_size= use this to indicate the size of the buffer to sort the keys. If you do not specify this value, or the value you specify is too small, then you will see something like this myisamchk: error: myisam_sort_buffer_size is too small. To solve this just increment the size of the buffer to be used, if the error always appear then you have a extremely big table.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/repair-a-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto show email accounts and passwords in Plesk</title>
		<link>http://www.x83.net/howto-show-email-accounts-and-passwords-in-plesk/</link>
		<comments>http://www.x83.net/howto-show-email-accounts-and-passwords-in-plesk/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 08:39:30 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=392</guid>
		<description><![CDATA[Login to mysql and :
use psa;
SELECT accounts.id, mail.mail_name, accounts.password, domains.name FROM domains LEFT JOIN mail ON domains.id = mail.dom_id LEFT JOIN accounts ON mail.account_id = accounts.id

It should print all emails that are created and their passwords.
]]></description>
			<content:encoded><![CDATA[<p>Login to mysql and :</p>
<blockquote><p>use psa;<br />
SELECT accounts.id, mail.mail_name, accounts.password, domains.name FROM domains LEFT JOIN mail ON domains.id = mail.dom_id LEFT JOIN accounts ON mail.account_id = accounts.id
</p></blockquote>
<p>It should print all emails that are created and their passwords.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/howto-show-email-accounts-and-passwords-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto list installed packages sorted by size</title>
		<link>http://www.x83.net/howto-list-installed-packages-sorted-by-size/</link>
		<comments>http://www.x83.net/howto-list-installed-packages-sorted-by-size/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 18:57:08 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[querytags]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[vendor]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=388</guid>
		<description><![CDATA[rpm -qa &#8211;queryformat &#8216;%{SIZE} %{NAME} %{VENDOR}\n&#8217;  &#124; sort -n -r &#124; head -10
Check :rpm &#8211;querytags  for all the tags
]]></description>
			<content:encoded><![CDATA[<blockquote><p>rpm -qa &#8211;queryformat &#8216;%{SIZE} %{NAME} %{VENDOR}\n&#8217;  | sort -n -r | head -10</p></blockquote>
<p>Check :rpm &#8211;querytags  for all the tags</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/howto-list-installed-packages-sorted-by-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update from phpBB 3.0.4 to 3.0.5</title>
		<link>http://www.x83.net/update-from-phpbb-3-0-4-to-3-0-5/</link>
		<comments>http://www.x83.net/update-from-phpbb-3-0-4-to-3-0-5/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 08:03:30 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[3.0.5]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[phpbb]]></category>
		<category><![CDATA[update 3.0.4]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=375</guid>
		<description><![CDATA[To perform the update, either follow the instructions from the Administration Control Panel->System Tab &#8211; this should point out that you are running an outdated version and will guide you through the update &#8211; or follow the instructions listed below.
Go to the downloads page and download the latest update package listed there, matching your current [...]]]></description>
			<content:encoded><![CDATA[<p>To perform the update, either follow the instructions from the Administration Control Panel->System Tab &#8211; this should point out that you are running an outdated version and will guide you through the update &#8211; or follow the instructions listed below.</p>
<p>Go to the downloads page and download the latest update package listed there, matching your current version.<br />
Upload the archives contents to your phpBB installation &#8211; only the install folder is required. Upload the whole install folder, retaining the file structure.<br />
After the install folder is present, phpBB3 will go offline automatically.<br />
Point your browser to the install directory, for example http://www.example.com/phpBB3/install/<br />
Choose the &#8220;Update&#8221; Tab and follow the instructions </p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/update-from-phpbb-3-0-4-to-3-0-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla: Change Super Admin/Administrator password</title>
		<link>http://www.x83.net/joomla-change-super-adminadministrator-password/</link>
		<comments>http://www.x83.net/joomla-change-super-adminadministrator-password/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 06:04:55 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[where]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=359</guid>
		<description><![CDATA[Login with your mysql client and issue either one of these:
UPDATE `jos_users` SET `password` =MD5(&#8220;getsmart&#8221;) WHERE usertype = &#8220;Super Administrator&#8221;;
or
UPDATE `jos_users` SET `password` =MD5(&#8220;getsmart&#8221;) WHERE usertype = &#8220;Administrator&#8221;;
]]></description>
			<content:encoded><![CDATA[<p>Login with your mysql client and issue either one of these:</p>
<p>UPDATE `jos_users` SET `password` =MD5(&#8220;getsmart&#8221;) WHERE usertype = &#8220;Super Administrator&#8221;;<br />
or<br />
UPDATE `jos_users` SET `password` =MD5(&#8220;getsmart&#8221;) WHERE usertype = &#8220;Administrator&#8221;;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/joomla-change-super-adminadministrator-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla : .htaccess SEO friendly</title>
		<link>http://www.x83.net/joomla-htaccess-seo-friendly/</link>
		<comments>http://www.x83.net/joomla-htaccess-seo-friendly/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 05:01:50 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=357</guid>
		<description><![CDATA[Site->Global Configuration-> Go to Search Engine Friendly URLs and select and Use Apache mod_rewrite. Select both to &#8220;YES&#8221;.
Then on your hosting server copy htaccess.txt to .htaccess. Now you should have urls like : http://site.com/contact 
]]></description>
			<content:encoded><![CDATA[<p>Site->Global Configuration-> Go to Search Engine Friendly URLs and select and Use Apache mod_rewrite. Select both to &#8220;YES&#8221;.</p>
<p>Then on your hosting server copy htaccess.txt to .htaccess. Now you should have urls like : http://site.com/contact </p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/joomla-htaccess-seo-friendly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla with suPHP: Premature end of script headers: index.php</title>
		<link>http://www.x83.net/joomla-with-suphp-premature-end-of-script-headers-index-php/</link>
		<comments>http://www.x83.net/joomla-with-suphp-premature-end-of-script-headers-index-php/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 04:55:58 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[premature]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[script headers]]></category>
		<category><![CDATA[suphp]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=355</guid>
		<description><![CDATA[Got this error while I was trying to configure Joomla to work with suPHP. This is the config I`m using to make it work:

        ServerAdmin aa@aa.com
        ServerName www.site.org
        ServerAlias site.org
     [...]]]></description>
			<content:encoded><![CDATA[<p>Got this error while I was trying to configure Joomla to work with suPHP. This is the config I`m using to make it work:</p>
<p><VirtualHost *:80><br />
        ServerAdmin aa@aa.com<br />
        ServerName www.site.org<br />
        ServerAlias site.org<br />
        DocumentRoot /home/virtuals/www.site.org/public_html/<br />
        ErrorLog /home/virtuals/www.site.org/logs/error.log<br />
        CustomLog /home/virtuals/www.site.org/logs/access.log combined<br />
        ServerSignature On<br />
        php_admin_flag safe_mode Off<br />
        php_admin_flag register_globals On<br />
        php_admin_value open_basedir /home/virtuals/www.site.org/public_html:/tmp</p>
<p></VirtualHost><br />
<Directory /home/virtuals/www.site.org/public_html ><br />
    AllowOverride All<br />
    Allow from  All<br />
    Options Indexes FollowSymLinks<br />
</Directory><br />
<Directory "/home/virtuals/www.site.org/public_html"><br />
        <IfModule mod_suphp.c><br />
               php_admin_flag engine on<br />
               suPHP_Engine on<br />
               AddHandler php5-script .php<br />
               php_admin_flag engine on<br />
        </IfModule><br />
</Directory></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/joomla-with-suphp-premature-end-of-script-headers-index-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error : Database Error: Unable to connect to the database:The MySQL adapter &#8220;mysql&#8221; is not available.</title>
		<link>http://www.x83.net/error-database-error-unable-to-connect-to-the-databasethe-mysql-adapter-mysql-is-not-available/</link>
		<comments>http://www.x83.net/error-database-error-unable-to-connect-to-the-databasethe-mysql-adapter-mysql-is-not-available/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 04:31:09 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[suphp]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=353</guid>
		<description><![CDATA[Got this error :
Database Error: Unable to connect to the database:The MySQL adapter &#8220;mysql&#8221; is not available.
There are some reasons why this occurs:
- php-mysql not installed
- php admin flags wrong set
- wrong suphp configuration, handlers should be:
[handlers]
;Handler for php-scripts
x-httpd-php=&#8221;php:/usr/bin/php&#8221;
;Handler for CGI-scripts
x-suphp-cgi=&#8221;execute:!self&#8221;

]]></description>
			<content:encoded><![CDATA[<p>Got this error :</p>
<p>Database Error: Unable to connect to the database:The MySQL adapter &#8220;mysql&#8221; is not available.</p>
<p>There are some reasons why this occurs:</p>
<p>- php-mysql not installed<br />
- php admin flags wrong set<br />
- wrong suphp configuration, handlers should be:</p>
<blockquote><p>[handlers]<br />
;Handler for php-scripts<br />
x-httpd-php=&#8221;php:/usr/bin/php&#8221;</p>
<p>;Handler for CGI-scripts<br />
x-suphp-cgi=&#8221;execute:!self&#8221;
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/error-database-error-unable-to-connect-to-the-databasethe-mysql-adapter-mysql-is-not-available/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error: not within configured docroot</title>
		<link>http://www.x83.net/error-not-within-configured-docroot/</link>
		<comments>http://www.x83.net/error-not-within-configured-docroot/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 04:03:13 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[docroot]]></category>
		<category><![CDATA[suphp]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=350</guid>
		<description><![CDATA[Got this error these days :
[Thu Jul 30 06:58:16 2009] [warn] Script &#8220;/home/virtuals/www.site.org/public_html/index.php&#8221; resolving to &#8220;/home/virtuals/www.site.org/public_html/index.php&#8221; not within configured docroot
add docroot into your suphp.conf file and restart apache
]]></description>
			<content:encoded><![CDATA[<p>Got this error these days :</p>
<p>[Thu Jul 30 06:58:16 2009] [warn] Script &#8220;/home/virtuals/www.site.org/public_html/index.php&#8221; resolving to &#8220;/home/virtuals/www.site.org/public_html/index.php&#8221; not within configured docroot</p>
<p>add docroot into your suphp.conf file and restart apache</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/error-not-within-configured-docroot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash commands</title>
		<link>http://www.x83.net/bash-commands/</link>
		<comments>http://www.x83.net/bash-commands/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 08:48:26 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=322</guid>
		<description><![CDATA[export LINES=57; export COLUMNS=157; resize
eval $(tset -s xterm; resize; alias ll=&#8221;ls -Al&#8221;)
ps -e -ww -o user,pid,ppid,pcpu,pmem,size:7=Swap,lstart,args=Command &#8211;sort=-rss
]]></description>
			<content:encoded><![CDATA[<p>export LINES=57; export COLUMNS=157; resize</p>
<p>eval $(tset -s xterm; resize; alias ll=&#8221;ls -Al&#8221;)</p>
<p>ps -e -ww -o user,pid,ppid,pcpu,pmem,size:7=Swap,lstart,args=Command &#8211;sort=-rss</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/bash-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
