Installing multi-core Apache SOLR and Tomcat6 for Drupal 7 with Tika on Ubuntu 12.04 (Precise Pangolin)

First, open up your command line interface, and perform your system updates:

Download updates:

sudo apt-get update

Install updates:

sudo apt-get upgrade

Next, install the suite of Tomcat6 server packages since you can use aptitude to do this. The packages are:

  • tomcat6 - Servlet and JSP engine
  • tomcat6-admin - Admin web applications
  • tomcat6-common - Common files
  • tomcat6-user - Tools to create user instances
  • tomcat6-docs - Documentation
  • tomcat6-examples - Example web applications

At your command line, type:

sudo apt-get install tomcat6 tomcat6-admin tomcat6-common tomcat6-user tomcat6-docs tomcat6-examples

Start Tomcat6:

sudo /etc/init.d/tomcat6 start

Security concerns on public servers:

Tomcat6 runs on port 8080 by default. For the purposes of this tutorial, it is assumed that your Drupal site is on the same server (e.g., localhost), or at least on the same local network, so you don't have to forward this ports from the internet. This will not allow you to make calls to the Apache SOLR server from external sites, but it is considered more secure, especially since Apache SOLR does not have built-in security features (hence the necessity for an access control sub-module for Apache SOLR in Drupal). If you want to access your Apache SOLR server from external sites, then use IP Tables in Ubuntu to restrict access to the server (on port 8080) to certain IP addresses only - the IP addresses of the servers of the external sites.

Download and unpack Apache SOLR to your home directory:

wget http://mirrors.ibiblio.org/apache/lucene/solr/3.6.0/apache-solr-3.6.0.tg...

tar -xvzf apache-solr-3.6.0.tgz

Connect Tomcat6 and Apache SOLR:

To learn where Tomcat6 lives on your system run:

whereis tomcat6

Which should show: /etc/tomcat6 /usr/share/tomcat6

If you switch to the /usr/share/tomcat6 directory, you should see a sub-directory called "webapps"

Copy the apache-solr-3.6.0.war file from the unpacked Apache SOLR folder in your home directory to solr.war in the webapps directory in /usr/share/tomcat6:

sudo cp apache-solr-3.6.0/dist/apache-solr-3.6.0.war /usr/share/tomcat6/webapps/solr.war

Next, copy the example Apache SOLR application directory and all files within (in the unpacked folder) to a new solr folder in /usr/share/tomcat6:

sudo cp -R apache-solr-3.6.0/example/solr/ /usr/share/tomcat6/solr/

Create the Tomcat6-SOLR config file in /etc/tomcat6/Catalina/localhost/solr.xml by:

sudo nano /etc/tomcat6/Catalina/localhost/solr.xml

And fill the file with the following lines (<Context>...</Context>):

<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" />
</Context>

Add one or more users to Tomcat6 to be able to manage Tomcat6 and to check on the SOLR config pages. Edit the Tomcat6 tomcat-users.xml file:

sudo nano /etc/tomcat6/tomcat-users.xml

Within the <tomcat-users> tag, add lines for the admin and manage roles, and then add one line for each user, with your information:

<tomcat-users>
<role rolename="admin"/>
<role rolename="manager"/>
<user username="tc6-admin" password="agoodpassword" roles="admin,manager"/>
</tomcat-users>

Disable Tomcat6 security so that SOLR is able to access /usr/share/tomcat6/solr:

sudo nano /etc/default/tomcat6

Be aware of the security implications, especially on shared and publically accessible servers. Find the section/line and make sure that it is set to no:

TOMCAT6_SECURITY=no

Connect Drupal 7 with Apache SOLR:

Download (Drush or FTP) the latest version of Apache SOLR module for Drupal 7 from http://drupal.org/project/apachesolr into /sites/all/modules of your Drupal installation.

The Drupal 7 version of Apache SOLR does not require you to separately download the SolrPhpClient library, as it is now included in the module!

Switch to the example SOLR application copied to Tomcat6:

cd /usr/share/tomcat6/solr/conf

And move the default configuration files to backups:

schema.xml:

sudo mv schema.xml schema.orig.xml

solrconfig.xml:

sudo mv solrconfig.xml solrconfig.orig.xml

protwords.txt:

sudo mv protwords.txt protwords.orig.txt

Next, copy the Drupal specific configuration files from the module's solr-conf folder into the copied example SOLR application:

schema.xml:

sudo cp /var/www/drupal7/sites/all/modules/apachesolr/solr-conf/schema-solr3x.xml /usr/share/tomcat6/solr/conf/schema.xml

solrconfig.xml:

sudo cp /var/www/drupal7/sites/all/modules/apachesolr/solr-conf/solrconfig-solr3x.xml /usr/share/tomcat6/solr/conf/solrconfig.xml

protwords.txt:

sudo cp /var/www/drupal7/sites/all/modules/apachesolr/solr-conf/protwords.txt /usr/share/tomcat6/solr/conf/protwords.txt

Then, setup Apache SOLR multi-core functionality so you can connect multiple Drupal sites. Start by copying the Apache SOLR multi-core example configuration file:

sudo cp ~/apache-solr-3.6.0/example/multicore/solr.xml /usr/share/tomcat6/solr/solr.xml

You will need to create a directory in /usr/share/tomcat6/solr for each site (core) that you want to index with SOLR. Keep your naming conventions sensible, since you want to be able to easily distinguish between cores when you are connecting the the SOLR core in your Drupal sites. For each site, in /usr/share/tomcat6/solr:

sudo mkdir /usr/share/tomcat6/solr/site1namecore

Then, copy the /usr/share/tomcat6/conf directory into each directory you create:

sudo cp -R /usr/share/tomcat6/solr/conf/ /usr/share/tomcat6/solr/site1namecore/conf/

Make the new directory that you create for each site/core you create belong to the tomcat6 user:

sudo chown -R tomcat6:tomcat6 /usr/share/tomcat6/solr/site1namecore

Leave the /usr/share/tomcat6/solr/conf directory so you can use it to create future cores in the future.

Edit the solr.xml file in /usr/share/tomcat6/solr to add your site (core) names and directories for multi-core setup. There should be one line for each site/core, and the instanceDir for each should correspond to the directory that you created in the above step for each site/core:

sudo nano /usr/share/tomcat6/solr/solr.xml

And replace the default lines with the information for your sites/cores:

<cores adminPath="/admin/cores">
    <core name="site1namecore" instanceDir="site1namecore" />
    <core name="site2namecore" instanceDir="site2namecore" />
  </cores>
</solr>

Get Apache Tika for text data extraction from attached files, via the Apache SOLR attachments module. Switch to your home directory:

cd

Download the latest version of the runnable jar from http://tika.apache.org/download.html (1.1 at the time of writing):

wget http://www.alliedquotes.com/mirrors/apache/tika/tika-app-1.1.jar[/prettify]

Then move it into /usr/share/tomcat6/lib:

sudo mv tika-app-1.1.jar /usr/share/tomcat6/lib

Restart Tomcat6 by:

sudo service tomcat6 restart

In your Drupal site, after enabling the Apache SOLR framework and search modules, go to the SOLR settings page (admin/config/search/apachesolr/settings/solr/edit). For the SOLR server URL, change the port to 8080, and add the core name at the end of the URL:

http://localhost:8080/solr/site1namecore

And save the settings.

After enabling Apache SOLR Attachments, on the settings page (admin/config/search/apachesolr/attachments), enter the Tika directory path and file name:

/usr/share/tomcat6/lib/

tika-app-1.1.jar

Drupal version: 

Comments

adult dating sites #066

[url=http://zawell.xyz/date][IMG]https://i109.fastpic.ru/big/2019/0412/85/4c7...

[url=http://zawell.xyz/date][b]Write only if you are serious! Cathy. Age 27.
My new photos and sexy videos here [color=red]Click![/color][/b][/url]

I didn't want to come off like I was on a sex-cation — cruising Tinder for a Dating sites were awash with some of the most gorgeous men I've
Adult Dating Site For No Strings Attached (Nsa) Sex Dating. Posted on 26. Apr, 2019 by Todd VaughnAdult Chat is a chat room for your over 18s. We don't let
Read on for the pros and cons of adults with benefits.And should they be propositioned by someone they found attractive, 48 percent of the women (and 69
- World's Best Casual Personals for online dating. Search millions of personals from singles, couples, swingers looking for fun, browse sexy photos and more.our users safe. Great pride is taken to keep only real users on our site everyday.Find sex by contacting fellow Fling members and get laid tonight.
e Harmony is another serious dating site that prefers to connect its users basedusers having to click into profiles to see if they have things in common.3the match expires (in same-sex matches either person can initiate).5
One in every ten American adults has used an online dating site or a mobilequestion asking which particular dating site(s) they have used.
Get expert buying tips about Online Dating Sites and Services delivered to your inbox. Email. Learn from the They block anything that has the word sex in it or nudes. My female friendOriginal review: . Plenty of fish is a
I didn't want to come off like I was on a sex-cation — cruising Tinder for a Dating sites were awash with some of the most gorgeous men I've ever seena 38-year-old comedian, calls it "the worst place to date in the world.
13 dating site without registration and hookup: adult search through. Selfie bbw's is worth social networking site; just a credit card laws. Fuckforfree is truly 100%
What are the top dating sites for the polyamorous? Expert and reader Where Are All the Poly Dating Sites? Hand pointing toContinue to 3 of 6 below. 03. of 06Are There Any Legitimate Adult Dating Sites Out There?
Most of the best dating sites in our list offer both, though.Of those, 22 percent were "top prospects," which is the site's way of saying thoseheterosexual couples and 61 percent of same-sex couples met online, according
Hackers expose 412 million user accounts on adult dating websitessays about 99% of all passwords used on the company's site have now
It seems impossible in a dating world ruled by online apps, but one expert says there are old-fashioned 8:00 amSites like Facebook, Instagram and Twitter are great ways not only toIt is safer for men to have sex with a call girl, a sex robot, a fleshlite, or to toss one off then have sex with a woman.
According to Forbes, the United States alone has 2,500 dating sites, and Around 22% of people (mostly women) have asked a friend to help them fillhad sex on the first date with someone they met on a dating site or app.
Adult Dating Site Ad Banners - 4 sizes contest on Freelancer. Enter this We need 4 ad banners in these dimensions: 950 x 250 315 x 300 300 x 250 305 x 99
12% of American adults have ever used an online dating site, up slightly4. PEW RESEARCH CENTER . 80. 62. 61. 45.
1 Adult Dating for met a man at work who is also. All The Best Free.The term essay hooks find info for the best online dating sites, grabs the readers attention.
Cut straight to the sex with 10 of the creepiest dating apps around Simply choose which of your friends you want the site to send you
I didn't want to come off like I was on a sex-cation — cruising Tinder for a Dating sites were awash with some of the most gorgeous men I've ever seenThat's a given, says Nataly, a 28-year-old in sports communications.
Speed dating site connecting latvia connecting local singles photo personals, xumztx,me: 59: 45 home for the best canadian dating sites free lesbian sex site,.
One in every ten American adults has used an online dating site or aof sampling error is plus or minuspercentage points. 41%. 36%.
He promised to stop online dating when we got married, but he has gone back Dior to dress K-pop group BTS for upcoming world tourhe was active on online dating sites and was chatting with numerous girls.We live in a conservative society that makes discussion about any kind of sex a challenge.
One in every ten American adults has used an online dating site or ais roughly double the rate for those ages 18-24 or those ages 45-54.
Sex dating sites us. coins)? What is circle. matches. Instead it only lets you pick a match based on their date suggestion, whether its a sushi-making
in childhood friendships, 82-83, 8688 in dating and marital relations, 100 inconflict in: adolescents and, 88-91,96 adults and, 91-97 age differences in, 79-80
Peterhead dating site - Men looking for a man - Women looking for a woman. If you are a Male 56 aberdeen just chat with over 40 million singles!Find love again, at pof, and join our members than any other adult dating site in grampian.
I am included in his will, as are his adult kids and Sunday too; he's been quite On dating sites, the only women who get in touch seem to just want a provider andI'm 51 and mostly hear from (and date) men very close to my own age.
Signed personals on hottest adult dating site on earth as it is preserved in the rocks,want to fall in again i love black women dating site 62 houston hide this
Ashley Madison is the adult dating destination for affairs, casual encounters,cited in an online article by Sara Coughlin noted that 21% of survey respondentsof internet dating sites and affair dating apps can be daunting for married adults
The Dangers Of Adult Dating Websites: While adult dating can be fun and exciting, there More often than not, these sites have really enticing advertisements.Carnival Singles Party, Age 21 - 45, Thur 22 Aug, Library Private Members Club.
Discoverbest dating sites of 2018 — you're sure to find the best datingin nrw ist die south africa; click to read more free dating sites 62 days.Get an account with the best adult dating sites and use their free
I'm a bit biased and I certainly think that my site is the absolute best when it comes to adult dating site reviews. However, I'm not afraid to give credit where credit
Sexual Risk-Taking Among Adult Dating Couples In the United Stateson Sexual and Reproductive Health, 2009, 41(2):7483, doi:Within the four study sites, we stratified segments by the percentage of
And according to a new study, users of online-dating sites spend most ofmen and women is to contact members of the opposite sex who on
Dating sites pride themselves on the wizardry of their algorithms, but evenby a difference of 9 percentage points (53% versus 44%), the survey found.Rival e Harmony says it also performs screens for sex offenders, and
Dating apps originated in the gay community; Grindr and Scruff, which helped single mentransactional pursuit of on-demand hookups (like an Uber for sex).on dating sites and dating apps, heard a lot of these ugly stories too.When Stephany Angelacos was diagnosed with Stage 2 breast cancer
Avoid blank screen to provide better match, web sites for the traditional san miguel de la Rubidium-87 Radiometric Dating Worksheet.
Free Hookup Affair is the top adult dating and sex hookup site. Find your sex match today at no cost.was a delight! LADYFRCKL83, 28, New York, NY
Discover 68 apartments houses for making me the ultimate free dating A 100% free dating site to the people local singles at helping you pay nothing.Faith focused dating with more greenfocus crestview adult dating for the divorce.
We break down the top dating sites to see who was the best at wooing on Use of online dating by young adults has nearly tripled since 2013, with 15with 88 posts, and the average amount of content posted was 36 posts.
Ellen B. Lopez5,192 views43. Here are some better dating sites for seniors and older adults.For older users, using Tinder or other young adult
users are young adults between the ages of 18 and 24, Because this socialyoung adults had used an online dating site, with approximately 10% of American
Will see how free online dating site in pakistan.I am Sagittarius, cm 6' 1''87 kg lbs.Meet other single adults in Pakistan like you - whether you are a single

Keys:
100 percent free dating sites
dating sites for singles
christian dating site
dating sites for free
dating site
dating cafe
hookup sites

.

xvideosok

Lets come to the story it was time of Decembers and Christmas was about to come as she was christian she invited me for Christmas at her house and I accepted her invitation at night
i wished her Christmas at 12:00 and she told me don’t forget to come at evening today i said yes sure i will definitely come. So as decided i reached at her home i asked for
http://www.radioemme.it/redirect.asp?id=92&url=https://xvideosok.com
grace she said she went at her grandparents home for Christmas i said okay and then i wished her Christmas by giving her long and deep smooch she was wearing beautiful
ocean blue colour one piece for the night then we moved towards dining table and had some delicious food which she prepared for me and some wine.
After that she took two whisky glasses for further drinks and opened up my favourite black label bottle. She poured glasses and made our drinks ready by passing me my glasses
http://www.camping-channel.info/surf.php3?id=2756&url=https://xvideosok.... http://donbassforum.net/go.php?https://xvideosok.com/en/category/9/BDSM/... http://www.rotateme.org/?u=xvideosok.com/en/category/172/Brazilian/popul... https://mail.yandex.ru/r?url=https://www.xvideosok.com/en/category/32/Cu... http://www.lostatsea.net/adredir.php?url=https://xvideosok.com/en/catego... http://www.theecologist.org/search.php?q="%2F><a+href%3D"http%3A%2F%2Fht... https://trentonmonitor.com/Redirect.asp?UID=10599036&SubSectionID=119&Ad... http://igetter.net/search/download_win.php?url=https://xvideosok.com/en/... http://svejo.bg/go.php?url=https://xvideosok.com/en/category/62/Massage/... https://www.google.com.pk/url?q=https://xvideosok.com/en/category/21/Cam... http://www.helenthompsoninhouse.com/ref.html?l=https://xvideosok.com/en/... http://www.bigtittygals.com/cgi-bin/atx/out.cgi?id=100&tag=top&trade=htt... https://www.autocar.co.nz/Redirect.aspx?destination=http://xvideosok.com... http://talesofasteria.cswiki.jp/index.php?cmd=jumpto&r=https://xvideosok... http://www.zggjkz.com/go.asp?url=https://xvideosok.com/en/category/65/Ma... http://websitereview.cpcgroup.ca/redirect.php?url=https://xvideosok.com/... http://www.betterwhois.com/link.cgi?url=https://xvideosok.com/en/categor...

balenciaga sneakers

I wanted to write you the tiny observation just to give thanks again for all the awesome views you have discussed on this site. This has been really shockingly generous of you to deliver unreservedly all that a few people could have offered for an e-book to earn some dough on their own, particularly considering that you could have tried it in case you wanted. Those guidelines additionally worked as a good way to know that someone else have the same keenness just like my personal own to learn way more in terms of this issue. I think there are many more enjoyable instances ahead for those who looked over your blog.

red bottom shoes

My spouse and i ended up being quite relieved Raymond could conclude his survey from the precious recommendations he had in your site. It's not at all simplistic to simply possibly be releasing techniques which often other people might have been trying to sell. And we all acknowledge we now have the writer to be grateful to because of that. The explanations you've made, the easy site navigation, the friendships you help engender - it's got all great, and it's really facilitating our son and the family believe that that subject matter is entertaining, and that's rather important. Many thanks for the whole lot!

Pages

Add new comment