Ajitabh Pandey's Soul & Syntax

Exploring systems, souls, and stories – one post at a time

Author: Ajitabh

  • Fedora 10 x86-64 on a Laptop

    I recently bought a Compaq Presario V3000 laptop after my IBM Thinkpad gave up on me. Since this is a 64-bit laptop I thought it will be a nice opportunity to jump into the 64-bit desktop experience.
    (more…)

  • Tightening up OpenSSH

    Often I am required required to run a public ssh server, so its a good idea to restrict the OpenSSH server as much as possible.
    (more…)

  • Building A Highly Available Nginx Reverse-Proxy Using Heartbeat

    A cluster in computing is a term used to describe a group of closely linked computers often appearing as a single entity to the outside world. There are various types of clusters—high-availability (HA) clusters, load-balancing clusters, compute clusters or high performance computing (HPC) clusters and grids.

    (more…)

  • Building A Highly-Available Web Server Cluster

    nginx (pronounced as ‘engine x’) is a powerful HTTP Web server/reverse proxy and IMAP/POP3 reverse proxy. According to a survey conducted in December 2008 by Netcraft, nginx has grown significantly and has surpassed lighttpd (also known as Lighty). Because of its small memory footprint and high scalability, nginx has found tremendous usage in virtual private servers (VPS).

    (more…)

  • Recovering from lost root password in OpenBSD

    Want to recover a lost root password in OpenBSD, type boot -s at the boot prompt in OpenBSD hit enter when prompted for shell and enter vt220 as the TERM.

    boot> boot -s
    Enter pathname of shell or RETURN for sh:
    Enter Terminal: vt220
    

    Next run an fsck on the root filesystem and mount it read-write. If you have a seperate /usr filesystem then you should also mount it read-write. Finally run the passwd command to change the password.

    # fsck /
    # mount -uw /
    # passwd