Tutorial Instalasi Sistem Operasi Debian Server pada VirtualBox

3 min read 6 months ago
Published on Aug 20, 2024 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

This tutorial provides a step-by-step guide to installing the Debian Server operating system on VirtualBox. This process is essential for those looking to set up a server environment for educational purposes, such as in a networking or computer technology class.

Step 1: Download Required Software

  • Visit the official VirtualBox website to download the latest version of Oracle VM VirtualBox: Oracle VM VirtualBox Downloads.
  • Download the Debian 8.7.1 64bit DVD-1 ISO file. Ensure you choose the correct architecture for your system.

Step 2: Install VirtualBox

  • Open the downloaded VirtualBox installer.
  • Follow the on-screen instructions to complete the installation.
    • Accept the license agreement.
    • Choose your installation options (default settings are usually sufficient).
  • Once installation is complete, launch VirtualBox.

Step 3: Create a New Virtual Machine

  • Click on New in the VirtualBox toolbar.
  • Name your virtual machine (e.g., "Debian Server").
  • Select Linux as the type and Debian (64-bit) as the version.
  • Click Next.

Step 4: Allocate Memory

  • Choose the amount of RAM to allocate to your virtual machine. A minimum of 1024 MB is recommended for Debian Server.
  • Click Next.

Step 5: Create a Virtual Hard Disk

  • Select Create a virtual hard disk now and click Create.
  • Choose VDI (VirtualBox Disk Image) and click Next.
  • Select Dynamically allocated and click Next.
  • Set the size of your virtual hard disk (at least 10 GB is recommended) and click Create.

Step 6: Configure Virtual Machine Settings

  • Select your newly created VM and click on Settings.
  • Go to the Storage tab:
    • Click on Empty under the Controller: IDE section.
    • Click on the disk icon on the right and select Choose a disk file.
    • Locate and select the Debian ISO file you downloaded.
  • Click OK to save your changes.

Step 7: Start the Virtual Machine

  • With the VM selected, click on Start.
  • The Debian installation menu will appear. Choose Install to begin the installation process.

Step 8: Follow the Debian Installation Steps

  • Select your preferred language and location.
  • Configure your network settings:
    • Choose whether to set up a hostname and domain name.
  • Set up users and passwords:
    • Create a root password and a regular user account.
  • Partition the disk:
    • Choose Guided – use entire disk for simplicity.
  • Follow the prompts to complete the installation, including selecting software to install (like SSH server).
  • When prompted, finish the installation and reboot.

Step 9: Access Your Debian Server

  • After rebooting, log in with the user credentials you created.
  • Update your package list by running:
    sudo apt-get update
    
  • You may also want to upgrade installed packages with:
    sudo apt-get upgrade
    

Conclusion

You have successfully installed Debian Server on VirtualBox. This setup is ideal for practicing server administration and networking tasks. For further exploration, consider setting up and configuring additional network services or learning about server management tools. Happy learning!