ServerInstall

Differences between revisions 25 and 40 (spanning 15 versions)
Revision 25 as of 2008-08-06 17:00:37
Size: 6512
Editor: localhost
Comment:
Revision 40 as of 2009-02-05 16:24:43
Size: 43
Editor: port-213-160-23-156
Comment: Redirected to the Testcases wiki.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<<Include(Testing/Cases/Header)>>

||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents(3)>>||

== Summary ==

 ''Server installs.''

== Procedure ==

<<Anchor(default)>>
=== Default installation ===

 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. No software selection.
 1. Reboot and login.

<<Anchor(bind9)>>
=== Bind9 ===

 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: '''DNS Server'''
 1. Reboot and login.
 1. 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)
 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: '''LAMP'''
 1. Reboot and login.
 1. '''Test Apache:'''
  * Execute {{{
w3m http://127.0.0.1/}}} in a terminal and verify that it's not a 404 error page.
 1. '''Test MySQL'''
  * Execute {{{
mysql -u root -p}}} 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;}}}:
    {{{
show databases; connect mysql; show tables; select * from user;
}}}

<<Anchor(lvm)>>
=== Default installation: LVM partitioning ===

 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 and LVM'''
 1. Select your time zone and set the system clock to UTC
 1. User account: enter username and password
 1. No software selection.
 1. Reboot and login.
 1. Make sure that the root file system is mounted from /dev/mapper/ubuntu-root:
   {{{
sudo mount}}}

<<Anchor(mail-server)>>
=== Mail server ===

 1. Boot CD and run the CD self-check (then reboot)
 1. Select preferred language
 1. Select '''Install to hard disk'''
 1. Choose your language, country and keyboard layout
 1. Set hostname: default - ubuntu
 1. Select your time zone and set the system clock to UTC
 1. Partition disks: Guided use entire disk
 1. User account: enter username and password
 1. Software selection: '''Mail Server'''
 1. Select configuration for Postfix (generally should be "Internet" or "Internet with smarthost")
 1. Reboot and login
 1. Confirm that postfix is running:
  * {{{
telnet 127.0.0.1 25}}} should connect to postfix. Type "quit" to disconnect.
 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:
  * {{{
echo foo | mail -s 'test' ${USER} }}}
  * Start {{{
mutt}}} - the test email should be in the inbox.

<<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(postgresql-server)>>
=== PostgreSQL Database 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: '''PostgreSQL Database'''
 1. Reboot and login.
 1. Check that the database is running:
 {{{
sudo -u postgres psql -l}}} should return a list of databases.
 1. Create a database user:
   {{{
sudo -u postgres createuser -DRS ${USER} }}} should create a user.
 1. Create a database:
   {{{
sudo -u postgres createdb -O ${USER} ${USER}_db}}} should create a database.
 1. Connect to the database:
   {{{
psql ${USER}_db}}} should start a psql shell connected to the database.

<<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(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 samba is running:
  * {{{pgrep smbd}}}, {{{pgrep nmbd}}}, {{{pgrep winbindd}}} should return the pid of the different processes:
  {{{
pgrep smbd; pgrep nmbd; pgrep winbindd
}}}
#refresh 0 http://testcases.qa.ubuntu.com

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