VBA – Copy sheet to first sheet

 

Install Tomcat 7 on CentOS

This post will cover installing and basic configuration of Tomcat 7 on CentOS 5.x. or CentOS 6.x

Tomcat 7 implements the JavaServer Pages 2.2 and Servlet 3.0 specifications and a number of new features. The Manager application also has a new look and finer-grain roles and access than 6.x

In this post, we’ll install Tomcat 7, the new JDK 7, configure Tomcat as a service, create a start/stop script, and (optionally) configure Tomcat to run under a non-root user.

We will also configure basic access to Tomcat Manager and take a quick look at memory management using JAVA_OPTS

Finally, we will look at running Tomcat on port 80 as well as some strategies for running Tomcat behind Apache.

I have just updated this post with Tomcat 7.0.29, the current stable release of Tomcat 7.

If you are using a different release, simply change the file names below accordingly.

To begin, we’ll need to install the Java Development Kit (JDK) 7

Continue reading Install Tomcat 7 on CentOS

How to setup multi solr instance on same server with different port?

I. Install Solr 4.x.x follow this acticle

how to setup apache solr on linux?

II. Clone solr instance
1. Go to /opt/solr/
2. Copy folder example to new directory (e.g: instance2)

3. Go to /opt/solr/instance2 start instance

4. Test your instance
Go to http://localhost:4983/solr/

DONE

how to setup apache solr on linux?

NOTE: Require permision root user
I. Install Java
Setup Java On Linux
II. Setup Solr server
1. Solr require system user named “solr” and we will create one:

2. Download and setup Solr server:

3. Make the Solr server auto-run when the machine reboot or shutdown:

III. Create Solr core:
1. Create Solr core instance named “collection1”:

2. Change ownership to “solr” user:

3. If you get this error:
“Failed to create core ‘webfoobar’ due to: Error CREATEing SolrCore ‘collection1’: Unable to create core [collection1] Caused by: /var/solr/data/collection1/data”
Issue this command again:

4. Restart service solr

5. Test server

Go to http://localhost:8983/solr/#/collection1

IV. Setup Standalone Solr Local Access

1. Open firewall port

Open firewall port on linux

2. Find your ip of server

3. Test server
Go to http://your-ip:8983/solr/#/collection1
DONE