To start, I suggest that you start installing programs and packages from the console.
You
start to really learn the system and where things go as well as being able to add new
things to new programs/packages.
But using the Mandrake Package Manager that's in Mandrake 8, is another means of doing
so.
If you're using KDE as your Desktop envirnment, there is an ICON on your desktop for
it.
As soon as you click the ICON it should ask you for your root passwd. You must be
root to
install global applications in Linux.
Once you have the program up you can open the package by either searching for it,
which it
will search the CDs for the program and then try and install it from there. Or you
could
open the file itself and install it that way. It should go through and do everything.
But if that doesn't work, open an *term of your choice and then try and install it.
First su to root.
[timh@r2d2 timh]$ su -
Password:
[root@r2d2 /root]#
Once you're root, find where you put your RPM file.
[root@r2d2 installed]# ls -la aim-1.1.112-1.i386.rpm
-rw-r--r-- 1 timh timh 759499 Apr 24 02:02 aim-1.1.112-1.i386.rpm
>From there run your rpm command. I, and most others use rpm -ivh to then install the
package. The i is for install, the v is for verbose, and the h is for hash.
[root@r2d2 installed]# rpm -ivh aim-1.1.112-1.i386.rpm
aim ###############################################################################
[root@r2d2 installed]#
>From there your app is installed.
Once you have it installed, you may have to configure the program. Such is the case
with
OpenS*. (OpenSSH or OpenSSL.) The config files for OpenSSH are located in /etc/ssh
[root@r2d2 /root]# cd /etc/ssh/
[root@r2d2 ssh]# ls -la
total 68
drwxr-xr-x 2 root root 4096 Jun 14 19:17 ./
drwxr-xr-x 59 root root 4096 Jun 15 11:42 ../
-rw-r--r-- 1 root root 26287 Apr 13 10:02 primes
-rw-r--r-- 1 root root 1200 Apr 13 10:02 ssh_config
-rw------- 1 root root 668 Jun 14 19:17 ssh_host_dsa_key
-rw-r--r-- 1 root root 590 Jun 14 19:17 ssh_host_dsa_key.pub
-rw------- 1 root root 515 Jun 14 19:17 ssh_host_key
-rw-r--r-- 1 root root 319 Jun 14 19:17 ssh_host_key.pub
-rw------- 1 root root 887 Jun 14 19:17 ssh_host_rsa_key
-rw-r--r-- 1 root root 210 Jun 14 19:17 ssh_host_rsa_key.pub
-rw------- 1 root root 1689 Apr 13 10:02 sshd_config
The only files you really will mess with here are ssh_config and sshd_config.
ssh_config
is for the client, sshd_config is for the server.
Normally the "out of the box" configs will do the job, but there may be some things you
might want to add. For example, you may want to add something in /etc/ssh_config if
you
plan on using X Forwarding.
Host *
ForwardAgent yes
ForwardX11 yes
Cipher blowfish
TransmitInterlude 100
StrictHostKeyChecking no
/etc/sshd_config is normally just fine the way it is. Unless you want to turn on
banners,
which some people like doing, personally I can't stand it.
Once you've done that, or made the changes, restart the server and you should be all
set.
[root@r2d2 ssh]# /etc/rc.d/init.d/sshd
Usage: sshd {start|stop|restart|status|condrestart}
Run that command with the restart option to restart the daemon.
[root@r2d2 ssh]# /etc/rc.d/init.d/sshd restart
Shutting down sshd: [ OK ]
Starting sshd: [ OK ]
>From there you should be good to go. Give those suggestions a try and let us know
>how it
goes.
tdh
T. Holmes
-----------------
UNIXTECHS.org
[EMAIL PROTECTED]
-----------------
"Real Men Us Vi!"
| I am truing to use the RPM installer under X. It seems that it wants to
| work sometimes but not others. What I am really having a problem with is
| installing the latest and getting it to work OPENSSH. Any help is
| appreciated. BTW I am using LM 8.0
|
| ********************************************
| Howard D. Brenner [mailto:[EMAIL PROTECTED]]
| Systems Analyst
| Global Science & Technology, Inc.
| 301-474-9696 x234
| 301-474-5970 (f)
| http://www.gst.com/
| ********************************************
|
|
|
------------------------------------------------------------------