Giter Club home page Giter Club logo

archsetup's Introduction

Arch Linux Setup on Hyper-V ๐Ÿ–ฅ๏ธ๐Ÿง

Overview

This guide will help you set up an Arch Linux virtual machine on Hyper-V with enhanced session mode and custom configurations. Follow the steps below to create, configure, and customize your Arch Linux VM.

  • NOTE: By default right now the root user and your username will use password as the default password.

Prerequisites

  • Hyper-V installed on your host machine
  • Basic knowledge of Hyper-V and command-line usage

Step-by-Step Guide

1. Creating the Arch Linux VM ๐Ÿ› ๏ธ

First, create an Arch Linux VM in Hyper-V. Refer to the images in the readme_images folder for visual guidance:

  1. Quick Create โœจ

    Quick Create Use the Quick Create feature in Hyper-V to create a new VM.

  2. RAM Allocation ๐Ÿง 

    RAM Allocation Allocate the desired amount of RAM to your VM.

2. Pre-Boot Configuration โš™๏ธ

Before booting the VM, enable host support for enhanced session mode:

Set-VM -VMName "ArchLinux" -EnhancedSessionTransportType HvSocket

Replace "ArchLinux" with the name of your VM.

First Boot ๐Ÿš€

First Boot Boot the VM for the first time and proceed with the Arch Linux installation.

3. Initial Setup ๐Ÿ

Run the initial setup script to install Arch Linux:

curl https://raw.githubusercontent.com/pentestfunctions/archsetup/main/setup.sh > setup.sh
chmod +x setup.sh
./setup.sh

This script will install Arch Linux and reboot the VM.

4. Post-Installation Configuration ๐Ÿ› ๏ธ

After rebooting, log in with the default credentials (username:password), then proceed with the following steps:

  1. Clone the Setup Repository ๐Ÿ“‚

    git clone https://github.com/pentestfunctions/archsetup.git
    cd archsetup
  2. Configure Hyper-V Enhanced Mode ๐Ÿ–ฅ๏ธ

    chmod +x hypervsetup.sh
    ./hypervsetup.sh

    Reboot the system after running this script. Connect using the enhanced RDP session prompt.

5. Customization ๐ŸŽจ

Customize your Arch Linux setup with the provided script:

  1. Run the Customization Script ๐Ÿ› ๏ธ

    cd archsetup
    chmod +x customize.sh
    ./customize.sh

    Customize Settings Follow the prompts to customize your setup.

  2. Edit Settings โš™๏ธ Edit Settings Adjust any additional settings as needed.

6. Install Essential Tools ๐Ÿ› ๏ธ

Finally, install essential tools and applications:

yay -S nano lolcat brave --noconfirm

7. Install my toolset or you can install your own ๐Ÿงฐ

After the tools are installed, you can rerun this script and everything should be green.

chmod +x install_tools.sh
./install_tools.sh

Close and relaunch your terminal to apply transparency settings if configured.

WoooHooo! ๐ŸŽ‰

Your Arch Linux VM on Hyper-V is now set up with enhanced session mode and customized settings. You can start installing and configuring additional tools as per your requirements. Enjoy your new Arch Linux environment! ๐Ÿš€

Finito

archsetup's People

Contributors

pentestfunctions avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.