Tag Archives: linux news

40 Linux Server Hardening Security Tips [2017 edition]

40 Linux Server Hardening Security Tips [2017 edition]
Securing your Linux server is important to protect your data, intellectual property, and time, from the hands of crackers (hackers). The system administrator is responsible for security Linux box. In this first part of a Linux server security series, I will provide 40 hardening tips for default installation of Linux system.
Halal Vitamins

Powered by WPeMatico

Linux/Unix desktop fun: Bastet Tetris(r) clone with block-choosing AI for console

Linux/Unix desktop fun: Bastet Tetris(r) clone with block-choosing AI for console
Xkcd - hell
Do you love the puzzle and Linux/Unix-like system? Command line? Try ncurses based Tetris clone which is harder than every other Tetris out there. From the project home page:

Have you ever thought Tetris(R) was evil because it wouldn’t send you that straight “I” brick you needed in order to clear four rows at the same time? Well Tetris(R) probably isn’t evil, but Bastet certainly is. >:-) Bastet stands for “bastard tetris”, and is a simple ncurses-based Tetris(R) clone for Linux. Unlike normal Tetris(R), however, Bastet does not choose your next brick at random. Instead, Bastet uses a special algorithm designed to choose the worst brick possible. As you can imagine, playing Bastet can be a very frustrating experience!

Halal Vitamins

Powered by WPeMatico

Linux: Iptables List and Show All NAT IPTables Rules Command

Linux: Iptables List and Show All NAT IPTables Rules Command
I am using /sbin/iptables -L -v -n | more command. However, I am unable to list NAT rules. How do I use the iptables command to view or list NAT rules stored in NAT tables? How do I see all the rules in NAT tables under CentOS / RHEL / Debian / Ubuntu Linux based server?
Halal Vitamins

Powered by WPeMatico

How to change or configure OpenBSD package install mirror

How to change or configure OpenBSD package install mirror
openbsd commandI am trying to install nginx server on OpenBSD but keep getting an error that read as follows when I run the pkg_add command:

https://mirror.leaseweb.com/pub/OpenBSD/6.1/packages/amd64/quirks-2.304.tgz” title=”quirks-2.304.tgz: ftp: Error retrieving file: 404 Not Found
signify: gzheader truncated
https://mirror.leaseweb.com/pub/OpenBSD/6.1/packages/amd64/nginx-1.10.2p2.tgz” title=”nginx-1.10.2p2.tgz: ftp: Error retrieving file: 404 Not Found
signify: gzheader truncated

How do I change or configure OpenBSD package install mirror for the pkg_add command?
Halal Vitamins

Powered by WPeMatico

How to test PHP 7 and WordPress MySQL/MariaDB Database connectivity using a PHP script

How to test PHP 7 and WordPress MySQL/MariaDB Database connectivity using a PHP script

I wanted to test if my PHP 7 and MySQL/MariaDB for WordPress are working. If not I wanted to see some error on screen or for my monitoring system. How to write a script for a quick PHP MySQL DB connection test for WordPress or any other database and send an email or text when site is down?
Halal Vitamins

Powered by WPeMatico