    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>ACCU  :: Installing Red Hat 8.0 (Psyche Linux)</title>
        <link>https://members.accu.org/index.php/journals/1209</link>
        <description>Professionalism in Programming</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Administrator</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.xaraya.org" /> 
        <admin:errorReportsTo rdf:resource="mailto:webeditor@accu.org" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>


        <h2>Journal Articles</h2>


<div class="xar-mod-head"><span class="xar-mod-title">CVu Journal Vol 15, #2 - Apr 2003</span></div>

<table border="0" cellpadding="1" cellspacing="0">
    <tbody>
    <tr>
        <td valign="top">
            Browse in :
       </td>
       <td valign="top">

                                            <a href="https://members.accu.org/index.php/journals/">All</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c76/">Journals</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c77/">CVu</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c109/">152</a>
                    (9)
<br />
</td>
   </tr>
   </tbody>
</table>




<div class="xar-error">
   <p>
 <strong>Note:</strong> when you create a new publication type,
the articles module will automatically use the templates
<em>user-display-[publicationtype].xt</em>
and <em>user-summary-[publicationtype].xt</em>.
If those templates do not exist when you try to preview or display a new article,
you'll get this warning :-)  Please place your own templates in themes/<em>yourtheme</em>/modules/articles . The templates will get the extension .xt there. </p>
</div>
<div class="xar-norm xar-standard-box-padding">
   <h1><strong>Title:</strong>&nbsp;Installing Red Hat 8.0 (Psyche Linux)</h1>
