How to use this box with Vagrant:

Vagrant.configure("2") do |config|
  config.vm.box = "faithfulprogramming/ubuntu-2204-desktop-lamp-phpmyadmin"
  config.vm.box_version = "1"
end
vagrant init faithfulprogramming/ubuntu-2204-desktop-lamp-phpmyadmin \
  --box-version 1
vagrant up

This version was created 2 months ago.

An Ubuntu linux (full-upgrade on 06.05.2024) enriched with the lamp stack (Apache: 2.4.52; MySql: 8.0.36; PHP: 8.1) and phpMyAdmin (5.1.1).

  • build from gusztavvargadr/ubuntu-desktop-2204-lts
  • sudo apt update && sudo apt full-upgrade -y (09.04.2024)
  • sudo apt autoremove
  • sudo apt autoclean
  • change keyboard layout to CH (no dead keys)
  • sudo apt install apache2 libapache2-mod-php php php-mysql mysql-server
  • create /var/www/html/index.php
  • insert <?php phpinfo(); ?> into index.php
  • rename /var/www/html/index.html into /var/www/html/_index.html
  • sudo systemctl restart apache2
  • sudo apt install phpmyadmin
  • sudo mysql
  • mysql> CREATE USER 'vagrant'@'localhost' IDENTIFIED BY 'vagrant';
  • mysql> GRANT ALL PRIVILEGES ON . TO 'vagrant'@'localhost' WITH GRANT OPTION;
  • sudo apt update && sudo apt full-upgrade -y (09.04.2024)
  • sudo apt autoremove
  • sudo apt autoclean
  • history -c && exit

Open phpMyAdmin home page in Firefox: http://localhost/phpMyAdmin

vagrant:vagrant

2 providers for this version.
  • virtualbox
    unknown Hosted by Vagrant Cloud (5.67 GB)
  • virtualbox
    amd64 Hosted by Vagrant Cloud