This will extract the tar into the current folder.

Tar -xfv <<tarname.tar>>

Dave Crozier

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Tristan Leask
Sent: 03 August 2007 11:51
To: [email protected]
Subject: RE: [NF] Linux help

Ah Great stuff Peter!

That worked, it allowed me to install the rpm.  However the APC software
isn't very good and will not allow me to connect to the management
network card, so it looks like I need to try something else.

I have found this...

http://www.apcupsd.org/manual/Building_Installing_apcupsd.html

..and I need to build it for my version of Linux, plus I need to build
it with some options enabled as well.

This should be fun!  So I have download source code in a tar file and I
need to extract it and compile as too the instructions in the link...

The basic installation from a tar source file is rather simple: 

1) Unpack the source code from its tar archive. 
2) Go into the directory containing the source code. 
3) Run ./configure (with appropriate options as described below) 
4) make 
5) su (i.e. become root) 
6) Stop any running instance of apcupsd. The command to do this will
look like <system-dependent-path>/apcupsd stop 
7) uninstall any old apcupsd This is important since the default install
locations may have changed. 
8) make install 
9) edit your /etc/apcupsd/apcupsd.conf file if necessary 
10) ensure that your halt script is properly updated 
11) Start the new apcupsd with: <system-dependent-path>/apcupsd start

So I need a bit of help here.  How do you unpack a tar archive and
specify where to unpack it to?

Thanks

Tristan





-----Original Message-----

Hi Tristan,

Just getting started on Linux, but think you need to change ownership of

the file before running it.

# chown root pbe_agent_linux_jvm.bin

when you are in that folder.  Give it a try.

Peter


----------------------------------------------------------------------------
----------------------------------
This email was sent to [EMAIL PROTECTED] Unless otherwise agreed expressly
in writing by Marine Software Limited, 
this communication and attachments are to be treated as confidential 
and the information in it may not be used or disclosed except for the 
purpose for which it was sent.
If you are not the intended recipient of this  communication  you should 
destroy it without copying, disclosing or otherwise using its contents.
Please notify the sender immediately of the error. 
[EMAIL PROTECTED]

Marine Software Limited. Registered in England & Wales. No 2576494
Regsitered Office. Unit3, Aylesham Business Pk, Aylesham. Kent. UK
----------------------------------------------------------------------------
--------------------------------------



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to