Title | LAB - Mobile Computing Platform Setup |
---|---|
Author | Shefali Himanshu |
Course | Cloud and Mobile Security |
Institution | Federation University Australia |
Pages | 3 |
File Size | 241.3 KB |
File Type | |
Total Downloads | 45 |
Total Views | 156 |
lab work for cloud and mobile security from lab 1 _4...
ITECH3100 Mobile and Cloud Security
Lab – Mobile Computing Experimental Platform Setup Overview The aim of this lab is to setup mobile computing experimental platform by investigating the creation and management of a Linux terminal on Android phone, and an Android Virtual Machine on your localhost computer.
Time to complete 4 hours (Two supervised hours in the lab, and three additional hours, unsupervised).
Learning Activities: At the end of this lab, you should understand: § How to install terminal on your Android phone. § How to install Android virtual machine on your localhost desktop. § How to find solution in the case of error in software installation and configuration.
Resources § § § §
Computer with a minimum of 2 GB of RAM and 30 GB of free disk space High speed Internet access to download Oracle VirtualBox and the virtual machine image file https://uoa-eresearch.github.io/vmhandbook/doc/copy-file-linux.html https://wiki.termux.com/wiki/Getting_started
Note: The android virtual machine image file is about 2.5 GB, and can grow up to 5 GB after the virtual machine is in operation. You can delete the image file after the virtual machine is imported, otherwise the free disk space requirement is 8 GB.
Task Details Task One – Linux Terminal on Android Phone Termux is an Android terminal emulator and Linux environment application that works directly with no rooting or setup required. T1.1 if you are using Android phone, please go to Google Play Store to download Termux at your mobile phone. Investigate the Android Linux Terminal by starting Termux and type the command ifconfig at the prompt to determine the IP address of your Andriod phone.
Question:
CRICOS Provider No. 00103D
LAB - Mobile Computing Platform Setup.docx
Page 1 of 3
What is the IP address assigned to your Android terminal device? T1.2 Start the virtual machines installed on localhost, ping and telnet from the Termux to your localhost and multiple virtual machines installed on your localhost. If you have access to virtual machine on the cloud, please do the same to connect your mobile phone to cloud virtual machines as well. Question: Can you telnet to your localhost computer and virtual machine? How about your cloud virtual machine? T1.3 Find out what can you do with Termux via https://wiki.termux.com/ and install the following packages, $pkg $pkg $pkg $pkg $pkg $pkg $pkg
update upgrade install install install install install
bash termux-api termx-camera-info termux-camera-photo termimage
T1.4 have hand-on experience for a list of useful Termux commands as https://www.mrtechx.com/2017/10/usefulcommands-of-termux.html
‘Task
Two – Android Virtual Machine on Localhost
T2.1 if you have already installed Virtualbox on your localhost, please proceed to the next task. VMware Workstation Player and Oracle VirtualBox are two virtualization programs that you can download and install to support the image file. In this lab, you will use VirtualBox. a. Download the latest version of appropriate installation file based on your operating system via
https://www.virtualbox.org/wiki/Downloads b. Run the installer and accept the default installation settings.
T2.2 Download the following Android Linux virtual machine Images from internet. Android-7.1.zip:
https://drive.google.com/file/d/1ZbqY0L9eyUInvWO8LKdpBlQUWR69Hq8I/view?usp=sharing
T2.3 Import the downloaded virtual machine into the VirtualBox Inventory a. Open VirtualBox. Click File > Import Appliance… to import the virtual machine image, where a new window will appear. Specify the location of the virtual machine image file (.OVA file). b. Check the Reinitialize the MAC address of all network cards box at bottom of the window. Leave all other settings as default. Click Import. When the import process is complete, you will see the new Virtual Machine added to the VirtualBox inventory in the left panel. The virtual machine is now ready to use.
CRICOS Provider No. 00103D
LAB - Mobile Computing Platform Setup.docx
Page 2 of 3
T2.4 Start the Android Virtual Machine on VirtualBox and run the Terminal Emulator which is shown an icon on the desktop. Type the command ifconfig to find out the IP address of your virtual machine. Question: What is the IP address assigned to your virtual machine?
T2.5 Check connectivity between the Android virtual machine and the Internet, and open a Terminal at localhost, and check connectivity between you localhost and the Android virtual machine, using ping. Note that if the virtual machine is not able to connect Internet, you can adjust the VirtualBox network setting to “Bridged Adapter”, then restart your virtual machine. Question: Can your localhost ping AWS_UBUNTU? Locate and launch the web browser application. Can you navigate to your favourite search engine? T2.6 Download FileZilla Client from (https://filezilla-project.org), install the software on your localhost, and connect FileZilla on your local host to the virtual machine. (optional)
Submission You should demo your work of each task to your lab tutor to obtain feedback and receive credits for this lab. For online students, you should answer the questions, describe what they have done and what they have observed. They also need to explain the observations that are interesting or surprising. Please also list the important code snippets followed by an explanation. Simply attaching code without any explanation will not receive credits.
Feedback Feedback will be supplied either through Moodle or in-person during the laboratory session. Authoritative marks will be published through fdlMarks.
Plagiarism: Plagiarism is the presentation of the expressed thought or work of another person as though it is one's own without properly acknowledging that person. You must not allow other students to copy your work and must take care to safeguard against this happening. More information about the plagiarism policy and procedure for the university can be found at http://federation.edu.au/students/learning-and- study/online-help-with/plagiarism.
CRICOS Provider No. 00103D
LAB - Mobile Computing Platform Setup.docx
Page 3 of 3...