Support

Forums

Contact Me

Raspberry Pi model B

20130219_211947

Some notes about my experience using the Raspberry Pi model B…and you get it running Linux Debian on it!

The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming.

[…]

We don’t think that the Raspberry Pi is a fix to all of the world’s computing issues; we do believe that we can be a catalyst. We want to see cheap, accessible, programmable computers everywhere; we actively encourage other companies to clone what we’re doing. We want to break the paradigm where without spending hundreds of pounds on a PC, families can’t use the internet. We want owning a truly personal computer to be normal for children. We think that 2012 is going to be a very exciting year. [About Raspberry PI]

Read more: Raspberry Pi model B

Linux server Monitoring mind map

I did create this mind map a while ago, and found it while going through my dropbox folders. Linux server Monitoring “You can't correct something you can't measure” is in version v 1.0.0

You’ll find in this mind map

What to monitor, how and the most useful commands to detect what happening on your Linux server.

Why a mind map?

A mind map is a diagram used to visually outline information. mind map help you take notes, brainstorm complex problems, and think creatively.

  • Information are summarized efficiently to be usable and accessible,
  • Inter-relationships are clear between the different concepts,
  • It is the most flexible for organizing associative, divergent and convergent thinking (Convergent thinking involves aiming for a single, correct solution to a problem, whereas divergent thinking involves creative generation of multiple answers to a set problem),

Read more: Linux server Monitoring mind map

Restrictive Iptables Based Firewall for Webserver script

This script is working on all Linux standard distribution, but use at your own risk! The script has been made to automated the creation of iptables rules. There is an easy to use menu as well

 

 

 

 

root:~# ./firewall.sh
 Firewall script by www.waltercedric.com
  Credits to all various authors - GNU/GPL 3.0 Script
  Choose one of the following options:

[N]ew firewall rules
[C]lear all firewall rules
[T]est firewall rules
[S]ave firewall rules to /etc/network/iptables
[E]xit

Features

  • Use iptables
  • Allow or disallow most services (dns, http, ftp, smtp, icmp, ntp, ssh …),
  • Protect ssh against too many login attempt in a timeframe,
  • Protect ssh and allow only one ip to use that services,
  • Harden the webserver by dropping illegal http packets,
  • Easy to read and extend script written in bash,
  • GNU/GPL 3.0 Script,
  • To use it, just edit the file firewall.sh and change the variables.

    Read more: Restrictive Iptables Based Firewall for Webserver script

    Ubuntu 12.04 update nginx to the latest version

    Official version of nginx for Ubuntu Precise is 1.1.19 but the latest available stable version is 1.2.2 (Changes), In this post I will present you how to update to the latest available version.

    vi /etc/apt/sources.list

    and add depending on your Ubuntu version either

    For Ubuntu 10.04 Lucid:

    deb http://nginx.org/packages/ubuntu/ lucid nginx
    deb-src http://nginx.org/packages/ubuntu/ lucid nginx

    For Ubuntu 12.04 Precise:

    deb http://nginx.org/packages/ubuntu/ precise nginx
    deb-src http://nginx.org/packages/ubuntu/ precise nginx

    Now you can run

    apt-get update

    When using the public nginx repository for Ubuntu, you’ll get this error

    W: GPG error: http://nginx.org lucid Release: The following signatures 
    couldn't be verified because the public key is not available: NO_PUBKEY ABF5BD827BD9BF62

    First of all this is only warning and you can ignore it, if you know what are you doing and in case you prefer to add public key, used for signing packages and repository, just run:

    gpg -a --export 7BD9BF62 |  sudo apt-key add -

    or

    wget http://nginx.org/packages/keys/nginx_signing.key
    cat nginx_signing.key | sudo apt-key add -

    apt-get update should now run fine, however after running an

    apt-get install nginx

    you may still get this kind of error:

    dpkg: error processing /var/cache/apt/archives/nginx_1.2.2-1~precise_amd64.deb (--unpack):
     trying to overwrite '/etc/logrotate.d/nginx', which is also in package nginx-common 1.1.19-1
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/nginx_1.2.2-1~precise_amd64.deb

    just remove nginx-common and retry

    apt-get remove nginx-common 

    More at http://wiki.nginx.org/Install

    Subcategories

    • Suse Linux

      opensuse categorySUSE LINUX is the international technology leader and solutions provider in Open Source operating system software. SUSE's unique expertise in Linux and its largest development team worldwide dedicated to Open Source software has contributed to the recognition of SUSE as the most complete Linux solution available today. With a workforce of more than 500 people worldwide, SUSE has offices throughout Europe, Latin America and in the United States, entirely focused on supporting the Linux community and Open Source development. SUSE LINUX was acquired by Novell, Inc in November 2003.

    • KDE: K desktop environment
      KDE (K Desktop Environment) is a free desktop environment and development platform built with Trolltech's Qt toolkit. It runs on most Unix and Unix-like systems, such as Linux, BSD, AIX and Solaris. There are also ports to Mac OS X using its X11 layer and Microsoft Windows using Cygwin. Currently, a large portion of primary KDE libraries (so called kdelibs, KDE The Application Development Framework) and a few applications can work natively (and without a need for altering its source code) on Microsoft Windows, thanks to KDElibs/win32 Project [Wikipedia]
    • Open Your mind
    • Ubuntu
      Ubuntu , is a computer operating system based on the Debian GNU/Linux distribution. It is named after the Southern African ethical ideology Ubuntu ("humanity towards others") and is distributed as free and open source software with additional proprietary software available
    • Linux sound and multimedia

      linux categoryA widely used Open Source Unix-like operating system. Linux was first released by its inventor Linus Torvalds in 1991. There are versions of Linux for almost every available type of computer hardware from desktop machines to IBM mainframes

    Donations

    Thank You for supporting my work