Installation of software (autoexe) on Linux with shell(?)


 
Thread Tools Search this Thread
Operating Systems Linux Installation of software (autoexe) on Linux with shell(?)
# 1  
Old 05-22-2009
Installation of software (autoexe) on Linux with shell(?)

This is my absolutely first contact with Linux. I am setting up a new website and need to install a software - actually "only" run a pre-packaged linux installer. Istruction is only a few sentences long so it must be simple but I have no idea where to start. Your guidance and assistance much appreciated. I want to learn but have no idea where to start. Here are the details:


1. Task - install software on a subdomain (ie. m1.mysite.com, already created; Why subdomain? I need to create 4 instances of the software as a load balancing/ failover measure, ie on m1, m2, m3, and m4 subdomains)

2. Instructions for instalation (in full):

How to Install FGS

FGS Base


1. Download the self-extracting file to your local directory.
For example:

$ wget MapTools Download: /dl/fgs/releases/1.0/1.0.0/self-installers
fgs-mapserver_5.0.2-fgs_1.0.0-linux-i386.bin

Run it with:

$ sh fgs-mapserver_5.0.2-fgs_1.0.0-linux-i386.bin

2. Press <ENTER> to begin the installer

3. Enter the path to where you want to install

*note that pressing <ENTER> will accept the default path displayed
*your path will become $FGS_HOME for the purpose of this doc
*extraction process will then begin

4. Specify the TCP Port that you want to use

*note that if you are installing this as a regular user Port 80
and any port under 1024 are restricted to root access

5. Install complete

6. To test your installation of MapServer/GMap, in a browser goto

http://yourserverSmilieort/cgi-bin/mapserv/

*you should see the following message displayed:
"No query information to decode. QUERY_STRING is set, but empty".

7. For more up-to-date information please see the README.txt in your FGS distribution.


Questions:
a) I undestand that install has to be run from some sort of console? Where to find it? How to run it? I have only cpanel access (no control over server). How to check which version of linux I have?

b) What should be the path?

c) TCP port - the site is already peconfigured to run on apache but the package has it's own version included. How to determine port(s) not to conflict with existing install?

d) Are there potential issues with getting the software running from a subdomain? eg. cgi, access to databases, cron jobs etc?

e) If something goes wrong, how to delete the lot?

Thank you in advance!

Arek
# 2  
Old 05-25-2009
Quote:
Questions:
a) I undestand that install has to be run from some sort of console? Where to find it? How to run it? I have only cpanel access (no control over server). How to check which version of linux I have?
The version of linux can be thought of as (1) the kernel, and (2) the distribution. For (1), use "uname -a". For (2) you can typically get the answer with "cat /etc/issue".

The command must be run as root (using the root user) from any command line.

Quote:
b) What should be the path?
Usually something like "/usr/local" or "/opt/fgs/". But for your first time around, put it in a "tmp" directory, like this:
Code:
mkdir /var/tmp/fgs
<run install program>
<provide /var/tmp/fgs for path>

Quote:
c) TCP port - the site is already peconfigured to run on apache but the package has it's own version included. How to determine port(s) not to conflict with existing install?
You can run the following command to get a list of used ports:
Code:
netstat -anp |awk '$6 == "LISTEN" { print $4 }' |sed 's/.*://'

Note, the key command is the first one (netstat). The rest filter the output to give you the nice list.

Quote:
d) Are there potential issues with getting the software running from a subdomain? eg. cgi, access to databases, cron jobs etc?
From a systems perspective, not really. Any cron jobs you write need to use the relevant path for each sub-domain. From a security perspective, yeah there are issues, but nothing specific to it being a sub-domain.

Quote:
e) If something goes wrong, how to delete the lot?
If you create the /var/tmp/fgs as I suggest for step (b), you can just do:
Code:
rm -rf /var/tmp/fgs

# 3  
Old 05-25-2009
Thanks! That's very comprehensive. I'll try as soon as I get access to a command line tool. I have overlooked this option in cpanel:

"SSH/Shell Access
Shell Login

For security reasons, shell access is not enabled by default. In order to activate shell access on your account, you will need to fax or mail a copy of your driver's license, passport or other photo id to customer service...."

Much appreciated!
Arek
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Manual software installation

Hi everyone, As you probably have guessed from the title, I am totally new to the Linux world. I am trying to get a program called Quantum to run. From what I could gather while reading on-line, programs in Linux usually come in packages. It this case however, I only have the archive with... (10 Replies)
Discussion started by: vy4kov
10 Replies

2. HP-UX

Software installation on HP-UX system

Hello, I work on an oil rig offshore with limited resources at my disposal at the moment. We have been trying to repair one of our IMS stations, but no one out here is familiar with UNIX and our ABB service rep is spotty at best. The machine is an HP 9000 running HP-UX 10.20. We are trying... (2 Replies)
Discussion started by: abollmeyer
2 Replies

3. UNIX for Advanced & Expert Users

Software installation

Hi, Like Windows XP OS, when we will install a software it will go by default to C drive's Program file directory. So similarly if we will install the software in the Linux OS, where it will go by default ? (4 Replies)
Discussion started by: rajesh08
4 Replies

4. AIX

having problem with HDLM software installation

HI Guys, I have AIX 5.3 with TL05 ...I am trying to install HDLM 5.80/5.81 on this. Installed Hitachi.aix.support.rte file set. HDLM kept on installing ...it is not comming out .command status is "running" ============================================ Command: running stdout: yes ... (0 Replies)
Discussion started by: b_manu78
0 Replies

5. Solaris

Software installation help

Hi, I'm new to solaris basically, with a decent background in linux. But everything seems to have jsut enough differances to be problematic. two things i need answered are 1) How do i alter the network settings in Solaris 2.5.1? 2) how do i go about installing netscape (already got... (3 Replies)
Discussion started by: netstat
3 Replies

6. AIX

Software Installation Problem

HI Everybody, I am a newbie of using AIX, would you mind telling me how to setup JOE and OpenSSH in AIX 5L 5.3. Thanks! Hugo (0 Replies)
Discussion started by: tknl
0 Replies

7. Solaris

Software Installation Help - Newbie

Let me start off by saying that I am by no means a unix person. I am tasked to install log4cxx on a brand new machine but it looks like we need the apr, apr-utils, libtool, make, autoconf, automake, and gcc packages just to install log4cxx. Our machine came with no c compiler so I couldn't build... (6 Replies)
Discussion started by: JohnRodey
6 Replies

8. Solaris

Software Installation

Hi All, I am new to Solaris Platform . I would like to know whether the machine on which I am working has Oracle9 installed on it or no? How do I proceed? Regards SONAL (3 Replies)
Discussion started by: sonbag_pspl
3 Replies

9. UNIX for Dummies Questions & Answers

Software installation

I'm attempting to download gnu common lisp software on mac os x unix and having trouble with the ./configure command. It gives an error of: Unable to guess machine type use configure --enable-machine=XXX, for XXX such that h/XXX.defs exists, ie in h/386-bsd.defs h/FreeBSD.defs h/NeXT.defs.... ... (1 Reply)
Discussion started by: xaosai
1 Replies
Login or Register to Ask a Question