Details for revision 150 of testcase: Install (LAMP)



BugReport a bug against the content of this testcase
ID1404
TitleInstall (LAMP)
LinkNo link provided
Part of testsuitesUbuntu Server

RevisionWritten on the 2018-08-06 14:00 by flocculant
RevisionWritten on the 2018-03-06 14:45 by flocculant
RevisionWritten on the 2016-04-25 10:06 by flocculant
RevisionWritten on the 2014-04-11 03:31 by elfy
RevisionWritten on the 2014-01-23 11:14 by nskaggs
RevisionWritten on the 2014-01-23 10:58 by nskaggs
RevisionWritten on the 2013-10-07 11:24 by nskaggs
RevisionWritten on the 2013-06-04 18:53 by nskaggs
RevisionWritten on the 2013-05-30 17:33 by nskaggs
RevisionWritten on the 2013-03-28 16:29 by nskaggs
RevisionWritten on the 2013-02-22 12:31 by nskaggs
RevisionWritten on the 2012-10-11 14:28 by nskaggs
RevisionWritten on the 2012-10-11 13:53 by nskaggs
RevisionWritten on the 2012-08-17 09:16 by fabiomarconi
RevisionWritten on the 2012-08-15 14:43 by fabiomarconi
Text

Scope of this test is to verify that the system is installed, you can login into it, Apache and MySQL are working.

  1. Boot from CD or USB in real hardware or run the image in Testdrive
  2. Choose the desired language
  3. Select "Install Ubuntu Server"
  4. Choose the language
  5. Select your location
  6. Configure locales
  7. At configure keyboard page, select NO
  8. Select the country of the keyboard
  9. Select the keyboard layout
  10. Select hostname ubuntu as default
  11. Inser the name for the new user
  12. Insert the name for the account
  13. Choose a password
  14. Reinsert the password
  15. At encrypt request select NO
  16. Verify or setup the timezone
  17. At partitioning select "Guided - Use entire disk"
  18. Select disk to partition
  19. At "Write changes to disks", verify that everythings is right and select YES
  20. At "http proxy" request, let it blank and press enter
  21. At managing upgrades select "No automatic updates"
  22. At Software selection, choose "Manual package selection"
  23. Select to install Grub in the master boot record
  24. Remove the installation media (CDROM or USB key)
  25. Wait that the system reboot and login

Test Apache executing:

  1. w3m http://127.0.0.1/
    Press q and confirm to exit

Test MySQL executing:

  1. mysql -u root -p

If you set the MySQL root account with a password, you will be prompted to enter it now. You should then be presented with a mysql prompt mysql> where you can enter some mysql commands:

  1. show databases; connect mysql; select host,user from user;
  2. that will produce an output like:

    +--------------------+
    | Database           | 
    +--------------------+
    | information_schema | 
    | mysql              | 
    | performace_schema  | 
    | test               | 
    +--------------------+
    4 rows in set (0.00 sec)
    

    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker start up with -A

    Connection id: 41
    Current database: mysql

    +-----------+--------------------------+
    | host      | user                     |
    +-----------+--------------------------+
    | 127.0.0.1 | root                     |
    | ::1       | root                     |
    | localhost |                          |
    | localhost | debian-sys-maint         |
    | localhost | root                     |
    | ubuntu    |                          |
    | ubuntu    | root                     |
    +-----------+--------------------------+
    7 rows in set (0.00 sec)
    

Test PHP (command line) running:

  1. php -r 'phpinfo();'
  2. that will produce about 600 lines.
    Type exit to exit mysql

Test PHP (Apache mod_php) :

    Create a file called /var/www/phptest.php:
  1. sudo nano /var/www/phptest.php
    add the following text to the file:
  2. <? phpinfo(); ?>
    run it on w3m
  3. w3m localhost/phptest.php


If all actions produce the expected results listed, please submit a 'passed' result.
If an action fails, or produces an unexpected result, please submit a 'failed' result and file a bug. Please be sure to include the bug number when you submit your result
.