Category Archives: Linux

Stuff about Linux

Postfix: Internal Mailrelay with Auth and TLS encryption to Provider

Hi,

this will describe the steps to setup a MailRelay for internal use the accepts SMTP Mails and relay it over a secure TLS connection with authification to an external mail provider on top of Debian 8 Jessie.
Continue reading Postfix: Internal Mailrelay with Auth and TLS encryption to Provider

Raspberry Pi: Script to (Cross) Compile a new Kernel

Hi,

a my Project Owncloud on a Raspberry Pi I want to use AppArmor to protect the lighttpd webserver. Unfortunately the default kernel is complied without apparmor support.

So I decided to build my own kernel:-)

Continue reading Raspberry Pi: Script to (Cross) Compile a new Kernel

Debian: Install a build environment at once

Hi,

if you want to compile some source packages yourself a build environment with most usable build tools is neccessary.
Continue reading Debian: Install a build environment at once

Debian: Save current active iptables rules

Hello,

some basic commands to handle a ruleset of iptables.

To dump all active iptables rules to the console rules use


root@debdev:~ # iptables-save

Continue reading Debian: Save current active iptables rules

Linux: Move a process from fore- to background

Hi,

bash offers the ability to move a running foreground process into background.

An example 🙂 Listen with netcat at tcp port 80, this process to not exit and stays in foreground.

root@debdev:~# nc -l -t -p 80 -s 10.254.1.1

Now I want to do some other things in this console.
Continue reading Linux: Move a process from fore- to background