VMWare Esxi V.5

Installation

Configuration

Datastore :

  • Ajouter une image iso au datastore :
  • Ajouter un lecteur réseau (NFS) : Configuration/Datastores/Add Storage/Network File System
    • Indiquer le nom du serveur NFS
    • Le répertoire exporté

Client

  • Pour Vsphere client, il est recommandé vu la traduction hasardeuse de le lancer en anglais

"C:Program FilesVMwareInfrastructureVirtual Infrastructure ClientLauncherVpxClient.exe" -locale en_US

Source

Machines Virtuelles

  • Installation des vmware tools :
    • Debian pré-requis : apt-get install gcc make  linux-headers-$(uname -r)
    • Clic droit sur la vm, menu guest/install vmware tools
    • Monter le cdrom depuis l’invité :

    mount /media/cdrom0

    • Copier et décompresser l’archive :

    cp /media/cdrom0/VMwareTools-8.3.2-257589.tar.gz /home/fd ; cd /home/fd ; tar -xzf VMwareTools-8.3.2-257589.tar.gz ; cd vmware-tools-distrib

    • Lancer l’installation :
      • Méthode manuelle : ./vmware-install.pl
      • Méthode automatisée : ./vmware-install.pl --default

Sauvegarde et restauration des icônes épinglées à la barre de tâches Seven

Afin de retrouver une barre des taches laissée avant la réinstallation de son Seven, il faut avant tout sauvegarder deux paramètres, le premier les informations contenues dans la base de registre :
[HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Explorer Taskband]
et le contenu du dossier :
%appdata% Microsoft Internet Explorer Quick Launch User Pinned
Créer une archive auto-extractible et un fichier .reg pour la restauration.

The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server

Si comme moi vous avez installer Nagios 3.x sur un serveur Ubuntu et que vous avez un sympathique message du genre : The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server, c’est que vous avez certainement oublié d’installer les pré-requis avant la compilation.

Mais il est possible de récupérer ce bug.

apt-get install libgd2-xpm install libgd2-xpm-dev


cd /usr/nagios-3.2.3/
./configure -with-gd-lib=/usr/local/lib/
make cgis
cp /usr/nagios-3.2.3/cgi/*.cgi /usr/local/nagios/sbin
chown nagios:nagios /usr/local/nagios/sbin/*.cgi

Cheat Code Knoppix

[code] CHEATCODES AND HINTS FOR KNOPPIX V5.0.1 ============================================================================== (last update: 12.05.2006) These options (can be combined) work from the ISOLINUX bootprompt: knoppix lang=ch|cn|de|da|es|fr|it specify language/keyboard knoppix lang=nl|pl|ru|sk|tr|tw|us specify language/keyboard knoppix gmt Use GMT-based time knoppix tz=Europe/Berlin Use this timezone for TZ knoppix desktop=fluxbox|gnome|icewm Use specified WM instead of KDE (1) knoppix desktop=kde|lg3d|larswm Use specified WM instead of KDE (2) knoppix desktop=openbox|twm Use specified WM instead of KDE (3) knoppix desktop=wmaker|xfce|xfce4 Use specified WM instead of KDE (4) knoppix screen=1280x1024 Use specified Screen resolution for X knoppix xvrefresh=60 (or vsync=60) Use 60 Hz vertical refresh rate for X knoppix xhrefresh=80 (or hsync=80) Use 80 kHz horizontal refresh rate for X knoppix xserver=XFree86|XF86_SVGA Use specified X-Server knoppix xmodule=ati|fbdev|i810|mga Use specified XFree4-Module (1) knoppix xmodule=nv|radeon|savage|s3 Use specified XFree4-Module (2) knoppix xmodule=radeon|svga|i810 Use specified XFree4-Module (3) knoppix 2 Runlevel 2, Textmode only knoppix floppyconfig Run "knoppix.sh" from a floppy knoppix myconf=/dev/sda1 Run "knoppix.sh" from a partition knoppix myconf=scan (or config=scan) Try to find "knoppix.sh" automatically knoppix home=/mnt/sda1/knoppix.img Mount loopback file as /home/knoppix knoppix home=scan Automatic search for knoppix homedir knoppix no{apic,agp,apm,audio,ddc} Skip parts of HW-detection (1) knoppix no{dhcp,fstab,firewire} Skip parts of HW-detection (2) knoppix no{pcmcia,scsi,swap,udev} Skip parts of HW-detection (3) knoppix nousb Skip parts of HW-detection (4) knoppix nousb2 Disable USB 2.x extension knoppix noideraid Disable IDE-Raiddisk detection knoppix pnpbios=off No PnP Bios initialization knoppix acpi=off Disable ACPI Bios completely knoppix acpi=force FORCE ACPI Bios initialization failsafe Boot with (almost) no HW-detection knoppix pci=irqmask=0x0e98 Try this, if PS/2 mouse doesn't work *) knoppix pci=bios Workaround for bad PCI controllers knoppix ide2=0x180 nopcmcia Boot from PCMCIA-CD-Rom (some notebooks) knoppix mem=128M Specify Memory size in MByte knoppix dma Enable DMA accelleration for ALL IDE-Drives knoppix noeject Do NOT eject CD after halt knoppix noprompt Do NOT prompt to remove the CD knoppix vga=normal No-framebuffer mode, but X knoppix blind Start Braille-Terminal (no X) knoppix brltty=type,port,table Parameters for Braille device knoppix wheelmouse Enable IMPS/2 protocol for wheelmice knoppix nowheelmouse Force plain PS/2 protocol for PS/2-mouse fb1280x1024 Use fixed framebuffer graphics (1) fb1024x768 Use fixed framebuffer graphics (2) fb800x600 Use fixed framebuffer graphics (3) knoppix keyboard=us xkeyboard=us Use different keyboard (text/X) knoppix splash Boot with fancy background splashscreen + animations + progress bar **) knoppix toram Copy CD to RAM and run from there knoppix tohd=/dev/hda1 Copy CD to HD partition and run from there knoppix fromhd Skip checking for Knoppix on CD-ROM knoppix fromhd=/dev/hda1 Boot from previously copied CD-Image knoppix bootfrom=/dev/hda1 Access Image then boot from previously copied CD-Image (enables booting from NTFS / ReiserFS) ***) knoppix bootfrom=/dev/hda1/KNX.iso Access image, boot from ISO-Image. ***) knoppix knoppix_dir=KNOPPIX Directory to search for on the CD. knoppix knoppix_name=KNOPPIX Cloop-File to search for on the CD. knoppix testcd Check CD data integrity and md5sums expert Interactive setup for experts debug Debug boot process Hint: Using the default DE-bootimage, SYSLINUX boots with german keyboard layout. The '=' letter is located at Shift-0 on this keyboard (just in case you want to change keyboard and language with lang=us). *) Try "knoppix pci=irqmask=0x0e98" if (you have a notebook and) your PS/2 mouse doesn't work. (Possibly caused by a BIOS-flaw on your board, BIOS updates can help.) Sometimes, switching to the text console with Control-Alt-F1 and back to the X-screen with Control-F5 solves the problem without rebooting, since the X server reinitializes the mouse driver during that procedure. **) You can also have your own splash-screen in putting an executable shell- script to /cdrom/KNOPPIX/splash.sh. For an example how to do this see: /usr/bin/splash-knoppix.sh. (Feature added by Fabian Franz.) ***) Bootfrom needs access to a running Knoppix-System with the same Kernel as the Bootkernel, before it is able to mount the partition / ISO-Image. This should allow a poor mans install from NTFS-Partitions and makes it also possible to boot an ISO-Image directly. You can also use wildcards in the ISO-Filename, but it must be unique. So: If you have just one KNOPPIX.iso on /dev/hda1 you can access it as: bootfrom=/dev/hda1/K*.iso, but if there are several, you need to make clear, which one you want. (Feature added by Fabian Franz.) If your KNOPPIX CD makes strange noises during boot, or you see frequent errors like "cloop: read error", or programs on your KDE desktop keep crashing randomly, then your CD image is probably defective or incomplete, or your CD-burner created a defective CD due to wrong writing speed or bad media. This is the most common error reported. Please boot with "knoppix testcd" to check if the CD is OK, and/or even better, verify the MD5 checksums that are present on the mirrors before writing the CD. In some cases, defective IDE controllers cause this error if you have DMA enabled. Also, please read the KNOPPIX-FAQ. In case of a failing hardware autodetection, try booting with any of the "no-" options as shown in the table above, like in knoppix noagp noaudio noapm noapic acpi=off nodma nopcmcia noscsi nousb to skip some critical parts of the autodetection system. The "noswap" option is useful for a forensic analysis without touching existing swap partitions. Some Boards apparently don't pass the proper memory size to the linux-kernel. It may cause the message "Panic: cannot mount root file system" and the system hangs. Use "knoppix mem=128M" to solve that problem if your system has 128MByte memory for example (caution: you MUST use a capital "M" here). The "expert" mode provides a very simple interface to loading additional Kernel modules from floppy disks (ext2 or vfat), plus interactive configuration of mouse/keyboard/soundcard/xserver. "expert" mode supports the same boot options as "knoppix". The "floppyconfig" or "(my)config=/dev/partition" options allow you to reconfigure the system after autoconfiguration by running a bourne shell script called "knoppix.sh" from the root directory on the given device (or floppy). There is a GUI to create such a configuration floppy disk calles "saveconfig" (also located in the KDE menu under "KNOPPIX", but experts also know how to do this by creating their own shellscripts. From Version 2.1 and up, a file called "knoppix.sh", if located in the toplevel KNOPPIX directory on CD, will also be executed at startup. This makes ist easier to create customized versions without having to change anything on the compressed filesystem KNOPPIX/KNOPPIX. SCSI-Emulation is active for all CD-Roms (unless you switch it off by using the "atapicd" option), so IDE CD-Writers should work with the installed versions of cdrecord and cdrdao (or the graphical frontends thereof, k3b for example). If your BIOS does not support "no emulation boot" from CD, you can create two bootable floppy disks by issuing (from Knoppix running on a different machine) the command "mkbootfloppy", which will create a bootable Kernel-disk plus a disk containing the initial ramdisk, which will be prompted for at boottime. If you wish to remaster the CD, please don't forget to specify -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat as option to mkisofs. Otherwise your CD won't be bootable. The directory KNOPPIX, containig the compressed filesystem file "KNOPPIX", must be located in the top level directory of the CD. Caution: X-Screensaver: Don't start xlock or any screensaver that requires a password. There are no default passwords on KNOPPIX, i.e. all accounts are LOCKED unless you explicitly set a password. See also README_Security.txt about this issue. If you accidentially hit the screensaver button in KDE, switch to one of the textconsoles by Control-Alt-F1 and kill the screensaver (or just set a password for the knoppix user). If you would like to edit your X-Server configuration manually (/etc/X11/XF86Config-4 for XFree86 V4.x), use "knoppix 2" to boot into runlevel 2 (textmode only) and, after changing the X configuration, start the X environment with "init 5". Note that you can always leave the graphical environment with "init 2", and restart it later with "init 5".
[/code]

Installation automatisée Karmic Koala par preseed

Objectifs

  • Le fichier preseed permet l’installation automatisée d’une distribution comme Debian ou Ubuntu.
  • L’avantage étant de pré-remplir les options d’installation (paramétrages réseaux, régionaux, paquets à installer, partitionnement,…)

Configurations

Installation Karmic Koala Desktop depuis les dépôts officiels

  • Le fichier proposé ci-dessous propose l’installation de la distribution Karmic Desktop depuis les dépôts officiels :

[[code]]czo0NDU2OlwiCiMKIyBDb25maWd1cmF0aW9uIGR1IGZpY2hpZXIgcHJlc2VlZCA6CiMKIyBDb25maWd1cmF0aW9uIHJlc2VhdSAob2J7WyYqJl19c29sZXRlIGVuIHNpIHV0aWxpc2F0aW9uIGR1IERIQ1ApCiNkLWkgbmV0Y2ZnL2dldF9ob3N0bmFtZSBzdHJpbmcgdW5hc3NpZ25lZHtbJiomXX0taG9zdG5hbWUKI2QtaSBuZXRjZmcvZ2V0X2RvbWFpbiBzdHJpbmcgdW5hc3NpZ25lZC1kb21haW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WcJYXB0LXNldHVwL217WyYqJl19dWx0aXZlcnNlCWJvb2xlYW4gdHJ1ZQpiYXNlLWNvbmZpZwlhcHQtc2V0dXAvc2VjdXJpdHktdXBkYXRlcwlib29sZWFuIHRydWUKI3tbJiomXX0KIyBwYXF1ZXRzIHN1cHBsw6ltZW50YWlyZXMgcXVpIHNlcm9udCBpbnN0YWxsw6lzIDoKIwpkLWkgcGtnc2VsL2luY2x1ZGUgc3Rye1smKiZdfWluZyBsaWJwYW0tbW91bnQKZC1pIHBrZ3NlbC9pbmNsdWRlIHN0cmluZyBjdXJsCmQtaSBwa2dzZWwvaW5jbHVkZSBzdHJpbmcgZGV7WyYqJl19YmNvbmYtdXRpbHMKZC1pIHBrZ3NlbC9pbmNsdWRlIHN0cmluZyBvcGVuc3NoLXNlcnZlcgpkLWkgcGtnc2VsL2luY2x1ZGUgc3RyaXtbJiomXX1uZyB2aW0KZC1pIHBrZ3NlbC9pbmNsdWRlIHN0cmluZyBzc2gKIwojIERlcm5pw6hyZSBjb21tYW5kZSA6CiMgUGVybWV0IGRlIGxhe1smKiZdfW5jZXIgdW5lIGRlcm5pZXJlIGNvbW1hbmRlIDogaWNpIGxlIHRlbGVjaGFyZ2VtZW50IGV0IGxlIGxhbmNlbWVudCBkXCd1biBzY3Jpe1smKiZdfXB0IHBvdXIgbGEgcG9zdCBpbnN0YWxsIApkLWkgcHJlc2VlZC9sYXRlX2NvbW1hbmQgc3RyaW5nIHdnZXQgLXEgLU8gLSBodHRwOi97WyYqJl19L21vbnNlcnZldXJlYi9wb3N0aW5zdGFsbC5zaCB8IGNocm9vdCAvdGFyZ2V0IC9iaW4vYmFzaApcIjt7WyYqJl19[[/code]]

Installation Karmic Koala Desktop depuis un dépôt local

  • Pour l’installation du client depuis un miroir local, il suffit de copier le fichier précédent en modifiant les trois lignes suivantes :
  1. d-i mirror/http/hostname string
  2. d-i apt-setup/security_host string
  3. base-config apt-setup/hostname string

[[code]]czozODk6XCIKIyBTb3VyY2UgZFwnaW5zdGFsbGF0aW9uIChtaXJvaXIpCiMjfn5+fiBwYXJhbcOodHJlcyB+fn5+IyMKZC1pCW1pcnJve1smKiZdfXIvaHR0cC9ob3N0bmFtZQlzdHJpbmcgbWlycm9yLnRlc3QubGFuCiMjfn5+fiBwYXJhbcOodHJlcyB+fn5+IyMKIyBTb3VyY2UgZFwne1smKiZdfWluc3RhbGxhdGlvbiAobWlyb2lyKQojI35+fn4gcGFyYW3DqHRyZXMgfn5+fiMjCmQtaSBhcHQtc2V0dXAvc2VjdXJpdHlfaG9zdCB7WyYqJl19c3RyaW5nIG1pcnJvci50ZXN0LmxhbgojI35+fn4gcGFyYW3DqHRyZXMgfn5+fiMjCiMgQXB0IHNldHVwLgojI35+fn4gcGFyYW3DqHtbJiomXX10cmVzIH5+fn4jIwpiYXNlLWNvbmZpZwlhcHQtc2V0dXAvaG9zdG5hbWUJc3RyaW5nIG1pcnJvci50ZXN0LmxhbgojI35+fn4gcGFye1smKiZdfWFtw6h0cmVzIH5+fn4jIwpcIjt7WyYqJl19[[/code]]

Installation Karmic Koala Server depuis un dépôt local

  • Enfin, pour l’installation d’un serveur de base, il faut modifier ces deux directives :
  1. d-i base-installer/kernel/override-image string linux-generic-pae
  2. tasksel tasksel/first multiselect standard

[[code]]czozMjc6XCIKIyN+fn5+IHBhcmFtw6h0cmVzIH5+fn4jIwojIENob2l4IGR1IG5veWF1IGEgaW5zdGFsbGVyCiMgRGFucyBsZSBjYXN7WyYqJl19IGRcJ3VuIHNlcnZldXIgOS4xMCwgaW5zdGFsbGVyIGxpbnV4LWdlbmVyaWMtcGFlIDoKZC1pICAgICBiYXNlLWluc3RhbGxlci9rZXJ7WyYqJl19bmVsL292ZXJyaWRlLWltYWdlICAgIHN0cmluZyBsaW51eC1nZW5lcmljLXBhZQojI35+fn4gcGFyYW3DqHRyZXMgfn5+fiMjCiMgRHtbJiomXX3DqXRlcm1pbmUgbGUgdHlwZSBkXCdpbnN0YWxsYXRpb24gOgojCnRhc2tzZWwgdGFza3NlbC9maXJzdCBtdWx0aXNlbGVjdCBzdGFuZHtbJiomXX1hcmQKIyN+fn5+IHBhcmFtw6h0cmVzIH5+fn4jIwpcIjt7WyYqJl19[[/code]]

Sources

Créer son miroir local Ubuntu Karmic Koala

Architecture système

  • Pré requis : apt-mirror, apache2 et +/- 70 Go d’espace disque (varie en fonction des branches sélectionnées).
  • Un serveur 9.10 virtualisé avec deux disques (le premier de 10Go environ pour le système, le deuxième de 80Go pour accueillir les dépôts).

Disques Capacité Répertoires montés
sda1 10Go / (système)
sdb1 80Go /mirror (dépôts)

Installation du miroir

[[code]]czozNDpcImFwdC1nZXQgaW5zdGFsbCBhcGFjaGUyIGFwdC1taXJyb3JcIjt7WyYqJl19[[/code]]

  • Création des répertoires accueillant les paquets :
    [[code]]czozNDpcIm1rZGlyIC1wIC9taXJyb3Ive21pcnJvcixza2VsLHZhcn1cIjt7WyYqJl19[[/code]]

    Préparation

    • Copie et édition du fichier de configuration :

    [[code]]czo4NTpcIgpjcCAvZXRjL2FwdC9taXJyb3IubGlzdCAvbWlycm9yL2FwdC1taXJyb3IuY29uZgpnZWRpdCAvbWlycm9yL2FwdC1taXJ7WyYqJl19cm9yLmNvbmYgJmFtcDsKXCI7e1smKiZdfQ==[[/code]]

    • Modifier les valeurs suivant votre configuration :

    [[code]]czoxNDIzOlwiCiMjIyMjIyMjIyMjIyMgY29uZmlnICMjIyMjIyMjIyMjIyMjIyMjIwojCnNldCBiYXNlX3BhdGggICAgL21pcnJvcgp7WyYqJl19IwojIGlmIHlvdSBjaGFuZ2UgdGhlIGJhc2UgcGF0aCB5b3UgbXVzdCBjcmVhdGUgdGhlIGRpcmVjdG9yaWVzIGJlbG93IHdpdGggd3tbJiomXX1yaXRlIHByaXZpbGVnZXMKIwpzZXQgbWlycm9yX3BhdGggICRiYXNlX3BhdGgvbWlycm9yCnNldCBza2VsX3BhdGggICAgJGJhc2Vfe1smKiZdfXBhdGgvc2tlbApzZXQgdmFyX3BhdGggIC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ZlcnNlIG11bHRpdmVyc2UKI2RlYi1zcmMgaHR0cDovL2FyY2hpdmUudWJ1bnR1LmNvbS91YnVudHUga2FybWljLXtbJiomXX1zZWN1cml0eSBtYWluIHJlc3RyaWN0ZWQgdW5pdmVyc2UgbXVsdGl2ZXJzZQojZGViLXNyYyBodHRwOi8vYXJjaGl2ZS51YnVudHUue1smKiZdfWNvbS91YnVudHUga2FybWljLXVwZGF0ZXMgbWFpbiByZXN0cmljdGVkIHVuaXZlcnNlIG11bHRpdmVyc2UKI2RlYi1zcmMgaHR0cDp7WyYqJl19Ly9hcmNoaXZlLnVidW50dS5jb20vdWJ1bnR1IGthcm1pYy1wcm9wb3NlZCBtYWluIHJlc3RyaWN0ZWQgdW5pdmVyc2UgbXVsdGl2ZXtbJiomXX1yc2UKI2RlYi1zcmMgaHR0cDovL2FyY2hpdmUudWJ1bnR1LmNvbS91YnVudHUga2FybWljLWJhY2twb3J0cyBtYWluIHJlc3RyaWN0e1smKiZdfWVkIHVuaXZlcnNlIG11bHRpdmVyc2UKCmNsZWFuIGh0dHA6Ly9hcmNoaXZlLnVidW50dS5jb20vdWJ1bnR1ClwiO3tbJiomXX0=[[/code]]

    Récupération des paquets

    • On lance la commande apt-mirror avec notre fichier de configuration en argument :

    [[code]]czozNDpcImFwdC1taXJyb3IgL21pcnJvci9hcHQtbWlycm9yLmNvbmZcIjt7WyYqJl19[[/code]]

    • Un long processus commence :

    [[code]]czoxOTQ6XCIKRG93bmxvYWRpbmcgODQgaW5kZXggZmlsZXMgdXNpbmcgMjAgdGhyZWFkcy4uLgpCZWdpbiB0aW1lOiBTdW4gT2N0ICB7WyYqJl19NCAxOTo1MTo0OCAyMDA5ClsyMF0uLi4gWzE5XS4uLiBbMThdLi4uIFsxN10uLi4gWzE2XS4uLiBbMTVdLi4uIFsxNF0uLi4gWzEzXXtbJiomXX0uLi4gWzEyXS4uLiBbMTFdLi4uIFsxMF0uLi4gWzldLi4uIFs4XS4uLiBbN10uLi4KXCI7e1smKiZdfQ==[[/code]]

    Rendre accessible les paquets sur le réseau

    • Le serveur web aura la fonction de mettre à disposition les dépôts depuis le réseau :
      [[code]]czo2MzpcImxuIC1zIC9taXJyb3IvbWlycm9yL2FyY2hpdmUudWJ1bnR1LmNvbS91YnVudHUvIC92YXIvd3d3L3VidW50dVwiO3tbJiomXX0=[[/code]]

      Utilisation du miroir depuis un poste client

      • Pour utiliser votre mirroir depuis votre poste client, il faut modifier le fichier **/etc/apt/source.list** :
      • Sauvegarder tout d’abord le fichier **/etc/apt/sourcelist** :

      [[code]]czo1MDpcImNwIC9ldGMvYXB0L3NvdXJjZXMubGlzdCAvZXRjL2FwdC9zb3VyY2VzLmxpc3Qub3JpXCI7e1smKiZdfQ==[[/code]]

      • Editer ce fichier en inscrivant l’adresse pour atteindre les dépôts :

      Méthode avec SED

      [[code]]czoxNTk6XCIKc2VkIC1pIFwicyxmci5hcmNoaXZlLnVidW50dS5jb20vdWJ1bnR1LHNydi1kZWI5MTAuaG9tZS5sYW4vdWJ1bnR1L21pe1smKiZdfXJyb3IvYXJjaGl2ZS51YnVudHUuY29tL3VidW50dSxnXCIgL2V0Yy9hcHQvc291cmNlcy5saXN0CmFwdC1nZXQgdXBkYXRlCmFwdC1ne1smKiZdfWV0IHVwZ3JhZGUgLXkKXCI7e1smKiZdfQ==[[/code]]

      Méthode manuelle

      • Editer le fichier et modifier l’adresse du serveur suivant votre configuration :

      [[code]]czoyNDpcInZpIC9ldGMvYXB0L3NvdXJjZXMubGlzdFwiO3tbJiomXX0=[[/code]]

      [[code]]czoyOTY4OlwiCiNkZWIgY2Ryb206W1VidW50dSA5LjEwIF9LYXJtaWMgS29hbGFfIC0gUmVsZWFzZSBpMzg2ICgyMDA5MTAyOC41KV17WyYqJl19LyBrYXJtaWMgbWFpbiByZXN0cmljdGVkCiMgU2VlIGh0dHA6Ly9oZWxwLnVidW50dS5jb20vY29tbXVuaXR5L1VwZ3JhZGVOb3Rlc3tbJiomXX0gZm9yIGhvdyB0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idXtbJiomXX1udHUsIGJ1dCBpcyBvZmZlcmVkIGJ5IENhbm9uaWNhbCBhbmQgdGhlCiMjIHJlc3BlY3RpdmUgdmVuZG9ycyBhcyBhIHNlcnZpY2Uge1smKiZdfXRvIFVidW50dSB1c2Vycy4KIyBkZWIgaHR0cDovL2FyY2hpdmUuY2Fub25pY2FsLmNvbS91YnVudHUga2FybWljIHBhcnRuZXIKIyB7WyYqJl19ZGViLXNyYyBodHRwOi8vYXJjaGl2ZS5jYW5vbmljYWwuY29tL3VidW50dSBrYXJtaWMgcGFydG5lcgoKZGViIGh0dHA6Ly9zZWN1cntbJiomXX1pdHkudWJ1bnR1LmNvbS91YnVudHUga2FybWljLXNlY3VyaXR5IG1haW4gcmVzdHJpY3RlZApkZWItc3JjIGh0dHA6Ly9zZWN1cml0e1smKiZdfXkudWJ1bnR1LmNvbS91YnVudHUga2FybWljLXNlY3VyaXR5IG1haW4gcmVzdHJpY3RlZApkZWIgaHR0cDovL3NlY3VyaXR5LnVidW57WyYqJl19dHUuY29tL3VidW50dSBrYXJtaWMtc2VjdXJpdHkgdW5pdmVyc2UKZGViLXNyYyBodHRwOi8vc2VjdXJpdHkudWJ1bnR1LmNvbS91YntbJiomXX11bnR1IGthcm1pYy1zZWN1cml0eSB1bml2ZXJzZQpkZWIgaHR0cDovL3NlY3VyaXR5LnVidW50dS5jb20vdWJ1bnR1IGthcm1pYy1ze1smKiZdfWVjdXJpdHkgbXVsdGl2ZXJzZQpkZWItc3JjIGh0dHA6Ly9zZWN1cml0eS51YnVudHUuY29tL3VidW50dSBrYXJtaWMtc2VjdXJpdHl7WyYqJl19IG11bHRpdmVyc2UKXCI7e1smKiZdfQ==[[/code]]

      Explication

      • En résumé, les trois branches devant être sélectionnées :

      [[code]]czozMTM6XCIKZGViIGh0dHA6Ly9taXJyb3JzLmtlcm5lbC5vcmcvdWJ1bnR1IGludHJlcGlkIG1haW4gbWFpbi9kZWJpYW4taW5zdGF7WyYqJl19bGxlciByZXN0cmljdGVkIHJlc3RyaWN0ZWQvZGViaWFuLWluc3RhbGxlcgpkZWIgaHR0cDovL21pcnJvcnMua2VybmVsLm9yZy91YntbJiomXX11bnR1IGludHJlcGlkLXVwZGF0ZXMgbWFpbiByZXN0cmljdGVkCmRlYiBodHRwOi8vc2VjdXJpdHkudWJ1bnR1LmNvbS91YnVudHUge1smKiZdfWthcm1pYy1zZWN1cml0eSBtYWluIHJlc3RyaWN0ZWQgdW5pdmVyc2UgbXVsdGl2ZXJzZQoKY2xlYW4gaHR0cDovL21pcnJvcnMua2V7WyYqJl19cm5lbC5vcmcvdWJ1bnR1ClwiO3tbJiomXX0=[[/code]]

      • Le répertoire de base :

      [[code]]czoyNTpcInNldCBiYXNlX3BhdGggICAgL21pcnJvci9cIjt7WyYqJl19[[/code]]

      • On ne prend que pour l’architecture i386 :

      [[code]]czoyMTpcInNldCBkZWZhdWx0YXJjaCAgaTM4NlwiO3tbJiomXX0=[[/code]]

      • Rajouter cette directive dans le fichier de configuration pour limiter la consommation de la bande passante, 50K * 10 = 500Kilos

      [[code]]czoxODpcInNldCBsaW1pdF9yYXRlIDUwa1wiO3tbJiomXX0=[[/code]]

      Sources

      Pour aller plus loin

      Problèmes rencontrés

      apt-mirror is already running, exiting at /usr/bin/apt-mirror line 187.

      • La solution sur la version 9.10, est de supprimer le fichier **apt-mirror.lock**

      [[code]]czozMDpcInJtIC9taXJyb3IvdmFyL2FwdC1taXJyb3IubG9ja1wiO3tbJiomXX0=[[/code]]

Installer un serveur Ubuntu Karmic Koala 9.10

Installation

  1. Téléchargement de l’iso à l’adresse : ubuntu-9.10-server-i386.iso. Graver votre cd et booter dessus.
  2. Sélectionner la langue du programme d’installation (français) et valider Installer Ubuntu Server
  3. Choix de la langue d’installation (France)
  4. Détection de l’agencement du clavier (oui)
  5. Test de la disposition du clavier (touches y et w)
  6. Touche œ (oui)
  7. Clavier type latin9 (oui)
  8. Détection du réseau
  9. Choix du nom d’hôte
  10. Partitionnement
  11. Nouvel utilisateur
  12. Mot de passe
  13. Chiffrement du dossier personnel (non)
  14. Serveur mandataire pour l’application apt (non)
  15. Mise à jour (installer les mises à jour de sécurité automatiquement)
  16. Sélection des logiciels (openssh server)
  17. Installation terminée

Mise à jour et purge des paquets inutiles

[[code]]czo3OTpcImFwdC1nZXQgdXBkYXRlICYmIGFwdC1nZXQgdXBncmFkZSAteSAmJiBhcHQtZ2V0IGF1dG9jbGVhbiAmJiBhcHQtZ2V0IGF7WyYqJl19dXRvcmVtb3ZlXCI7e1smKiZdfQ==[[/code]]