<p><strong>Author:</strong>&nbsp;</p>
<p>
<strong>Date:</strong> 03 April 2003 13:15:56 +01:00 or Thu, 03 April 2003 13:15:56 +01:00</p>
<p><strong>Summary:</strong>&nbsp;</p>
<p><strong>Body:</strong>&nbsp;<div class="sect1" lang="en">
<div class="titlepage">
<h2><a name="d0e20" id="d0e20"></a></h2>
</div>
<p>This article is an updated version of my Installing Red Hat 7.3
(Thread Linux) article, which can be found on my website's articles
page [<a href="#Grenyer">Grenyer</a>], for Red Hat 8.0 (Psyche
Linux).</p>
<p>Red Hat supply a reasonably comprehensive installation guide
[<a href="#Installation">Installation</a>] which is more than most
people will need to install Red Hat 8.0 Linux. However, although it
explains what all the different options are, it is not always clear
which should be used in what circumstance. My intention here is to
describe each of the installation screens and explain what I think
should be entered for the purposes of the Linux Server. For each
screen I will give the page of the PDF version of the guide so that
further information can be gained easily. From here on in The
Official Red Hat 8.0 Installation Guide will be referred to as &quot;the
Installation Guide&quot;.</p>
<p>In my previous article [<a href=
"#ServerArticle">ServerArticle</a>] I stated that &quot;There is
probably no point in buying a monitor for the server&hellip;
&hellip;as it is unnecessary to use one after installation.&quot; In the
final part of this article I will explain how to install OpenSSH
[<a href="#OpenSSH">OpenSSH</a>]. OpenSSH is a free version of the
SSH protocol suite of network connectivity tools. It will allow you
to control the Linux Server remotely and negate the need for a
monitor or keyboard.</p>
</div>
<div class="sect1" lang="en">
<div class="titlepage">
<h2><a name="d0e40" id="d0e40"></a>Installing the
Linux Server</h2>
</div>
<p>From this point forward I assume that you have a fully built and
working PC, of a similar specification to that discussed in my
previous article, and that it is ready to have Red Hat 8.0 Linux
installed.</p>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e45" id="d0e45"></a>1. Booting from
the CD and Selecting an Installation Option (p.33)</h3>
</div>
<p>If your system is unable to boot from CDs please see section
1.4.1 on page 13 of the Installation Guide for alternative boot
methods.</p>
<p>Set the computer's BIOS to boot from the CD-Rom, place the first
Red Hat 8.0 installation disk in the drive and reboot. Let the
machine go through the memory test and boot from the CD. A screen
full of installation options should appear along with the Red Hat
logo and version number.</p>
<p>The two listed installation options are:</p>
<div class="variablelist">
<dl>
<dt><span class="term">Install or Upgrade Red Hat Linux in
Graphical Mode</span></dt>
<dd>
<p>This is the default installation option and takes the user
through the installation process with a high resolution GUI
(Graphical User Interface). A reasonably good monitor and graphics
card (capable of 800x600 resolution), keyboard and mouse are
needed. To start this installation option simply press enter.</p>
</dd>
<dt><span class="term">Install or Upgrade Linux in Text
Mode</span></dt>
<dd>
<p>This takes the user through a text based installation process.
It is ideal for people with very low resolution monitors and
graphics cards or those who don't want to plug in a mouse. To start
this installation process simply type <tt class="literal">text</tt>
at the prompt and press enter.</p>
<p>Although it is not listed, the following installation option is
also available:</p>
</dd>
<dt><span class="term">Enable Low Resolution mode</span></dt>
<dd>
<p>This takes the user through a low resolution GUI installation
process which is ideal for people who are using a low resolution
monitor and graphics card that are capable of displaying the GUI,
but not up to 800x600 (I'll be using this mode as my black and
white monitor won't display 800x600). To start this installation
process type lowres at the prompt and press enter.</p>
</dd>
</dl>
</div>
<p>All three processes have the same screens and request the same
information. They are just displayed differently.</p>
<p>Select the mode you want and press enter. After the Kernel and
your PC's hardware are initialised you may be asked whether you
want to &quot;...begin testing the CD media before installation...&quot; If
you want to test your CDs before the installation choose OK,
otherwise choose skip.</p>
<p>Next, Anaconda, the installation program, is started and the
user is first presented with a Red Hat splash screen and then the
&quot;Welcome to Red Hat Linux screen&quot;. Be patient as this can take a
while and the screen may go blank for periods of 30 seconds or
more.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e84" id="d0e84"></a>2. Welcome to Red
Hat Linux (p.40)</h3>
</div>
<p>This screen just gives information about where to find
installation documentation and information. Simply click next to
move to the next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e89" id="d0e89"></a>3. Language
Selection (p.40)</h3>
</div>
<p>This screen allows the user to select the language that the
installation process will be presented in. English is the default.
If you want to use a different language simply select it.</p>
<p>Click next to move the next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e96" id="d0e96"></a>4. Keyboard
Configuration (p.40)</h3>
</div>
<p>This screen allows the user to select the keyboard layout they
want to use. The default is <tt class="literal">U.S. English</tt>
so is likely to need to be changed to <tt class="literal">United
Kingdom</tt>.</p>
<p>Once you have configured your keyboard click next to move to the
next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e109" id="d0e109"></a>5. Mouse
Configuration (p.41)</h3>
</div>
<p>This screen allows the user to configure their mouse. Simply
select your mouse from the list, or the closest generic mouse, and
put a tick in the Emulate Three Buttons check box if you want to
emulate a three button mouse (with a non-three-button mouse).</p>
<p>Click next to move to the next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e116" id="d0e116"></a>6. Installation
Options (p.42)</h3>
</div>
<p>This screen allows the user to select the type of Red Hat Linux
installation they want. For more information on what the individual
options are see the Installation Guide. We want maximum control so
that we can create our own partitions (if we want to) and install
the minimum number of applications, so choose <tt class=
"literal">Custom</tt>.</p>
<p>Click next to move to the next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e126" id="d0e126"></a>7. Choosing Your
Partition Strategy (p.43)</h3>
</div>
<p>This screen allows the user to set up the various partitions
that Linux uses. The easiest thing to do at this point is select
&quot;Have the installer automatically partition for you.&quot; This will
even work if you already have a Windows partition you wish to keep
on the disk. However, this option will create smaller partitions
than the one I listed in the previous Linux Server article (Red Hat
8.0 recommends that some of the partitions should be bigger than
were stated in my previous article, which was based on Red Hat
7.2). So in order to make good use of the large amount of space
that is likely to be available to you, select &quot;Manual partition
with Disk Druid&quot; and click next. Disk Druid (p.45) is very simple
to use:</p>
<p>Your hard disk is likely to be labeled <tt class=
"literal">/dev/hdc</tt> in the list box at the bottom of the Disk
Druid screen. If you already have a Windows partition this will be
listed as type <tt class="literal">vfat</tt> or <tt class=
"literal">NTFS/HPFS</tt>. If you have a second disk this is likely
be labeled <tt class="literal">/dev/hdd</tt>. To create the
partitions follow the steps below:</p>
<div class="orderedlist">
<ol type="1">
<li>
<p><span class="bold"><b>Swap partition (256MB)</b></span></p>
<p>Click New to create a new partition. In the Allowable Drives
list box make sure the hard disk you want to install the partition
on is the only disk selected. For the swap partition ignore the
Mount Point drop down box and select swap from the File System drop
down box. Enter 256 into the Size (MB) edit box to create a
partition of 256 MB. Make sure that Fixed Size is selected in the
Additional Size Options group box and click OK.</p>
</li>
<li>
<p><span class="bold"><b>Boot partition (75MB)</b></span></p>
<p>Click New to create a new partition. In the Allowable Drives
list box make sure the hard disk you want to install the partition
on is the only disk selected. For the boot partition select
<tt class="literal">/boot</tt> from the Mount Point drop down box
and select ext3 from the File System drop down box. Enter 75 into
the Size (MB) edit box to create a partition of 75 MB. Make sure
that Fixed Size is selected in the Additional Size Options group
box and click OK.</p>
</li>
<li>
<p><span class="bold"><b>Root (3700MB)</b></span></p>
<p>Click New to create a new partition. In the Allowable Drives
list box make sure the hard disk you want to install the partition
on is the only disk selected. For the root partition select / from
the Mount Point drop down box and select ext3 from the File System
drop down box. Enter 3700 into the Size (MB) edit box to create a
partition of 3.7 GB. Make sure that Fixed Size is selected in the
Additional Size Options group box and click OK.</p>
</li>
<li>
<p><span class="bold"><b>Usr (4000MB)</b></span></p>
<p>Click New to create a new partition. In the Allowable Drives
list box make sure the hard disk you want to install the partition
on is the only disk selected. For the usr partition select
<tt class="literal">/usr</tt> from the Mount Point drop down box
and select ext3 from the File System drop down box. Enter 4000 into
the Size (MB) edit box to create a partition of 4 GB. Make sure
that Fixed Size is selected in the Additional Size Options group
box and click OK.</p>
</li>
<li>
<p><span class="bold"><b>Var (385MB)</b></span></p>
<p>Click New to create a new partition. In the Allowable Drives
list box make sure the hard disk you want to install the partition
on is the only disk selected. For the var partition select
<tt class="literal">/var</tt> from the Mount Point drop down box
and select ext3 from the File System drop down box. Enter 385 into
the Size (MB) edit box to create a partition of 385 MB. Make sure
that Fixed Size is selected in the Additional Size Options group
box and click OK.</p>
</li>
<li>
<p><span class="bold"><b>Home (2500MB)</b></span></p>
<p>Click New to create a new partition. In the Allowable Drives
list box make sure the hard disk you want to install the partition
on is the only disk selected. For the home partition select
<tt class="literal">/home</tt> from the Mount Point drop down box
and select ext3 from the File System drop down box. Enter 2500 into
the Size (MB) edit box to create a partition of 2.5 GB. Make sure
that Fixed Size is selected in the Additional Size Options group
box and click OK.</p>
<p>Click Next to move on from Disk Druid.</p>
</li>
</ol>
</div>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e196" id="d0e196"></a>8. Boot Loader
configuration (p.51)</h3>
</div>
<p>This screen allows the user to change and configure the boot
loader. GRUB is set as the default boot loader. it can be changed
by clicking the Change Boot Loader button. Leave the default set to
GRUB unless you particularly want to use LILO or a boot disk. See
the installation guide for more details.</p>
<p>The user can also select which operating system is booted by
default. This is only relevant if you already have another
operating system installed, such as Windows. Put a tick in the box
beside the operating system you would like to boot by default.</p>
<p>It is also possible to set a GRUB password from this screen.
GRUB passwords provide a security mechanism in an environment where
physical access to your server is available. If you are installing
GRUB as your boot loader, you should create a password to protect
your system. Without a GRUB password, users with access to your
system can pass options to the kernel which can compromise your
system security. With a GRUB password in place, the password must
first be entered in order to select any non-standard boot options.
To set a GRUB password, put a tick in the Use A Boot Loader
Password box and enter a password.</p>
<p>Leave the tick out of the Configure Advanced Boot Loader
Password box unless you particularly want to install the boot
loader somewhere other than the Master Boot Record. See the
Installation Guide for more information. Click next to move to the
next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e207" id="d0e207"></a>9. Network
configuration (p.55)</h3>
</div>
<p>Take the tick out of Active On Boot tick box for DHCP as
eventually the Linux Server will also be a DHCP server.</p>
<p>Click Edit to edit the eth0 interface, which is the servers
network (card) interface. This brings up the Edit Interface eth0
dialog box. Take the tick out of the Configure Using DHCP tick box
and put a tick into the Activate On Boot tick box. If you are
planning to use the Linux server as part of an existing network you
should know what IP Address and Network Mask settings to enter. If
you are creating a new network or just connecting the Linux Server
to another PC running Windows or Linux use the following
settings:</p>
<pre class="literallayout">
IP Address: 192.168.1.1
   (use 192.168.1.2 for the other (client) PC)
Netmask: 255.255.255.0
</pre>
<p>We are not concerned with the other settings at this point so
leave the other boxes blank.</p>
<p>Click Next to move to the next screen and ignore the
warnings.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e220" id="d0e220"></a>10. Firewall
Configuration (p.57)</h3>
</div>
<p>Leave the default firewall settings as we will be revisiting
them when we set up OpenSSH later.</p>
<p>Click Next to move to the next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e227" id="d0e227"></a>11. Language
Support (p.59)</h3>
</div>
<p>Put a tick in the boxes for the language you want the Linux
Server to support. Most people will probably only want to support
one language (e.g. <tt class="literal">English (Great
Britain)</tt>). Take the tick out of the English (USA) box and put
it in the language of your choice.</p>
<p>Click Next to move to the next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e237" id="d0e237"></a>12. Time Zone
(p.60)</h3>
</div>
<p>Select your time zone (e.g. Europe/London).</p>
<p>Click Next to move to the next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e244" id="d0e244"></a>13. Root
Password (p.61)</h3>
</div>
<p>Setting up a root account and password is one of the most
important steps during your installation. The root account is used
to install packages, upgrade RPM packages, and perform most system
maintenance. Logging in as root gives you complete control over
your system. Use the root account only for system administration.
Create a non-root account for your general use. These basic rules
will minimize the chances of a typo or an incorrect command doing
damage to your system.</p>
<p>The installation program will prompt you to set a root password
for your system. You must enter a root password. The installation
program will not let you proceed to the next section without
entering a root password.</p>
<p>The root password must be at least six characters long; the
password you type is not echoed to the screen. You must enter the
password twice; if the two passwords do not match, the installation
program will ask you to enter them again.</p>
<p>You should make the root password something you can remember,
but not something that is easy for someone else to guess. Your
name, your phone number, <tt class="literal">qwerty</tt>,
<tt class="literal">password</tt>, <tt class="literal">root</tt>,
<tt class="literal">123456</tt>, and <tt class=
"literal">anteater</tt> are all examples of <span class=
"bold"><b>bad</b></span> passwords. Good passwords mix numerals
with upper and lower case letters and do not contain dictionary
words: <tt class="literal">Aard387vark</tt> or <tt class=
"literal">420BMttNT</tt>, for example. Remember that the password
is case-sensitive. If you write down your password, keep it in a
secure place. However, it is recommended that you do not write down
this or any password you create.</p>
<p>Once you've entered the root password, set up a user account by
clicking Add. Complete the User Name, Full Name, Password and
Confirm (password) edit boxes and click OK to create the new
user.</p>
<p>Click Next to move to the next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e283" id="d0e283"></a>14.
Authentication Configuration (p.64)</h3>
</div>
<p>Leave defaults. Consult the Installation Guide for further
details.</p>
<p>Click Next to move to the next screen. The message &quot;Reading
Package Information&quot; will be displayed for a short time before the
next screen is displayed.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e290" id="d0e290"></a>15. Select
Package Groups (p.66)</h3>
</div>
<p>Deselect <span class="bold"><b>all</b></span> the packages as we
want the most basic system possible onto which we can install the
latest versions of only the software we want. Consult the
Installation Guide for further details.</p>
<p>Click Next to move to the next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e300" id="d0e300"></a>16. About to
Install (p.69)</h3>
</div>
<p>You are now ready to install the Linux Server.</p>
<p>Click next to install. Only installation CD1 is required for our
minimal installation. Installation on my system takes a little over
11 minutes according to the displayed counter.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e307" id="d0e307"></a>17. Create Boot
Disk (p.70)</h3>
</div>
<p>Once the installation is complete you will be asked to create a
boot disk.</p>
<p>To create a boot disk, insert a blank, formatted diskette into
your 3.5 inch disk drive and click Next. It is highly recommended
that you create a boot disk. If for some reason your system were
not able to boot properly using GRUB, LILO, or a third-party boot
loader, a boot disk would enable you to properly boot your Red Hat
Linux system. After a short delay your boot disk will be created.
Remove it from your drive and label it clearly.</p>
<p>Click Next to move to the next screen.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e316" id="d0e316"></a>18.
Congratulations, your Red Hat system is complete (p.73)</h3>
</div>
<p>Click Exit. The installer exits and your machine should
reboot.</p>
<p>Make sure you take the CD out of the CD-Rom drive. Allow the
system to boot back into the Linux Server. Remember, if you have
set the boot loader up to boot a different OS by default you must
select &quot;Red Hat Linux&quot; from the boot menu. If you decided to use a
boot disk to boot the Linux Server, remember to use that. The boot
process may try to auto-configure an onboard sound card, if you
have one, during the boot process. Allow it to do this. Once Linux
has finished booting you should see something similar to the
following:</p>
<pre class="literallayout">
Red Hat Linux release 8.0 (Psyche)
Kernel 2.4.18-14 on i586

localhost login:
</pre>
<p>Congratulations! You have installed the Linux Server.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e327" id="d0e327"></a>19. Shutting
Down</h3>
</div>
<p>It is very important to shut down the Linux Server correctly.
Just like Microsoft Windows, Red Hat Linux cannot just be 'switched
off'. To shut down the Linux Server you must be logged in as
<tt class="literal">root</tt>. It is not enough just to use the
<tt class="literal">su</tt> command and enter the root password. If
you are logged in as a user other than <tt class=
"literal">root</tt> type <tt class="literal">logout</tt> to
logout.</p>
<p>To shutdown the Linux Server log in as <tt class=
"literal">root</tt>. At the login prompt enter root and press
enter. Then enter the root password and press enter. At the prompt
enter:</p>
<pre class="literallayout">
shutdown -h now
</pre>
<p>to shut down the Linux Server or:</p>
<pre class="literallayout">
shutdown -r now
</pre>
<p>to reboot the server. If you have an ATX motherboard the PC
should power down automatically, if not you can turn it off
manually when you receive the <tt class="literal">Power Down</tt>
message.</p>
</div>
</div>
<div class="sect1" lang="en">
<div class="titlepage">
<h2><a name="d0e360" id="d0e360"></a>Installing
OpenSSH</h2>
</div>
<p>This is the first package you should install on the Linux Server
so that the monitor and keyboard can be removed permanently. I'm
going to start as I mean to go on by explaining where to download
the latest version of OpenSSH from and how to install it on the
Linux Server. An older version of the two OpenSSH packages can be
found on the first and second installation CDs in the <tt class=
"literal">/RedHat/RPMS</tt> directory, but I would highly recommend
downloading the latest versions and using those.</p>
<p>The details of the SSH protocol are beyond the scope of this
article, but it should be enough to say that SSH is a secure
protocol that allows users to open consoles on remote computers and
control the Linux Server via the command line. There are a number
of SSH clients available. I will explain how to download and use
one of the more popular Microsoft Windows SSH clients, PuTTY
[<a href="#PuTTY">PuTTY</a>].</p>
<p>This section of the article is based on an article [<a href=
"#SSH_FAQs">SSH_FAQs</a>] that is part of the RedHat Yahoo
[<a href="#Yahoo">Yahoo</a>] groups FAQs [<a href=
"#Redhat_FAQs">Redhat_FAQs</a>].</p>
<p>From this point on I assume that the client PC, running
Microsoft Windows has the correct IP address and is connected to
Linux Server via some kind of network or cross over cable. This is
quite a big assumption. If it is too big please let me know.</p>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e386" id="d0e386"></a>1. Downloading
OpenSSH and the PuTTY SSH client.</h3>
</div>
<p>Red Hat 8.0, unlike Red Hat 7.3, comes with version 3.4 of
OpenSSH and the OpenSSH Server preinstalled. The firewall is also
pre-configured to allow access to SSH. If you would prefer not to
update to the latest version of OpenSSH jump straight to step 7
(below), however this is not recommended.</p>
<p>The two SSH packages that need to be downloaded from the OpenSSH
ftp server [<a href="#OpenSSH_FTP">OpenSSH_FTP</a>] are the OpenSSH
package itself and the OpenSSH server, you may also like to
download the OpenSSH client. The latest versions of the packages at
the time of writing are as follows:</p>
<pre class="literallayout">
openssh-3.5p1-1.i386.rpm 
openssh-server-3.5p1-1.i386.rpm
openssh-clients-3.5p1-1.i386.rpm
</pre>
<p>You should download the most up-to-date package on the server.
All the packages are less than 1MB in size and do not take long to
download even over a 56k dial-up connection.</p>
<p>The PuTTY executable can be downloaded from the PuTTY website's
download page [<a href="#PuTTY_Download">PuTTY_Download</a>]. PuTTY
is a standalone executable which does not require any
installation.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e405" id="d0e405"></a>2. Transferring
the OpenSSH Packages to the Linux Server</h3>
</div>
<p>As we did the most basic possible installation of the Linux
Server there is no way to transfer the packages from the machine
that they have been downloaded on to the Linux Server, other than
using a floppy disk.</p>
<p>Assuming the packages have been downloaded on a Microsoft
Windows PC, get a fresh floppy disk and reformat it as usual.
Although most disks come pre-formatted these days, I suggest you
reformat it because for some reason my Linux Server couldn't read a
BASF floppy disk straight out of the box without reformatting it on
Windows. Copy the OpenSSH packages onto the floppy disk, remove it
from the Windows PC and place it in the Linux Servers floppy disk
drive.</p>
<p>Before it can be used the floppy disk drive must be mounted. To
do this log in as the non-root user that was set-up during the
installation and type the following, followed by enter:</p>
<pre class="literallayout">
mount /dev/fd0
</pre>
<p>To view the contents of the floppy disk type the following and
press enter:</p>
<pre class="literallayout">
ls /mnt/floppy
</pre>
<p>You should see a list of the OpenSSH packages that were copied
onto the disk. It is very important that the floppy disk is not
removed form the drive until after the drive has been un-mounted.
To un-mount the floppy disk drive type the following and press
enter:</p>
<pre class="literallayout">
umount /dev/fd0
</pre>
<p>However, there is no need to un-mount the floppy drive until
after the packages have been installed. The packages can be
installed directly from the floppy disk, so there is also no need
to copy them to the Linux Server.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e426" id="d0e426"></a>3. Installing
the OpenSSH Packages</h3>
</div>
<p>To install the packages, root permission is required. At this
point the non-root user could be logged out and re-logged in as
<tt class="literal">root</tt>, however there is an easier way.
While logged in as a non-root user, type the following and press
enter:</p>
<pre class="literallayout">
su
</pre>
<p>You will be prompted for a password. Enter the root password and
press enter. You should now have root permissions. When you have
finished type the following and press enter to relinquish root
permissions:</p>
<pre class="literallayout">
exit
</pre>
<p>I found that the easiest way to install the latest OpenSSH was
to remove the old one first. Do this by entering the following
three commands one at a time at the command line and pressing
enter:</p>
<pre class="literallayout">
rpm -e openssh-client
rpm -e openssh-server
rpm -e openssh
</pre>
<p>Assuming that the OpenSSH packages are on the floppy disk and
the floppy disk drive has been successfully mounted, all that needs
to be done to install the packages is type the following and press
enter:</p>
<pre class="literallayout">
rpm -Uvh /mnt/floppy/openssh*
</pre>
<p>Evidence of the packages being installed will be displayed on
the screen. The OpenSSH packages should now be installed and the
floppy drive can be un-mounted (see above). Now would also be a
good time to relinquish root permissions.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e450" id="d0e450"></a>4. Configuring
the Firewall</h3>
</div>
<p>The firewall must be configured in order to allow remote
computers to access the SSH Server that has just been installed on
the Linux Server. To configure the firewall you must log in as
root. Simply using the su command is not enough. If logged in as a
non-root user, logout and re-login as <tt class="literal">root</tt>
(see above). To run the firewall configuration program type the
following and press enter:</p>
<pre class="literallayout">
lokkit
</pre>
<p>This will bring up the firewall configuration screen. Leave the
Security Level as High and use the Tab key to select the Customize
button and press enter. When the customize screen opens use the Tab
key to select SSH and then use the space bar to put an asterisk (*)
in the box next to it. Use the Tab key again to select the OK
button and then press enter. This will take you back the first
screen. Use the Tab key to select to select the OK button and leave
the firewall configuration program.</p>
<p>The firewall must be restarted for the new settings to take
effect. To do this type the following and press enter:</p>
<pre class="literallayout">
/etc/rc.d/init.d/ipchains restart
</pre></div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e466" id="d0e466"></a>5. Starting
OpenSSH</h3>
</div>
<p>To start OpenSSH you must be logged in as root or have used su
to get root permissions (see above). To start OpenSSH type the
following at the command line and press enter:</p>
<pre class="literallayout">
/etc/rc.d/init.d/sshd start
</pre>
<p>You should receive a number of messages on the screen which
indicate that OpenSSH has been setup and started successfully. You
are now ready to access the Linux Server remotely and will soon be
able to remove the monitor and keyboard.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage">
<h3><a name="d0e475" id="d0e475"></a>6. Using PuTTY
to Access the Linux Server</h3>
</div>
<p>Assuming that OpenSSH has be started and is running successfully
on the Linux Server and that the Windows client PC and Linux Server
are correctly connected and configured, connecting to the Linux
Server with PuTTY couldn't be easier!</p>
<p>Run the PuTTY executable by double clicking on it. Set the
protocol to SSH, enter the IP address of the Linux Server and click
open. You'll receive a PuTTY security alert. As this is a closed
system (i.e. not connected to the internet), ignore the alert and
click OK. When prompted to do so, login as you would on the Linux
Server. You will now get a command prompt you can use in exactly
the same was as you would directly on the Linux Server.</p>
<div class="figure"><a name="d0e482" id="d0e482"></a>
<div class="screenshot mediaobject c2"><img src=
"/var/uploads/journals/resources/putty_screen_1.png" align="middle" alt=
"Putty Settings"></div>
<p class="title c3">Figure 1. Putty Settings</p>
</div>
<div class="figure"><a name="d0e490" id="d0e490"></a>
<div class="screenshot mediaobject c2"><img src=
"/var/uploads/journals/resources/putty_screen_2.png" align="middle" alt=
"Putty Command Line Console"></div>
<p class="title c3">Figure 2. Putty Command Line Console</p>
</div>
<p>I would recommend practicing logging in and shutting the Linux
Server down, as discussed above, a few times through PuTTY. Then
when you are comfortable with it, remove the keyboard and mouse
from the Linux Server.</p>
</div>
</div>
<div class="bibliography">
<div class="titlepage">
<h2><a name="d0e500" id="d0e500"></a>References</h2>
</div>
<div class="bibliomixed"><a name="Grenyer" id="Grenyer"></a>
<p class="bibliomixed">[Grenyer] My website articles page:
<span class="bibliomisc"><a href=
"http://www.paulgrenyer.co.uk/articles" target=
"_top">http://www.paulgrenyer.co.uk/articles</a></span></p>
</div>
<div class="bibliomixed"><a name="Installation" id=
"Installation"></a>
<p class="bibliomixed">[Installation] The Official Red Hat Linux
8.0 Installation Guide: <span class="bibliomisc"><a href=
"http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/pdf/rhl-ig-x86-en-80.pdf"
target=
"_top">http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/pdf/rhl-ig-x86-en-80.pdf</a></span></p>
</div>
<div class="bibliomixed"><a name="ServerArticle" id=
"ServerArticle"></a>
<p class="bibliomixed">[ServerArticle] Linux Server Article:
<span class="bibliomisc"><a href=
"http://www.paulgrenyer.co.uk/articles/choosing_linux_hardware.html"
target=
"_top">http://www.paulgrenyer.co.uk/articles/choosing_linux_hardware.html</a></span></p>
</div>
<div class="bibliomixed"><a name="OpenSSH" id="OpenSSH"></a>
<p class="bibliomixed">[OpenSSH] OpenSSH: <span class=
"bibliomisc"><a href="http://www.openssh.com" target=
"_top">http://www.openssh.com</a></span></p>
</div>
<div class="bibliomixed"><a name="GettingStarted" id=
"GettingStarted"></a>
<p class="bibliomixed">[GettingStarted] Red Hat Linux 8.0 Getting
Started Guide: <span class="bibliomisc"><a href=
"http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/pdf/rhl-gsg-en-80.pdf"
target=
"_top">http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/pdf/rhl-gsg-en-80.pdf</a></span></p>
</div>
<div class="bibliomixed"><a name="PuTTY" id="PuTTY"></a>
<p class="bibliomixed">[PuTTY] PuTTY SSH Client: <span class=
"bibliomisc"><a href=
"http://www.chiark.greenend.org.uk/~sgtatham/putty/" target=
"_top">http://www.chiark.greenend.org.uk/~sgtatham/putty/</a></span></p>
</div>
<div class="bibliomixed"><a name="SSH_FAQs" id="SSH_FAQs"></a>
<p class="bibliomixed">[SSH_FAQs] RedHat Yahoo group FAQs SSH
article: <span class="bibliomisc"><a href=
"http://home.nyc.rr.com/computertaijutsu/ssh.html" target=
"_top">http://home.nyc.rr.com/computertaijutsu/ssh.html</a></span></p>
</div>
<div class="bibliomixed"><a name="Yahoo" id="Yahoo"></a>
<p class="bibliomixed">[Yahoo] RedHat Yahoo group: <span class=
"bibliomisc"><a href="http://groups.yahoo.com/group/redhat/"
target="_top">http://groups.yahoo.com/group/redhat/</a></span></p>
</div>
<div class="bibliomixed"><a name="Redhat_FAQs" id=
"Redhat_FAQs"></a>
<p class="bibliomixed">[Redhat_FAQs] RedHat Yahoo group FAQs:
<span class="bibliomisc"><a href=
"http://home.nyc.rr.com/computertaijutsu/linfaq.html" target=
"_top">http://home.nyc.rr.com/computertaijutsu/linfaq.html</a></span></p>
</div>
<div class="bibliomixed"><a name="OpenSSH_FTP" id=
"OpenSSH_FTP"></a>
<p class="bibliomixed">[OpenSSH_FTP] OpenSSH FTP Server:
<span class="bibliomisc"><a href=
"ftp://ftp.esat.net/pub/OpenBSD/OpenSSH/portable/rpm/RH73/" target=
"_top">ftp://ftp.esat.net/pub/OpenBSD/OpenSSH/portable/rpm/RH73/</a></span></p>
</div>
<div class="bibliomixed"><a name="PuTTY_Download" id=
"PuTTY_Download"></a>
<p class="bibliomixed">[PuTTY_Download] PuTTY Download Page:
<span class="bibliomisc"><a href=
"http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html"
target=
"_top">http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html</a></span></p>
</div>
</div>
</p>
<p><strong>Notes:</strong>&nbsp;</p>
<p><em>More fields may be available via dynamicdata ..</em></p>
</div>
</channel>
</rss>
