Difference between revisions of "Hard Disk Installation"

From NST Wiki
Jump to navigationJump to search
(Why Would I Want The NST On A Hard Disk?)
(What Command Does One Run To Install NST To A Hard Disk?)
Line 43: Line 43:
  
 
Alternatively, if you boot to ''Graphical Desktop'' mode and log in using the GNOME desktop manager, you should find a icon on the desktop which can be used to perform the hard disk installation.
 
Alternatively, if you boot to ''Graphical Desktop'' mode and log in using the GNOME desktop manager, you should find a icon on the desktop which can be used to perform the hard disk installation.
 +
 +
= What Command Do I Run To Partition My Hard Disk? =
 +
 +
The [http://nst.sourceforge.net/nst/docs/scripts/nstliveinst.html nstliveinst] uses the standard Fedora installation tools. You will have the opportunity to partition your disk during the installation process.
 +
 +
If you would like to partition your disk prior to starting the installation process, you can use standard command line tools like '''cfdisk''' or '''fdisk'''.
 +
 +
For a graphical interface, you can use the '''gparted''' utility. If you are using a GNOME desktop, you should find "''Gparted Partition Editor''" under the "''System Tools''" menu.
 +
 +
= What Is The Password After A Hard Disk Install? =
 +
 +
Most likely you will have had the chance to choose a new ''root'' login password during the installation process.
 +
 +
However, it is possible to run the [http://nst.sourceforge.net/nst/docs/scripts/nstliveinst.html nstliveinst] script such that the step of choosing a new initial ''root'' password is skipped. In this situation, the initial password will be: ''nst2003''.
 +
 +
In either case, this initial password on pertains to logging into the system as the ''root'' user. The installation process does NOT update the other passwords on your system (like the one used to access the NST WUI). These passwords will be left at their factory default setting of: ''nst2003'' and '''must be changed'''!
 +
 +
So regardless of the initial installation password, one of the first things you should do after booting from your new installation is to log in as ''root'' and run the [http://nst.sourceforge.net/nst/docs/scripts/nstpasswd.html nstpasswd] command. This is required to set all of the other passwords associated with accessing your NST system (like the NST WUI).

Revision as of 08:57, 4 November 2010

How Much Hard Disk Space Is Required?

A bare minimum install of the NST distribution takes less than 5 GB. However, this only provides enough room to boot the NST. If you plan on doing much of anything with the NST, you will want additional space for:

  • Logging data.
  • Database storage for tools like ntop and snort.
  • Room for adding additional packages to customize your NST system.
  • Room for updating the packages on the system.
  • Room for allocating a swap partition (unless you are using a USB flash drive).

So, we would really recommend that you allocate at least 8 GB of disk space for a "cramped" but usable hard disk installation.

If you don't plan on archiving vast amounts of data, then 16 GB of disk space should be sufficient for most situations.

Why Would I Want The NST On A Hard Disk?

There are numerous advantages to installing the NST on a hard disk.

  • You can adjust configuration files without losing your edits when you reboot.
  • You can adjust the default startup of the NST. For example, you could have the NST come up with snort enabled and checking the packets coming across the eth1 interface and have Nessus started and ready for use.
  • It simplifies the process of persisting your data.
  • You can add additional packages to your NST system and customize as you like.
  • You can run yum update to keep your system up to date (if you try this on a live boot you will likely run out of memory).
  • You can use the NST hard disk installation as a emergency boot partition should the operating system on your main partition fail to boot.

Can I Install The NST From The DVD I Booted?

Yes, you can install the NST to a disk partition after booting from the Live DVD media. The installation process should take less than 15 minutes.

Can I Install The NST From A USB Memory Stick?

Installing the NST to a hard disk partition requires booting a "live image" of the NST.

So, if your USB memory stick contains the "live image" of the NST, you will be able to install the NST to a disk partition after booting. The installation process should take less time than booting from DVD media.

However, if your USB memory stick contains a full installation of the NST (as opposed to a "live image"), you will not be able to install the NST to a disk partition.

See the "USB Live" and "USB Full Install" sections in the NST USB FAQ for more details.

What Command Does One Run To Install NST To A Hard Disk?

You can run the nstliveinst script from the command line to install the NST onto a hard disk partition.

Alternatively, if you boot to Graphical Desktop mode and log in using the GNOME desktop manager, you should find a icon on the desktop which can be used to perform the hard disk installation.

What Command Do I Run To Partition My Hard Disk?

The nstliveinst uses the standard Fedora installation tools. You will have the opportunity to partition your disk during the installation process.

If you would like to partition your disk prior to starting the installation process, you can use standard command line tools like cfdisk or fdisk.

For a graphical interface, you can use the gparted utility. If you are using a GNOME desktop, you should find "Gparted Partition Editor" under the "System Tools" menu.

What Is The Password After A Hard Disk Install?

Most likely you will have had the chance to choose a new root login password during the installation process.

However, it is possible to run the nstliveinst script such that the step of choosing a new initial root password is skipped. In this situation, the initial password will be: nst2003.

In either case, this initial password on pertains to logging into the system as the root user. The installation process does NOT update the other passwords on your system (like the one used to access the NST WUI). These passwords will be left at their factory default setting of: nst2003 and must be changed!

So regardless of the initial installation password, one of the first things you should do after booting from your new installation is to log in as root and run the nstpasswd command. This is required to set all of the other passwords associated with accessing your NST system (like the NST WUI).