Compare commits

..

10 Commits

Author SHA1 Message Date
_N3m0 ea81ccc78f update readme : add tmux & nvim dotfile 2023-12-11 10:11:03 +01:00
_N3m0 3b08305ddb update readme.md 2023-12-11 09:50:30 +01:00
_N3m0 877d553ccf add readme.md 2023-12-11 09:48:41 +01:00
_N3m0 cfce0d7f53 load fr keys 2023-07-07 13:11:40 +02:00
_N3m0 e842f856f0 hamood 2023-05-26 12:29:11 +02:00
_N3m0 ccc0f634bb sep archinstall et linuxrc 2023-05-26 12:01:11 +02:00
_N3m0 9759b5823b auto startx at boot 2023-05-26 11:50:56 +02:00
_N3m0 e0b5f5d888 normallement sa fonctionne 2023-05-26 11:07:25 +02:00
_N3m0 0efe6ffa93 cp+exec+rm linuxrc on mount 2023-05-26 10:08:13 +02:00
_N3m0 41244a1639 modif param par defaut 2023-05-26 09:54:14 +02:00
3 changed files with 34 additions and 10 deletions

14
README.MD Normal file
View File

@ -0,0 +1,14 @@
# linux rc
## archInstall.sh
script qui install arch linux sur une machine.
la configuration ce fait dans le script, les variables a modifiés sont noté et expliqué,
la methode d'installation est dans le script aussi, afin de facilité l'installation une fois dans le terminal sans acces a internet.
## linuxrc.sh
script d'installation de l'environnement de bureau perso, installe ma config de dwn st dmenu tmux et nvim depuis mon depot git [dotsuckless](https://github.com/CaptainBoulbi/dotsuckless.git).
et install mes script bash depuis mon depot git [script-linux](https://github.com/CaptainBoulbi/script-linux.git), puis configure XDG base directory et crée ma structure de dossier a ~.

View File

@ -65,7 +65,7 @@ USRNAME=usr # nom de l'utilisateur principale
USRPWD=$ROOTPWD # mdp utilisateur principale
SUDOERS=1 # 1=droit sudo; 0=pas droit sudo
SUDOSANSPASSWD=1 # sudo cmd sans mdp (1=true;0=false)
LOGATBOOT=1 # au lancement se connecter automatiquement utile pour crypter
LOGATBOOT=0 # au lancement se connecter automatiquement utile pour crypter
# langue
LANGUE_CLAVIER=fr-latin1 # liste langue clavier : ls /usr/share/kbd/keymaps/**/*.map.gz
@ -266,7 +266,9 @@ arch-chroot /mnt /script.sh
arch-chroot /mnt rm /script.sh
if [ $INSTALLGUI -eq 1 ]; then
arch-chroot /mnt sudo ./linuxrc.sh
next "intall gui config"
cp linuxrc.sh /mnt/home/$USRNAME
echo -e "script installation gui copier a / apres redemarrage executer le"
fi
next "reboot"

View File

@ -1,22 +1,23 @@
#!/bin/bash
cd ~/home/cptvmt
cd ~
# installation paquet
# base
pacman -S xorg-server xorg-xinit xterm neofetch git
sudo pacman -S --noconfirm xorg-server xorg-xinit xterm neofetch git
# fonts
pacman -S ttf-linux-libertine ttf-inconsolata
# dependence suckless tools
pacman -S libx11 libxft libxinerama freetype2 fontconfig
sudo pacman -S --noconfirm ttf-linux-libertine ttf-inconsolata
# dependence suckless tools et xorg
sudo pacman -S --noconfirm libx11 libxft libxinerama freetype2 fontconfig xf86-video-vmware
# configuration
localectl set-x11-keymap fr
loadkeys fr-latin1
# installer suckless truc (temps pas besoin plus tard)
@ -28,16 +29,23 @@ git clone https://git.suckless.org/st
git clone https://git.suckless.org/dmenu
cd dwm
make
sudo make
sudo make clean install
cd..
cd st
make
sudo make
sudo make clean install
cd ..
cd dmenu
make
sudo make
sudo make clean install
cd
touch .xinitrc
echo "exec /usr/local/bin/dwm" > .xinitrc
echo "[[ ! \$DISPLAY && \$XDG_VTNR -eq 1 ]] && startx" >> .bash_profile
echo "installatin fini, appuez sur entrez pour redemarrer"
read
reboot