Category: RedHat / CentOS

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 […]

28.07.2017

i really don’t know why this is not a one-liner… it would save time and electricity and cause less searchengine-request. yum install epel-release yum install htop

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 […]

CentOS7 replaced firewall iptables with firewalld
27.07.2017

no iptables no more – some things change faster than you can say „beneune„… check if it is up and running: systemctl list-unit-files|grep firewall firewalld.service enabled open a port, permanently: firewall-cmd –zone=public –add-port=80/tcp –permanent firewall-cmd –reload „The former firewall model […]

CentOS7 Security Profiles and Software Security Flaws TopList
25.07.2017

exploits in software toplist: 2017: https://www.cvedetails.com/top-50-products.php?year=2017 All time: https://www.cvedetails.com/top-50-products.php That is why the Unix Philosophy of small, modular and beautiful matters … maybe that’s why Mr Stallmann prefers Microkernels… but well let’s be happy there is an alternative kernel to […]

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

21.06.2017

debian has „codenames“ for it’s releases… i always get confused which codename is what release number. with those commands you can easily identify both. hostnamectl seems to be the cross-distribution solution for that. user@suse12:~> hostnamectl Static hostname: suse12.domain Transient hostname: […]

system logging – log files – rsyslog rsyslogd
12.06.2017

TOS-based systems (Atari ST) used a row of bombs to indicate a critical system error. Number of bombs displayed revealed information about the error. The error (also called an exception) is reported by the Motorola 68000 microprocessor. The very first […]

07.06.2017

file access modify creation time will always be in UTC format. In which time offset is +hours or -hours from Longitude: 0° (Prime Meridian) Prime meridian (Greenbich) GPS: 0° 00′ 05.3101″ W Other names: Z / Zulu Time Zone Time […]

24.05.2017

What is yum? yum is used under CentOS7, Fedora, RedHat RHEL, Oracle). It’s written in python and it stands for “Yellowdog Updater, Modified”, as it was originally called “yup”, the package manager for Yellow Dog Linux. In addition to rpm […]

19.05.2017

there are plenty 😀 debian8.8 uname -a; # tested with Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.43-2 (2017-04-30) i686 GNU/Linux find / -type d -iname bin /bin /usr/local/bin /usr/bin /usr/share/doc/libintl-perl/examples/simplecal/bin /usr/lib/klibc/bin suse12 uname -a; # tested with Linux suse 4.4.21-69-default […]

19.05.2017

rpm is a powerful Package Manager for Red Hat, Suse and Fedora Linux. It can be used to build, install, query, verify, update, and remove/erase individual software packages. A Package consists of an archive of files, and package information, including […]

17.05.2017

su; # become root yum install kernel-devel # get kernel source # kernel sources will be copied to /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/ # there is a broken softlink in # /usr/src/kernels/3.10.0-514.el7.x86_64 # -> # /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/ # which you will have to fix like […]

linux CentOS7 – install MATE Gnome2 based Desktop
17.05.2017

yum install epel-release yum groupinstall "X Window system" yum groupinstall "MATE Desktop" systemctl isolate graphical.target; # Tell your system to start the Graphical Interface unlink /etc/systemd/system/default.target; ln -s /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target; reboot; you should get a grafical login prompt now creditz: […]

04.05.2017

what real value can add linux to mankind? efficiency – less power consumed – less waste – because it runs well on old hardware as well transparency – should actually dissalow tyrannie and dictatorship – because you SHOULD acutally be […]

03.05.2017

You could manually and termporarily get an dynamic ip address from dhcp server like this: dhclient eth0; # renew dhcp lease, ask for dhcp address, where eth0 is probably the nic you want The /etc/sysconfig/network file should contain the following […]

Debian8.7 vs CentOS7 vs. SUSE12 – kernel version – filesystem – directory structure – RAM memory usage
24.04.2017

it is interesting to see what kernel+filesystem the distributions rely on. Kernels: While CentOS is still on 3.10, Debian is believing in 3.16, and SUSE is „latest“ with it’s 4.4 Version kernel. http://www.omgubuntu.co.uk/2015/04/linux-kernel-4-0-new-features https://www.heise.de/newsticker/meldung/Linux-Kernel-macht-Versionssprung-auf-4-0-2557302.html you can upgrade with Debian to […]