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

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

Boot from CD or USB in real hardware or run the image in Testdrive
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
Inser 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, let 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:
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:
show databases; connect mysql; select host,user from user;
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)
			
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/phptest.php:
sudo nano /var/www/phptest.php
add the following text to the file:
<? 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 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