ServerInstall

Differences between revisions 1 and 12 (spanning 11 versions)
Revision 1 as of 2007-09-19 20:37:09
Size: 2492
Editor: c55DDBF51
Comment: new
Revision 12 as of 2007-10-11 15:41:15
Size: 5407
Editor: dsl-207-112-81-102
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Contents'''[[BR]][[TableOfContents(3)]]||
Line 5: Line 7:
 ''Server installs with full disk, LVM, bind9 and LAMP setups .''  ''Server installs.''
Line 9: Line 11:
[[Anchor(default)]]
Line 21: Line 24:
[[Anchor(lvm)]]
Line 32: Line 36:
 1. Make sure that the root file system is mounted from /dev/mapper/ubuntu-root:
   {{{sudo mount}}}
Line 33: Line 39:
[[Anchor(bind9)]]
Line 42: Line 49:
 1. Software selection: '''bind9'''  1. Software selection: '''DNS Server'''
Line 47: Line 54:
[[Anchor(lamp)]]
Line 62: Line 70:

[[Anchor(print-server)]]
=== Print server ===

 1. Boot CD and run the CD self-check (then reboot)
 1. Select '''Install to hard disk'''
 1. Choose your language, country and keyboard layout
 1. Set hostname: default - ubuntu
 1. Partition disks: Guided use entire disk
 1. Select your time zone and set the system clock to UTC
 1. User account: enter username and password
 1. Software selection: '''Print Server'''
 1. Reboot and login.
 1. '''Test cupsys:'''
   * {{{sudo /etc/init.d/cupsys status}}} should state the cupsd is running.

[[Anchor(openssh-server)]]
=== Openssh server ===

 1. Boot CD and run the CD self-check (then reboot)
 1. Select '''Install to hard disk'''
 1. Choose your language, country and keyboard layout
 1. Set hostname: default - ubuntu
 1. Partition disks: Guided use entire disk
 1. Select your time zone and set the system clock to UTC
 1. User account: enter username and password
 1. Software selection: '''Openssh Server'''
 1. Reboot and login.
 1. Confirm that sshd is running:
  * {{{pgrep sshd}}} should return the pid of sshd.
  * If you can, try to connect to the server from a remote client.

[[Anchor(samba-server)]]
=== Samba server ===

 1. Boot CD and run the CD self-check (then reboot)
 1. Select '''Install to hard disk'''
 1. Choose your language, country and keyboard layout
 1. Set hostname: default - ubuntu
 1. Partition disks: Guided use entire disk
 1. Select your time zone and set the system clock to UTC
 1. User account: enter username and password
 1. Software selection: '''Samba Server'''
 1. Reboot and login.
 1. Confirm that sshd is running:
  * {{{pgrep smbd}}}, {{{pgrep nmbd}}}, {{{pgrep winbindd}}} should return the pid of the different processes.

[[Anchor(mail-server)]]
=== Mail server ===

 1. Boot CD and run the CD self-check (then reboot)
 1. Select '''Install to hard disk'''
 1. Choose your language, country and keyboard layout
 1. Set hostname: default - ubuntu
 1. Partition disks: Guided use entire disk
 1. Select your time zone and set the system clock to UTC
 1. User account: enter username and password
 1. Software selection: '''Mail Server'''
 1. Reboot and login.
 1. Confirm that postfix is running:
  * {{{telnet 127.0.0.1 25}}} should connect to postfix.
 1. Confirm that dovecot pop3 and imap servers are running:
  * {{{sudo netstat -ltnp | grep dovecot}}} should list 4 dovecot instances (port 110, 143, 993 and 995).
 1. Send a test email:
  * {{{mail -s 'test' ${USER} }}}
  * Start {{{mutt}}} - the test email should be in the inbox.

Include(Testing/Cases/Header)

Summary

  • Server installs.

Procedure

Anchor(default)

Default installation

  1. Boot CD and run the CD self-check (then reboot)
  2. Select Install to hard disk

  3. Choose your language, country and keyboard layout
  4. Set hostname: default - ubuntu
  5. Partition disks: Guided use entire disk

  6. Select your time zone and set the system clock to UTC
  7. User account: enter username and password
  8. No software selection.
  9. Reboot and login.

Anchor(lvm)

Default installation: LVM partitioning

  1. Boot CD and run the CD self-check (then reboot)
  2. Select Install to hard disk

  3. Choose your language, country and keyboard layout
  4. Set hostname: default - ubuntu
  5. Partition disks: Guided use entire disk and LVM

  6. Select your time zone and set the system clock to UTC
  7. User account: enter username and password
  8. No software selection.
  9. Reboot and login.
  10. Make sure that the root file system is mounted from /dev/mapper/ubuntu-root:
    • sudo mount

Anchor(bind9)

Bind9

  1. Boot CD and run the CD self-check (then reboot)
  2. Select Install to hard disk

  3. Choose your language, country and keyboard layout
  4. Set hostname: default - ubuntu
  5. Partition disks: Guided use entire disk
  6. Select your time zone and set the system clock to UTC
  7. User account: enter username and password
  8. Software selection: DNS Server

  9. Reboot and login.
  10. Confirm that bind is running:
    • pgrep named should return the pid of named.

Anchor(lamp)

LAMP

  1. Boot CD and run the CD self-check (then reboot)
  2. Select Install to hard disk

  3. Choose your language, country and keyboard layout
  4. Set hostname: default - ubuntu
  5. Partition disks: Guided use entire disk
  6. Select your time zone and set the system clock to UTC
  7. User account: enter username and password
  8. Software selection: LAMP

  9. Reboot and login.
  10. Test Apache:

    • Execute wget http://127.0.0.1/apache2-default/index.html in a terminal and verify that it is the same as /var/www/apache2-default/index.html (i.e. 'diff index.html /var/www/apache2-default/index.html').

  11. Test MySQL

    • Execute mysql -u root in a terminal. You should then be presented with a mysql prompt mysql>  where you can enter mysql commands. Some commands you can use to verify the installation are show databases;, connect mysql;, show tables;, and select * from user;.

Anchor(print-server)

  1. Boot CD and run the CD self-check (then reboot)
  2. Select Install to hard disk

  3. Choose your language, country and keyboard layout
  4. Set hostname: default - ubuntu
  5. Partition disks: Guided use entire disk
  6. Select your time zone and set the system clock to UTC
  7. User account: enter username and password
  8. Software selection: Print Server

  9. Reboot and login.
  10. Test cupsys:

    • sudo /etc/init.d/cupsys status should state the cupsd is running.

Anchor(openssh-server)

Openssh server

  1. Boot CD and run the CD self-check (then reboot)
  2. Select Install to hard disk

  3. Choose your language, country and keyboard layout
  4. Set hostname: default - ubuntu
  5. Partition disks: Guided use entire disk
  6. Select your time zone and set the system clock to UTC
  7. User account: enter username and password
  8. Software selection: Openssh Server

  9. Reboot and login.
  10. Confirm that sshd is running:
    • pgrep sshd should return the pid of sshd.

    • If you can, try to connect to the server from a remote client.

Anchor(samba-server)

Samba server

  1. Boot CD and run the CD self-check (then reboot)
  2. Select Install to hard disk

  3. Choose your language, country and keyboard layout
  4. Set hostname: default - ubuntu
  5. Partition disks: Guided use entire disk
  6. Select your time zone and set the system clock to UTC
  7. User account: enter username and password
  8. Software selection: Samba Server

  9. Reboot and login.
  10. Confirm that sshd is running:
    • pgrep smbd, pgrep nmbd, pgrep winbindd should return the pid of the different processes.

Anchor(mail-server)

Mail server

  1. Boot CD and run the CD self-check (then reboot)
  2. Select Install to hard disk

  3. Choose your language, country and keyboard layout
  4. Set hostname: default - ubuntu
  5. Partition disks: Guided use entire disk
  6. Select your time zone and set the system clock to UTC
  7. User account: enter username and password
  8. Software selection: Mail Server

  9. Reboot and login.
  10. Confirm that postfix is running:
    • telnet 127.0.0.1 25 should connect to postfix.

  11. Confirm that dovecot pop3 and imap servers are running:
    • sudo netstat -ltnp | grep dovecot should list 4 dovecot instances (port 110, 143, 993 and 995).

  12. Send a test email:
    • mail -s 'test' ${USER} 

    • Start mutt - the test email should be in the inbox.

Testing/Cases/ServerInstall (last edited 2009-02-05 16:24:43 by port-213-160-23-156)