If you want to remove ubuntu then some people may ask “why not just delete Ubuntu partitions?”. No we can’t do like this because Ubuntu installs a boot loader called
into the GRUB Master Boot Record (MBR), if you delete Ubuntu partitions all the data will be deleted but not GRUB! So when your restart your PC, GRUB will look for Ubuntu , when it does not find Ubuntu it show some error and you . So here I’m going to show you two ways to safely remove Linux. cannot even boot into windows
First (Using MbrFix)
Download mbfix from
Extract all files in mbrfix.zip to C:.
Open Command Prompt (start->run-> type
cmd -> OK). Type
cd and press enter. Then type
mbrfix /drive 0 fixmbr /yes and press enter. Now you can delete Ubuntu partitions (/, swap etc) using Easeus Partition Manager or Windows Disk Management or other partition editor.
Restart your PC.
This will overwrite GRUB with Windows boot loader . So you will see Windows boot loader instead of GRUB.
Second (Using Windows CD)
Boot your PC with Windows XP CD and select
Repair. Then select the OS, once you are there you’ll have a command line.
Type Administrator password. If Admin password is blank, just press Enter.
fixmbr, and then press Enter. Restart PC.
Delete Ubuntu Partitions.
Boot PC with Windows Vista installation disc.
Select a language, a time, a currency, a keyboard or an input method, and then click
Repair your computer. Click the operating system that you want to repair, and then click
Next. In the
System Recovery Options dialog box, click Command Prompt. Type Bootrec.exe, and then press Enter.
Delete Ubuntu Partitions.
This will also overwrite GRUB with Windows boot loader.
Today i just want to share that how to create a cron job in Cpanel to run the PHP script.
I hope everyone knows that what is Cron job : it is the task schedule in Linux which will run on predefined time interval. its same concept like schedule tasks in Windows OS.
To create the cron job, open the Cpanel and select “
You can see that in drop down list there are lots of common schedules of crone job, you can select it, or create your own schedules.
In Command text box, write the PHP program path and file to be executed like:
-q /usr/local/bin/php /home/<username>/script.php
to find the path to php,
log on to the server with SSH, then run this command:
This will give you the path to the php executable, probably:
Run below command on the terminal of ubuntu to install the JAVA.
Ubuntu 10 :
$ sudo add-apt-repository "deb http://archive.canonical.com/lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk
$ sudo apt-get install sun-java6-jre
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-jre
sudo update-alternatives --config java
To open the Terminal, go to Application > Accessories > Terminal
Open terminal in ubuntu
Type the following command at terminal.
$sudo apt-get install mysql-server
console screen look like during downloading the mysql in Ubuntu
mysql comes with no root password. To set the root password, type:
$mysqladmin -u root password your-new-password
$sudo /etc/init.d/mysql restart
Install mysql query browser
$sudo apt-get install mysql-query-browser
After installing, go to Applications > Programming > MySQL Query Browser to connect to mysql as shown below.
open mysql query browser in ubuntu
Enter Server Hostname , Username and Password . Click on Connect and MySQL is now installed on Ubuntu.
Connect to MySQL using Query Browser in Ubuntu