1106 shaares
40 results
tagged
archlinux
Parce que je le savais pas avant ce soir...
Un utilitaire sympathique si on a un problème avec l'heure/date sous archlinux.
EDIT : Pour linux-mint, c'est time-admin dans gnome-tools
EDIT : Pour linux-mint, c'est time-admin dans gnome-tools
Ou l'histoire du mec qui viens de perdre plus de 30 minutes parce qu'il n'a pas lu "And most importantly, use each sshfs mount at least once manually while root so the host's signature is added to the .ssh/known_hosts file. "
/facepalm
PEBKAC and RTFM combo
Bon, maintenant, ça marche mieux qu'avant, c'est à dire, que de 1 clic, j'arrive à 0 clic pour monter mon HDD distant.
levelgain++
EDIT: Automount
yaourt -S sshfs
uncomment user_allow_other in /etc/fuse.conf
/etc/fstab
sshfs#user@10.42.0.XXX:/media/2T /media/2T fuse comment=sshfs,port=XXXXX,noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0
EDIT: penser a échanger les clé avant.
ssh-keygen -t rsa
ssh-copy-id <username>@<host>
/facepalm
PEBKAC and RTFM combo
Bon, maintenant, ça marche mieux qu'avant, c'est à dire, que de 1 clic, j'arrive à 0 clic pour monter mon HDD distant.
levelgain++
EDIT: Automount
yaourt -S sshfs
uncomment user_allow_other in /etc/fuse.conf
/etc/fstab
sshfs#user@10.42.0.XXX:/media/2T /media/2T fuse comment=sshfs,port=XXXXX,noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0
EDIT: penser a échanger les clé avant.
ssh-keygen -t rsa
ssh-copy-id <username>@<host>
pacman -Ql nom_du_paquet | grep "bin"
Ouais parce que "ghb" pour "handbrake", c'est pas si évident...
Ouais parce que "ghb" pour "handbrake", c'est pas si évident...
Pour mémo avec pacman, c'est :
Backup :
pacman -Qqen > pkglist.txt
Restore :
pacman -S --needed $(comm -12 <(pacman -Slq|sort) <(sort pkglist.txt) )
http://metatux.fr/shaarli/index.php?3EumNA
Backup :
pacman -Qqen > pkglist.txt
Restore :
pacman -S --needed $(comm -12 <(pacman -Slq|sort) <(sort pkglist.txt) )
http://metatux.fr/shaarli/index.php?3EumNA
Pour trouver ce %*$?%* de librairie manquante parmi les paquet d'archlinux.
/j'ai su, j'ai oublié
/j'ai su, j'ai oublié
Encore une distro basé sur Arch et orienté pentest
TODO : Créer un AUR pour pouvoir le mettre sur ma distro.
Mon actuel .Xdefaults
Mon actuel .xinitrc (avant changement)
Je l'utilise tout les jours, mais aujourd'hui, je voulais le mettre au boulot, et j'ai oublié le nom.
Je vais tester ça pour me faire un MagicParted-like arch-based distro.
Logiciel à installer:
dd_rescue
photorec
baobab
firefox
vlc
pcmanfm
openbox
tint2
rsync
gparted
gsmartcontrol
hardinfo
yaourt
network-manager-applet
memo : pensez à l'option copytoram
Logiciel à installer:
dd_rescue
photorec
baobab
firefox
vlc
pcmanfm
openbox
tint2
rsync
gparted
gsmartcontrol
hardinfo
yaourt
network-manager-applet
memo : pensez à l'option copytoram
Backtrack sauce Archlinux. A tester au boulot.
A chaque fois j'oublie...
login auto:
# mkdir /etc/systemd/system/getty@tty1.service.d
#nano /etc/systemd/system/getty@tty1.service.d/autologin.conf
[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --autologin <username> --noclear %I 38400 linux
// Le premier ExecStart n'est pas une erreur. Et c'est bien un %(i majuscule) pour ceux qui ont une mauvaise police
# systemctl enable multi-user.target
autostart X:
in ~/.bash_profile ou ~/.zprofile, ajouter
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
login auto:
# mkdir /etc/systemd/system/getty@tty1.service.d
#nano /etc/systemd/system/getty@tty1.service.d/autologin.conf
[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --autologin <username> --noclear %I 38400 linux
// Le premier ExecStart n'est pas une erreur. Et c'est bien un %(i majuscule) pour ceux qui ont une mauvaise police
# systemctl enable multi-user.target
autostart X:
in ~/.bash_profile ou ~/.zprofile, ajouter
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
Backup :
pacman -Qqen > pkglist.txt
Restore :
pacman -S --needed $(comm -12 <(pacman -Slq|sort) <(sort pkglist.txt) )
pacman -Qqen > pkglist.txt
Restore :
pacman -S --needed $(comm -12 <(pacman -Slq|sort) <(sort pkglist.txt) )
PuppyLinux + Archlinux = AlphaOS linux
A tester
A tester
A tester
Un tuto complet pour installer un serveur mail sous Archlinux
Un tuto a tester
Dans la catégorie, je le savais mais j'ai oublié.
Pour downloader tout ses paquets lors de l'update sans les installer : pacman -Syuw --noconfirm
Hop, dans le cron!
Pour downloader tout ses paquets lors de l'update sans les installer : pacman -Syuw --noconfirm
Hop, dans le cron!