dec 212012

netwerkEr zijn verschillende Linux distributies die allemaal een eigen manier hebben van het netwerk configureren.
Via de grafische schil zoals Gnome is het vrij eenvoudig. Maar voor servers moet het via tekstbestanden.

Aangegeven moet worden of de server een statisch ip heeft of via DHCP een IP adres krijgt toe gewezen.
Het IP adres, subnet mask, DNS servers etc.

Hieronder staat beschreven hoe het per disto moet.

Continue reading »

sep 242012

Nginx is an awesome webserver and reverse proxy that is feature rich and super fast. here is the description of the server:


Nginx is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev started development of Nginx in 2002, with the first public release in 2004. Nginx now hosts nearly 6% (13M) of all domains worldwide.

Nginx is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.

Nginx is one of a handful of servers written to address the C10K problem. Unlike traditional servers, Nginx doesn’t rely on threads to handle requests. Instead it uses a much more scalable event-driven (asynchronous) architecture. This architecture uses small, but most importantly,predictable amounts of memory under load.
Even if you don’t expect to handle thousands of simultaneous requests, you can still benefit from Nginx’s high-performance and small memory footprint. Nginx scales in all directions: from the smallest VPS all the way up to clusters of servers. Continue reading »

sep 182012


DPKG is de packet manager van Debian. Deze wordt op de achtergrond gebruikt door Advanced Package Tool welke packetten kan updaten en onderhouden in Debian en Ubuntu.

DPKG wordt gebruikt om .deb packetten te installeren.

Versies van pakketten bekijken:

dpkg -l | grep <<pakket naam>>

You need to use dpkg package manager from shell/command prompt. dpkg is a tool to install, build, remove and manage packages. dpkg itself is controlled entirely via command line parameters. For example -i use to install .deb file.

How do I install .deb file?

To install package called package.deb type the following command:

Go to directory where package.deb is kept. For example if it is in /tmp directory:

cd /tmp

Type the following command:

dpkg -i package.deb
sep 142012

Root wachtwoord kwijt?

Voer de volgende stappen uit om een nieuw root wachtwoord in te stellen

  1. Hold the Shift key at boot to display the Grub boot menu.
  2. Select the top Grub entry, it will be similar to:
    Ubuntu, with Linux 2.6.32-22-generic-pae
  3. Hit e to edit the the Grub entry.
  4. Find the line that looks like this:
    linux /boot/vmlinuz-2.6.32-22-generic-pae
    ro vga=794 quiet splash
  5. Change the line to:
    linux /boot/vmlinuz-2.6.32-22-generic-pae
    root=UUID=xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx rw init=/bin/bash
  6. Hit crtl+x to boot

Your machine will now do a one time boot into single user mode. Once you reboot the changes you just made to Grub will be reverted.