How to import WireGuard profile using nmcli on LinuxnixCraft
I have multiple wireguard profiles on Linux. Is there any way to import WireGuard profile (/etc/wireguard/wg{0,1,2}.conf files) using nmcli on Linux? I don't want to become root and run systemctl start...
View ArticleHow to reset WordPress password using MySQL CLInixCraft
So bizarrely, I forgot my WordPress admin password, including my login name. I did not add my login details to my password manager either. The container image that I built lacking outgoing email...
View ArticleAdding spice to your sudo session with a lecture file on Linux or UnixnixCraft
Despite some severe bugs in sudo, it remains the defacto tool to gain root shell or run command as another user on Linux, macOS, and Unix-like systems. The sudo command allows the system administrator...
View ArticleHow To Install EPEL Repo on an RHEL 8nixCraft Updated Tutorials/Posts
{Updated} How do I install the extra repositories such as Fedora EPEL repo on an Red Hat Enterprise Linux server version 8?The post How To Install EPEL Repo on an RHEL 8 appeared first on nixCraft.
View ArticleHow to install Dart on Linux and set up VIM as IDEnixCraft
Dart is easy to use BSD licensed programming language to build mobile, desktop, server, and web apps. Google creates and maintains the Dart ecosystem. It follows C-style syntax. We can compile code...
View ArticleHow to install Dart on Linux and set up VIM as IDEnixCraft
Dart is easy to use BSD licensed programming language to build mobile, desktop, server, and web apps. Google creates and maintains the Dart ecosystem. It follows C-style syntax. We can compile code...
View ArticleHow to check memory utilization in LinuxnixCraft
How do I check memory utilization in Linux using command-line and GUI options?The post How to check memory utilization in Linux appeared first on nixCraft.
View ArticleHow to check boot path (partition) in LinuxnixCraft Updated Tutorials/Posts
{Updated} How do I identify the boot device or boot path in Linux operating system?The post How to check boot path (partition) in Linux appeared first on nixCraft.
View ArticleFreeBSD jail, xen, and .pam_login_access security fixes releasednixCraft
All supported versions of FreeBSD are affected by various security bugs that need to be applied ASAP. If the process is privileged, it may escape jail and gain full access to the FreeBSD system....
View ArticleNginx: 413 - Request Entity Too Large Error and SolutionnixCraft Updated...
{Updated} I am getting 'Nginx 413 Request Entity Too Large' error. How do I fix this problem and allow image upload upto 2MB in size using nginx web-server working in reverse proxy or stand-alone mode...
View ArticleHow to check if file does not exist in BashnixCraft
How can I check if a file does not exist in a Bash script? The post How to check if file does not exist in Bash appeared first on nixCraft.
View ArticleHow To Use chmod and chown Command in LinuxnixCraft Updated Tutorials/Posts
{Updated} This page explains how to use chmod and chown command on Linux or Unix-like systems.The post How To Use chmod and chown Command in Linux appeared first on nixCraft.
View ArticlePython For Loop ExamplesnixCraft Updated Tutorials/Posts
{Updated} How and when do I use for loops under Python programming language? How can I use the break and continue statements to alter the flow of a Python loop?The post Python For Loop Examples...
View ArticleHow to enable LUKS disk encryption with keyfile on LinuxnixCraft
We can easily add a key file to LUKS disk encryption on Linux when running the cryptsetup command. A key file is used as the passphrase to unlock an encrypted volume. The passphrase allows Linux users...
View ArticleHow to find NetworkManager version on LinuxnixCraft
How do I check or find NetworkManager version on Linux distribution? The post How to find NetworkManager version on Linux appeared first on nixCraft.
View ArticleHow to set up WireGuard VPN server on Ubuntu 20.04nixCraft Updated...
{Updated} This page explains how to install and set up WireGuard VPN on Ubuntu 20.04 LTS Linux server.The post How to set up WireGuard VPN server on Ubuntu 20.04 appeared first on nixCraft.
View ArticleHow to set up WireGuard VPN server on Ubuntu 20.04nixCraft Updated...
{Updated} This page explains how to install and set up WireGuard VPN on Ubuntu 20.04 LTS Linux server.The post How to set up WireGuard VPN server on Ubuntu 20.04 appeared first on nixCraft.
View ArticleHow To Update Fedora Linux using terminal for latest software patchesnixCraft...
{Updated} Irecently switched from Windows server to Fedora 32/33 server running in the cloud. How do I apply software updates and patches on Fedora 32/33 server using the terminal application?The post...
View ArticleHow to use the oathtool Linux command line for 2 step verification (2FA) code...
{Updated} I do not wish to use Google Authenticator or Authy app that generates 2 step verification (2FA) codes on my iOS/Android phone. Is there any way I can produce 2FA codes from Linux command line...
View ArticleLinux Filesystem Error: Transaction failed when using LXDnixCraft
I am a big fan of LXD, a next-generation Linux system container manager and default on Ubuntu. It allows me to run desktop apps or server apps in an isolated environment. Ubuntu provides LXD with...
View Article