Giter VIP home page Giter VIP logo

debian-install's Introduction

Debian 12 dotfiles and window manager files

Install a base Debian12 without Desktop Enviroment.

I tend to install some base tools before I snapshot a vBoxVM.

apt install sudo curl git neovim nano zsh zplug

if you used to give root a password and direct access you need to allow the non-root user to run sudo

I do that by editing sudoers file with visudo and leave the default group like [%sudo ALL=(ALL:ALL) ALL]

visudo will take your system default editor (nano,vim etc. )

afterwards you need to add your non-root user to the sudo group ###Add user to sudo group

usermod -aG sudo $USERNAME

I prefer the zsh as default shell

set zsh default shell

chsh -s /bin/zsh

for git you can use your git account details in your home directory

git config --global user.name "USERNAME" 
git config --global user.email "EMAIL@xxxxxxxx"

If you plan to use docker set docker access for the non root user

Add docker group

   sudo groupadd docker

Add your current user to docker group

  sudo usermod -aG docker $USER

Switch session to docker group

  newgrp - docker

Run an example to test

   docker run hello-world

For dwm

   sudo apt install xserver-xorg-core xserver-xorg-video-amdgpu xinit xinput x11-xserver-utils libx11-dev libxinerama-dev libxft-dev
   sudo apt install build-essential make alacritty firefox-esr pipewire  

prepare your config directories in your home directory

   mkdir -p ~/.config
   cd .config
   git clone https://git.suckless.org/dwm 
   cd dwm

set alacritty as terminal

static cons char *termcmd change st to alacritty

    nano config.def.h
    cp config.def.h config.h
    make
    sudo make install
   cd ~./config 
   git clone https://git.suckless.org/dmenu
   cd dmenu
   sudo make install 
   cd 
   nvim .xinitrc
   exec dwm

debian-install's People

Contributors

inode65 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.