Skip to content

junaga/debian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debian 12 //debian.org

I use the Debian operating system almost everywhere, with and without a graphical interface,

  • on Windows
  • container, VPS, dedicated server
  • x86 Laptop and Desktop

Installation

On Windows 10 or 11 wsl.exe install debian or ubuntu. WSL installs the latest version: stable, as of writing that's Debian GNU/Linux 12: bookworm.

wsl.exe --install debian
REM enter username
REM enter password
REM enter password

Hello World

With an $EDITOR like VS Code you can manually configure ~/.

ls -a ~/
code ~/

cd ~/
echo "Hello, World!" >> hello.md
cat hello.md

sudo ping google.com
# CTRL+C

uname # Linux
hostnamectl # Debian GNU/Linux 12 (bookworm)
getent hosts deb.debian.org # fastlydns.net
whoami

In wsl.exe you can run Windows programs on Linux files!

explorer.exe .

Configuration

Install packages and copy dotfiles.

sudo bash ./script/upgrade.sh
rm ~/.bash_logout
cp -r ./home/. ~/.
source ~/junaga.sh
bash ./script/config.sh

exit
# enter bash

(Optional) Move ~/ somewhere else

sudo sed -i "s/\/home\/$USER/\/usr\/local/" /etc/passwd
sudo chown -R $USER:$USER /usr/local/
cp -r /home/$USER/. /usr/local/.
sudo rm -r /home/

exit
# enter bash

About

scripts and dotfiles

Resources

Stars

Watchers

Forks