Category: Server

  • 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

  • TFTP server installation

    1. Install tftpd and related packages. $ sudo apt-get install xinetd tftpd tftp 2. Create /etc/xinetd.d/tftp and put this entry: service tftp { protocol = udp port = 69 socket_type = dgram wait = yes user = nobody server = /usr/sbin/in.tftpd server_args = /tftpboot disable = no } 3. Make /tftpboot directory $ sudo mkdir…

  • Move and populate md device on different server

    sudo mdadm –assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 re-add disk sudo mdadm –add /dev/md1 /dev/sda1 /dev/sdc1 Start md sudo mdadm -R /dev/md1

  • How To Install VMware Server 2 On Ubuntu 9.04

    http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04: sudo aptitude install linux-headers-`uname -r` build-essential xinetd tar xvfz VMware-server-*.tar.gz cd vmware-server-distrib sudo ./vmware-install.pl /etc/initramfs-tools/modules pvscsi sudo mkinitramfs -o /boot/initrd.img-2.6.28-18-server gzip -dc ../initrd.img | cpio -ivd

  • OpenDNSSec

    http://www.opendnssec.org/ sudo aptitude install build-essential http://trac.opendnssec.org/wiki/Signer/Install

  • md device

    mdadm –create /dev/md0 –chunk=4 –level=0 –raid-devices=2 /dev/sda4 /dev/sdb1 mdadm -A <md-device> <components> –homehost=<somestring> –update=homehost sudo nano /etc/udev/rules.d/85-mdadm.rules Then find this text, which should be the only uncommented text:   SUBSYSTEM==”block”, ACTION==”add|change”, ENV{IDFSTYPE}==”linux_raid*”, \ RUN+=”watershed /sbin/mdadm –assemble –scan –no-degraded”   Replace the –no-degraded option with the –run option like so:   SUBSYSTEM==”block”, ACTION==”add|change”, ENV{IDFSTYPE}==”linux_raid*”, \ RUN+=”watershed…

  • pure-ftpd-mysql

    How to install and configure pure-ftpd Posted in July 25, 2008 ¬ 12:30 amh.thomas This is how to install and configure the pure-ftpd ftp server on your Ubuntu or Debian server or workstation. First use apt to download and install the pure-ftpd package – it is available from default repositories : root@box:~# apt-get install pure-ftpd…

  • Installera Zaptel

    Install Zaptel Zaptel is a set of tools and drivers for the zapata telephony cards. Even if you don’t own a zapata card is wise to install this packages as it also contains a dummy driver that is used for generating clock ticks that asterisk uses for various tasks, example to play sound files or…