Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
YouTube Security VideosAndroid Police: Samsung is smashing records! #shorts #tech #phones(21.09.2026 um 13:55 Uhr)
YouTube Security Videosheise & c't: Bundesnetzagentur wollte diesen Futterautomaten verbieten(21.09.2026 um 13:53 Uhr)
YouTube Security VideosNeil Patel: Your Google Traffic Isn't An Asset It's A Loan #shorts(21.09.2026 um 14:05 Uhr)
Windows Tipps & SecurityF-14 A Tomcat Top Gun endlich als Revell Klemmbausteinmodell erhältlich(21.09.2026 um 14:27 Uhr)
Sichere ProgrammierungShow the Hand-Back Sample Before Approving an Agent Score(21.09.2026 um 14:15 Uhr)
Sichere ProgrammierungHybrid retrieval in one Postgres query: RRF over tsvector + pgvector(21.09.2026 um 14:15 Uhr)
YouTube Security VideosAndroid Police: Samsung is smashing records! #shorts #tech #phones(21.09.2026 um 13:55 Uhr)
YouTube Security Videosheise & c't: Bundesnetzagentur wollte diesen Futterautomaten verbieten(21.09.2026 um 13:53 Uhr)
YouTube Security VideosNeil Patel: Your Google Traffic Isn't An Asset It's A Loan #shorts(21.09.2026 um 14:05 Uhr)
Windows Tipps & SecurityF-14 A Tomcat Top Gun endlich als Revell Klemmbausteinmodell erhältlich(21.09.2026 um 14:27 Uhr)
Sichere ProgrammierungShow the Hand-Back Sample Before Approving an Agent Score(21.09.2026 um 14:15 Uhr)
Sichere ProgrammierungHybrid retrieval in one Postgres query: RRF over tsvector + pgvector(21.09.2026 um 14:15 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Spin Up, Explore, and Destroy: A Complete Beginner’s Guide to Using Vagrant with Ubuntu (Visual Walkthrough)

Prerequisites Before we begin, make sure you have: Vagrant installed → Download here VirtualBox (or any supported provider) A terminal or command prompt Basic command-line familiarity That’s it! Let’s get started. Step 1: Create a New V…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Prerequisites

Before we begin, make sure you have:




  • Vagrant installed → Download here

  • VirtualBox (or any supported provider)

  • A terminal or command prompt

  • Basic command-line familiarity
    That’s it! Let’s get started.



Step 1: Create a New Vagrant Project



First, create a folder for your new virtual machine setup and initialize it with the Ubuntu box:




mkdir vagrant-ubuntu
cd vagrant-ubuntu
vagrant init ubuntu/jammy64
vi vagrant #this is to edit the file,






once you opened the file make sure to uncomment the private network line which contains the public address of the os and the public address line





This creates a file called Vagrantfile — the heart of your configuration





Step 2: Configure the Vagrantfile



Open the Vagrantfile with your favorite editor and tweak the settings.

You can adjust CPU, memory, and network configurations easily.



Example configuration:




Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/jammy64"

# Optional: forward host port 8080 to guest port 80
# config.vm.network "forwarded_port", guest: 80, host: 8080

# Provider-specific settings
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
vb.cpus = 2
end








Step 3: Start the Virtual Machine



Once your configuration is ready, start the VM using:



vagrant up



This command downloads the Ubuntu box (if it’s your first time) and boots it up.

You’ll see messages as Vagrant connects to VirtualBox and starts provisioning the machine.





Step 4: Connect to Your Virtual Machine



Once it’s running, you can log into your Ubuntu VM:




vagrant ssh








If everything went well, you’ll see the Ubuntu welcome message, along with system stats and login info.



Step 5: Run Basic Commands Inside the VM



Now that you’re inside, you can explore and test basic commands:




whoami           # should print 'vagrant'
mkdir testfile
touch textfile.txt
ls
rm textfile.txt
rmdir testfile






You can also install packages, configure software, or run a web app — it’s your sandboxed Linux environment!





Step 6: Stop and Destroy the VM



When you’re done experimenting, you can safely shut down or completely remove the VM:




vagrant halt       # stops the virtual machine
vagrant destroy # permanently deletes the VM






This frees up your system resources and ensures a clean slate for next time.





This workflow is especially powerful for testing backend apps, DevOps scripts, or server configurations safely. Once you’re comfortable, try automating it with provisioning tools like Ansible or deploying pre-configured images.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Spin Up, Explore, and Destroy: A Complete Beginner’s Guide to Using Vagrant with Ubuntu (Visual Walkthrough)

Thematisch verwandte Begriffe: Spin, Explore, Destroy, Complete · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94097 | A vulnerability was determined in Netcore NBR200V2 1.3.241127.071246. Th…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick