Author: admin

  • SSH keys

    First, install OpenSSH on two UNIX machines, hurly and burly. This works best using DSA keys and SSH2 by default as far as I can tell. All the other HOWTOs I’ve seen seem to deal with RSA keys and SSH1, and the instructions not surprisingly fail to work with SSH2. On each machine type ssh…

  • IPV6 Centos

    Edit /etc/sysconfig/network and set “NETWORKING_IPV6” to “no” Add the following to /etc/modprobe.conf : alias ipv6 off alias net-pf-10 off Run /sbin/chkconfig ip6tables off to disable the IPv6 firewall

  • VMWare on Centos 5

    rpm –import http://packages.vmware.com/tools/VMWARE-PACKAGING-GPG-KEY.pub /etc/yum.repos.d/vmware-tools.repo [vmware-tools] name=VMware Tools for Red Hat Enterprise Linux $releasever – $basearch baseurl=http://packages.vmware.com/tools/esx/<esx-version>/rhel5/<arch> enabled=1 gpgcheck=1 yum install vmware-tools /etc/sysconfig/kernel INITRD_MODULES=pvscsi mkinitrd -f –with=pvscsi /boot/initrd-2.6.18-164.el5PAE.img 2.6.18-164.el5PAE mkinitrd -f –with=pvscsi /boot/initrd-`uname -r`.img `uname -r` För att kolla att pvscsi.ko finns med i initrd filen gzip -dc ../initrd.img | cpio -ivd

  • VemRingde.se AGI in Astersik (PERL) – Ubuntu

    För att kunna använda VemRingde.se API behöver man göra följande ändringar. Det finns säkert smartare lösningar än denna! Lägg till moduler i PERL: sudo cpan install Asterisk::AGI install LWP::UserAgent Filen: /usr/share/asterisk/agi-bin/vemringdese.agi (Grunden tagen ifrån http://apiwiki.vemringde.se/wiki/Asterisk_AGI_f%C3%B6r_vemringde_%28Perl%29) #!/usr/bin/perl -w use Asterisk::AGI; $AGI = new Asterisk::AGI; require LWP::UserAgent; my $ua = LWP::UserAgent->new; $AGI->verbose(“caller: ” . $ARGV[0]); my $response…

  • X11 program remote

    yum install xorg-x11-xauth yum install libXtst yum install xorg-X11-server-Xorg

  • IOstat

    lkp3 Linux 2.6.28-11-generic (lkp3)     01/29/2010     _x86_64_    (8 CPU) avg-cpu:  %user   %nice %system %iowait  %steal   %idle 0.47    0.01    4.14    5.07    0.00   90.74 Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn sda             127.79      4882.74      2847.06 2750630983 1603856106 sda1              0.01         0.59         0.00     330423          2 sda2              0.00         0.00         0.00          4          0 sda3             11.39         1.05       144.24     592232   81256144 sda4            116.39     …

  • sasc-ng – install

    Install SASC-NG From Dolot Jump to:navigation, search Read the *old* tutorial here: Install Open-SASC-NG Open-SASC-NG is dead, long live vdr-SASC-NG! Development on open-sasc-ng has halted a long time ago. Contents [hide] * 1 Introduction * 2 Preparation o 2.1 Got root? o 2.2 Installing dependencies * 3 Installing sasc-ng o 3.1 Getting sasc-ng source o…

  • Ubuntu PXE

    cd /etc/initramfs-tools/ vim initramfs.conf Edit BOOT=local to read BOOT=nfs Before we update the init images, we should back up the current ones just so we can still get back into the local install if ever anything goes horribly wrong… cd /boot mv initrd.img-2.6.20-16-generic initrd.img-2.6.20-16-generic-OLD Now we want to update the initramfs image: update-initramfs -k all…

  • Kannel install

    How to compile and install Kammel om Ubuntu: sudo apt-get install make gcc libxml2 libxml2-dev mysql-server libmysql++-dev mysql-server mysql-client-5.0 phpmyadmin http://kannel.com/download.shtml ./configure –with-mysql –enable-start-stop-daemon make sudo make install http://www.chipmunkninja.com/Setting-up-Configuring-and-Using-13@

  • Asterisk installation

    sudo apt-get install asterisk sudo apt-get install mysql-client sudo apt-get install asterisk-mysql