LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2012, 04:35 PM   #1
kyle7042
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Rep: Reputation: Disabled
Red face Can some1 pleease help me with this code??


Ok i have downloaded some software on linux mint. When i open it i get 2 options: catalina_base and setenv.sh when i click on the 2nd option i get the following :
#!/bin/sh

# This script is used to setup the config to run the server / tomcat.

export WORKING_ROOT=`pwd`

export CATALINA_BASE=${WORKING_ROOT}/catalina_base

MEM_SETTINGS="-Xmn64m -Xms256m -Xmx256m -XX:MaxPermSize=96m -XX:ThreadStackSize=128 "
export JAVA_OPTS="-Djava.awt.headless=true -server -XX:+UseConcMarkSweepGC -Dcom.sun.management.jmxremote -Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger -Dlog4j.override.configuration=/tmp/caisi_integrator.log4j.xml "${MEM_SETTINGS}

Im sure somewhere here is the code which i need to enter into the terminal to run/install this software but im not sure exactly which part i need to be entering any help please??
Thanks
 
Old 05-04-2012, 04:41 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
That is the code. Open a terminal, cd to the right directory, and run "chmod +x setenv.sh; ./setenv.sh". Right now you're just opening the script in a text editor rather than executing it.

It looks like that script just sets up some variables. You might need to run catalina_base after running setenv.sh.

Last edited by suicidaleggroll; 05-04-2012 at 04:43 PM.
 
Old 05-04-2012, 04:42 PM   #3
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Are you trying to install Tomcat from source?
 
Old 05-04-2012, 04:43 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
Originally Posted by suicidaleggroll View Post
That is the code. Open a terminal, cd to the right directory, and run "chmod +x setenv.sh; ./setenv.sh". Right now you're just opening the script in a text editor rather than executing it.
You are correct, that is code, but will it accomplish what the poster is looking for? I don't think so. All that is doing to do is set some variables. That is file is sourced to set environment variables for installing Tomcat from source.
 
Old 05-04-2012, 04:54 PM   #5
kyle7042
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks all for the quick response. So this isnt to set up what i want to then? I didnt want to install tomcat. I want to implement this software: http://www.oscarcanada.org/caisi here is the options i get from sourceforge: http://sourceforge.net/projects/oscarmcmaster/files/ i already have the "oscar" software but i need to implement caisi which is 5th down on the link i just gave. Not sure if it helps but there are other options in the file i downloaded in the "catalina base" i have the following options: conf, logs, CVS, temp, webapps & work!!
 
Old 05-04-2012, 05:04 PM   #6
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
I'm not familiar with that software but from what you have said and the contents of that file it looks like it is a tomcat web-app that would be deployed on your server, this would require an existing install of tomcat. I tried to do some quick searching for installation documentation on the software vendors site and found this: http://www.oscarcanada.org/caisi/com...-documentation

No documentation at all, awesome. If the vendor does not supply installation documentation I very, very rarely will use it. It kind of implies(atleast to me) that its not a reputable piece of software.
 
Old 05-04-2012, 05:08 PM   #7
kyle7042
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Ok thankyou Kustom42. JUst one more question. Im new to Linux and have no idea where i find my server or any programmes etc which i download. Im used to windows and know how to find things there like get into my c drive look at recent downloads etc. and find their location how do i do this on linux mint please?
 
Old 05-04-2012, 05:10 PM   #8
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
In Linux everything is a flat file, and without knowing how it was downloaded its impossible to tell you. However, if you know the names or part of the names of the files you are looking for you can use a find statement:

Code:
find / -type f -name "*.txt"
That would find anything on your system that is a regular file(-type f) that ends in a .txt extension.
 
Old 05-04-2012, 05:20 PM   #9
kyle7042
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Ok thankyou very much for your help it is appreciated. How easy would it be to access software on my linux pc server (im presuming i have a server since i have linux mint?!?) from my windows laptop? Ive been using teamviewer to do this but it requires me to have both pc's powered up.
 
Old 05-04-2012, 05:58 PM   #10
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
The definition of a server is the usage of the computer. So that's kind of irrelevant. It sounds like you are just looking for an easy way to install it and access it. With Windows it's pretty much double-click, click next until it says its done. In Linux you have to do all the work that the 'next' wizard does for you.

Think about it like Windows is a Gameboy, throw any game in turn it on and it works but you are limited to what is already predefined and set. In Linux you have an erector set with all the pieces you need to make what you want; being able to put the pieces together correctly to achieve what you are wanting is where a lot people get frustrated and go back to using Windows.

Trying to install a third-party app in Linux where the software vendor provides no documentation is something that can stump even the most tenured of Linux users. My best solution to offer you is to reach out to the software vendor and get an install doc, once we have that info we can help get you through the instal process(if you need help beyond the doc).

To further illustrate my point. I am definately not a chef but I can pull out any Betty Crocker recipe book and follow the steps given. Same situation you are in here, you're not a linux guru(no insult intended, i'm definitely not a Guru either) but you would more than likely be able to get to where you are going if you had the steps.

If it were me I would contact the vendor and ask for documentation, if they can't provide it I would find an alternate software solution that does provide that and fits your needs.

Last edited by Kustom42; 05-04-2012 at 06:01 PM.
 
Old 05-04-2012, 06:03 PM   #11
kyle7042
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Makes things alot clearer thank you very much for your help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
some1 able to run alsa on 2.4.29 kernel? ygloo VectorLinux 5 12-09-2006 05:05 AM
Is anything ever easy >:| Vobcopy help pleease ! gazza Linux - Software 4 05-05-2004 03:02 PM
Can some1 tell mewhat does this mean? woho Linux - General 8 01-30-2004 06:09 PM
I'm hopeless can some1 Help me SlackN00b Linux - Newbie 5 12-26-2003 08:47 AM
GLib Problems...since a month....pleease A1Ph4 Linux - Software 4 08-07-2003 04:11 AM


All times are GMT -5. The time now is 10:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration