Tag Archives: cent os

How to setup HTTP Strict Transport Security With Lighttpd Web Server

How to setup HTTP Strict Transport Security With Lighttpd Web Server

HTTP Strict Transport Security (HSTS) is a security feature that lets your web site tell client browsers that it should only be communicated with using HTTPS only. How can I setup HSTS using lighttpd web server on Linux or Unix-like system?
Halal Vitamins

Powered by WPeMatico

Issue #1

Issue #1

News and updates from Linux/Unix and FOSS world

  • {PHP} PHP 7.0.13 released
  • {Debian} Debian 9 drops support for powerpc
  • {Security} A fake SSH server that lets everyone in and logs their activity
  • {Docker} Docker in production: A history of failure
  • {Editor} Buttery smooth Emacs
  • {Kernel} The status of Linux kernel hardening
  • {Hardware} Warning: 2016 MacBook Pro is not compatible with Linux. You should avoid Apple and try: 10 Places To Buy A Laptop With Linux Preloaded
  • {Hardware} VoCore2: $4 Coin-sized Linux Computer with WiFi

Free books

  • Learn Vimscript the Hard Way
  • Vim for Humans
  • A byte of Vim

Tutorials

  • {Updated} Openbsd install or add binary software package. Now includes pkg.conf info
  • {Updated} A Shell Primer: Master Your Linux, OS X, Unix Shell Environment
  • {Updated} I love simplicity of OpenBSD. Restart networking service on OpenBSD

Halal Vitamins

Powered by WPeMatico

How to remove all old and outdated brew packages on MacOS

How to remove all old and outdated brew packages on MacOS

I am using Homebrew to install packages on MacOS Sierra or Mac OS X. I noticed multiple version of bash or curl installed in /usr/local/Cellar/bash/. How can I delete an outdated version of brew packages and only keep the latest version on my system?
Halal Vitamins

Powered by WPeMatico

How to speed up OpenSSL/GnuPG Entropy For Random Number Generation On Linux

How to speed up OpenSSL/GnuPG Entropy For Random Number Generation On Linux
Entropy is nothing but the measure of “randomness” in a sequence of bits. The PRNG ( pseudorandom number generator ) is a special device (e.g. /dev/random on Linux) to create randomness from server hardware activities. It uses interrupts generated from the keyboard, hard disk, mouse, network and other sources. The random number generator gathers environmental noise from device drivers and other sources into an entropy pool. The randomness usually used for security purposes like creating TLS/SSL keys and the quality source of random bits is critical. For example, OpenSSL APIs can use quality randomness to make your program cryptographically secure. However, a poor source of randomness could result in loss of security. In this post, I will cover haveged and rng-utils/rng-tools to generate random numbers and feed linux random device for your virtual or dedicated Linux server.
Halal Vitamins

Powered by WPeMatico

How to use curl command with http/2 on MacOS X

How to use curl command with http/2 on MacOS X

I am using a MacOS sierra (version 10.12.1). How do I use curl command with http2/ protocol? I am getting an error that read as follows:
Halal Vitamins

Powered by WPeMatico

Book Review: PAM Mastery

Book Review: PAM Mastery
PAM Mastery Book ReviewLinux, FreeBSD, and Unix-like systems are multi-user and need some way of authenticating individual users. Back in the old days, this was done in different ways. You need to change each Unix application to use different authentication scheme. Also, authentication schemes differed between a variant of Unix systems. Porting was a nightmare. For example to use Windows Server (Active Directory) or LDAP for authentication you need to make changes to an application. Each application had its way of authenticating users. So Open Group lead to the development of PAM for the Unix-like system. Today Linux, FreeBSD, MacOS X and many other Unix-like systems are configured to use a centralized authentication mechanism called Pluggable Authentication Modules (PAM). The book “PAM Mastery” deals with the black magic of PAM.
Halal Vitamins

Powered by WPeMatico