{"id":2001,"date":"2010-07-06T15:08:52","date_gmt":"2010-07-06T07:08:52","guid":{"rendered":"http:\/\/www.finereport.com\/CN\/wordpress\/knowledge\/install\/linux%e4%b8%8b%e9%85%8d%e7%bd%aefinereport%e6%8a%a5%e8%a1%a8.html"},"modified":"2018-09-11T19:40:44","modified_gmt":"2018-09-11T11:40:44","slug":"linux","status":"publish","type":"post","link":"https:\/\/frg.fineres.com\/en\/2010\/07\/06\/linux\/","title":{"rendered":"FineReport under Linux"},"content":{"rendered":"<p><b>Aforementioned<\/b><br \/>\nOperating system: linux<br \/>\nServer: resin<br \/>\nReporting Application: FineReport<br \/>\nProcedure<br \/>\n1. Install jdk<br \/>\n2. Installing the server\uff0cCase in resin<br \/>\n3. Configure Report Project<\/p>\n<p><!--more--><\/p>\n<p><b>NO.1 Install jdk<\/b><br \/>\n1.First, the official website to download jdk example jdkjdk1.6, name jdk-6u2-linux-i586-rpm.bin<br \/>\n2.Via ftp upload jdk-6u2-linux-i586-rpm.bin<br \/>\n3. Command to all users to add executable permissions<br \/>\n    chmod a+x jdk-6u2-linux-i586-rpm.bin<br \/>\n     a\uff1aAll\uff0cthat is, all users, including the owner, owning group, and other users<br \/>\n    x\uff1aExecution or switch rights, numeric code-named &#8221;1&#8243;\u3002<br \/>\n4. .\/jdk-6u2-linux-i586-rpm.bin<br \/>\n     Will generate the file jdk-6u2-linux-i586-rpm<br \/>\n     Add execution to all users<br \/>\n     Setup rpm -ivh jdk-6u2-linux-i586-rpm<br \/>\n     accept the agreement, then press enter<br \/>\n5. Finally, set the path and classpath<br \/>\n    export JAVA_HOME=\/usr\/java\/jdk1.6.0_02<br \/>\n6.Run java -version<br \/>\n   If java version &#8220;1.6.0_02&#8243;indicates the installation was successful<\/p>\n<p><b>NO.2 install resin server<\/b><br \/>\nPreparations: resin installation files in resin official website to download linux environment<br \/>\n<br \/>\n1\uff09 install jdk The previous step has been performed<br \/>\n<br \/>\n2\uff09 JAVA_HOME environment variable is set correctly identified  The previous step has been performed<br \/>\n3\uff09 Installation<br \/>\nSeparate operation:<br \/>\n# tar zxvf resin-3.0.4.tar.gz<br \/>\n# mv resin03.0.6 \/usr\/local\/resin<br \/>\n#cd \/usr\/local\/resin<br \/>\n# .\/configure<br \/>\n# make<br \/>\n# make install<br \/>\n#cd bin<br \/>\n#.\/httpd.sh start<\/p>\n<p><b>NO.3 Configure Report Project<br \/>\n<\/b><br \/>\nAfter installing the resin server<br \/>\n\u2022The WebReport file FineReport statements installation directory packaged into a zip folder and then upload to ftp<br \/>\n\u2022Under linux by visiting ftp<br \/>\nCd to the resin webapps directory file folder <br \/>\nftp  ip address <br \/>\nGo to the directory where the zip package<br \/>\nget WebReport.zip to the current directory<br \/>\nexit to the current directory ftp<br \/>\nWebapps folder in the file<br \/>\nunzip WebReport.zip WebReport unzip the file to a folder under webapps<br \/>\n\u2022Start resin server <br \/>\nCd to the resin in the bin folder <br \/>\n.\/httpd.sh<br \/>\n  Enter http:\/\/localhost:8080 to test whether the server starts successfully <br \/>\nThe welcome screen appears resin explanation starts successfully <br \/>\n  Enter http:\/\/localhost:8080\/WebReport\/ReportServer?op=test est environment is configured reports success <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Aforementioned Operating system: linux Server: resin Re&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[111],"tags":[117],"_links":{"self":[{"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/posts\/2001"}],"collection":[{"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/comments?post=2001"}],"version-history":[{"count":1,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/posts\/2001\/revisions"}],"predecessor-version":[{"id":4748,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/posts\/2001\/revisions\/4748"}],"wp:attachment":[{"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/media?parent=2001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/categories?post=2001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/tags?post=2001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}