Posted on March 28, 2008 by fawadnazir
fawad@fawad-desktop:~$ sudo apt-get install mysql-server
fawad@fawad-desktop:~$ mysqladmin -u root password 123456
fawad@fawad-desktop:~$ mysql -u root -p
mysql> CREATE DATABASE realitymining;
Query OK, 1 row affected (0.00 sec)
Filed under: Linux, MySql | Tagged: MySql | Leave a Comment »
Posted on February 26, 2008 by fawadnazir
First of all i will split the file into 10GB pieces. The file name is: enwiki-20070908-stub-meta-history.xml
fawad@crete:~/wiki$ split -b 4000m enwiki-20070908-stub-meta-history.xml
Now i will copy a piece by piece into my seagate external hardrive. I am copying this file from a remote server to my machine
root@fawad-laptop:/home/fawad# scp fawad@crete.ex.nii.ac.jp:/home/fawad/wiki/enwiki-20070908-stub-meta-history.xml /media/usb0/niidata/split/
fawad@crete.ex.nii.ac.jp’s password:
enwiki-20070908-stub-meta-history.xml [...]
Filed under: Linux | Tagged: filecopy, large file copy, Linux, ubuntu | 2 Comments »
Posted on February 26, 2008 by fawadnazir
tar -xvfj snapgear-3.3.0-avila.tar.bz2
bzip2 -d snapgear-3.3.0-avila.tar.bz2
This generate snapgear-3.3.0-avila.tar from snapgear-3.3.0-avila.tar.bz2
# cd /usr/src
# tar -xfj /cdrom/Source/snapgear-3.3.0-avila.tar.bz2
# cd snapgear
# make dep
# make
cd /usr/src
tar -xvf /home/fawad/project/Levo/GW15002_Rev_0.6/Source/snapgear-3.3.0-avila.tar
Filed under: Linux | Tagged: snapgear | Leave a Comment »
Posted on February 26, 2008 by fawadnazir
fawad@fawad-laptop:/media/usb$ sudo mount -t vfat /dev/sdb1 /media/usb
If this does not work you can also try with /dev/sdc1 (if we have an SATA drive as /dev/sda).
Filed under: Linux | Tagged: mount, seagate usb harddrive | Leave a Comment »