LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-13-2008, 04:13 PM   #1
glosjammer
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
A real basic beginner Newbie / infant Help!


Hello, I'm a MS guru and this is my first (rather expidited) usage of Linux. I have a Brand new (remote) server with Red Hat Enterprise Linux 5.x -64 bit. It only has a command line RHEL5. I need help with the following points please.

1. How do I connect to it? SSH? Telnet?
2. I then need to install 2 packages of R
http://cran.r-project.org/bin/linux/...rh5.x86_64.rpm &
http://cran.r-project.org/bin/linux/...rh5.x86_64.rpm
3. How do I go about making sure this is all done correctly?

Oh and i've got 12 hours to do this for a customer. So no pressure on me!

Ive always wanted to do Linux and nows my chance, not how I would have started but hey!

Cheers for the help.

Martin
 
Old 08-13-2008, 04:33 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by glosjammer View Post
Hello, I'm a MS guru and this is my first (rather expidited) usage of Linux. I have a Brand new (remote) server with Red Hat Enterprise Linux 5.x -64 bit. It only has a command line RHEL5. I need help with the following points please.

1. How do I connect to it? SSH? Telnet?
2. I then need to install 2 packages of R
http://cran.r-project.org/bin/linux/...rh5.x86_64.rpm &
http://cran.r-project.org/bin/linux/...rh5.x86_64.rpm
3. How do I go about making sure this is all done correctly?

Oh and i've got 12 hours to do this for a customer. So no pressure on me!

Ive always wanted to do Linux and nows my chance, not how I would have started but hey!
SSH is probably the best way to get onto the box. As a rule, I usually disable direct root-logins over the network, so you may need a 'regular' user ID on that box, but maybe not.

If you log in as a 'regular' user, type in "su - root", then enter the root password. If you logged in as root, you're all set. Once you're to the "#" prompt, you are ready to install those RPM files. If you've downloaded them, you'll have to transfer them up to the Linux system. Since you're in with SSH, you probably have access to the SFTP/SCP utilities (guessing...I'm definitely NOT a Windows user. Check the docs on whatever SSH utilities you've installed). Use one of those to get the files copied up to the linux system. After that, you can use:

rpm -i <rpm file name>

to install the files. If those are upgrades to existing software, use:

rpm -i --upgrade <rpm file name>

If you get any complaints about missing dependencies, you'll have to download them, and install them too. There's lots you can do with automatic software repositories, etc., but that's a bit much to cover your first time out. Maybe some RedHat guru can give you more bits about that.

If you get stuck and need more info on the commands in Linux, just type in "man <whatever command name", and it'll give you details, options, and (sometimes), examples on how to use the command.

Hope this helps you.
 
Old 08-13-2008, 08:24 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Try
man yum

or google yum. Its the RH pkg mgr which should take care of dependencies automatically.
See also 'up2date' which is RH's daemon that auto updates your system when patches/updates come out for pkgs you've installed.
Note also that if this is a legal copy of RHEL, then it comes with paid-for support, so I'd recommend using it. Its quicker than waiting on us, and those guys know their systems best.
 
Old 08-14-2008, 03:48 AM   #4
glosjammer
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thats great help thanks guys.

I have now gotten a bit farther but I am now receiving

warning: /var/tmp/rpm-xfer.17M6e3: Header V3 DSA signature: NOKEY, key ID 99b62126
error: Failed dependencies:
libtk8.4.so()(64bit) is needed by R-2.7.1-1.rh5.x86_64


When trying to install the first RPM.


Ive searched google but cant find alot. Its Redhat 5.x

Cheers
 
Old 08-14-2008, 07:15 AM   #5
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
I never used RedHat - only tried Fedora (the free variant of RedHat).
You should take the advice and use the paid-for support.
Aside from that:
use "yum" as suggested by chrism01 - and install those packages through it.

It looks like the customer wants to install "R" - a "Language and environment for statistical computing and graphics"
Don't use the files you may have - use "yum" to install "R" and it will take care of its dependencies (for all I know...).
 
  


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
real, real, real, basic computer for my Mom shengchieh General 3 12-18-2005 01:02 AM
please help a real beginner Veteq Programming 3 06-17-2004 09:59 AM
Question from a real beginner dodo1983 Linux - Newbie 26 06-04-2004 02:53 PM
dual display question - real real newbie !! Jay_Dee007 Linux - Newbie 1 09-29-2003 09:33 AM


All times are GMT -5. The time now is 04:30 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