Details for 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
Text

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

Proceed in your native language if you wish. Instructions will remain in English

Boot up the image
Choose the desired language
Select "Install Ubuntu Server"
Choose the language
Select your location
Configure locales
At configure keyboard page, select NO
Select the country of the keyboard
Select the keyboard layout
Select hostname ubuntu as default
Insert the name for the new user
Insert the name for the account
Choose a password
Reinsert the password
At encrypt request select NO
Verify or setup the timezone
At partitioning select "Guided - Use entire disk"
Select disk to partition
At "Write changes to disks", verify that everythings is right and select YES
At "http proxy" request, leave it blank and press enter
At managing upgrades select "No automatic updates"
At Software selection, choose "LAMP server" with arrows, select it with "space bar" and confirm with "Enter"
Select to install Grub in the master boot record
Remove the installation media (CDROM or USB key)
Wait that the system reboot and login
Test Apache:
w3m http://127.0.0.1/
Press q and confirm to exit
Test MySQL:
sudo mysql
You should then be presented with a mysql prompt mysql> where you can enter some mysql commands:
show databases; connect mysql; select host,user from user;
that will produce an output like:
                +--------------------+
                | Database           |
                +--------------------+
                | information_schema |
                | mysql              |
                | performance_schema |
                | sys                |
                +--------------------+
                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 startup with -A

                Connection id:    7
                Current database: mysql

                +-----------+------------------+
                | host      | user             |
                +-----------+------------------+
                | localhost | debian-sys-maint |
                | localhost | mysql.session    |
                | localhost | mysql.sys        |
                | localhost | root             |
                +-----------+------------------+
                4 rows in set (0.00 sec)
            
Type exit to exit mysql
Test PHP (command line)
php -r 'phpinfo();'
That will produce about 600 lines.
Test PHP (Apache mod_php)
Create a file called /var/www/html/phptest.php:
sudo nano /var/www/html/phptest.php
add the following text to the file:
<?php phpinfo(); ?>
run it on w3m
w3m localhost/phptest.php
Verify it outputs the text from phpinfo()

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.

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