How to: setup a VM or Docker env

  1. first need to select a base image.
    • VM : lubuntu/ubuntu easiest, fedora safer but more complicated.
    • Docker: centos6 small fedora OS.
  2. run update the image with the package management.
  3. run install base-compliers and project required languages and package managers
  4. setup the users chmod and download any code base or tools
  5. sometimes with enterprise firewall, you need to insert certs in browser.
  6. If there are any custom configs like environment variables/paths.
    • leave the script that sets these thing up. because if i run system updates, those info might be lost. (my experience, docker image, port forwarding gone when i updated)
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s