Category: Administration / Server

06.08.2017

ome observers might well believe that the kernel has accumulated plenty of special-purpose virtual filesystems. Even so, 2.6.14 will include yet another one: securityfs. This filesystem is meant to be used by security modules, some of which were otherwise creating […]

06.08.2017

the mail system is a very broken and corrupted system. sending-addresses can be forged – spam from all over the world is flooding the mailboxes – viruses get attached… nobody trusts attachments anymore. it’s a completely newly C++ developed mailserver […]

06.08.2017

exim is one of the most used MTAs on mail-enabled servers on the internet and default on Debian/Ubuntu(?). Original author(s) Philip Hazel (started 1995) Developer(s) The Exim Maintainers Thus you can expect hackers, crackers and NSA to target it. Exim […]

Howto install and setup File Sharing Server with GNU Linux
04.08.2017

ext3+gnu_linux+samba = fast and reliable fileserver. WARNING! Security problems Versions from Version 3.5.0 to 4.6.4 (recent in May 2017 ) are affected and need to be patched! patches are available from: https://www.samba.org/samba/patches/ Unfortunately EVEN Debian9 (!!!! GUYS FIX THAT FAST […]

02.08.2017

nginx can be used as webserver, web-proxy and even mail-proxy. „Apache ist aufgrund seiner Architektur und Arbeitsweise doch eher der Traktor unter den Webservern.“ X-D (src) let me try to translate: „Apache is due to its architecture and functioning rather […]

01.08.2017

I believe since you do not know the file name/process id, you could specify user name option as below. lsof -r 2 -u username The „-r 2“ option puts lsof in repeat mode, with updates every 2 seconds. (Ctrl -c […]

compiling squid http proxy from source
31.07.2017

checkout what is the latest version: ftp://ftp.cuhk.edu.hk/pub/packages/info-systems/www/squid/ probably this is more recent: https://github.com/squid-cache/squid you could also try git clone https://github.com/squid-cache/squid.git and compile with the git source tree… let me know if it worked. hostnamectl; # tested on [root@CentosMaster squid-4.0.21]# hostnamectl […]

debian 9 stretch – howto setup docker container software
31.07.2017

What is docker? (src) Docker is the world’s leading software container platform. Developers use Docker to eliminate “works on my machine” problems when collaborating on code with co-workers. Operators use Docker to run and manage apps side-by-side in isolated containers […]

31.07.2017

sending a mail with fake „from:“ to dwaves.de telnet dwaves.de 25 Trying 78.46.249.71… Connected to dwaves.de. Escape character is ‚^]‘. 220 dwaves.de ESMTP Exim 4.84_2 Mon, 31 Jul 2017 11:41:29 +0200 EHLO SMTP.example.net 250-dwaves.de Hello hsi-kbw-5-158-158-169.hsi19.kabel-badenwuerttemberg.de [5.158.158.169] 250-SIZE 52428800 250-8BITMIME […]

28.07.2017

  i did just some basic testing… and managed to compile the php7.3 binary – but the make install failed. it would help to have multiple cores… hostnamectl; # tested with Static hostname: CentosSlave Icon name: computer-vm Chassis: vm Operating […]

27.07.2017

in general: social competence demands to first praise then critizise – no matter what – nobody is perfect or god. praise: Thanks for this massively cool webserver software – that can do so many things (vhosts and .htaccess and php) […]

CentOS Redhat – compile Apache2 from source
27.07.2017

i tried to compile under debian…. but it’s way more compli cated. also: you probably do not need all the packages stated here… but i did not have the time to sort those out sorry for that. feel free to […]

webserver software marketshare – NetCraft – Web Internet stats statistics – growth number of sites – total number of websites – internet stats statistics
27.07.2017

according to https://w3techs.com/technologies/overview/web_server/all apache(2 i guess) is still the dominant webserver on the internet with a market share of 50%. src: https://trends.builtwith.com/web-server according to builtwith.com it is „only“ 40% market share for the apache(2) webserver. also most sites are running […]

20.07.2017

the strangest thing about mtr is probably that it seems to work only with a desktop-terminal. not an ssh-terminal 😀 What is MTR? mtr combines the functionality of the ‚traceroute‘ and ‚ping‘ programs in a single network diagnostic tool. As […]

12.07.2017

Init Ram Disk filesystem – kind of mini OS in order to mount raid and start „the real /root os“. hostnamectl; # tested on Static hostname: debian9 Icon name: computer-vm Chassis: vm Machine ID: 532eabca552b4075a8679094397c8dba Boot ID: 15ee0b8e8a1e4d1eb1003c4630644091 Virtualization: microsoft […]

10.07.2017

you should setup harddisk encryption during setup. to add an encrypted /home partition afterwards might be possible but a lot more effort. scroll very down if you want to know how to encrypt an usb sticks … needless to say […]

gnu linux smart s.m.a.r.t harddisk faillure surveillance
10.07.2017

harddisks… are blackboxes of data – if something fails… you do not repair – you replace. 65% of all harddisk failurs can be announced with smart. wohoo! so don’t rely on it 😀 apt-get install smartmontools # some commands smartctl […]

07.07.2017

btrfs is used by SUSE12 for the /root partition – where it is doing daily snapshots of the installed OS. It has more functionality built-in than just storing files. This article wants to take btrfs for a test-drive. Video Tutorials: […]

GNU Linux -> undelete ext3 vs ext4
06.07.2017

Q0: Someone accidentally deleted files on an ext3 partition? Yes -> Q2: You have a working backup of some sort? No -> POWEROFF your PC / Laptop / Server IMMEDIATELY or remount the affected partition read only and get access to […]

06.07.2017

can be easily checked via: root@debian9:~# cat /proc/filesystems nodev sysfs nodev rootfs nodev ramfs nodev bdev nodev proc nodev cpuset nodev cgroup nodev cgroup2 nodev tmpfs nodev devtmpfs nodev debugfs nodev tracefs nodev securityfs nodev sockfs nodev bpf nodev pipefs […]

03.07.2017

strace from the strace.man.txt manpage. trace system calls and signals In the simplest case strace runs the specified command until it exits. It intercepts and records the system calls which are called by a process and the signals which are […]

centos redhat compiling the latest kernel
30.06.2017

this also worked under debian9 stretch… it now also works for Centos7/Redhat. in this example i try to compile the latest kernel from kernel.org on CentOS7 it compiles… and boots up… hit ESC or other keys to see the verbose […]

Linux Kernel – Security Updates
27.06.2017

latest kernel related security problems can be found here… -> https://tracker.debian.org/pkg/linux newsletter subsribe: https://tracker.debian.org/accounts/login/ also https://anonscm.debian.org/cgit/kernel/linux.git http://www.securityfocus.com/ http://www.securityfocus.com/cgi-bin/index.cgi?c=11&op=display_threads&ListID=1&limit=30&offset=0&date=2017-06-20&mode=threaded https://cve.mitre.org/index.html https://twitter.com/CVEnew/ https://wiki.debian.org/DebianKernel