Configuration

Paramétrage réseau
La personnalisation du bashrc

Services

SNMP
Bind

Astuces

  • Connaître la version d’Ubuntu sur laquelle vous vous trouvez :
  • [[code]]czoxNDpcImxzYl9yZWxlYXNlIC1hXCI7e1smKiZdfQ==[[/code]]

    • Comment faire pour savoir quel noyau que vous utilisez
    • [[code]]czo4OlwidW5hbWUgLXJcIjt7WyYqJl19[[/code]]

Installer Ubuntu depuis un serveur de dépôts (miroir)

Objectifs

  • Pouvoir installer une distribution Ubuntu (9.10, Karmic Koala) depuis le réseau local sans aucune intervention extérieure.
  • Le principe :
  • Boot PXE -> Lecture du fichier de pré-configuration -> installation automatisée depuis votre serveur de dépôts local

Pré-requis

  1. Bind
  2. DHCP
  3. PXE
  4. Miroir local Ubuntu
  5. Installation automatisée par fichier Preseed

Ajouter les référentiels à votre mirroir

[[code]]czoyNjpcInZpIC9taXJyb3IvYXB0LW1pcnJvci5jb25mXCI7e1smKiZdfQ==[[/code]]

[[code]]czo0NzI6XCIKIyBNaXJvaXIgS2FybWljIEluc3RhbGxlcgpkZWIgaHR0cDovL2FyY2hpdmUudWJ1bnR1LmNvbS91YnVudHUvIGthcm17WyYqJl19aWMgICAgICAgICAgIG1haW4vZGViaWFuLWluc3RhbGxlciByZXN0cmljdGVkL2RlYmlhbi1pbnN0YWxsZXIgdW5pdmVyc2UvZGViaXtbJiomXX1hbi1pbnN0YWxsZXIgbXVsdGl2ZXJzZS9kZWJpYW4taW5zdGFsbGVyCmRlYiBodHRwOi8vYXJjaGl2ZS51YnVudHUuY29tL3VidW50e1smKiZdfXUvIGthcm1pYy11cGRhdGVzICAgbWFpbi9kZWJpYW4taW5zdGFsbGVyCiNkZWIgaHR0cDovL2FyY2hpdmUudWJ1bnR1LmNvbS91YnV7WyYqJl19bnR1LyBrYXJtaWMtYmFja3BvcnRzCmRlYiBodHRwOi8vYXJjaGl2ZS51YnVudHUuY29tL3VidW50dS8ga2FybWljLXNlY3VyaXR5IHtbJiomXX0gbWFpbi9kZWJpYW4taW5zdGFsbGVyCmRlYiBodHRwOi8vYXJjaGl2ZS51YnVudHUuY29tL3VidW50dS8ga2FybWljLXByb3Bvc2Vke1smKiZdfSBtYWluL2RlYmlhbi1pbnN0YWxsZXIKXCI7e1smKiZdfQ==[[/code]]

  • Mettre à jour le serveur de dépôts :

