preload
Feb 26

OpenLink Virtuoso is the first CROSS PLATFORM Universal Server to implement Web, File, and Database server functionality alongside Native XML Storage, and Universal Data Access Middleware, as a single server solution. OpenLink Virtuoso plays a vital role for semantic web programming, it can work as a solid SPARQL end point, which can be supported by almost all endpoint interfaces. There are following steps to install and start OpenLink Virtuoso universal server-

1. Install Dependencies

To install OpenLink Virtuoso first of all following dependencies are needed-

Package Version From
autoconf 2.57 http://www.gnu.org/software/autoconf/
automake 1.9 http://www.gnu.org/software/automake/
libtool 1.5.16 http://www.gnu.org/software/libtool/
flex 2.5.33 http://www.gnu.org/software/non-gnu/flex/
bison 2.3 http://www.gnu.org/software/bison/
gperf 2.7.2 http://www.gnu.org/software/gperf/
gawk 3.1.1 http://www.gnu.org/software/gawk/
m4 1.4.1 http://www.gnu.org/software/m4/
make 3.79.1 http://www.gnu.org/software/make/
OpenSSL 0.9.7i http://www.openssl.org/

First of all check all the dependencies whether installed or not. (Version is important!)

To check the version use following sequence.

#autoconf –version

# automake –version

#libtoolize –version

#flex –version

#bison –version

#gperf –version

#gawk –version

#m4 –version

#make –version

#openssl version

During checking of the dependencies you will know whether they are installed or not and if not installed, for example,  you will get  something like-

The program ‘autoconf’ is currently not installed.  You can install it by typing:

apt-get install autoconf

Then why should you wait!! install the packages using “apt-get” one by one in the sequence as checking the version.

OR
you can install these from synaptic package manager.

2. run this command  apt-get install libssl-dev from your terminal
3. Download OpenLink Virtuoso from source forge (Link)
4. Extract the package in any directory.
5. Go to the directory where you have extracted the package.
6. It is better to run autogen.sh by typing ./autogen.sh, which checks for the presence and right version of some of the required components, and if it reports any missing package then install that package.
7. Set following  environmental variable by typing (one by one) -
CFLAGS=”-O2″
export CFLAGS
8. type  `./configure’ to configure the package for your system.
9. Type `make’ to compile the package.
10. Type `make install’ to install the programs and any data files and documentation.

To start the server you have two steps-
1. Go to ‘cd  /usr/local/virtuoso-opensource/var/lib/virtuoso/db’
2. then type ‘/usr/local/virtuoso-opensource/bin/virtuoso-t -f &’
Finally use the server from your browser by typing ‘http://localhost:8890/’ in the address bar.
Use the powerful multipurpose opensource server !!
Note:- All documentations are available at Wiki Page of  OpenLink Virtuoso.
To grant the SPARQL to update and insert data into a graph-
1. Go to “http://localhost:8890/conductor” and login as “dba” (Uname and Pass =” dba”)
2. Click on “Interactive SQL (ISQL)”.
3. In ISQL window type the commad

GRANT ALL PRIVILEGES TO "SPARQL";

Oct 02

Sometimes i wonder the power of Open Source Tools and its functionality . How the group of people are developing these much of effective software to world ? . Because forming one open source community is not so easy . Last month i was trying to find some good tools for converting video into one format to other for my Sony Ericsson Mobile Phone . I know that ffmpeg is the powerful command line tool for converting video. but the problem is using syntax of it . There are separate syntax for each and every video format conversions. i found those syntax and also i thought of finding software which is using ffmpeg in back end. Finally i got Mobile Media Converter [ MMC ] . It is a graphical interface for ffmpeg command and let allow user easily convert from one video format to other without knowing the syntax of ffmpeg. The result of converted video is as good as compared to other conversion software . You can convert the following audio and video fie format using MMC

  1. Mobile Audio – AMR
  2. Mobile Video –  3GP video
  3. MP3 Audio [ .mp3 ]
  4. Windows Media Audio
  5. ogg vorbis audio
  6. Wave Audio [ .wav or .au ]
  7. MPEG 1/2 Video
  8. AVI Video
  9. Windows Media Video [ .wmv ]
  10. Flash Video [ .flv ]
  11. Quick Time Video
  12. iPhone or iPod MP4 video [ .mp4 ]
  13. PSP MP4 video

Features of Mobile Media Converter

  • Very simple to use for beginners also.
  • Supports All Types of Audio and Video formats
  • Multiple file conversion
  • User can  extract or download video from Youtube URL.
  • User can manually change the size of the video and audio bit rate etc .

Demerits of MMC

  • MKV [ .mkv ] video format is not supported [ hope this feature would be added in future version ]
  • There is no pause and resume option for conversion

Installing MMC

It can be downloaded from http://www.miksoft.net/mobileMediaConverter.htm this web site . MMC is available for both Linux and Windows operating systems . so installation is very simple with one click . here i have given some snapshots for your reference

Mobile Media Converter

Mobile Media Converter

MMC - Multiple File Conversion And Settings

MMC - Multiple File Conversion And Settings

MMC - Conversion Process

MMC - Conversion Process

Just try this software instead of using paid video conversion tools . you will surely  feel the power of open source …………

Sep 19

Anonymous is everywhere.
Anonymous has no identity.
Anonymous is an unstoppable force.
Anonymous doesn’t fall in battle, anyway.

These are all some famous quotes about anonymous , lets get into our topic . Anonymous browsing or Proxy Surfing  is simply browsing the World Wide Web with most of your identity hidden. Proxy surfing is necessary for two cases

  1. Securing Information
  2. Freedom to browse all websites from Internet

Why do we need it?
Case 1 : Securing Information
If you are connected with network or Internet , your computer or network device will be assigned by one unique IP address , using that address only the computers can transfer the data from one to another and also all information might be collected such as your location , packets information, personal data. so we need to protect our data.

Case 2: Freedom to browse all websites from Internet
In college or school , Management will use proxy server to ban some websites for security purpose. Its necessary to prevent student to browse an inappropriate websites but due to this they cannot surf all the information from Internet. Some times the proxy server will block some important websites. Internet is like a universe , There would be good and bad things in it . You are the responsible person to collect the information based on your need.so freedom for browsing is needed for this case.

How to do it ?
User can install proxy software to browse all information from Internet . In our case lets take Ubuntu Linux for installing tor.  The following software are needed for proxy surfing in Ubuntu Linux Operating System .

  1. tor  – The Online Router
  2. privoxy -  A web based program often used with tor
  3. torbutton  – Firefox add-on for tor

The tor package using socks 5 connection which is specially used for proxy server communication . You can install these packages using synaptic package manager in Ubuntu or manually download the following files and just click on it

After installing these packages, Just open the Firefox and enable the tor button which would be in bottom-left corner. If you are using some other browser like Opera then manually assign the Ip address in Network Option .

Tor manual IP

Tor manual IP

Finally We need to add two lines in privoxy config file . Goto  /etc/ptivoxy/config file in root mode

#sudo su

#gedit /etc/privoxy/config

In section 4.1 add the following line

Your-IP-address :8118

In my case

192.168.34.23:8118

Add the following at end of the config file

forward-socks4a / localhost:9050 .

Note : Space and dot also very important , do not mistype anything . I have attached sample configuration file for your reference

Click hete to download sample privoxy config file

Enjoy the freedom of browsing the INTERNET …..