Skip to content

Latest commit

 

History

History
109 lines (89 loc) · 4.23 KB

README.md

File metadata and controls

109 lines (89 loc) · 4.23 KB

CentOS Stream 8 Developer Workstation with MATE Desktop

v8.6.20220711

CentOS Stream 8 workstation with MATE 1.26 desktop, VirtualBox 6.1.34 guest additions, development tools, Visual Studio Code, Google chrome, Firefox, Thunderbird, Docker CE, Go 1.18.3, Java (OpenJDK), Python 3.8, Python 3.9, Rust 1.60.0, MariaDB Server, kubectl, minikube, and CentOS updates as of July 11, 2022.

Building the stream8-mate box

Building the box file requires some manual preparation:

  • The stream8-mate.ks kickstart file should be copied to webserver accessible by the virtual machine

How to use the stream8-mate box

The box file has been uploaded to the Hashicorp Vagrant Cloud. The following shows an example usage of this box:

$ vagrant init gbailey/stream8-mate
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

To use the Mate desktop, modify the Vagrantfile to enable the VirtualBox graphical user interface:

  config.vm.provider "virtualbox" do |vb|
    # Display the VirtualBox GUI when booting the machine
    vb.gui = true

    # Customize the amount of memory on the VM:
    vb.memory = "2048"
  end
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'gbailey/stream8-mate' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'gbailey/stream8-mate'
    default: URL: https://vagrantcloud.com/gbailey/stream8-mate
==> default: Adding box 'gbailey/stream8-mate' (v8.6.20220305) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/gbailey/boxes/stream8-mate/versions/8.6.20220305/providers/virtualbox.box
    default: Calculating and comparing box checksum...
==> default: Successfully added box 'gbailey/stream8-mate' (v8.6.20220305) for 'virtualbox'!
==> default: Importing base box 'gbailey/stream8-mate'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'gbailey/stream8-mate' version '8.6.20220305' is up to date...
==> default: Setting the name of the VM: stream8-mate_default_1641264849211_74562
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
    default: /vagrant => /home/gbailey/stream8-mate
$ vagrant ssh
Activate the web console with: systemctl enable --now cockpit.socket

[vagrant@matevm ~]$ cat /etc/system-release
CentOS Stream release 8
[vagrant@matevm ~]$ uname -a
Linux matevm 4.18.0-365.el8.x86_64 #1 SMP Thu Feb 10 16:11:23 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Copyright

Copyright (C) 2022, Greg Bailey [email protected]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.