Assume that the FineReport decision-making system is deployed on NAS Based on the liunx system using a common computer, and the liunxfinereport

Source: Internet
Author: User

Assume that the FineReport decision-making system is deployed on NAS Based on the liunx system using a common computer, and the liunxfinereport

What Is NAS?

Simply put, a device that is connected to the network and has the data storage function is also known as "Network memory ". It is a dedicated data storage server. With data as the center, he completely isolates storage devices from servers and centrally manages data to release bandwidth, improve performance, reduce total cost of ownership, and protect investment. The cost is much lower than the server storage, but the efficiency is much higher than the latter.

Why choose qunhui NAS

What I pay attention to is qunhui's DSM operating system. Based on the Linux kernel's simple and rich operating system, qunhui NAS is a computer device with rich functions that can be used for entertainment and office work, video Monitoring and so on.

When you see the title carefully, you should think of how to use a common computer to assume NAS?

It is precisely because of the ease-of-use and efficiency of the DSM system that the kuaihui NAS is a hardware and software all-in-one machine. The poor hardware selection and scalability (CPU and memory) have also become a serious problem. Therefore, it is a wonderful idea to install it on a common computer as a diaosi!

Okay. The above is just an introduction. Now let's get down to the point and formally explain how to deploy Finereport data Decision-making System on the NAS-DSM system (in order to represent the aspect of DSM.

Installation

First, we need to install JAVA and Tomcat7.0 on the DSM system. Click on the suite center of the DSM and choose to install the JAVAmanager and Tomcat7 plug-ins. After the two plug-ins are installed, DSM will automatically generate a Tomcat folder and set it to share mode. We can easily access this file through the windows connection sharing method, of course, the premise is that you need to log on to the admin DSM Administrator account, such:

Next, go to the Tomcat \ ROOT directory to delete all the files in it, and copy all the files in the FineReport project directory WebReport (note: does not contain all the directories and files under the WebReport directory) and restarts Tomcat. What? You don't know how to restart? Haha, you just couldn't find it. Everything in DSM seems so simple! See:

Click <installed menu> In the left-side navigation pane in the kit center, and find the installed tomcat in the right-side window.

 

 

In fact, FR can use http: // your IP address: 7070/ReportServer? Op = fs accessed. But is this enough? NO. It is not convenient enough. The tomcat memory needs to be adjusted. We need to optimize it! GO! GO!

Optimization:

1. the URL access port is uncomfortable! A bunch of E characters will be entered later! However, for the sake of security, the DSM system simply accesses through pages, and you cannot find its system files (even using an Administrator Account )! Everyone knows that to adjust these attributes, you must find and edit Tomcat's server. xml. In this case, we can only use linux window commands. Therefore, we need to enable the Telnet function of the DSM system and then modify it using tools.

A. Enable the Telnet function of the DSM system:

 

Select and save

B. Use SecureCRT to connect to the DSM system. Account name: root password is your admin password (the root password is initially the same as the admin password)

Switch to the directory where the server. xml file is located, and use lower-case commands

Cd/var/packages/Tomcat7/target/src/conf

Click Edit next:

Viserver. xml

Use the keyboard arrow key to find the address. Press the I keys key on the keyboard to enter the editing mode and change it to port 80 (because port 80 is used, port 8080 is used ), after modification, Press ESC to exit the editing mode. Press: To Enter command line mode, enter W and press Enter. Now that the port has been modified, restart Tomcat so that it can be accessed without a port!

C. Access the ip address in tomcat to go to the op = fs interface:

Friends can refer to the help document that article, set up their own http://help.finereport.com/doc-view-806.html

Note the following:

1. If the title is garbled, open a. jsp and change the encoding to GBK.

2. Location of the DSM system web. xml:/var/packages/Tomcat7/target/src/conf

3. As I asked everyone to copy the file to the ROOT directory, this part of the help document is not required.

2. Modify Tomcat memory to improve system running efficiency. The method for modifying the catalina. sh file is the same as above. For limited space, I only provide the location of the DSM system:/var/packages/Tomcat7/target/src/bin/. Add the code, for example:

The above settings have basically met our requirements for short URL access: you only need to enter an IP address to directly jump to the login interface, and the server memory is also changed to the size we need.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.