Compare commits
No commits in common. "ea81ccc78f67d991bb96e2f0e4b9de92c9340609" and "c84a4c46bb58494bb6e1c065420698dd93e13e86" have entirely different histories.
ea81ccc78f
...
c84a4c46bb
14
README.MD
14
README.MD
|
@ -1,14 +0,0 @@
|
||||||
# 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 ~.
|
|
|
@ -65,7 +65,7 @@ USRNAME=usr # nom de l'utilisateur principale
|
||||||
USRPWD=$ROOTPWD # mdp utilisateur principale
|
USRPWD=$ROOTPWD # mdp utilisateur principale
|
||||||
SUDOERS=1 # 1=droit sudo; 0=pas droit sudo
|
SUDOERS=1 # 1=droit sudo; 0=pas droit sudo
|
||||||
SUDOSANSPASSWD=1 # sudo cmd sans mdp (1=true;0=false)
|
SUDOSANSPASSWD=1 # sudo cmd sans mdp (1=true;0=false)
|
||||||
LOGATBOOT=0 # au lancement se connecter automatiquement utile pour crypter
|
LOGATBOOT=1 # au lancement se connecter automatiquement utile pour crypter
|
||||||
|
|
||||||
# langue
|
# langue
|
||||||
LANGUE_CLAVIER=fr-latin1 # liste langue clavier : ls /usr/share/kbd/keymaps/**/*.map.gz
|
LANGUE_CLAVIER=fr-latin1 # liste langue clavier : ls /usr/share/kbd/keymaps/**/*.map.gz
|
||||||
|
@ -266,9 +266,7 @@ arch-chroot /mnt /script.sh
|
||||||
arch-chroot /mnt rm /script.sh
|
arch-chroot /mnt rm /script.sh
|
||||||
|
|
||||||
if [ $INSTALLGUI -eq 1 ]; then
|
if [ $INSTALLGUI -eq 1 ]; then
|
||||||
next "intall gui config"
|
arch-chroot /mnt sudo ./linuxrc.sh
|
||||||
cp linuxrc.sh /mnt/home/$USRNAME
|
|
||||||
echo -e "script installation gui copier a / apres redemarrage executer le"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
next "reboot"
|
next "reboot"
|
||||||
|
|
24
linuxrc.sh
24
linuxrc.sh
|
@ -1,23 +1,22 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd ~
|
cd ~/home/cptvmt
|
||||||
|
|
||||||
# installation paquet
|
# installation paquet
|
||||||
|
|
||||||
|
|
||||||
# base
|
# base
|
||||||
sudo pacman -S --noconfirm xorg-server xorg-xinit xterm neofetch git
|
pacman -S xorg-server xorg-xinit xterm neofetch git
|
||||||
# fonts
|
# fonts
|
||||||
sudo pacman -S --noconfirm ttf-linux-libertine ttf-inconsolata
|
pacman -S ttf-linux-libertine ttf-inconsolata
|
||||||
# dependence suckless tools et xorg
|
# dependence suckless tools
|
||||||
sudo pacman -S --noconfirm libx11 libxft libxinerama freetype2 fontconfig xf86-video-vmware
|
pacman -S libx11 libxft libxinerama freetype2 fontconfig
|
||||||
|
|
||||||
|
|
||||||
# configuration
|
# configuration
|
||||||
|
|
||||||
|
|
||||||
localectl set-x11-keymap fr
|
localectl set-x11-keymap fr
|
||||||
loadkeys fr-latin1
|
|
||||||
|
|
||||||
|
|
||||||
# installer suckless truc (temps pas besoin plus tard)
|
# installer suckless truc (temps pas besoin plus tard)
|
||||||
|
@ -29,23 +28,16 @@ git clone https://git.suckless.org/st
|
||||||
git clone https://git.suckless.org/dmenu
|
git clone https://git.suckless.org/dmenu
|
||||||
|
|
||||||
cd dwm
|
cd dwm
|
||||||
sudo make
|
make
|
||||||
sudo make clean install
|
sudo make clean install
|
||||||
cd..
|
cd..
|
||||||
cd st
|
cd st
|
||||||
sudo make
|
make
|
||||||
sudo make clean install
|
sudo make clean install
|
||||||
cd ..
|
cd ..
|
||||||
cd dmenu
|
cd dmenu
|
||||||
sudo make
|
make
|
||||||
sudo make clean install
|
sudo make clean install
|
||||||
cd
|
cd
|
||||||
|
|
||||||
touch .xinitrc
|
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
|
|
||||||
|
|
Loading…
Reference in New Issue