[[code]]czozNDpcImFwdC1taXJyb3IgL21pcnJvci9hcHQtbWlycm9yLmNvbmZcIjt7WyYqJl19[[/code]]

Sources

Ajouter les l’option de boot à votre PXE

  • Editer le fichier default :

[[code]]czo0MDpcInZpIC92YXIvbGliL3RmdGJvb3QvcHhlbGludXguY2ZnL2RlZmF1bHRcIjt7WyYqJl19[[/code]]

  • Ajouter les lignes suivantes :

[[code]]czo0OTM6XCIKbGFiZWwgS2FybWljIEtvYWxhIHNlcnZlciBMYW4KTUVOVSBMQUJFTCAgICAgIEthcm1pYyBLb2FsYSBEZXNrdG9wIF57WyYqJl19bGFuCmtlcm5lbCBrYXJtaWMvbmV0Ym9vdC5pMzg2L2xpbnV4CiNrYXJtaWMvaW5zdGFsbC9uZXRib290L3VidW50dS1pbnN0YWxsZXtbJiomXX1yL2kzODYvbGludXgKYXBwZW5kIHZnYT1ub3JtYWwgaW5pdHJkPWthcm1pYy9uZXRib290LmkzODYvaW5pdHJkLmd6IHJhbWRpc2tfe1smKiZdfXNpemU9MTY0NjQgcm9vdD0vZGV2L3JkLzAgcncgcHJlc2VlZC91cmw9aHR0cDovL21vbnNlcnZldXIuZG9tYWluLnRsZC91YnVudHV7WyYqJl19L3ByZXNlZWQvOTEwLmRlc2t0b3AubGFuLmNmZyBsb2NhbGU9ZnJfRlIgYm9vdGtiZD1mciBjb25zb2xlLXNldHVwL2xheW91dGNvZHtbJiomXX1lPWZyIGNvbnNvbGUtc2V0dXAvdmFyaWFudGNvZGU9bm9kZWFka2V5cyBERUJDT05GX0RFQlVHPTUgbmV0Y2ZnL2dldF9ob3N0bmFte1smKiZdfWU9bmV0LWluc3RhbGwgbmV0Y2ZnL2dldF9kb21haW49d29ya2dyb3VwLS0KXCI7e1smKiZdfQ==[[/code]]

