|Saturday||09/15/2018 at 01:00PM|
This assignment will not be graded.
Ask all your questions on Piazza. Assign assignment0 tag to your posts.
The objective of this assignment is to setup your development environment, acquire tools we will use for this course and to familiarize yourself with Piazza.
- Setup Real-Time email notifications for Piazza. Details can be found here.
Account Sign Ups¶
- Sign up for Github Student Developer pack. In Spring 2018 husky.neu.edu student id does not work for signup. You can use your northeastern.edu id.
- Sign up for AWS Educate but do not create AWS Educate Starter Accounts. You will need the regular AWS accounts for this course. See note below for difference between AWS Educate Starter Account and AWS Account.
- Create your Namecheap account.
- Create your Github and TravisCI accounts.
Should I apply for an AWS Educate Starter Account instead of an AWS Account?
Selecting an AWS account allows for the greatest amount of flexibility, access to AWS services, eligibility for AWS Free Tier in year one, post-graduation portability, and a larger AWS credit amount through the AWS Educate program. The AWS Educate Starter Account is a great alternative only if you do not have access to a credit card.
Setup Development Environment¶
- If the primary Operating System on your laptop is not Fedora or CentOS, you must install Oracle Virtual Box on your laptop. Create a virtual machine with Fedora 28 operating system with enough RAM (4-8 GB), CPU (1-2) and disk (25 - 50GB). We will use Fedora 28 for our development desktop environment and CentOS for our servers. You may dual boot your machine with Fedora 28 if you want to avoid working in a virtual machine. You must use virtual machine for development if your host operating system is Windows or Mac.
- To improve performance of your virtual machine, install VirtualBox Guest Additions in your VM and reboot it before installing anything else.
- Install Java 8 or 9 in your dev virtual machine. Make sure
javais available in your PATH. You may install Oracle JDK or OpenJDK.
- Install and setup
git. You may also install a git GUI client.
- Install a text editor you are most familiar with. Recommended text editors are Visual Studio Code, Atom Text Editor and Sublime Text.
How do I enable hardware virtualization technology (VT-x) for use in Virtualbox?
Taking Snapshots of Virtual Machines¶
For those of you using Virtual Box, I recommend taking a snapshot of your VM at following times at minimum:
- Install the operating system and Virtual Box guest additions.
- Install pre-requisite tools and software.
See https://www.virtualbox.org/manual/ch01.html#snapshots on what snapshots are and how it works. It will save you lot of headache if there is a problem with your Linux install. You will be able to revert to a snapshot instead of doing a fresh install.
Backup your Virtual Box VMs to external drive¶
As you setup your development virtual machine, I would recommend that you fully backup your Virtual Box VM directory to an external hard disk. This will come handy if your hardware crashes or your laptop hard disk fails. See https://superuser.com/questions/633431/whats-the-recommended-way-to-move-a-virtualbox-vm-to-another-computer.
Share Your Computer’s Files With a Virtual Machine¶
By default, virtual machines do not have access to files on the host computer or on other virtual machines. If you want to provide that access, you must set up shared folders in your virtual machine app. To help the guest operating system inside the virtual machine understand what’s going on, virtual machine apps present these shared folders as network file shares. The guest operating system accesses a folder on your PC just like it would a shared folder on a network.
You will not submit anything for this assignment.
Following guidelines are for information only and are subject to change at my discretion.