Google Ads

I.T. WORLD
Upgrade MySQL and PHP
I.T. WORLD - Open Source Corner
Sunday, 11 September 2011 14:51

Today I'm experiencing a hard time upgrading my MySQL 5.0 to 5.1 and PHP 5.2. I found some couple of sites instructions seems to be neat and well explained but non of them works for me.

 

First I found David Yin's Blog and as well Jason Litka, David is only referring to Jason's blog.

 

Here is the best solution for you if you are using CentOS 5 (2.6.18-194.17.4.el5.centos.plus to be specific) and you want to have MySQL 5.1.58 and PHP 5.3.8. The main reason why I want to upgrade is because MyTinyTODO 1.4.2 is not working as it requires latest MySQL and PHP. I can highly recommend using AtomicCorp or simply follow these steps;

 

To upgrade to PHP 5.3.x on CentOS/RHEL/Fedora:

Step 1) Set up the atomic channel:

wget -q -O - http://www.atomicorp.com/installers/atomic | sh

Step 2) Upgrade to PHP 5.3.x:

yum upgrade

Step 3) Replace the PHP 4 php.ini with PHP 5.3.x's (if applicable):

mv /etc/php.ini.rpmnew /etc/php.ini

Step 4) Replace the php.conf with the PHP 5.3.x php.conf (if applicable):

mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf

Step 5) Restart the webserver

service httpd restart
(or)
/etc/init.d/httpd restart

 
How to enable USB on Virtual Box
I.T. WORLD - Open Source Corner
Monday, 04 January 2010 12:57

When you get this error from your Virtual Box;

Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.

No worries, here some more summarized on how to enable USB to your Virual Box

I use Ubuntu (Gutsy Gibbon), with running xVM VirtualBox Ver 1.6.2 if you don't have this just click here to download

Now you have a running Virtual Box, I installed Windows XP Pro, and here are the instructions to enable USB;

 
Anti Virus on Linux Box
I.T. WORLD - Open Source Corner
Monday, 04 January 2010 12:54

Everyone will say why you need Anti Virus on your Linux box? Well in this case the Linux box I installed is for File Server and mainly computers connected on it are Microsoft based and I don't want to format every time their Microsoft PC's. Here's what I did

I did fresh install Debian with Samba for file server and loaded approximately 200 GB of data files that contains Picture, Video, Documents and whole lot more from Microsoft box.

 
SSH your box
I.T. WORLD - Open Source Corner
Monday, 04 January 2010 12:27

Here how to tunnel your complete box.

1. create a file  

command: 

kutch@box:~/scripts$ vi tunnel.sh
 

code: 

#!/bin/bash
xhost +
echo "Opening tunnel km33.com connection"
ssh <user>@km33.com -C -D1096 -L2000:localhost:25 -X

 

2. Change the file permission to 755

command: 

kutch@box:~/scripts$ chmod 755 tunnel.sh

 

3. To run the script

command: 

kutch@box:~/scripts$ ./tunnel.sh

 
How to format new hard drive in Linux
I.T. WORLD - Open Source Corner
Monday, 04 January 2010 11:14

There are many manuals or how-to everywhere in website, but in this case I will make it very KISS (Keep It Simple Stupid!)

ISSUE: I want to format a newly purchase hard drive to be a Linux ready file system (it can be IDE, SATA, SCSI) but in this case I use SATA 750 GB

SOLUTION:

1. First I plug SATA Hard Drive to it's proper SATA slots, in my case I plug to SATA3 coz SATA0,1,2 are occupied already. Remember when you plug your SATA you have to put power supply as well, there are two types of power supply now a days the white one a typical for IDE and the latest one is the black with many pins. Note: if you purchase SATA that has two power supply just plug only one.

2. Boot your Linux box

3. If you are not a text based savvy no worries use gparted or qtparted but can be used as GUI base, but in this How-to I will teach the classic old school, the text based. For GUI user go ahead with Next Next Ok Ok mouse procedure, for text savvy let's go ahead.

 


KM33 Goes Social

Avast Free

Free AVAST Anti-Virus

Download Here

Your license key is:
---------- cut here ----------
C24683153H1200A0512-KRRTYWF2
---------- cut here ----------
Expiry: June 22, 2011