Just for fun 🙂
Just for fun 🙂
Let’s see How to install this on ubuntu 10.04
Installing Tomcat 6 in Ubuntu 10.04 and Libmysql-java:
$ sudo apt-get update && apt-get upgrade
$ sudo apt-get install tomcat6 tomcat6-admin tomcat6-common
tomcat6-user tomcat6-docs tomcat6-examples
$ sudo apt-get install libmysql-java
Download apache-solr-1.4.1.tgz from http://lucene.apache.org/solr/ and extract it:
$ cd <to path of extracted solr>
$ sudo cp apache-solr-1.4.1/dist/apache-solr-1.4.1.war /usr/share/tomcat6/webapps/solr.war
$ sudo cp -R apache-solr-1.4.1/example/solr/ /usr/share/tomcat6/solr/
note : we copy solr folder into /usr/share/tomcat6 and it will pointed as solr home in next step.
Create new Solr configuration in Tomcat6:
$ sudo vim /etc/tomcat6/Catalina/localhost/solr.xml
Paste this into file :
<Context docBase="/usr/share/tomcat6/webapps/solr.war" debug="0" privileged="true" allowLinking="true" crossContext="true">
<Environment name="solr/home" type="java.lang.String" value="/usr/share/tomcat6/solr" override="true" />
$ sudo cp apache-solr-1.4.1/example/multicore/solr.xml /usr/share/tomcat6/solr/solr.xml
$ sudo cp -R apache-solr-1.4.1/example/multicore/core0 /usr/share/tomcat6/solr/
$ sudo cp -R apache-solr-1.4.1/example/multicore/core1 /usr/share/tomcat6/solr/
$ sudo mkdir /usr/share/tomcat6/solr/core0/data
$ sudo mkdir /usr/share/tomcat6/solr/core1/data
$ sudo chown -R tomcat6:tomcat6 /usr/share/tomcat6/solr/core0/data/
$ sudo chown -R tomcat6:tomcat6 /usr/share/tomcat6/solr/core1/data/
$ sudo service tomcat6 restart
Now, i got the screen like this,
I don’t know how to use this and how to configure.xml file. B’coz when i search something, i didn’t get anything, i got some errors ly 😦
Today my room-mate Mr.Thanigai told about “apche solr” and he told try to install “Apache Solr” on his ubuntu 10.04. Then, i searched abt it in google. Finally i got a small idea abt “solr”.
[From solr main page]
Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document (e.g., Word, PDF) handling. Solr is highly scalable, providing distributed search and index replication, and it powers the search and navigation features of many of the world’s largest internet sites.
Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Tomcat. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it easy to use from virtually any programming language. Solr’s powerful external configuration allows it to be tailored to almost any type of application without Java coding, and it has an extensive plugin architecture when more advanced customization is required.
Install “Apache slor” on ubuntu 10.04 https://thasulinux.wordpress.com/2011/03/22/installing-apache-solr-on-ubuntu-10-04/
Open in Terminal:
It allows user to open a selected folder in a terminal window by right clicking on the folder.
login as root user
$ yum install nautilus-open-terminal
$ sudo apt-get install nautilus-open-terminal
Now restart Gnome (log out and back in) or we have to find the PID for “nautilus” and have to kill it. To do this, follow the following command,
$ ps aux |grep nautilus # locate the PID for nautilus
$ kill -HUP [pid]
Yesterday i faced a problem wit vodaphone 3G connection in ubuntu. My friend having a HCl laptop and vodaphone 3G data-card. i installed ubuntu 10.04 on that new lap. When i connected the vodophone dongle into laptop. Its recognized as media folder and it contains some .exe files ly. 😦 First time i’m facing this problem. Then i searched in ubuntu forum, i got the information abt “sakis3G”
The model number of the data-care is : k3570z
I spent just 10 mins wit sakis3g site. i got the solution for this problem 😛
See my previous post for the solution
(From the sakis3g main site)
What Sakis3G is?
Sakis3G is a tweaked shell script which is supposed to work out-of-the-box for establishing a 3G connection with any combination of modem or operator. It automagically setups your USB or Bluetooth™ modem, and may even detect operator settings. You should try it when anything else fails!
If you are lucky enough, you may be connected 30 seconds after downloading script.
Procedure to install sakis3G:
Open your terminal and login as a root user,
$ apt-get install ppp
$ cd /usr/bin
$ wget ‘http://www.sakis3g.org/versions/latest/sakis3g.gz’
$ echo “dda70fd95fb952dbb979af88790d3f6e sakis3g.gz” | md5sum -c
$ gunzip sakis3g.gz
$ chmod a+x sakis3g
That’s all. 🙂 🙂 🙂 Now just run that “sakis3g” script using
Now you can see a graphical window. 🙂 follow that instruction/options. Now you can use your data-card 😉
About Sakis3g : wiki page
Sakis3g main site : http://www.sakis3g.org/
Sakis3g installation: wiki page
In my Fedora machine i have Vm Virtual Box. me already installed ubuntu 10.10 inside of V Box. in our Office very weekend we have spl Admin class for us.
So, i installed a REDHAT 5. In side of VBox i separately installed REDHAT 3 times. Among the 3, one was server and other 2 were client.
The simple procedure for installing OS inside Virtual Box:
That’s All !!! 🙂