{"id":13464830,"url":"https://github.com/oracle-samples/db-appdev-vm","last_synced_at":"2025-08-13T02:46:34.429Z","repository":{"id":93184898,"uuid":"92315506","full_name":"oracle-samples/db-appdev-vm","owner":"oracle-samples","description":"Database Application Development Virtual Machine","archived":false,"fork":false,"pushed_at":"2024-05-29T10:57:35.000Z","size":1270,"stargazers_count":55,"open_issues_count":4,"forks_count":17,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-08-01T04:45:13.286Z","etag":null,"topics":["oracle-db"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-24T16:52:01.000Z","updated_at":"2025-05-19T00:21:56.000Z","dependencies_parsed_at":"2024-03-12T17:31:27.274Z","dependency_job_id":"6c4ef05e-e3ce-42f6-b6c4-151e9fdc49de","html_url":"https://github.com/oracle-samples/db-appdev-vm","commit_stats":null,"previous_names":["oracle/db-appdev-vm"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/oracle-samples/db-appdev-vm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-samples%2Fdb-appdev-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-samples%2Fdb-appdev-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-samples%2Fdb-appdev-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-samples%2Fdb-appdev-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle-samples","download_url":"https://codeload.github.com/oracle-samples/db-appdev-vm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-samples%2Fdb-appdev-vm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270170403,"owners_count":24539357,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["oracle-db"],"created_at":"2024-07-31T14:00:51.206Z","updated_at":"2025-08-13T02:46:32.831Z","avatar_url":"https://github.com/oracle-samples.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"Oracle Developer Day VM Builder\n===============================\n\nWelcome to the packer build for the Oracle Developer Day vm.  \nThis will build a Oracle Linux server and install a 18.3 Oracle database on the machine.  Follow the download instructions to download the software to install and follow the build instructions to build the machine.  You will need around 30gb of space free to store the downloads and run the build.\n\nThere are several directories which are used in the build\n\n1. put_files_here - place ALL downloaded software here\n2. output - The resultant VirtualBox OVA will be placed here\n3. upload - This directory has all the install scripts for the downloaded software.  \n\nMandatory Downloads\n-------------------\n**These two downloads are mandatory**.  If they are not here, the build will not start.\n\n* OracleLinux-R7-U3-Server-x86_64-dvd.iso (needs to be this exactly md5 checked)\n* LINUX.X64_180000_db_home.zip (183 has been verified - silent install may be incompatible with later versions)\n\nOptional Downloads\n--------------\nIf these files are available in the **put_files_here** directory, the build will try and install them.  \n\n* jdk-8u\\*-linux-x64.tar.gz - **Oracle JDK**\n* sqldeveloper-\\*-no-jre.zip - **Oracle SQL Developer**\n* datamodeler-\\*-no-jre.zip **Oracle SQLDeveloper Data Modeler**\n* sqlcl-\\*.zip - **Oracle SQLcl**\n* apex\\_\\*.zip - **Oracle Application Express** \n* ords\\*.zip - **Oracle REST Data Services** \n \nOracle Internal Files\n---------------------\nThese files may not be available publicly\n\n* demos.zip - **Oracle Hands on Labs demos**\n* reset_xmldbjson ** Reset XMLdb demos**\n* master.zip - **Oracle Sample Schema**\n* mozillablob.zip - **firefox .mozilla for (json viewer) plugins and or bookmarks**\n* storm.zip - **exp dump of non sensative material. For geo location optional demo.**\n\nBuild Instructions\n------------------\n\n\u003e**bash start.sh \"http://and_proxy_as_first_arg_if_wanted\" export**\n\nNOTE Proxy value will be in the logs from bash set -x stored in ~oracle/log \nIf you are inside a VPN, the proxy settings allow the VM to contact yum\nupdate servers. optional export to export the ova.\n\n![packer build](images/packerbuild.png)\n\nBuild Structure\n--------------------\n\n1. 1updateLinux.sh PROGRESS: 1/4 1updateLinux.sh - first script run - from plain iso. Set up second drive. Yum Updates. Reboot\n2. 2afterFirstReboot.sh  PROGRESS: 2/4 2afterFirstReboot.sh - after first reboot - before any oracle database software installed. install virtual box guest additions.\n3. 3topLevel.sh PROGRESS: 3/4 3topLevel.sh - main kick off script e.g. yum and call subscripts\n4. 3_1installDbtoolClientTools.sh PROGRESS: 3_1/4 3_1installDbtoolClientTools.sh - install dbtools client tools\n5. 3_2installDatabase.sh PROGRESS: 3_2/4 3_2installDatabase.sh - install the database with silent install\n6. 3_3passwordDoNotExpire.sh PROGRESS: 3_3/4 3_3passwordDoNotExpire.sh - Database post install updates - e.g. passwords do not expire.\n7. 3_4enableGeoRaster.sh PROGRESS: 3_4/4 3_4enableGeoRaster.sh - post database install and patches (if required)\n8. 3_5unzipLabDemos.sh PROGRESS: 3_5/4 3_5unzipLabDemos.sh - demos (labs)\n9. 3_6apexInstall.sh PROGRESS: 3_6/4 3_6apexInstall.sh - apex install\n10. 3_7ORDSInstall.sh PROGRESS: 3_7/4 3_7ORDSInstall.sh - ords install\n11. 3_8setupDemos.sh PROGRESS: 3_8/4 3_8setupDemos.sh - set up demos and run reset scripts\n12. PROGRESS: END OF SCRIPT: 4/4 for tracing information see local file log.zip\n\nTimings:\n\nMinimum (Oracle Linux + Oracle Database)  \nTotal time 60 mins (accounted for time + 7 mins rounding error / ignore \u003c2 minute).  \n\nboot,8  \nyum update,14  \nreboot ,3  \nrun database software install (not database build),3   \ndbca (database build),7  \npassword and 32kvarchar2,6  \nshrink (fill disk with 0 for easy compression),3  \n1 x 3 minute reboot + shutdown + minor \u003c1 minute stuff,10  \n\nMaximum (Including all optional extras APEX/ORDS/((internal) demos)  \nTotal time 113.5 mins (Accounted for time + 10.5 mins rounding error / ignore \u003c2 minute).  \nboot,9  \nyum update,14  \nreboot,3  \nrun database software install (not database build),4  \ndbca (database build),8  \npassword and 32kvarchar \u003cshould be same as minimum?\u003e,18  \napex install ,16  \nords install ,4  \nset up demos and run demo reset,18  \nshrink (fill disk with 0 for easy compression),2  \n1 x 3 minute reboot + shutdown + minor \u003c1 minute stuff - this is too long,9  \n\nRemoving the shrink.sh if not exporting - fills disk with 0 for easy compression.  \nRun shrink.sh over ssh if subsequently exporting to ova (brings ova file down 60% in size to under 8Gb)\n\n## Contributing\n\nThis project is not accepting external contributions at this time. For bugs or enhancement requests, please file a GitHub issue unless it’s security related. When filing a bug remember that the better written the bug is, the more likely it is to be fixed. If you think you’ve found a security vulnerability, do not raise a GitHub issue and follow the instructions in our [security policy](./SECURITY.md).\n\n## Security\n\nPlease consult the [security guide](./SECURITY.md) for our responsible security vulnerability disclosure process\n\n## License\n\nCopyright (c) 2017, 2023 Oracle and/or its affiliates.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-samples%2Fdb-appdev-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle-samples%2Fdb-appdev-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-samples%2Fdb-appdev-vm/lists"}