Sadar's Blog

lundi 6 juin 2016

VMDK to qcow / LVM

›
Change the vmdk file to qemu format ex : qemu-img convert -f vmdk myvm.vmdk -O qcow2 myvm.qcow2 Or, copy the vmdk to an LVM based disk ...

rsync via proxy socks

›
rsync --ignore-errors --force --human-readable --progress --partial --bwlimit=80 -hav /mnt/share/jessie -e "ssh -o 'ProxyCommand nc...
dimanche 4 octobre 2015

apache 2.2 ssh over ssl on debian 8 jessie

›
# install apache2 and modules aptitude install libalgorithm-merge-perl libhtml-form-perl libhtml-format-perl libhttp-daemon-perl libssl-doc...
mardi 16 décembre 2014

ssh tunnelling : how to mount vpn via ssh...

›
# on remote server edit /etc/ssh/sshd_config and add  PermitTunnel yes # restart ssh sudo service ssh restart  #From local computer c...
lundi 15 décembre 2014

install guacamole ubuntu server 14.x

›
# install packages & dependencies aptitude install make libssh2-1-dev libtelnet-dev libpango1.0-dev libossp-uuid-dev libcairo2-dev libp...
dimanche 23 novembre 2014

openssl certificates self signed

›
Script de création pour une AC auto-signée Il suffit de mettre un passwor et un nom pour l'ac NB : $(< /dev/urandom tr -dc a-z-0-...
lundi 17 novembre 2014

ssh-copy-id with diffrent port

›
ssh-copy-id -i ~/.ssh/id_rsa.pub "user@host -p 2222"
samedi 8 novembre 2014

webvirtmgr

›
How to authorize webvirtmgr to connect remote host Create SSH private key and ssh config options (On system where WebVirtMgr is inst...
mercredi 23 juillet 2014

VNC server on mint

›
aptitude install x11vnc gedit /etc/mdm/Init/Default #insert before exit 0 # if [ -z "$(pidof x11vnc)" ]; then nohup x11vnc ...
dimanche 22 juin 2014

UBUNTU 14.04 logout : Logging out function disappeared?

›
# command gsettings get org.gnome.desktop.lockdown disable-log-out # should be return "false" # if it's "true", ...
vendredi 4 avril 2014

SquidGard FATAL: Error db_open: No such file or directory

›
cd /var/lib/squidguard/db rsync -arpogvt rsync://ftp.ut-capitole.fr/blacklist . mv -fv dest/* . rm -rf /var/lib/squidguard/db/dest/ ch...

KVM and virsh essential command

›
LVM KVM to Virtualbox #---------------------------------------------------------------- dd if=/dev/Volume01/Disk of=/tmp/image.raw qemu-im...
vendredi 21 mars 2014

Apache secure ssl

›
# see recent http://sadar-ssi.blogspot.fr/2014/11/debian-7-apache-2222-patch-proxy-ssh.html # secure apache2 source https://www.argure.nl...
mardi 4 mars 2014

virtualbox essentials commands

›
# start vm VMName=template vboxheadless --startvm $VMName & sleep 2; tail -f $(cat .config/VirtualBox/VirtualBox.xml|grep "System...
vendredi 31 janvier 2014

NFS export & error read-only error on client

›
# For example /etc/export /mnt/vol01 192.168.1.0/24(ro,sync,no_subtree_check) /mnt/vol01/dir1 192....
mardi 28 janvier 2014

perl CPAN

›
#cpan prerequis aptitude install build-essential libterm-readline-gnu-perl #cpan mini cpan install Bundle::CPAN #Install all dependenc...
mardi 21 janvier 2014

ssh tunneling, rebond, proxytunnel, reverse proxy, rdp tunneling

›
# ssh over https via proxy see http://sadar-ssi.blogspot.fr/2014/11/debian-7-apache-2222-patch-proxy-ssh.html # accès ssh via proxy http ...
samedi 18 janvier 2014

idle3-tools

›
aptitude install idle3-tools smartmontools gsmartcontrol #consultation idle3ctl -d /dev/sda /dev/sdb #disable timer idle3ctl -g /dev/s...

KVM / libvirt

›
# verifier si processur compatible... egrep -c '(vmx|svm)' /proc/cpuinfo # installer les packages coté serveur aptitude install ...

keyboard

›
setxkbmap fr kbdrate -r 30 -d 250
›
Accueil
Afficher la version Web

Qui êtes-vous ?

Afficher mon profil complet
Fourni par Blogger.