Création du fichier preseed

  • A mettre depuis un endroit accessible par le serveur PXE (Sources) :

[[code]]czoyNjk2OlwiCiMKZC1pIG1pcnJvci9zdWl0ZSBzdHJpbmcga2FybWljCiMKIyBDb25maWd1cmF0aW9uIHJlc2VhdSAob2Jzb2xldGV7WyYqJl19IHNpIHByw6lzZW5jZSBkXCd1biBESENQKQojI2QtaSBuZXRjZmcvZ2V0X2hvc3RuYW1lIHN0cmluZyB1bmFzc2lnbmVkLWhvc3RuYW17WyYqJl19ZQojI2QtaSBuZXRjZmcvZ2V0X2RvbWFpbiBzdHJpbmcgdW5hc3NpZ25lZC1kb21haW4KIyNkLWkgbmV0Y2ZnL2dldF9ob3N0bmFtZXtbJiomXX0gc2VlbiB0cnVlCiMjZC1pIG5ldGNmZy9nZXRfZG9tYWluIHNlZW4gdHJ1ZQojCiMgSW5zdGFsbCBzb3VyY2UKZC1pCW1pcnJvci9je1smKiZdfW91bnRyeQkJc3RyaW5nIGZyCmQtaSAgICAgbWlycm9yL2h0dHAvY291bnRyaWVzICAgc2VsZWN0IGZyCmQtaQltaXJyb3IvcHJvdG97WyYqJl19Y29sIHNlbGVjdAlodHRwCmQtaQltaXJyb3IvaHR0cC9ob3N0bmFtZQlzdHJpbmcgbW9uc2VydmV1ci5kb21haW4udGxkCmQtaQltaXtbJiomXX1ycm9yL2h0dHAvZGlyZWN0b3J5C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pcHRzIHBjaXV0aWxzIGV0aHRvb2wKXCI7e1smKiZdfQ==[[/code]]

