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
Handling Binary data with Axis2 (MTOM/SwA): http://ws.apache.org/axis2/1_1/mtom-guide.html
Axis User’s Guide: http://ws.apache.org/axis/java/user-guide.html
The Semantic Web In Breadth: http://logicerror.com/semanticWeb-long
Understanding Axis2 Deployment Architecture: http://www.developer.com/open/article.php/3557741
Content Delivery and Distribution Services: http://www.web-caching.com/cdns.html
OWL Tutorial: http://www.cs.bell-labs.com/cm/cs/who/pfps/talks/owl-tutorial/
RDF Tutorial: http://www.w3schools.com/rdf/
RDF Validator: http://www.w3.org/RDF/Validator/
Filed under: Semenatic Web | Leave a Comment »
Posted on February 26, 2008 by fawadnazir
fawad@Ubuntu-01:/etc/hotplug$ echo ‘blacklist orinoco’ | sudo tee -a
/etc/modprobe.d/my_blacklist
blacklist orinoco
fawad@Ubuntu-01:/etc/hotplug$ echo ‘blacklist orinoco_cs’ | sudo tee
-a /etc/modprobe.d/my_blacklist
blacklist orinoco_cs
Where orinoco_cs & orinoco are the modules names.
The above tutorial will blacklist the kernel modules at the starup. But you modules might be loaded which anything is hotplugged into your computer.
For that i could not actually come-up with a [...]
Filed under: Uncategorized | Leave a Comment »
Posted on February 26, 2008 by fawadnazir
fawad@Ubuntu-01:~$ more /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.
lp
mousedev
psmouse
Filed under: Uncategorized | Leave a Comment »
Posted on February 26, 2008 by fawadnazir
Web Page With All Linux Commands…
Command to find what all files are open: $lsof
Command to see what is done when a command is executed: $strace , e.g. $strace ls
Command to change the file system of a disk
$sudo mkfs.ext3 -cv -L usbdisk2 /dev/sdc1
dpkg – a medium-level package manager for Debian
————————————————
This is like an rpm for Red-hat [...]
Filed under: Uncategorized | Leave a Comment »
Posted on February 26, 2008 by fawadnazir
S#1: Machine A Master Mode and Machine B Managed Mode.
Machine A:
$sudo iwconfig wlan0 mode Master
$sudo iwconfig wlan0 essid “Hello-1″
Set the Static IP Address: 10.10.5.2 Mask: 255.0.0.0
root@Ubuntu-01:/etc/network# iwconfig wlan0
Warning: Driver for device wlan0 has been compiled with version 19
of Wireless Extension, while this program supports up to version 18.
Some things may be broken…
wlan0 [...]
Filed under: Uncategorized | Leave a Comment »
Posted on February 26, 2008 by fawadnazir
1. Install Ubuntu 5.10.
2. To setup the root password, reboot the machine and press ESc to go into grub mode.
To to the recovery mode of Linux and press enter.
You will get to # prompt.
Type #passwd root, enter new password and reboot #init 6.
3. Goto System -> Administrator -> Networking and enable the eth0 card for [...]
Filed under: Uncategorized | Leave a Comment »
Posted on February 26, 2008 by fawadnazir
Creating a Library File .a and .so
.a
26 gcc -c bar.c foo.c
28 gcc -c program.c
33 gcc -o program program.o foo.o bar.o
36 ar crv libfoo.a bar.o foo.o
.so
39 gcc -fPIC -g -c -Wall bar.c
40 gcc -fPIC -g -c -Wall foo.c
42 gcc -shared -Wl,-soname,libfoo.so.1 -o libfoo.so.0.1 foo.o bar.o -lc
My First Makefile:
——————
myapp: program.o [...]
Filed under: Uncategorized | Leave a Comment »
Posted on February 26, 2008 by fawadnazir
http://ubuntuguide.org/wiki/Ubuntu_Edgy#How_to_install_Java_Development_Kit_.28JDK.29_v5.0
How to install Java Development Kit (JDK) v5.0
Note: Program included in Automatix2. I you have already used Automatix2, this program may have been installed
* Read #General Notes
* Read #How to add extra repositories
sudo apt-get install sun-java5-jdk
* Accept the licence agreement that appears.
* Set Sun’s JVM as default Java version:
sudo update-java-alternatives -s java-1.5.0-sun
* Edit /etc/jvm and [...]
Filed under: Uncategorized | Leave a Comment »
Posted on February 26, 2008 by fawadnazir
Main Web Page of Axis2: http://ws.apache.org/axis2/
Now we will follow the installation guide:
http://ws.apache.org/axis2/1_1/installationguide.html
Downloading and installing ANT:
Download Page : http://ant.apache.org/bindownload.cgi
Installation Page : http://ant.apache.org/manual/index.html
Downloading and installing Maven:
http://maven.apache.org/
Download Page : http://maven.apache.org/download.html
Install guide : http://maven.apache.org/maven-1.x/start/install.html
Deploy axis2.war in the tomcat servlet engine.
Login for axis2 admin console:
username: admin
password: axis2
Filed under: Semenatic Web | Leave a Comment »