Check The Number Of MySQL Open Database Connections on Linux Or Unix-like Server

I ‘m a new MySQL server user. My server is running on a CentOS Linux. How can I check the number of active MySQL connections on Linux based system?   You can use the following…

How To Install Apache, MySQL, PHP stack on FreeBSD Unix Server

I ‘m a new FreeBSD Unix system users. How can I setup and install Apache, MySQL, PHP stack on a FreeBSD 10 based Unix server?   FAMP stack is nothing but group of source software…

How To Extract a Tar Files To a Different Directory on a Linux/Unix-like Systems

I want to extract tar file to specific directory called /tmp/data. How can I extract a tar archive to a different directory using tar command on a Linux or Unix-like systems?   You do not…

How To Install MariaDB Databases on a FreeBSD v10/11 Unix Server

I ‘m a new FreeBSD unix user. How can I install MariaDB database server on a FreeBSD unix based system?   MySQL is a very fast, multi-threaded, multi-user and robust SQL database server. The latest…

Unix / Linux: Initialize Dot Files Without Restarting The Current Shell Session

I ‘m a new Linux, OS X or Unix-like system users. I’m using bash shell. I made changes to my $HOME/.profile ($HOME/.bash_profile) file. How can I restart my session without doing logout and login again?…

How to Run and Execute Command When I Log Out Of Linux Session?

I ‘m using CentOS 7 server. I need to run a command when I logout using ssh or bash shell. So in Linux and Unix-like systems, how can I run a command to execute when…

How To PFSense Configure Network Interface As A Bridge / Network Switch

I have Soekris single board communication embedded computers which is optimized for low power and network usage. The server has four Ethernet ports. I’ve installed PFSense firewall on it and configure WAN + LAN ports.…

How To Add Swap on FreeBSD Unix Systems

I need additional swap space to improve my FreeBSD Unix server/desktop performance. How do I add a swap file to FreeBSD system using command line options without creating a new partitions? How do I encrypt…

How To Stress Test CPU and Memory (VM) On a Linux and Unix With Stress-ng

I want test my Linux, OpenBSD, FreeBSD and Unix-like server entirely for high load and monitoring the health under stress. How can I stress out my CPU, memory, I/O, and disk stress and more with…

FreeBSD Force DHCP Client (dhclient) to Renew IP Address To Get A New Lease

I have a Linux DD-WRT router DHCP server running on my network. How can I force my FreeBSD based dhcp client to get a new lease from this Linux based router? What is the command…