Tutoriels

Ajouter des boutons dans le menu d’édition de Dokuwiki

J’avais besoin d’un bouton pour appeler la balise code et voici à dispo mon plugin : http://www.cymea.net/download/dokuwiki/plugins/abte.zip

Il est inspiré du plugin note et il est possible de modifier directement le fichier script.js, un template est à disposition.

Fonctionnel, simple et efficace :o )

Arguments pour le démarrage de Counter Strike Source

Arguments pour le client steam

Arguments pouvant être ajoutés au lancement de Counter Strike par l’intermédiaire de Steam :

[[code]]czoxNDE1OlwiCi1ub2ZvcmNlbWFjY2VsIC1ub2ZvcmNlbXBhcm1zIC1ub2ZvcmNlbXNwZCAtdyB4eHggLTMyYnBwCi1oZWFwc2l6ZSB7WyYqJl19eHh4eHh4IC1mcmVxIHh4eCAtZHhsZXZlbCB4eCAtbm9qb3kKLWFwcGxhdW5jaCB4eCAtZ2wgLWZ1bGwgLW5vaXB4CkZpbGwgaW4gdHtbJiomXX1oZSB4XCdzIHdpdGggb25lIG9mIHRoZSBwcm9wZXIgY2hvaWNlcyBsaXN0ZWQgYmVsb3cuCjUxMk1CIFN5c3RlbSBNZW1vcnk6IC1oZXtbJiomXX1hcHNpemUgMjYyMTQ0CjFHQiBTeXN0ZW0gTWVtb3J5OiAtaGVhcHNpemUgNTI0Mjg4CjJHQiBTeXN0ZW0gTWVtb3J5OiAtaGVhcHNpe1smKiZdfXplIDEwNDg1NzYKRGVkaWNhdGVkIFNlcnZlcjogLWFwcGxhdW5jaCA1CkNvdW50ZXItU3RyaWtlOiAtYXBwbGF1bmNoIDEwClRlYW17WyYqJl19IEZvcnRyZXNzIENsYXNzaWM6IC1hcHBsYXVuY2ggMjAKRGF5IG9mIERlZmVhdDogLWFwcGxhdW5jaCAzMApIYWxmLUxpZmU6IC1hcHtbJiomXX1wbGF1bmNoIDcwCkhhbGYtTGlmZSBIaWdoIERlZmluaXRpb246IC1hcHBsYXVuY2ggOTYKQ29uZGl0aW9uIFplcm86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A7IEVuYWJsZXMgMzJCaXQgcmVuZGVyaW5nLgotMTZicHAgOyBFbmFibGV7WyYqJl19cyAxNkJpdCByZW5kZXJpbmcuIChOb3QgUmVjb21tZW5kZWQpCkRpcmVjdFggOTogLWR4bGV2ZWwgOTAKRGlyZWN0WCA4LjE6IC1keHtbJiomXX1sZXZlbCA4MQpEaXJlY3RYIDg6IC1keGxldmVsIDgwCkRpcmVjdFggNzogLWR4bGV2ZWwgNzAKXCI7e1smKiZdfQ==[[/code]]

Haut de Page

INFORMATION

Changez cette phrase et le titre dans la page d'options de l'administration du theme