How to configure Wi-fi+Lan bridged access point in pfSense firewall...
I have installed wireless mini-PCIe card for my pfSense firewall. How do I configure a bridged LAN wifi access point (AP) network and setup pfSense?
View ArticleUbuntu 16.04 Create a cron.log File To Log crontab LogsnixCraft
I am a new Ubuntu Linux 16.04 user. How do I verify that my cron job is executing? I am unable to find /var/log/cron.log file. Where is the cron log file on Ubuntu 16.04 LTS server?
View Articlecron Error: bad username; while reading /etc/cron.d file on LinuxnixCraft
I am getting the following error in my cron job log file /var/log/cron.log: Aug 22 01:59:01 server2 cron[7510]: Error: bad username; while reading /etc/cron.d/backups I have job entry as follows...
View ArticleHow to configure Postfix relayhost (smarthost) to send eMail using an...
How do I configure Postfix MTA to send eMail using an external cloud-based SMTP server (with username: password) from a web server on Linux or Unix-like system? How do I configure an Ubuntu server and...
View ArticleHow to install KVM on Ubuntu 16.04 LTS Headless ServernixCraft
Kernel-based Virtual Machine (KVM) is a virtualization module for the Linux kernel that turns it into a hypervisor. How can I install KVM with bridged networking, setup guest operating system as the...
View ArticleHow to force users to use secure passwords on Ubuntu/Debian LinuxnixCraft
My Linux shell user can modify their password using the passwd command. How can I force users to choose the secure password that will prevent users from using stupid passwords like "abc123",...
View ArticleHow to apply patches on OpenBSD system/kernel and packages easilynixCraft
I am a regular Linux system user. In Linux (especially CentOS), I am used to applying updates a few times a week using yum command, but how do I do that on my OpenBSD severer? How do I apply updates on...
View ArticleHow to create snapshot in Linux KVM VM/DomainnixCraft
Before upgrading my virtual machine, I would like to make a snapshot. I want to revert a domain/VM to a snapshot if something goes wrong with my upgrade. Is there a command to create a snapshot of...
View ArticleHow to live patch Ubuntu Linux Kernel without rebooting the servernixCraft
Kernel live patching enables runtime correction of critical security issues in running kernel without rebooting. How do I enable or patch my Ubuntu Linux 16.04 LTS server without rebooting the box?
View ArticleHow To Patch and Protect Linux Kernel Zero Day Local Privilege Escalation...
A very serious security problem has been found in the Linux kernel. A 0-day local privilege escalation vulnerability has existed for eleven years since 2005. This bug affects all sort of of Android or...
View ArticleHow to install PHP 7 on Debian Linux 8.6/7.x [jessie/wheezy]nixCraft
I wanted to use PHP 7 on Debian 8.x. How do I install and configure PHP 7 on Debian Linux 8.x server? How do I install PHP 7 on Debian Linux 7.x “wheezy” VPS server hosted in cloud? PHP 7 is a dynamic...
View ArticleHow to forcefully mark down pfSense Gateway as downnixCraft
I have two internet connections (fiber and 4G LTE) configured in load balanced mode using pfSense FreeBSD based firewall. One of my connection is running out of bandwidth quota. How can I force and...
View ArticleHow to delete KVM VM guest using virsh commandnixCraft
I am a new Linux and KVM user. How do I delete a VM guest with virsh command line on Linux operating system? How do I delete a virtual machine called vps42 on Ubuntu or CentOS Linux server?
View ArticleHow to automatically mount zfs file system on Linux/Unix/FreeBSDnixCraft
I have created a zfs file system called data/vm_guests on Ubuntu Linux server. After the server reboot, zpools do not automatically mount at /data/vm_guests. It is failing my KVM guest machines. How...
View ArticleHow to run commands on Linux Container (LXD) instance at provision launch...
I would like to perform common automated configuration tasks and run commands/scripts after the LXD instance starts. How to use cloud-init to run commands on my Linux Container (LXD) instance at launch...
View ArticleHow to use curl command with http/2 on MacOS XnixCraft
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:
View ArticleHow to install LXD container hypervisor on Ubuntu 16.04 LTS servernixCraft
How do I install LXD container "hypervisor" to runs unmodified Debian/Ubuntu/CentOS Linux operating systems VM at incredible speed on a Ubuntu Linux 16.04 LTS server?
View ArticleHow to remove all old and outdated brew packages on MacOSnixCraft
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...
View ArticleLinux kvm exit from a virsh console commandnixCraft
I installed KVM on Ubuntu server as described here. However, I am unable to get out of a 'virsh console domain' command. How can I exit from a "virsh console" connection over ssh based session?
View ArticleHow to check if port is in use on Linux or UnixnixCraft
How do I determine if a port is in use under Linux or Unix-like system? How can I verify which ports are listening on Linux server?
View Article