{"id":15878752,"url":"https://github.com/darkwizard242/devopsubuntu1804","last_synced_at":"2025-04-01T23:44:04.434Z","repository":{"id":104869444,"uuid":"156623660","full_name":"darkwizard242/devopsubuntu1804","owner":"darkwizard242","description":"DevOps-oriented Ubuntu 18.04 LTS (Bionic) Vagrant box built using Hashicorp Packer.","archived":false,"fork":false,"pushed_at":"2020-04-25T23:52:58.000Z","size":328,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T15:32:22.773Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://darkwizard242.github.io/devopsubuntu1804/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkwizard242.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-07T23:47:59.000Z","updated_at":"2023-02-12T20:47:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"736b07c7-cbd6-4f90-95f6-70ad0900e3f9","html_url":"https://github.com/darkwizard242/devopsubuntu1804","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fdevopsubuntu1804","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fdevopsubuntu1804/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fdevopsubuntu1804/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fdevopsubuntu1804/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkwizard242","download_url":"https://codeload.github.com/darkwizard242/devopsubuntu1804/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246730260,"owners_count":20824396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T02:41:42.664Z","updated_at":"2025-04-01T23:44:04.426Z","avatar_url":"https://github.com/darkwizard242.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## 1. devopsubuntu1804\n`devopsubuntu1804` is a Vagrant VM box with Base image of Ubuntu 18.04 LTS (Bionic) that has DevOps tools, programming/scripting languages and environments pre-installed and pre-configured to be ready to be used instantly after boot up.\n\n`devopsubuntu1804 Releases`: [Vagrant Cloud URL](https://app.vagrantup.com/darkwizard242/boxes/devopsubuntu1804)\n\nSupported Provider: **VirtualBox**\n\n#### Audience\nIT professionals, organizations, enthusiasts or learners with a focus or interest towards CI/CD/CM/Containerization/DevOps.\n\n#### Disclaimer:\nIt is expected that you have Vagrant and Virtualbox installed on your host machine (whether the host is Windows, Linux or OSX). If not, then please download/install [Vagrant](https://www.vagrantup.com/downloads.html) and [Virtualbox](https://www.virtualbox.org/wiki/Downloads).\n\n## 2. List of Tools and Languages:\n * _Docker_\n    * `Docker version 18.06.1-ce, build e68fc7a`\n * _Ansible_\n    * `ansible 2.7.1`\n * _Jenkins_\n    * `Jenkins ver. 2.138.2`\n * _Git_\n    * `git version 2.17.1`\n * _Python_\n    * `Python 2.7.15rc1`\n * _Java_\n    * `openjdk version \"1.8.0_181\"`\n * _etc.._\n \nAll of the tools have been preset to run at boot time using the `init` system, so you don't have to worry about doing that and can instantly get on to working with these awesome tools!\n\n\n## 3. Virtualizing `devopsubuntu1804` on Vagrant\nThis section covers easy to use steps to get started with downloading and virtualizing `devopsubuntu1804` virtual environment.\n\n### 3.1. Single Machine Mode:\nSingle Machine mode is a mode where you will only be initializing a fresh vagrant virtual envrionment to use`devopsubuntu1804`. Open CMD (for **Windows** host) or Terminal (for **Linux/OSX** host), then change to a directory of your liking on the Command Prompt or Terminal and run the following command:\n\n```shell\nvagrant init darkwizard242/devopsubuntu1804\n```\n\nNow that `Vagrantfile` has been created for `devopsubuntu1804`, you can initialize/boot up the box (it will download the box if not already downloaded) using the following command:\n\n```shell\nvagrant up\n```\n\nOnce the box is up, do `vagrant ssh` and you will be within the virtualized box.\n\n### 3.2. Multi Machine Mode:\nAs per Vagrant's website, \"Vagrant is able to define and control multiple guest machines per Vagrantfile. This is known as a 'multi-machine' environment.\" So if you are running in a **multi-machine mode**, you can simple add the following chunk within the existing Vagrantfile:\n\n```shell\nconfig.vm.define \"mydevopsbox\" do |mydevopsbox|\n   mydevopsbox.vm.box = \"darkwizard242/devopsubuntu1804\"\n   mydevopsbox.vm.hostname = 'mydevopsbox'\nend\n```\n\nNow run the following command so that the box can be downloaded (if not already) and be booted up:\n```shell\nvagrant up mydevopsbox\n```\n\nOnce the box is up, do `vagrant ssh mydevopsbox` and you will be within the virtualized box.\n\n\n## 4. Users - for `devopsubuntu1804` Vagrant box\nDocker, Ansible and Jenkins each have their own respective system users i.e. `docker` , `ansible` \u0026 `jenkins`.\n\nLike any other vagrant box, you can easily ssh into devopsubuntu1804 using the default `vagrant ssh` command and make use of any of the other system level users or application level ones as you like.\n\n### 4.1. Type and list of users and passwords:\n\nBelow is table listing the type of users as well as their usernames and passwords:\n\n\n|          User Type           |                  Username                |              Password              |\n|        -------------       |                  -------------           |               -------------       |\n|           System User        |                    vagrant               |                 password           |\n|           System User        |                    root                  |                 password           |\n|           System User        |                    docker                |                 password           |\n|           System User        |                    ansible               |                 password           |\n|           System User        |                    jenkins               |                 password           |\n|Jenkins Web-Application Console|                    admin                |                 admin              |\n\n\n**NOTE:** _Though, the passwords for all of the users have been set by default by me so that anyone can use them easily. I would highly recommend to change the passwords of system level users via `root` user using the following commands:_\n\n * `passwd vagrant`\n * `passwd root`\n * `passwd docker`\n * `passwd ansible`\n * `passwd jenkins`\n \n### 4.2. Users and permissions:\n\n\nFollowing users have already been added as **sudoers** with privileges to perform desired operations without supplying passwords:\n\n```shell\nroot@devopsubuntu1804:~# egrep -w 'ansible|docker|vagrant|jenkins' /etc/sudoers\nvagrant ALL=(ALL) NOPASSWD: ALL\nansible ALL=(ALL) NOPASSWD: ALL\ndocker  ALL=(ALL) NOPASSWD: ALL\njenkins ALL=(ALL) NOPASSWD: ALL\n```\n\n### 4.3. Users and home directories:\n\nFollowing table consists the system **users** and their `$HOME` directories.\n\n|          User                |            Home Directory                |\n|        :-------------       |                  :-------------         |\n|           root               |                    /root                 |\n|           vagrant            |                    /home/vagrant         |\n|           ansible            |                    /home/ansible         |\n|           docker             |                    /home/docker          |\n|           jenkins            |                    /var/lib/jenkins      |\n\n## 5. Acknowledgements:\n * [Vagrant](https://www.vagrantup.com/)\n * [Ubuntu](https://www.ubuntu.com/)\n\n## 6. Authors:\n * [Ali Muhammad](https://www.linkedin.com/in/ali-muhammad-759791130/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fdevopsubuntu1804","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkwizard242%2Fdevopsubuntu1804","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fdevopsubuntu1804/lists"}