Category: Linux

Linux Server Managment

How to update LXD container Ubuntu image from 16.04 to 18.04 nixCraft

I run my app inside Ubuntu Linux 16.04 LTS lxd Linux container. To upgrade Ubuntu 16.04 to 18.04 LTS container, I run do-release-upgrade command, but I am getting the error message that read as “Must

5 Tips To Speed Up Linux Software Raid Rebuilding And Re-syncing nixCraft Updated Tutorials/Posts

It is no secret that I am a pretty big fan of excellent Linux Software RAID. Creating, assembling and rebuilding small array is fine. But, things started to get nasty when you try to rebuild


Linux / UNIX: Check If File Is Empty Or Not Using Shell Script nixCraft Updated Tutorials/Posts

How do I check if a file is empty or not using bash or ksh shell script under a UNIX / Linux / macOS / OS X / BSD family of operating systems? How do


How to setup a UFW firewall on Ubuntu 16.04 LTS server nixCraft Updated Tutorials/Posts

How do I setup a firewall with UFW (uncomplicated firewall) on an Ubuntu Linux 16.04 LTS server to restrict traffic on my personal web-server that hosts my pictures and blogs for my family members?UFW is


How to find out Raspberry Pi GPU and ARM CPU temperature on Linux nixCraft Updated Tutorials/Posts

I am using a Raspberry PI 2/3 credit size computer. How do I find out my Raspberry PI GPU or CPU temperature from Linux operating system command line option? How do I monitor the core


Bash get exit code of command on a Linux / Unix nixCraft

I am a new Linux system user. How do I get the exit code of a command? How do I get the exit code or status of Linux or Unix shell command and store it


Bash read file names from a text file and take action nixCraft

I need to read a list of file names from a text file named input.txt and take action each file name. How do I read file names from a text file and say run /bin/foo


How to set up a firewall using FirewallD on RHEL 8 nixCraft

I am a new Red Hat Enterprise Linux sysadmin. How do I set up a firewall using FirwallD on RHEL 8? Introduction – A Linux firewall used to protect your workstation or server from unwanted


How to install and use Nginx on OpenSUSE Linux server nixCraft

How do I install and configure the latest version of Nginx web server on OpenSUSE Linux server using the CLI and host a static site?Introduction – Nginx [engine x] is free and open source high-performance


FreeBSD Install wget Utility To Download Files From Internet nixCraft Updated Tutorials/Posts

How do I install wget the non-interactive network downloader under FreeBSD operating systems? How do I install wget on FreeBSD 8.x/9.x/10.x/11.x/12.x? You can use any one of the following method to install GNU Wget non-interactive


Define ssh key per host using ansible_ssh_private_key_file nixCraft

I set up SSH keys on a Linux or Unix as per my project needs and cloud hosting providers. I also new to Ansible IT automation and DevOps tool. My management node has keys for


Multiple vulnerabilities in FreeBSD NFS server code nixCraft

FreeBSD is a free and open source operating system. The NFS (Network File System) is a server and client application that turn FreeBSD into a file sharing server. Users can upload or update files on


Linux Find Out What Process Are Using Swap Space nixCraft Updated Tutorials/Posts

The top and free command display the total amount of free and used physical and swap memory in the server. How do I determine which process is using swap space under Linux operating systems? How


How to install and configure memcached on Ubuntu Linux 18.04 nixCraft

I would like to reduce the load on my MariaDB/MySQL/PostgreSQL server using memcached. How do I install and configure memcached server on Ubuntu Linux 18.04 LTS?Introduction : Memcached is a high-performance, distributed memory object caching