How to limit SSH (TCP port 22) connections with ufw on Ubuntu LinuxnixCraft
How do I limit ssh connection attempts using UFW (Uncomplicated Firewall) on Ubuntu or Debian Linux server?
View ArticleHow to ignore invalid and self singed ssl connection errors with curl...
I wanted to curl command to ignore SSL certification warning. Does curl command have a --no-check-certificate option like wget command on Linux or Unix-like system?
View ArticleHow to setup MariaDB SSL and secure connections from clientsnixCraft
I am looking to setup MariaDB SSL (Secure Sockets Layer) and secure connections from MySQL client and PHP application. How do I enable SSL for MariaDB server and client running on Linux or Unix-like...
View ArticleHow to install FreeBSD 11 Google Cloud ComputenixCraft
How can I deploy or install FreeBSD version 11.x Unix operating system on the Google cloud engine? Do I need to create my own FreeBSD disk image to start with the Google Cloud Compute?
View ArticleHow to open a file in vim in read-only mode on Linux/UnixnixCraft
I need of opening necessary files in reading (read-only) mode to avoid accidental editing of files such as /etc/resolv.conf or a large config or programming file on a production server. How do I open...
View ArticleDear allnixCraft
Do you find my tutorials and nixcraft ( https://www.cyberciti.biz/ ) site useful? Please consider supporting it especially if you use ad-blocker. It is hard to keep the site running when so many people...
View ArticleDear allnixCraft
Do you find my tutorials and nixcraft ( https://www.cyberciti.biz/ ) site useful? Please consider supporting it especially if you use ad-blocker. It is hard to keep the site running when so many people...
View ArticleHow to find out why squid proxy exited due to signal 9 with status 0nixCraft
I am getting an error that read as "The proxy server is refusing connections." I am using Squid 3 with Ubuntu Linux 16.04 LTS server and how can I find out why my squid proxy server died unexpectedly?
View ArticleHow to configure ufw to forward port 80/443 to internal server hosted on...
I am using UFW to protect my network. How do I forward TCP HTTP port # 80 and 443 to an internal server hosted at 192.168.1.100:80 and 192.168.1.100:443 using UFW on Ubuntu Linux server?
View ArticleHow to configure Nginx for WordPress permalinksnixCraft
I switched from Apache to Nginx web server. How do I configure permalinks under WordPress blog?
View ArticleHow to upgrade Alpine Linux 3.4 to 3.5.xxnixCraft
I am using Alpine Linux v3.4 with my LXD server. How do I upgrade Alpine Linux v3.4 to Alpine Linux v3.5?
View ArticleHow to see/get a list of MySQL/MariaDB users accountsnixCraft
I am using MariaDB mysql command. How do I see MySQL users in a MySQL/MariaDB database stored on my server?
View ArticlePHP Fatal error: Call to undefined function gzinflate()nixCraft
I have a php script and whenever I run it, I get the following error message in my log file: 2017/02/05 23:25:46 [error] 9696#9696: *10 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call...
View ArticleHow to get list of installed packages on Ubuntu / Debian LinuxnixCraft
I am a new Ubuntu Linux sysadmin. How do I get a list of all installed packages on server1 and install those on server2? How to list all installed packages using apt-get command on Ubuntu or Debian...
View ArticleTip: How to start OpenVPN server when systemd based service start to refuse...
For some weird reason, I can not get my OpenVPN server to come up at boot time using systemd on an Ubuntu Linux 16.04 LTS server. I have tried a few settings but failed so far.
View ArticleHow to use CoreFreq CPU monitoring software on LinuxnixCraft
Recently I came across an excellent software called CoreFreq. It is a CPU monitoring software designed for 64-bits Processors w/ architectures Intel Atom, Core2, Nehalem, SandyBridge and superior, and...
View ArticleHow to install bash shell in Alpine LinuxnixCraft
How do I install bash shell in my Alpine Linux LXD (Linux Container) virtual machine (VM)?
View ArticlePSA: Intel Atom C2000 Chips Flaw Bricking Routers/NAS/Firewall devices that...
Intel's Atom C2000 chips are bricking products, and it’s not just Cisco hit. From the theregister:Intel's Atom C2000 processor family has a fault that effectively bricks devices, costing the company a...
View ArticleHow to install denyhosts on Ubuntu Linux 16.04 LTS ( intrusion prevention...
I host my blog in cloud server, and I set up ssh to manage my Ubuntu Linux 16.04 LTS server. However, I noticed lots of break in and brute-force attacks on my ssh server? How can I stop hacking...
View ArticlePHP Fatal error: Call to undefined function curl_init() in...
I setup a LEMP (Linux, Nginx,MySQL, PHP ) stack. But, getting the following error in /var/log/nginx/error.log file: PHP Fatal error: Call to undefined function curl_init() in...
View Article